23576
# Check whether --enable-gtk was given.
23577
if test "${enable_gtk+set}" = set; then
23578
enableval=$enable_gtk; case "${enableval}" in
23579
yes) ENABLE_GTK=yes ;;
23580
no) ENABLE_GTK=no ;;
23581
*) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --disable-gtk" >&5
23582
$as_echo "$as_me: error: bad value ${enableval} for --disable-gtk" >&2;}
23583
{ (exit 1); exit 1; }; } ;;
23589
if test x$ENABLE_GTK = "xno" ; then
23590
# FIXME: use gmodule-no-export instead!
23593
{ $as_echo "$as_me:$LINENO: checking for EXTRA_GNOME" >&5
23594
$as_echo_n "checking for EXTRA_GNOME... " >&6; }
23596
if test -n "$EXTRA_GNOME_CFLAGS"; then
23597
pkg_cv_EXTRA_GNOME_CFLAGS="$EXTRA_GNOME_CFLAGS"
23598
elif test -n "$PKG_CONFIG"; then
23599
if test -n "$PKG_CONFIG" && \
23600
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQS gtk+-2.0 >= \$GTK_REQS libgnomeui-2.0 >= \$GNOMEUI_REQS gio-2.0 libgnome-2.0 >= \$LIBGNOME_REQS gnome-icon-theme >= \$GNOMEICON_REQS gmodule-2.0 totem-plparser >= \$TOTEM_PLPARSER_REQS \$ISO_CODES\"") >&5
23601
($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQS gtk+-2.0 >= $GTK_REQS libgnomeui-2.0 >= $GNOMEUI_REQS gio-2.0 libgnome-2.0 >= $LIBGNOME_REQS gnome-icon-theme >= $GNOMEICON_REQS gmodule-2.0 totem-plparser >= $TOTEM_PLPARSER_REQS $ISO_CODES") 2>&5
23603
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23604
(exit $ac_status); }; then
23605
pkg_cv_EXTRA_GNOME_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQS gtk+-2.0 >= $GTK_REQS libgnomeui-2.0 >= $GNOMEUI_REQS gio-2.0 libgnome-2.0 >= $LIBGNOME_REQS gnome-icon-theme >= $GNOMEICON_REQS gmodule-2.0 totem-plparser >= $TOTEM_PLPARSER_REQS $ISO_CODES" 2>/dev/null`
23612
if test -n "$EXTRA_GNOME_LIBS"; then
23613
pkg_cv_EXTRA_GNOME_LIBS="$EXTRA_GNOME_LIBS"
23614
elif test -n "$PKG_CONFIG"; then
23615
if test -n "$PKG_CONFIG" && \
23616
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQS gtk+-2.0 >= \$GTK_REQS libgnomeui-2.0 >= \$GNOMEUI_REQS gio-2.0 libgnome-2.0 >= \$LIBGNOME_REQS gnome-icon-theme >= \$GNOMEICON_REQS gmodule-2.0 totem-plparser >= \$TOTEM_PLPARSER_REQS \$ISO_CODES\"") >&5
23617
($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQS gtk+-2.0 >= $GTK_REQS libgnomeui-2.0 >= $GNOMEUI_REQS gio-2.0 libgnome-2.0 >= $LIBGNOME_REQS gnome-icon-theme >= $GNOMEICON_REQS gmodule-2.0 totem-plparser >= $TOTEM_PLPARSER_REQS $ISO_CODES") 2>&5
23619
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23620
(exit $ac_status); }; then
23621
pkg_cv_EXTRA_GNOME_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQS gtk+-2.0 >= $GTK_REQS libgnomeui-2.0 >= $GNOMEUI_REQS gio-2.0 libgnome-2.0 >= $LIBGNOME_REQS gnome-icon-theme >= $GNOMEICON_REQS gmodule-2.0 totem-plparser >= $TOTEM_PLPARSER_REQS $ISO_CODES" 2>/dev/null`
23631
if test $pkg_failed = yes; then
23633
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23634
_pkg_short_errors_supported=yes
23636
_pkg_short_errors_supported=no
23638
if test $_pkg_short_errors_supported = yes; then
23639
EXTRA_GNOME_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= $GLIB_REQS gtk+-2.0 >= $GTK_REQS libgnomeui-2.0 >= $GNOMEUI_REQS gio-2.0 libgnome-2.0 >= $LIBGNOME_REQS gnome-icon-theme >= $GNOMEICON_REQS gmodule-2.0 totem-plparser >= $TOTEM_PLPARSER_REQS $ISO_CODES" 2>&1`
23641
EXTRA_GNOME_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= $GLIB_REQS gtk+-2.0 >= $GTK_REQS libgnomeui-2.0 >= $GNOMEUI_REQS gio-2.0 libgnome-2.0 >= $LIBGNOME_REQS gnome-icon-theme >= $GNOMEICON_REQS gmodule-2.0 totem-plparser >= $TOTEM_PLPARSER_REQS $ISO_CODES" 2>&1`
23643
# Put the nasty error message in config.log where it belongs
23644
echo "$EXTRA_GNOME_PKG_ERRORS" >&5
23646
{ { $as_echo "$as_me:$LINENO: error: Package requirements (glib-2.0 >= $GLIB_REQS gtk+-2.0 >= $GTK_REQS libgnomeui-2.0 >= $GNOMEUI_REQS gio-2.0 libgnome-2.0 >= $LIBGNOME_REQS gnome-icon-theme >= $GNOMEICON_REQS gmodule-2.0 totem-plparser >= $TOTEM_PLPARSER_REQS $ISO_CODES) were not met:
23648
$EXTRA_GNOME_PKG_ERRORS
23650
Consider adjusting the PKG_CONFIG_PATH environment variable if you
23651
installed software in a non-standard prefix.
23653
Alternatively, you may set the environment variables EXTRA_GNOME_CFLAGS
23654
and EXTRA_GNOME_LIBS to avoid the need to call pkg-config.
23655
See the pkg-config man page for more details.
23657
$as_echo "$as_me: error: Package requirements (glib-2.0 >= $GLIB_REQS gtk+-2.0 >= $GTK_REQS libgnomeui-2.0 >= $GNOMEUI_REQS gio-2.0 libgnome-2.0 >= $LIBGNOME_REQS gnome-icon-theme >= $GNOMEICON_REQS gmodule-2.0 totem-plparser >= $TOTEM_PLPARSER_REQS $ISO_CODES) were not met:
23659
$EXTRA_GNOME_PKG_ERRORS
23661
Consider adjusting the PKG_CONFIG_PATH environment variable if you
23662
installed software in a non-standard prefix.
23664
Alternatively, you may set the environment variables EXTRA_GNOME_CFLAGS
23665
and EXTRA_GNOME_LIBS to avoid the need to call pkg-config.
23666
See the pkg-config man page for more details.
23668
{ (exit 1); exit 1; }; }
23669
elif test $pkg_failed = untried; then
23670
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
23671
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23672
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
23673
is in your PATH or set the PKG_CONFIG environment variable to the full
23674
path to pkg-config.
23676
Alternatively, you may set the environment variables EXTRA_GNOME_CFLAGS
23677
and EXTRA_GNOME_LIBS to avoid the need to call pkg-config.
23678
See the pkg-config man page for more details.
23680
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23681
See \`config.log' for more details." >&5
23682
$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
23683
is in your PATH or set the PKG_CONFIG environment variable to the full
23684
path to pkg-config.
23686
Alternatively, you may set the environment variables EXTRA_GNOME_CFLAGS
23687
and EXTRA_GNOME_LIBS to avoid the need to call pkg-config.
23688
See the pkg-config man page for more details.
23690
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23691
See \`config.log' for more details." >&2;}
23692
{ (exit 1); exit 1; }; }; }
23694
EXTRA_GNOME_CFLAGS=$pkg_cv_EXTRA_GNOME_CFLAGS
23695
EXTRA_GNOME_LIBS=$pkg_cv_EXTRA_GNOME_LIBS
23696
{ $as_echo "$as_me:$LINENO: result: yes" >&5
23697
$as_echo "yes" >&6; }
23702
# FIXME: use gmodule-no-export instead!
23705
{ $as_echo "$as_me:$LINENO: checking for EXTRA_GNOME" >&5
23706
$as_echo_n "checking for EXTRA_GNOME... " >&6; }
23708
if test -n "$EXTRA_GNOME_CFLAGS"; then
23709
pkg_cv_EXTRA_GNOME_CFLAGS="$EXTRA_GNOME_CFLAGS"
23710
elif test -n "$PKG_CONFIG"; then
23711
if test -n "$PKG_CONFIG" && \
23712
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQS gtk+-2.0 >= \$GTK_REQS gio-2.0 gnome-icon-theme >= \$GNOMEICON_REQS gmodule-2.0 gconf-2.0 totem-plparser >= \$TOTEM_PLPARSER_REQS \$ISO_CODES\"") >&5
23713
($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQS gtk+-2.0 >= $GTK_REQS gio-2.0 gnome-icon-theme >= $GNOMEICON_REQS gmodule-2.0 gconf-2.0 totem-plparser >= $TOTEM_PLPARSER_REQS $ISO_CODES") 2>&5
23715
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23716
(exit $ac_status); }; then
23717
pkg_cv_EXTRA_GNOME_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQS gtk+-2.0 >= $GTK_REQS gio-2.0 gnome-icon-theme >= $GNOMEICON_REQS gmodule-2.0 gconf-2.0 totem-plparser >= $TOTEM_PLPARSER_REQS $ISO_CODES" 2>/dev/null`
23724
if test -n "$EXTRA_GNOME_LIBS"; then
23725
pkg_cv_EXTRA_GNOME_LIBS="$EXTRA_GNOME_LIBS"
23726
elif test -n "$PKG_CONFIG"; then
23727
if test -n "$PKG_CONFIG" && \
23728
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQS gtk+-2.0 >= \$GTK_REQS gio-2.0 gnome-icon-theme >= \$GNOMEICON_REQS gmodule-2.0 gconf-2.0 totem-plparser >= \$TOTEM_PLPARSER_REQS \$ISO_CODES\"") >&5
23729
($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQS gtk+-2.0 >= $GTK_REQS gio-2.0 gnome-icon-theme >= $GNOMEICON_REQS gmodule-2.0 gconf-2.0 totem-plparser >= $TOTEM_PLPARSER_REQS $ISO_CODES") 2>&5
23731
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23732
(exit $ac_status); }; then
23733
pkg_cv_EXTRA_GNOME_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQS gtk+-2.0 >= $GTK_REQS gio-2.0 gnome-icon-theme >= $GNOMEICON_REQS gmodule-2.0 gconf-2.0 totem-plparser >= $TOTEM_PLPARSER_REQS $ISO_CODES" 2>/dev/null`
23743
if test $pkg_failed = yes; then
23745
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23746
_pkg_short_errors_supported=yes
23748
_pkg_short_errors_supported=no
23750
if test $_pkg_short_errors_supported = yes; then
23751
EXTRA_GNOME_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= $GLIB_REQS gtk+-2.0 >= $GTK_REQS gio-2.0 gnome-icon-theme >= $GNOMEICON_REQS gmodule-2.0 gconf-2.0 totem-plparser >= $TOTEM_PLPARSER_REQS $ISO_CODES" 2>&1`
23753
EXTRA_GNOME_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= $GLIB_REQS gtk+-2.0 >= $GTK_REQS gio-2.0 gnome-icon-theme >= $GNOMEICON_REQS gmodule-2.0 gconf-2.0 totem-plparser >= $TOTEM_PLPARSER_REQS $ISO_CODES" 2>&1`
23755
# Put the nasty error message in config.log where it belongs
23756
echo "$EXTRA_GNOME_PKG_ERRORS" >&5
23758
{ { $as_echo "$as_me:$LINENO: error: Package requirements (glib-2.0 >= $GLIB_REQS gtk+-2.0 >= $GTK_REQS gio-2.0 gnome-icon-theme >= $GNOMEICON_REQS gmodule-2.0 gconf-2.0 totem-plparser >= $TOTEM_PLPARSER_REQS $ISO_CODES) were not met:
23760
$EXTRA_GNOME_PKG_ERRORS
23762
Consider adjusting the PKG_CONFIG_PATH environment variable if you
23763
installed software in a non-standard prefix.
23765
Alternatively, you may set the environment variables EXTRA_GNOME_CFLAGS
23766
and EXTRA_GNOME_LIBS to avoid the need to call pkg-config.
23767
See the pkg-config man page for more details.
23769
$as_echo "$as_me: error: Package requirements (glib-2.0 >= $GLIB_REQS gtk+-2.0 >= $GTK_REQS gio-2.0 gnome-icon-theme >= $GNOMEICON_REQS gmodule-2.0 gconf-2.0 totem-plparser >= $TOTEM_PLPARSER_REQS $ISO_CODES) were not met:
23771
$EXTRA_GNOME_PKG_ERRORS
23773
Consider adjusting the PKG_CONFIG_PATH environment variable if you
23774
installed software in a non-standard prefix.
23776
Alternatively, you may set the environment variables EXTRA_GNOME_CFLAGS
23777
and EXTRA_GNOME_LIBS to avoid the need to call pkg-config.
23778
See the pkg-config man page for more details.
23780
{ (exit 1); exit 1; }; }
23781
elif test $pkg_failed = untried; then
23782
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
23783
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23784
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
23785
is in your PATH or set the PKG_CONFIG environment variable to the full
23786
path to pkg-config.
23788
Alternatively, you may set the environment variables EXTRA_GNOME_CFLAGS
23789
and EXTRA_GNOME_LIBS to avoid the need to call pkg-config.
23790
See the pkg-config man page for more details.
23792
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23793
See \`config.log' for more details." >&5
23794
$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
23795
is in your PATH or set the PKG_CONFIG environment variable to the full
23796
path to pkg-config.
23798
Alternatively, you may set the environment variables EXTRA_GNOME_CFLAGS
23799
and EXTRA_GNOME_LIBS to avoid the need to call pkg-config.
23800
See the pkg-config man page for more details.
23802
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23803
See \`config.log' for more details." >&2;}
23804
{ (exit 1); exit 1; }; }; }
23806
EXTRA_GNOME_CFLAGS=$pkg_cv_EXTRA_GNOME_CFLAGS
23807
EXTRA_GNOME_LIBS=$pkg_cv_EXTRA_GNOME_LIBS
23808
{ $as_echo "$as_me:$LINENO: result: yes" >&5
23809
$as_echo "yes" >&6; }
23813
cat >>confdefs.h <<\_ACEOF
23814
#define USE_STABLE_LIBGNOMEUI 1
23818
cat >>confdefs.h <<\_ACEOF
23819
#define HAVE_GTK_ONLY 1
23536
GDK_TARGET="$($PKG_CONFIG --variable target gdk-2.0)"
23539
{ $as_echo "$as_me:$LINENO: checking which smclient backend to use" >&5
23540
$as_echo_n "checking which smclient backend to use... " >&6; }
23542
# Check whether --with-smclient was given.
23543
if test "${with_smclient+set}" = set; then
23544
withval=$with_smclient;
23546
case "$GDK_TARGET" in
23547
x11) with_smclient=xsmp SMCLIENT_PKGS="sm" ;;
23548
win32|quartz) with_smclient=$GDK_TARGET ;;
23549
*) with_smclient=no ;;
23553
{ $as_echo "$as_me:$LINENO: result: $with_smclient" >&5
23554
$as_echo "$with_smclient" >&6; }
23556
if test "$with_smclient" != "no"; then
23559
{ $as_echo "$as_me:$LINENO: checking for SMCLIENT" >&5
23560
$as_echo_n "checking for SMCLIENT... " >&6; }
23562
if test -n "$SMCLIENT_CFLAGS"; then
23563
pkg_cv_SMCLIENT_CFLAGS="$SMCLIENT_CFLAGS"
23564
elif test -n "$PKG_CONFIG"; then
23565
if test -n "$PKG_CONFIG" && \
23566
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$SMCLIENT_PKGS\"") >&5
23567
($PKG_CONFIG --exists --print-errors "$SMCLIENT_PKGS") 2>&5
23569
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23570
(exit $ac_status); }; then
23571
pkg_cv_SMCLIENT_CFLAGS=`$PKG_CONFIG --cflags "$SMCLIENT_PKGS" 2>/dev/null`
23578
if test -n "$SMCLIENT_LIBS"; then
23579
pkg_cv_SMCLIENT_LIBS="$SMCLIENT_LIBS"
23580
elif test -n "$PKG_CONFIG"; then
23581
if test -n "$PKG_CONFIG" && \
23582
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$SMCLIENT_PKGS\"") >&5
23583
($PKG_CONFIG --exists --print-errors "$SMCLIENT_PKGS") 2>&5
23585
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23586
(exit $ac_status); }; then
23587
pkg_cv_SMCLIENT_LIBS=`$PKG_CONFIG --libs "$SMCLIENT_PKGS" 2>/dev/null`
23597
if test $pkg_failed = yes; then
23599
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23600
_pkg_short_errors_supported=yes
23602
_pkg_short_errors_supported=no
23604
if test $_pkg_short_errors_supported = yes; then
23605
SMCLIENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$SMCLIENT_PKGS" 2>&1`
23607
SMCLIENT_PKG_ERRORS=`$PKG_CONFIG --print-errors "$SMCLIENT_PKGS" 2>&1`
23609
# Put the nasty error message in config.log where it belongs
23610
echo "$SMCLIENT_PKG_ERRORS" >&5
23612
{ { $as_echo "$as_me:$LINENO: error: Package requirements ($SMCLIENT_PKGS) were not met:
23614
$SMCLIENT_PKG_ERRORS
23616
Consider adjusting the PKG_CONFIG_PATH environment variable if you
23617
installed software in a non-standard prefix.
23619
Alternatively, you may set the environment variables SMCLIENT_CFLAGS
23620
and SMCLIENT_LIBS to avoid the need to call pkg-config.
23621
See the pkg-config man page for more details.
23623
$as_echo "$as_me: error: Package requirements ($SMCLIENT_PKGS) were not met:
23625
$SMCLIENT_PKG_ERRORS
23627
Consider adjusting the PKG_CONFIG_PATH environment variable if you
23628
installed software in a non-standard prefix.
23630
Alternatively, you may set the environment variables SMCLIENT_CFLAGS
23631
and SMCLIENT_LIBS to avoid the need to call pkg-config.
23632
See the pkg-config man page for more details.
23634
{ (exit 1); exit 1; }; }
23635
elif test $pkg_failed = untried; then
23636
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
23637
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23638
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
23639
is in your PATH or set the PKG_CONFIG environment variable to the full
23640
path to pkg-config.
23642
Alternatively, you may set the environment variables SMCLIENT_CFLAGS
23643
and SMCLIENT_LIBS to avoid the need to call pkg-config.
23644
See the pkg-config man page for more details.
23646
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23647
See \`config.log' for more details." >&5
23648
$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
23649
is in your PATH or set the PKG_CONFIG environment variable to the full
23650
path to pkg-config.
23652
Alternatively, you may set the environment variables SMCLIENT_CFLAGS
23653
and SMCLIENT_LIBS to avoid the need to call pkg-config.
23654
See the pkg-config man page for more details.
23656
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23657
See \`config.log' for more details." >&2;}
23658
{ (exit 1); exit 1; }; }; }
23660
SMCLIENT_CFLAGS=$pkg_cv_SMCLIENT_CFLAGS
23661
SMCLIENT_LIBS=$pkg_cv_SMCLIENT_LIBS
23662
{ $as_echo "$as_me:$LINENO: result: yes" >&5
23663
$as_echo "yes" >&6; }
23667
cat >>confdefs.h <<\_ACEOF
23668
#define WITH_SMCLIENT 1
23673
if test "$with_smclient" != "no"; then
23674
WITH_SMCLIENT_TRUE=
23675
WITH_SMCLIENT_FALSE='#'
23677
WITH_SMCLIENT_TRUE='#'
23678
WITH_SMCLIENT_FALSE=
23681
if test "$with_smclient" = "xsmp"; then
23682
WITH_SMCLIENT_XSMP_TRUE=
23683
WITH_SMCLIENT_XSMP_FALSE='#'
23685
WITH_SMCLIENT_XSMP_TRUE='#'
23686
WITH_SMCLIENT_XSMP_FALSE=
23689
if test "$with_smclient" = "win32"; then
23690
WITH_SMCLIENT_WIN32_TRUE=
23691
WITH_SMCLIENT_WIN32_FALSE='#'
23693
WITH_SMCLIENT_WIN32_TRUE='#'
23694
WITH_SMCLIENT_WIN32_FALSE=
23697
if test "$with_smclient" = "quartz"; then
23698
WITH_SMCLIENT_QUARTZ_TRUE=
23699
WITH_SMCLIENT_QUARTZ_FALSE='#'
23701
WITH_SMCLIENT_QUARTZ_TRUE='#'
23702
WITH_SMCLIENT_QUARTZ_FALSE=
23709
{ $as_echo "$as_me:$LINENO: checking for DEPENDENCY" >&5
23710
$as_echo_n "checking for DEPENDENCY... " >&6; }
23712
if test -n "$DEPENDENCY_CFLAGS"; then
23713
pkg_cv_DEPENDENCY_CFLAGS="$DEPENDENCY_CFLAGS"
23714
elif test -n "$PKG_CONFIG"; then
23715
if test -n "$PKG_CONFIG" && \
23716
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"
23717
glib-2.0 >= \$GLIB_REQS
23719
gtk+-2.0 >= \$GTK_REQS
23722
totem-plparser >= \$TOTEM_PLPARSER_REQS
23724
($PKG_CONFIG --exists --print-errors "
23725
glib-2.0 >= $GLIB_REQS
23727
gtk+-2.0 >= $GTK_REQS
23730
totem-plparser >= $TOTEM_PLPARSER_REQS
23733
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23734
(exit $ac_status); }; then
23735
pkg_cv_DEPENDENCY_CFLAGS=`$PKG_CONFIG --cflags "
23736
glib-2.0 >= $GLIB_REQS
23738
gtk+-2.0 >= $GTK_REQS
23741
totem-plparser >= $TOTEM_PLPARSER_REQS
23742
cairo" 2>/dev/null`
23749
if test -n "$DEPENDENCY_LIBS"; then
23750
pkg_cv_DEPENDENCY_LIBS="$DEPENDENCY_LIBS"
23751
elif test -n "$PKG_CONFIG"; then
23752
if test -n "$PKG_CONFIG" && \
23753
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"
23754
glib-2.0 >= \$GLIB_REQS
23756
gtk+-2.0 >= \$GTK_REQS
23759
totem-plparser >= \$TOTEM_PLPARSER_REQS
23761
($PKG_CONFIG --exists --print-errors "
23762
glib-2.0 >= $GLIB_REQS
23764
gtk+-2.0 >= $GTK_REQS
23767
totem-plparser >= $TOTEM_PLPARSER_REQS
23770
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23771
(exit $ac_status); }; then
23772
pkg_cv_DEPENDENCY_LIBS=`$PKG_CONFIG --libs "
23773
glib-2.0 >= $GLIB_REQS
23775
gtk+-2.0 >= $GTK_REQS
23778
totem-plparser >= $TOTEM_PLPARSER_REQS
23779
cairo" 2>/dev/null`
23789
if test $pkg_failed = yes; then
23791
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23792
_pkg_short_errors_supported=yes
23794
_pkg_short_errors_supported=no
23796
if test $_pkg_short_errors_supported = yes; then
23797
DEPENDENCY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
23798
glib-2.0 >= $GLIB_REQS
23800
gtk+-2.0 >= $GTK_REQS
23803
totem-plparser >= $TOTEM_PLPARSER_REQS
23806
DEPENDENCY_PKG_ERRORS=`$PKG_CONFIG --print-errors "
23807
glib-2.0 >= $GLIB_REQS
23809
gtk+-2.0 >= $GTK_REQS
23812
totem-plparser >= $TOTEM_PLPARSER_REQS
23815
# Put the nasty error message in config.log where it belongs
23816
echo "$DEPENDENCY_PKG_ERRORS" >&5
23818
{ { $as_echo "$as_me:$LINENO: error: Package requirements (
23819
glib-2.0 >= $GLIB_REQS
23821
gtk+-2.0 >= $GTK_REQS
23824
totem-plparser >= $TOTEM_PLPARSER_REQS
23825
cairo) were not met:
23827
$DEPENDENCY_PKG_ERRORS
23829
Consider adjusting the PKG_CONFIG_PATH environment variable if you
23830
installed software in a non-standard prefix.
23832
Alternatively, you may set the environment variables DEPENDENCY_CFLAGS
23833
and DEPENDENCY_LIBS to avoid the need to call pkg-config.
23834
See the pkg-config man page for more details.
23836
$as_echo "$as_me: error: Package requirements (
23837
glib-2.0 >= $GLIB_REQS
23839
gtk+-2.0 >= $GTK_REQS
23842
totem-plparser >= $TOTEM_PLPARSER_REQS
23843
cairo) were not met:
23845
$DEPENDENCY_PKG_ERRORS
23847
Consider adjusting the PKG_CONFIG_PATH environment variable if you
23848
installed software in a non-standard prefix.
23850
Alternatively, you may set the environment variables DEPENDENCY_CFLAGS
23851
and DEPENDENCY_LIBS to avoid the need to call pkg-config.
23852
See the pkg-config man page for more details.
23854
{ (exit 1); exit 1; }; }
23855
elif test $pkg_failed = untried; then
23856
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
23857
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23858
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
23859
is in your PATH or set the PKG_CONFIG environment variable to the full
23860
path to pkg-config.
23862
Alternatively, you may set the environment variables DEPENDENCY_CFLAGS
23863
and DEPENDENCY_LIBS to avoid the need to call pkg-config.
23864
See the pkg-config man page for more details.
23866
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23867
See \`config.log' for more details." >&5
23868
$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
23869
is in your PATH or set the PKG_CONFIG environment variable to the full
23870
path to pkg-config.
23872
Alternatively, you may set the environment variables DEPENDENCY_CFLAGS
23873
and DEPENDENCY_LIBS to avoid the need to call pkg-config.
23874
See the pkg-config man page for more details.
23876
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23877
See \`config.log' for more details." >&2;}
23878
{ (exit 1); exit 1; }; }; }
23880
DEPENDENCY_CFLAGS=$pkg_cv_DEPENDENCY_CFLAGS
23881
DEPENDENCY_LIBS=$pkg_cv_DEPENDENCY_LIBS
23882
{ $as_echo "$as_me:$LINENO: result: yes" >&5
23883
$as_echo "yes" >&6; }
25143
25206
add_plugin="1"
25145
25208
case ${plugin} in
25212
{ $as_echo "$as_me:$LINENO: checking for SCREENSAVER" >&5
25213
$as_echo_n "checking for SCREENSAVER... " >&6; }
25215
if test -n "$SCREENSAVER_CFLAGS"; then
25216
pkg_cv_SCREENSAVER_CFLAGS="$SCREENSAVER_CFLAGS"
25217
elif test -n "$PKG_CONFIG"; then
25218
if test -n "$PKG_CONFIG" && \
25219
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gconf-2.0\"") >&5
25220
($PKG_CONFIG --exists --print-errors "gconf-2.0") 2>&5
25222
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25223
(exit $ac_status); }; then
25224
pkg_cv_SCREENSAVER_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0" 2>/dev/null`
25231
if test -n "$SCREENSAVER_LIBS"; then
25232
pkg_cv_SCREENSAVER_LIBS="$SCREENSAVER_LIBS"
25233
elif test -n "$PKG_CONFIG"; then
25234
if test -n "$PKG_CONFIG" && \
25235
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gconf-2.0\"") >&5
25236
($PKG_CONFIG --exists --print-errors "gconf-2.0") 2>&5
25238
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25239
(exit $ac_status); }; then
25240
pkg_cv_SCREENSAVER_LIBS=`$PKG_CONFIG --libs "gconf-2.0" 2>/dev/null`
25250
if test $pkg_failed = yes; then
25252
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25253
_pkg_short_errors_supported=yes
25255
_pkg_short_errors_supported=no
25257
if test $_pkg_short_errors_supported = yes; then
25258
SCREENSAVER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gconf-2.0" 2>&1`
25260
SCREENSAVER_PKG_ERRORS=`$PKG_CONFIG --print-errors "gconf-2.0" 2>&1`
25262
# Put the nasty error message in config.log where it belongs
25263
echo "$SCREENSAVER_PKG_ERRORS" >&5
25265
{ { $as_echo "$as_me:$LINENO: error: Package requirements (gconf-2.0) were not met:
25267
$SCREENSAVER_PKG_ERRORS
25269
Consider adjusting the PKG_CONFIG_PATH environment variable if you
25270
installed software in a non-standard prefix.
25272
Alternatively, you may set the environment variables SCREENSAVER_CFLAGS
25273
and SCREENSAVER_LIBS to avoid the need to call pkg-config.
25274
See the pkg-config man page for more details.
25276
$as_echo "$as_me: error: Package requirements (gconf-2.0) were not met:
25278
$SCREENSAVER_PKG_ERRORS
25280
Consider adjusting the PKG_CONFIG_PATH environment variable if you
25281
installed software in a non-standard prefix.
25283
Alternatively, you may set the environment variables SCREENSAVER_CFLAGS
25284
and SCREENSAVER_LIBS to avoid the need to call pkg-config.
25285
See the pkg-config man page for more details.
25287
{ (exit 1); exit 1; }; }
25288
elif test $pkg_failed = untried; then
25289
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
25290
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25291
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
25292
is in your PATH or set the PKG_CONFIG environment variable to the full
25293
path to pkg-config.
25295
Alternatively, you may set the environment variables SCREENSAVER_CFLAGS
25296
and SCREENSAVER_LIBS to avoid the need to call pkg-config.
25297
See the pkg-config man page for more details.
25299
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
25300
See \`config.log' for more details." >&5
25301
$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
25302
is in your PATH or set the PKG_CONFIG environment variable to the full
25303
path to pkg-config.
25305
Alternatively, you may set the environment variables SCREENSAVER_CFLAGS
25306
and SCREENSAVER_LIBS to avoid the need to call pkg-config.
25307
See the pkg-config man page for more details.
25309
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
25310
See \`config.log' for more details." >&2;}
25311
{ (exit 1); exit 1; }; }; }
25313
SCREENSAVER_CFLAGS=$pkg_cv_SCREENSAVER_CFLAGS
25314
SCREENSAVER_LIBS=$pkg_cv_SCREENSAVER_LIBS
25315
{ $as_echo "$as_me:$LINENO: result: yes" >&5
25316
$as_echo "yes" >&6; }
25148
25322
pkg_failed=no
26976
27139
if test $USE_MAINTAINER_MODE = yes; then
26977
DISABLE_DEPRECATED="-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGCONF_DISABLE_DEPRECATED -DBONOBO_DISABLE_DEPRECATED -DBONOBO_UI_DISABLE_DEPRECATED -DGNOME_VFS_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -DLIBGLADE_DISABLE_DEPRECATED"
27140
DISABLE_DEPRECATED="-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGCONF_DISABLE_DEPRECATED -DBONOBO_DISABLE_DEPRECATED -DBONOBO_UI_DISABLE_DEPRECATED -DGNOME_VFS_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -DLIBGLADE_DISABLE_DEPRECATED -DWNCK_DISABLE_DEPRECATED -DLIBSOUP_DISABLE_DEPRECATED"
26979
27142
DISABLE_DEPRECATED=""
27149
# Check whether --with-html-dir was given.
27150
if test "${with_html_dir+set}" = set; then
27151
withval=$with_html_dir;
27153
with_html_dir='${datadir}/gtk-doc/html'
27156
HTML_DIR="$with_html_dir"
27159
# Check whether --enable-gtk-doc was given.
27160
if test "${enable_gtk_doc+set}" = set; then
27161
enableval=$enable_gtk_doc;
27167
if test x$enable_gtk_doc = xyes; then
27168
if test -n "$PKG_CONFIG" && \
27169
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.11\"") >&5
27170
($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.11") 2>&5
27172
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27173
(exit $ac_status); }; then
27176
{ { $as_echo "$as_me:$LINENO: error: You need to have gtk-doc >= 1.11 installed to build $PACKAGE_NAME" >&5
27177
$as_echo "$as_me: error: You need to have gtk-doc >= 1.11 installed to build $PACKAGE_NAME" >&2;}
27178
{ (exit 1); exit 1; }; }
27182
{ $as_echo "$as_me:$LINENO: checking whether to build gtk-doc documentation" >&5
27183
$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
27184
{ $as_echo "$as_me:$LINENO: result: $enable_gtk_doc" >&5
27185
$as_echo "$enable_gtk_doc" >&6; }
27187
# Extract the first word of "gtkdoc-check", so it can be a program name with args.
27188
set dummy gtkdoc-check; ac_word=$2
27189
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
27190
$as_echo_n "checking for $ac_word... " >&6; }
27191
if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then
27192
$as_echo_n "(cached) " >&6
27194
case $GTKDOC_CHECK in
27196
ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
27199
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27200
for as_dir in $PATH
27203
test -z "$as_dir" && as_dir=.
27204
for ac_exec_ext in '' $ac_executable_extensions; do
27205
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27206
ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
27207
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27217
GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
27218
if test -n "$GTKDOC_CHECK"; then
27219
{ $as_echo "$as_me:$LINENO: result: $GTKDOC_CHECK" >&5
27220
$as_echo "$GTKDOC_CHECK" >&6; }
27222
{ $as_echo "$as_me:$LINENO: result: no" >&5
27223
$as_echo "no" >&6; }
27227
for ac_prog in gtkdoc-rebase
27229
# Extract the first word of "$ac_prog", so it can be a program name with args.
27230
set dummy $ac_prog; ac_word=$2
27231
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
27232
$as_echo_n "checking for $ac_word... " >&6; }
27233
if test "${ac_cv_path_GTKDOC_REBASE+set}" = set; then
27234
$as_echo_n "(cached) " >&6
27236
case $GTKDOC_REBASE in
27238
ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
27241
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27242
for as_dir in $PATH
27245
test -z "$as_dir" && as_dir=.
27246
for ac_exec_ext in '' $ac_executable_extensions; do
27247
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27248
ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
27249
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27259
GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
27260
if test -n "$GTKDOC_REBASE"; then
27261
{ $as_echo "$as_me:$LINENO: result: $GTKDOC_REBASE" >&5
27262
$as_echo "$GTKDOC_REBASE" >&6; }
27264
{ $as_echo "$as_me:$LINENO: result: no" >&5
27265
$as_echo "no" >&6; }
27269
test -n "$GTKDOC_REBASE" && break
27271
test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
27274
if test x$enable_gtk_doc = xyes; then
27275
ENABLE_GTK_DOC_TRUE=
27276
ENABLE_GTK_DOC_FALSE='#'
27278
ENABLE_GTK_DOC_TRUE='#'
27279
ENABLE_GTK_DOC_FALSE=
27282
if test -n "$LIBTOOL"; then
27283
GTK_DOC_USE_LIBTOOL_TRUE=
27284
GTK_DOC_USE_LIBTOOL_FALSE='#'
27286
GTK_DOC_USE_LIBTOOL_TRUE='#'
27287
GTK_DOC_USE_LIBTOOL_FALSE=
27290
if test -n "$GTKDOC_REBASE"; then
27291
GTK_DOC_USE_REBASE_TRUE=
27292
GTK_DOC_USE_REBASE_FALSE='#'
27294
GTK_DOC_USE_REBASE_TRUE='#'
27295
GTK_DOC_USE_REBASE_FALSE=
26984
27300
# This macro expands DIR and assigns it to RET.
26985
27301
# If DIR is NONE, then it's replaced by DEFAULT.
26986
27302
# Based on AC_DEFINE_DIR