pkgsrc/x11/wxGTK24/patches/patch-ag

22 lines
846 B
Text

$NetBSD: patch-ag,v 1.1.1.1 2005/08/07 11:27:29 wiz Exp $
--- wxwin.m4.orig 2003-09-21 13:31:27.000000000 +0200
+++ wxwin.m4
@@ -33,7 +33,7 @@ dnl adds support for --wx-prefix, --wx-e
dnl command line options
dnl ---------------------------------------------------------------------------
-AC_DEFUN(AM_OPTIONS_WXCONFIG,
+AC_DEFUN([AM_OPTIONS_WXCONFIG],
[
AC_ARG_WITH(wx-prefix, [ --with-wx-prefix=PREFIX Prefix where wxWindows is installed (optional)],
wx_config_prefix="$withval", wx_config_prefix="")
@@ -56,7 +56,7 @@ dnl ------------------------------------
dnl
dnl Get the cflags and libraries from the wx-config script
dnl
-AC_DEFUN(AM_PATH_WXCONFIG,
+AC_DEFUN([AM_PATH_WXCONFIG],
[
dnl do we have wx-config name: it can be wx-config or wxd-config or ...
if test x${WX_CONFIG_NAME+set} != xset ; then