When on Mac, never build the GTK UI
This commit is contained in:
parent
de7efbc04c
commit
289b600fe4
|
@ -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
|
||||
```
|
||||
|
||||
|
|
11
configure.ac
11
configure.ac
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue