blob: 1c21262d914f6d502b96c4ad0e3c5812a2c38b1a (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
$NetBSD: patch-af,v 1.3 2009/07/18 10:28:47 wiz Exp $
--- configure.orig 2009-07-02 17:25:57.000000000 +0000
+++ configure
@@ -806,6 +806,8 @@ LIB_MAN_SUFFIX
APP_MAN_SUFFIX
RAWCPPFLAGS
RAWCPP
+CROSS_COMPILING_FALSE
+CROSS_COMPILING_TRUE
STRINGSABIOPTIONS
appdefaultdir
XFILESEARCHPATHDEFAULT
@@ -12100,6 +12102,15 @@ esac
XT_CFLAGS="$CWARNFLAGS $XT_CFLAGS $OS_CFLAGS"
+ if test $cross_compiling = yes ; then
+ CROSS_COMPILING_TRUE=
+ CROSS_COMPILING_FALSE='#'
+else
+ CROSS_COMPILING_TRUE='#'
+ CROSS_COMPILING_FALSE=
+fi
+
+
# Man page processing requirements
@@ -12541,6 +12552,13 @@ $as_echo "$as_me: error: conditional \"I
Usually this means the macro was only invoked conditionally." >&2;}
{ (exit 1); exit 1; }; }
fi
+if test -z "${CROSS_COMPILING_TRUE}" && test -z "${CROSS_COMPILING_FALSE}"; then
+ { { $as_echo "$as_me:$LINENO: error: conditional \"CROSS_COMPILING\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+$as_echo "$as_me: error: conditional \"CROSS_COMPILING\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+fi
: ${CONFIG_STATUS=./config.status}
ac_write_fail=0
|