summaryrefslogtreecommitdiff
path: root/macros2/gnome-platform.m4
diff options
context:
space:
mode:
authornobody <nobody@localhost>2001-01-24 12:16:19 +0000
committernobody <nobody@localhost>2001-01-24 12:16:19 +0000
commit97645837f6903d265e9e4973582d5487fd3df3b4 (patch)
treed14a15d47e7d448085f459ad6645a440bc61e8e9 /macros2/gnome-platform.m4
parentb29efc9b9b529295ddfd784ee028657d711bf0ea (diff)
downloadshared-mime-info-newcapplet.tar.gz
This commit was manufactured by cvs2svn to create branch 'newcapplet'.newcapplet
svn path=/branches/newcapplet/; revision=1540
Diffstat (limited to 'macros2/gnome-platform.m4')
-rw-r--r--macros2/gnome-platform.m436
1 files changed, 0 insertions, 36 deletions
diff --git a/macros2/gnome-platform.m4 b/macros2/gnome-platform.m4
deleted file mode 100644
index 96b6c049..00000000
--- a/macros2/gnome-platform.m4
+++ /dev/null
@@ -1,36 +0,0 @@
-dnl
-dnl GNOME_PLATFORM_GNOME_2(default, [force])
-dnl
-dnl If the first parameter is `yes', then the default is
-dnl the GNOME 2.x platform, otherwise the GNOME 1.x one.
-dnl
-dnl If the optional second parameter is `force', then use
-dnl the default value without command line argument.
-dnl
-
-AC_DEFUN([GNOME_PLATFORM_GNOME_2],[
- AC_REQUIRE([GNOME_REQUIRE_PKGCONFIG])
-
- if test x$1 = xyes ; then
- platform_gnome_2_default=yes
- else
- platform_gnome_2_default=no
- fi
- if test x$2 = xforce ; then
- platform_gnome_2="$platform_gnome_2_default";
- else
- AC_ARG_ENABLE(platform-gnome-2, [ --enable-platform-gnome-2 enable GNOME 2.x platform [default=no]],[platform_gnome_2="$enableval"],[platform_gnome_2="$platform_gnome_2_default"])
- fi
-
- AM_CONDITIONAL(PLATFORM_GNOME_2, test $platform_gnome_2 = yes)
-
- AC_MSG_CHECKING(for GNOME Platform)
- if test $platform_gnome_2 = yes; then
- AC_MSG_RESULT(GNOME 2.x)
- GNOME_INTERFACE_VERSION=2
- else
- AC_MSG_RESULT(GNOME 1.x)
- GNOME_INTERFACE_VERSION=1
- fi
- AC_SUBST(GNOME_INTERFACE_VERSION)
-])