summaryrefslogtreecommitdiff
path: root/graphics/GraphicsMagick/patches/patch-configure
blob: 018fe9a8962843a73d14ea161a770b4cbb2a4aa7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
$NetBSD: patch-configure,v 1.4 2021/12/14 19:56:25 adam Exp $

Portability fix.
Do not save configure args; they reference workdir.

--- configure.orig	2021-12-12 21:09:14.000000000 +0000
+++ configure
@@ -29058,7 +29058,7 @@ fi
 
 
 # Tests for programs only used while in maintainer mode
-if test "$MAINT" == '' ; then
+if test "$MAINT" = '' ; then
    # Test for optional rst2html.py utility and define automake conditional HasRST2HTML if found.
    for ac_prog in rst2html.py rst2html
 do
@@ -30160,9 +30160,6 @@ MAGICK_API_LIBS=`echo $MAGICK_API_LIBS |
 
 # Save configure/build parameters for later reference
 
-cat >>confdefs.h <<_ACEOF
-#define GM_BUILD_CONFIGURE_ARGS "$0 ${ac_configure_args}"
-_ACEOF
 
 
 cat >>confdefs.h <<_ACEOF