[Xfce4-commits] <xfce4-dev-tools:master> Remove the old BM_ macros.

Nick Schermer noreply at xfce.org
Fri Apr 13 21:52:03 CEST 2012


Updating branch refs/heads/master
         to 69de50c7cd911c8014f27db08bcde5e9f79afb0a (commit)
       from f912e35def91422d37296dbd1bb692c663d862c7 (commit)

commit 69de50c7cd911c8014f27db08bcde5e9f79afb0a
Author: Nick Schermer <nick at xfce.org>
Date:   Fri Apr 13 21:45:12 2012 +0200

    Remove the old BM_ macros.

 m4macros/xdt-depends.m4  |   84 ----------------------------------------------
 m4macros/xdt-features.m4 |   78 ------------------------------------------
 m4macros/xdt-i18n.m4     |   13 -------
 3 files changed, 0 insertions(+), 175 deletions(-)

diff --git a/m4macros/xdt-depends.m4 b/m4macros/xdt-depends.m4
index e5f6b8c..64bbb0e 100644
--- a/m4macros/xdt-depends.m4
+++ b/m4macros/xdt-depends.m4
@@ -202,30 +202,6 @@ AC_HELP_STRING([--disable-$4], [Disable checking for $5]),
 
 
 
-dnl BM_DEPEND(varname, package, version)
-dnl
-dnl Simple wrapper for XDT_CHECK_PACKAGE("varname", "package", "version"). Kept
-dnl for backward compatibility. Will be removed in the future.
-dnl
-AC_DEFUN([BM_DEPEND],
-[
-  XDT_CHECK_PACKAGE([$1], [$2], [$3])
-])
-
-
-
-dnl BM_DEPEND_CHECK(var, pkg, version, name, helpstring, default)
-dnl
-dnl Simple wrapper for XDT_CHECK_OPTIONAL_PACKAGE(). Kept for backward
-dnl compatibility. Will be removed in the future.
-dnl
-AC_DEFUN([BM_DEPEND_CHECK],
-[
-  XDT_CHECK_OPTIONAL_PACKAGE([$1], [$2], [$3], [$4], [$5], [$6])
-])
-
-
-
 dnl XDT_CHECK_LIBX11()
 dnl
 dnl Executes various checks for X11. Sets LIBX11_CFLAGS, LIBX11_LDFLAGS
@@ -361,63 +337,3 @@ AC_DEFUN([XDT_CHECK_LIBXPM_REQUIRE],
   fi
 ])
 
-
-
-dnl BM_LIBX11()
-dnl
-dnl Simple wrapper for XDT_CHECK_LIBX11. Kept for backward
-dnl compatibility. Will be removed in the future.
-dnl
-AC_DEFUN([BM_LIBX11],
-[
-  AC_REQUIRE([XDT_CHECK_LIBX11])
-])
-
-
-
-dnl BM_LIBX11_REQUIRE()
-dnl
-dnl Simple wrapper for XDT_CHECK_LIBX11_REQUIRE. Kept for backward
-dnl compatibility. Will be removed in the future.
-dnl
-AC_DEFUN([BM_LIBX11_REQUIRE],
-[
-  AC_REQUIRE([XDT_CHECK_LIBX11_REQUIRE])
-])
-
-
-
-dnl BM_LIBSM()
-dnl
-dnl Simple wrapper for XDT_CHECK_LIBSM. Kept for backward
-dnl compatibility. Will be removed in the future.
-dnl
-AC_DEFUN([BM_LIBSM],
-[
-  AC_REQUIRE([XDT_CHECK_LIBSM])
-])
-
-
-
-dnl BM_LIBXPM
-dnl
-dnl Simple wrapper for XDT_CHECK_LIBXPM. Kept for backward
-dnl compatibility. Will be removed in the future.
-dnl
-AC_DEFUN([BM_LIBXPM],
-[
-  AC_REQUIRE([XDT_CHECK_LIBXPM])
-])
-
-
-
-dnl BM_LIBXPM_REQUIRE
-dnl
-dnl Simple wrapper for XDT_CHECK_LIBXPM_REQUIRE. Kept for
-dnl backward compatibility. Will be removed in the future.
-dnl
-AC_DEFUN([BM_LIBXPM_REQUIRE],
-[
-  AC_REQUIRE([XDT_CHECK_LIBXPM_REQUIRE])
-])
-
diff --git a/m4macros/xdt-features.m4 b/m4macros/xdt-features.m4
index 41c7d90..129d5ef 100644
--- a/m4macros/xdt-features.m4
+++ b/m4macros/xdt-features.m4
@@ -219,81 +219,3 @@ AC_DEFUN([XDT_FEATURE_LINKER_OPTS],
     esac
   fi
 ])
-
-dnl BM_DEBUG_SUPPORT()
-dnl
-AC_DEFUN([BM_DEBUG_SUPPORT],
-[
-dnl # --enable-debug
-  AC_REQUIRE([XDT_FEATURE_DEBUG])
-
-dnl # --enable-profiling
-  AC_ARG_ENABLE([profiling],
-AC_HELP_STRING([--enable-profiling],
-    [Generate extra code to write profile information])
-AC_HELP_STRING([--disable-profiling],
-    [No extra code for profiling (default)]),
-    [], [enable_profiling=no])
-
-  AC_MSG_CHECKING([whether to build with profiling support])
-  if test x"$enable_profiling" != x"no"; then
-    CFLAGS="$CFLAGS -pg"
-    LDFLAGS="$LDFLAGS -pg"
-    AC_MSG_RESULT([yes])
-  else
-    AC_MSG_RESULT([no])
-  fi
-
-dnl # --enable-gcov
-  AC_ARG_ENABLE([gcov],
-AC_HELP_STRING([--enable-gcov],
-    [compile with coverage profiling instrumentation (gcc only)])
-AC_HELP_STRING([--disable-gcov],
-    [do not generate coverage profiling instrumentation (default)]),
-    [], [enable_gcov=no])
-
-  AC_MSG_CHECKING([whether to compile with coverage profiling instrumentation])
-  if test x"$enable_gcov" != x"no"; then
-    CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage"
-    AC_MSG_RESULT([yes])
-  else
-    AC_MSG_RESULT([no])
-  fi
-
-dnl # --disable-asserts
-  AC_ARG_ENABLE([asserts],
-AC_HELP_STRING([--disable-asserts], [Disable assertions [DANGEROUS]]),
-    [], [enable_asserts=yes])
-
-  AC_MSG_CHECKING([whether to disable assertions])
-  if test x"$enable_asserts" = x"no"; then
-    AC_MSG_RESULT([yes])
-    CPPFLAGS="$CPPFLAGS -DG_DISABLE_CHECKS -DG_DISABLE_ASSERT"
-    CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
-  else
-    AC_MSG_RESULT([no])
-  fi
-
-dnl # --enable-final
-  AC_REQUIRE([AC_PROG_LD])
-  AC_ARG_ENABLE([final],
-AC_HELP_STRING([--enable-final], [Build final version]),
-    [], [enable_final=yes])
-
-  AC_MSG_CHECKING([whether to build final version])
-  if test x"$enable_final" = x"yes"; then
-    AC_MSG_RESULT([yes])
-    AC_MSG_CHECKING([whether $LD accepts -O1])
-    case `$LD -O1 -v 2>&1 </dev/null` in
-    *GNU* | *'with BFD'*)
-      LDFLAGS="$LDFLAGS -Wl,-O1"
-      AC_MSG_RESULT([yes])
-    	;;
-    *)
-      AC_MSG_RESULT([no])
-    	;;
-    esac
-  else
-    AC_MSG_RESULT([no])
-  fi
-])
diff --git a/m4macros/xdt-i18n.m4 b/m4macros/xdt-i18n.m4
index 4700daa..8d90e4f 100644
--- a/m4macros/xdt-i18n.m4
+++ b/m4macros/xdt-i18n.m4
@@ -75,16 +75,3 @@ AC_DEFUN([XDT_I18N],
   AC_MSG_RESULT([$XGETTEXT_ARGS])
 ])
 
-
-
-dnl BM_I18N(PACKAGE, LINGUAS)
-dnl
-dnl Simple wrapper for XDT_I18N(LINGUAS, PACKAGE). Kept for
-dnl backward compatibility. Will be removed in the
-dnl future.
-dnl
-AC_DEFUN([BM_I18N],
-[
-  XDT_I18N([$2], [$1])
-])
-


More information about the Xfce4-commits mailing list