summaryrefslogtreecommitdiff
path: root/mail/ifile/patches/patch-ac
blob: c2d4982456c7cf58f0679ba205262582b36609d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ac,v 1.1 2003/07/25 15:25:15 salo Exp $

--- argp/configure.orig	Tue Jun 10 16:09:28 2003
+++ argp/configure	Fri Jul 25 17:01:18 2003
@@ -1922,6 +1922,9 @@
     CFLAGS=
   fi
 fi
+if test -z "$GCC" ; then
+  CFLAGS="-DCONSTRUCTOR_FAILS=1 $CFLAGS"
+fi
 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
 if test "${ac_cv_prog_cc_stdc+set}" = set; then