Patch aclocal.m4 to not pass the gtk prefix arg to gtkconfig or else it gets the paths

wrong and the X libraries won't link in from the buildlink area
This commit is contained in:
jmc 2001-12-08 10:52:24 +00:00
parent 3d13f3bf80
commit 6704ea52f3
2 changed files with 15 additions and 1 deletions

View file

@ -1,6 +1,7 @@
$NetBSD: distinfo,v 1.2 2001/04/20 09:04:19 agc Exp $
$NetBSD: distinfo,v 1.3 2001/12/08 10:52:24 jmc Exp $
SHA1 (jpilot-0.99.tar.gz) = d52e4b31872c1b20bf882c8a062fdb954c8f4b1f
Size (jpilot-0.99.tar.gz) = 488619 bytes
SHA1 (patch-aa) = 4773e948de2d499cdb07f735d5cbc46c1fde5b92
SHA1 (patch-ab) = 16b18f6b1bdff8e0b97cf975c0dd3e85181fe9c0
SHA1 (patch-ac) = 1dfab3f52134426e362d9bf1a11cad036d5981e7

View file

@ -0,0 +1,13 @@
$NetBSD: patch-ac,v 1.3 2001/12/08 10:52:25 jmc Exp $
--- aclocal.m4.orig Sat Dec 8 10:44:06 2001
+++ aclocal.m4 Sat Dec 8 10:44:35 2001
@@ -808,7 +808,7 @@
dnl Get the cflags and libraries from the gtk-config script
dnl
AC_ARG_WITH(gtk-prefix,[ --with-gtk-prefix=PFX Prefix where GTK is installed (optional)],
- gtk_config_prefix="$withval", gtk_config_prefix="")
+ gtk_config_prefix="", gtk_config_prefix="")
AC_ARG_WITH(gtk-exec-prefix,[ --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)],
gtk_config_exec_prefix="$withval", gtk_config_exec_prefix="")
AC_ARG_ENABLE(gtktest, [ --disable-gtktest Do not try to compile and run a test GTK program],