I couldn't find a way to disable gtk2 support in jed 0.99-19.
If I don't use any configure argument:
checking for GTK... yes
GTK dir:
checking for gtk+-2.0 version >= 2.8.0... yes
CFlags: -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include/atk-1.0 -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz -I/opt/local/include/pango-1.0 -I/opt/local/include/fribidi -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/harfbuzz -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/freetype2 -I/opt/local/include/libpng16
Libraries: -L/opt/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lXfixes -lX11 -lXext -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lharfbuzz -lfontconfig -lfreetype
If I use --without-gtk:
checking for GTK... yes
GTK dir: no
checking for gtk+-2.0 version >= 2.8.0... yes
CFlags: -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include/atk-1.0 -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz -I/opt/local/include/pango-1.0 -I/opt/local/include/fribidi -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/harfbuzz -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/freetype2 -I/opt/local/include/libpng16
Libraries: -L/opt/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lXfixes -lX11 -lXext -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lharfbuzz -lfontconfig -lfreetype
I also tried the latest snapshot 0.99.20-181 and the result was the same.
The code doing this is here:
|
AC_ARG_WITH( [gtk], |
|
AS_HELP_STRING([--with-gtk=PATH], [Directory where the pkg-config file gtk+-2.0.pc can be found. This is often /usr/lib/pkgconfig, /usr/lib64/pkgconfig or in a default garnome build of gnome $HOME/garnome/lib/pkgconfig]), |
|
GTK_DIR="$withval", GTK_DIR="" ) |
|
PKG_CONFIG_PATH="$GTK_DIR" |
|
export PKG_CONFIG_PATH |
|
PKG_CHECK_MODULES( GTK, [gtk+-2.0 >= 2.8.0], [jd_with_gtk="yes"], [jd_with_gtk="no"] ) |
|
echo "GTK dir: $GTK_DIR" |
|
AC_MSG_CHECKING([for gtk+-2.0 version >= 2.8.0]) |
|
AC_MSG_RESULT([$jd_with_gtk]) |
|
AC_MSG_RESULT([CFlags: $GTK_CFLAGS]) |
|
AC_MSG_RESULT([Libraries: $GTK_LIBS]) |
|
BUILD_GTKJED=$jd_with_gtk |
|
AC_SUBST(BUILD_GTKJED) |
I couldn't find a way to disable gtk2 support in jed 0.99-19.
If I don't use any configure argument:
If I use
--without-gtk:I also tried the latest snapshot 0.99.20-181 and the result was the same.
The code doing this is here:
jed/autoconf/configure.ac
Lines 146 to 158 in 68f0c75