~mdw
/
mgLib
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Compile to nothing in absence of GTK, for the benefit of parent packages
[mgLib]
/
configure.in
diff --git
a/configure.in
b/configure.in
index
5f71233
..
4ed3643
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-1,6
+1,6
@@
dnl -*-fundamental-*-
dnl
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
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 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
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,
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)
mdw_OPT_mLib_DEBUG(mgLib)