summaryrefslogtreecommitdiff
path: root/devel/m4/patches/patch-ac
blob: 5571ed4ffa577204faf8bd80c493dfdb586c2696 (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
$NetBSD: patch-ac,v 1.6 2007/07/29 14:36:47 joerg Exp $

--- configure.orig	2007-07-29 13:25:52.000000000 +0000
+++ configure
@@ -11711,10 +11711,17 @@ echo "${ECHO_T}$gl_cv_func_fflush_stdin"
   if test $gl_cv_func_fflush_stdin = no; then
 
   M4_LIBOBJS="$M4_LIBOBJS fflush.$ac_objext"
-  M4_LIBOBJS="$M4_LIBOBJS fseeko.$ac_objext"
 
   REPLACE_FFLUSH=1
-  REPLACE_FSEEKO=1
+  case "$host_os" in
+  dragonfly*)
+    REPLACE_FSEEKO=0
+    ;;
+  *)
+    M4_LIBOBJS="$M4_LIBOBJS fseeko.$ac_objext"
+    REPLACE_FSEEKO=1
+    ;;
+  esac
 
   fi