dnl -*-fundamental-*-
dnl
-dnl $Id: configure.in,v 1.3 1999/03/24 22:22:59 mdw Exp $
+dnl $Id: configure.in,v 1.4 1999/03/25 23:36:08 mdw Exp $
dnl
dnl Configuration script for mgLib
dnl
dnl ----- Revision history --------------------------------------------------
dnl
dnl $Log: configure.in,v $
+dnl Revision 1.4 1999/03/25 23:36:08 mdw
+dnl Compile to nothing in absence of GTK, for the benefit of parent packages
+dnl which contain non-GTK-dependent parts.
+dnl
dnl Revision 1.3 1999/03/24 22:22:59 mdw
dnl Remove redundant call to AC_PROG_INSTALL.
dnl
AC_PROG_RANLIB
AM_PATH_GTK(1.0.0,
- [LIBS="$LIBS $GTK_LIBS" CFLAGS="$CFLAGS $GTK_CFLAGS"],
- [AC_MSG_ERROR([couldn't find GTK])])
+ [LIBS="$LIBS $GTK_LIBS" CFLAGS="$CFLAGS $GTK_CFLAGS"
+ AC_DEFINE(HAVE_GTK)],
+ [AC_MSG_WARN([couldn't find GTK])])
mdw_OPT_mLib_DEBUG(mgLib)