version 1.149, 2004/06/29 08:25:51
|
version 1.150, 2004/08/23 08:47:35
|
Line 284 if test "$with_wx" = "yes" ; then
|
Line 284 if test "$with_wx" = "yes" ; then
|
fi |
fi |
|
|
if test "$with_gtk" = "yes" ; then |
if test "$with_gtk" = "yes" ; then |
# SG : lookingfor gtkimlib includes |
|
# because not found with gtk-config on macosx |
|
gdkimlib_h_found="no" |
gdkimlib_h_found="no" |
for ac_dir in \ |
|
/sw/include/ \ |
|
/sw/local/include \ |
|
/usr/include \ |
|
/usr/local/include \ |
|
; \ |
|
do |
|
if test -r "$ac_dir/gdk_imlib.h"; then |
|
echo "found gdk_imlib.h" |
|
gdkimlib_h_found="yes" |
|
GTK_INCLUDES="${GTK_INCLUDES} -I$ac_dir" |
|
break |
|
fi |
|
done |
|
|
|
# check that gtk-config exists |
# check that gtk-config exists |
AC_CHECK_PROG(GTKCONFIG_FOUND,gtk-config,yes,no) |
AC_CHECK_PROG(GTKCONFIG_FOUND,gtk-config,yes,no) |
Line 322 if test "$with_gtk" = "yes" ; then
|
Line 306 if test "$with_gtk" = "yes" ; then
|
GTK_OPTIONS="-D_GTK" |
GTK_OPTIONS="-D_GTK" |
no_graphic=yes |
no_graphic=yes |
|
|
|
# SG : lookingfor gtkimlib includes |
|
# because not found with gtk-config on macosx |
|
gtk_path_for_gdkimlib_h="`gtk-config --prefix`" |
|
for ac_dir in \ |
|
/sw/include/ \ |
|
/sw/local/include \ |
|
/usr/include \ |
|
/usr/local/include \ |
|
"$gtk_path_for_gdkimlib_h/include" \ |
|
"$gtk_path_for_gdkimlib_h/local/include" \ |
|
; \ |
|
do |
|
if test -r "$ac_dir/gdk_imlib.h"; then |
|
echo "found gdk_imlib.h" |
|
gdkimlib_h_found="yes" |
|
GTK_INCLUDES="${GTK_INCLUDES} -I$ac_dir" |
|
break |
|
fi |
|
done |
|
|
if test "$gdkimlib_h_found" = "no" ; then |
if test "$gdkimlib_h_found" = "no" ; then |
echo |
echo |
echo "****************************************************************" |
echo "****************************************************************" |