Lines 48-54
Link Here
|
48 |
AC_SUBST(STRIP_BEGIN) |
48 |
AC_SUBST(STRIP_BEGIN) |
49 |
AC_SUBST(STRIP_END) |
49 |
AC_SUBST(STRIP_END) |
50 |
|
50 |
|
|
|
51 |
AC_ARG_ENABLE([gnome], |
52 |
[AS_HELP_STRING([--enable-gnome], |
53 |
[Force en-/disable of gnome-libs @<:@default=auto@:>@])], |
54 |
[ac_gnome_enabled=$enableval], [ac_gnome_enabled=auto]) |
51 |
AC_PATH_PROG(GNOME_CONFIG,gnome-config,no) |
55 |
AC_PATH_PROG(GNOME_CONFIG,gnome-config,no) |
|
|
56 |
if test "$ac_gnome_enabled" = no; then |
57 |
GNOME_CONFIG=no |
58 |
fi |
59 |
if test "$ac_gnome_enabled" = yes -a "$GNOME_CONFIG" = no; then |
60 |
echo "Error! gnome-libs not found." |
61 |
exit 1 |
62 |
fi |
52 |
if test x$GNOME_CONFIG != xno; then |
63 |
if test x$GNOME_CONFIG != xno; then |
53 |
echo "Building the GnomeCanvasPixbuf library" |
64 |
echo "Building the GnomeCanvasPixbuf library" |
54 |
GNOME_LIBS=`$GNOME_CONFIG --libs gnomeui` |
65 |
GNOME_LIBS=`$GNOME_CONFIG --libs gnomeui` |