comparison configure.in @ 1903:835fcc223341

[gaim-migrate @ 1913] this is part three of three committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Mon, 28 May 2001 18:54:00 +0000
parents a333eccaae93
children 7af8b0fb931a
comparison
equal deleted inserted replaced
1902:9aa7cd7f5948 1903:835fcc223341
61 AC_DEFINE(DEBUG) 61 AC_DEFINE(DEBUG)
62 fi 62 fi
63 63
64 if test "x$enable_gnome" = "xyes" ; then 64 if test "x$enable_gnome" = "xyes" ; then
65 if test "x$enable_panel" = "xyes" ; then 65 if test "x$enable_panel" = "xyes" ; then
66 GNOME_INIT(gnomeui applets) 66 GNOME_INIT(gnomeui applets gdk_pixbuf)
67 GNOME_X_CHECKS 67 GNOME_X_CHECKS
68 CFLAGS="$CFLAGS $GNOME_INCLUDEDIR" 68 CFLAGS="$CFLAGS $GNOME_INCLUDEDIR"
69 AC_DEFINE(USE_APPLET) 69 AC_DEFINE(USE_APPLET)
70 AC_DEFINE(USE_GNOME) 70 AC_DEFINE(USE_GNOME)
71 LIBS="$LIBS $GTK_LIBS $GNOME_LIBDIR $GNOME_APPLETS_LIBS $GNOMEUI_LIBS" 71 LIBS="$LIBS $GTK_LIBS $GNOME_LIBDIR $GNOME_APPLETS_LIBS $GNOMEUI_LIBS"
72 AC_PATH_PROG(gaimpath, gaim_applet) 72 AC_PATH_PROG(gaimpath, gaim_applet)
73 else 73 else
74 AC_PATH_PROG(gnomepath, gnome-config) 74 AC_PATH_PROG(gnomepath, gnome-config)
75 AC_MSG_CHECKING(for Gnome compile flags) 75 AC_MSG_CHECKING(for Gnome compile flags)
76 GNOME_CFLAGS=`$gnomepath gnomeui --cflags 2>/dev/null` 76 GNOME_CFLAGS=`$gnomepath gnomeui gdk_pixbuf --cflags 2>/dev/null`
77 if test "x$GNOME_CFLAGS" = "x" ; then 77 if test "x$GNOME_CFLAGS" = "x" ; then
78 enable_gnome=no 78 enable_gnome=no
79 AC_MSG_RESULT([Gnome not found, building without it.]) 79 AC_MSG_RESULT([Gnome not found, building without it.])
80 else 80 else
81 GNOME_VER=`$gnomepath --version |$sedpath 's/gnome-libs //' 2>/dev/null` 81 GNOME_VER=`$gnomepath --version |$sedpath 's/gnome-libs //' 2>/dev/null`
84 enable_gnome = no 84 enable_gnome = no
85 AC_MSG_RESULT([old Gnome found, building without it.]) 85 AC_MSG_RESULT([old Gnome found, building without it.])
86 else 86 else
87 AC_MSG_RESULT(ok) 87 AC_MSG_RESULT(ok)
88 CFLAGS="$CFLAGS $GNOME_CFLAGS" 88 CFLAGS="$CFLAGS $GNOME_CFLAGS"
89 LIBS="$LIBS `$gnomepath gnomeui --libs 2>/dev/null`" 89 LIBS="$LIBS `$gnomepath gnomeui gdk_pixbuf --libs 2>/dev/null`"
90 AC_DEFINE(USE_GNOME) 90 AC_DEFINE(USE_GNOME)
91 GNOME_CONFIG="$gnomepath" 91 GNOME_CONFIG="$gnomepath"
92 AC_SUBST(GNOME_CONFIG) 92 AC_SUBST(GNOME_CONFIG)
93 AC_PATH_PROG(gaimpath, gaim) 93 AC_PATH_PROG(gaimpath, gaim)
94 fi 94 fi