X-Git-Url: https://git.distorted.org.uk/~mdw/mgLib/blobdiff_plain/be43a39d23a7374876c7b33ab2873eba14c535e8..8e77431249a6351d09ad472dfdbd9fe33b4e1d1b:/configure.in diff --git a/configure.in b/configure.in index 5f71233..4ed3643 100644 --- a/configure.in +++ b/configure.in @@ -1,6 +1,6 @@ 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 @@ -28,6 +28,10 @@ dnl Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 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 @@ -47,8 +51,9 @@ AC_CHECK_PROG(AR, ar, ar) 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)