When on Mac, never build the GTK UI

This commit is contained in:
Hylke Bons 2012-06-19 20:23:50 +01:00
parent c65e323b50
commit 6eeec41ab6
2 changed files with 8 additions and 5 deletions

View file

@ -28,7 +28,7 @@ $ sudo port install git-core automake intltool libtool
Start the first part of the build:
```bash
$ ./autogen.sh --enable-gtkui=no
$ ./autogen.sh
$ make
```

View file

@ -73,15 +73,18 @@ dnl package checks, common for all configs
SPARKLESHARE_CHECK_GTK_SHARP
AC_ARG_ENABLE(gtkui,
AS_HELP_STRING([--disable-gtkui], [Do not build the Gtk+ user interface]),
[ enable_gtkui=no ], [ enable_gtkui=yes ])
AC_ARG_ENABLE(appindicator,
AS_HELP_STRING([--enable-appindicator[=@<:@no/auto/yes@:>@]],[Build support for application indicators ]),
[enable_appindicator=$enableval],
[enable_appindicator="auto"])
OSNAME=`uname -s`
if test "$OSNAME" = "Darwin" ; then
enable_gtkui = "xno"
fi
AM_CONDITIONAL(ENABLE_GTKUI, test x$enable_gtkui = xyes)
if test "x$enable_gtkui" = "xyes" ; then
dnl check for webkit-sharp