freebsd-ports/math/geg/files/patch-ac
Steve Price 89b7d2a446 - Use GTK_CONFIG/GLIB_CONFIG instead of hardcoded gtk12-config/glib12-config
- Support CC/CFLAGS/PREIFX/LOCALBASE/X11BASE/MAKE/etc. properly

PR:		19623
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
2000-07-07 19:59:26 +00:00

12 lines
417 B
Text

--- configure.in.orig Wed Nov 24 08:01:41 1999
+++ configure.in Sat Jul 1 18:57:50 2000
@@ -30,8 +30,7 @@
fi
fi
-AC_CHECK_PROG(GTK_CFLAGS, gtk-config, `gtk-config --cflags`,,,)
-AC_CHECK_PROG(GTK_LIBS, gtk-config, `gtk-config --libs`,,,)
+AM_PATH_GTK(1.2.0, , AC_MSG_ERROR(GTK+ is not installed or badly configured on your system...))
dnl Checks for libraries.
dnl Replace `main' with a function in -libs: