version 1.64, 2001/06/27 12:58:57
|
version 1.65, 2001/06/28 11:05:21
|
Line 235 GTK_OPTIONS=
|
Line 235 GTK_OPTIONS=
|
AC_ARG_WITH(gtk, [ --with-gtk use GTK instead of Motif]) |
AC_ARG_WITH(gtk, [ --with-gtk use GTK instead of Motif]) |
if test "$withval" = "yes" ; then |
if test "$withval" = "yes" ; then |
for ac_dir in \ |
for ac_dir in \ |
|
/usr/lib/glib/include \ |
/usr/X11R6/include \ |
/usr/X11R6/include \ |
\ |
\ |
/usr/include/X11R6 \ |
/usr/include/X11R6 \ |
Line 249 if test "$withval" = "yes" ; then
|
Line 250 if test "$withval" = "yes" ; then
|
/usr/X386/include \ |
/usr/X386/include \ |
/usr/x386/include \ |
/usr/x386/include \ |
/usr/XFree86/include/X11 \ |
/usr/XFree86/include/X11 \ |
/usr/lib/glib/include \ |
|
/usr/dt/include \ |
/usr/dt/include \ |
/usr/include \ |
/usr/include \ |
/usr/local/include \ |
/usr/local/include \ |
Line 262 if test "$withval" = "yes" ; then
|
Line 262 if test "$withval" = "yes" ; then
|
fi |
fi |
done |
done |
|
|
GTK_INCLUDES="-I$ac_gtk_includes" |
GTK_INCLUDES="`gtk-config --cflags`" |
AC_SUBST(GTK_INCLUDES) |
AC_SUBST(GTK_INCLUDES) |
GTK_LIBRARIES="-lgtk -lgdk_imlib -ljpeg -lpng -ltiff -lz -lgif -lgdk -rdynamic -lgmodule -lglib" |
GTK_LIBRARIES="`gtk-config --libs` -lgdk_imlib -ltiff -lgif" |
AC_SUBST(GTK_LIBRARIES) |
AC_SUBST(GTK_LIBRARIES) |
GTK_OPTIONS=-DGTK |
GTK_OPTIONS=-D_GTK |
no_motif=yes |
no_motif=yes |
else |
else |
dnl |
dnl |
Line 425 else
|
Line 425 else
|
*-*sun-solaris* ) |
*-*sun-solaris* ) |
MOTIF_LIBRARIES="${MOTIF_LIBRARIES} -R$motif_libraries" |
MOTIF_LIBRARIES="${MOTIF_LIBRARIES} -R$motif_libraries" |
;; |
;; |
esac |
esac |
|
else |
|
MOTIF_LIBRARIES="-lXm" |
fi |
fi |
fi |
fi |
AC_SUBST(MOTIF_INCLUDES) |
AC_SUBST(MOTIF_INCLUDES) |