Mercurial > flash_v2
annotate packages/devs/eth/synth/ecosynth/current/host/configure @ 1777:c16341b1bac6 default tip
* Added execute permissions to files missed in conversion from CVS
| author | alexs |
|---|---|
| date | Mon, 12 Oct 2009 02:26:09 +0100 |
| parents | 21a4bd716ae0 |
| children |
| rev | line source |
|---|---|
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1 #! /bin/sh |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
2 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
3 # Guess values for system-dependent variables and create Makefiles. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
4 # Generated automatically using autoconf version 2.13 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
6 # |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
7 # This configure script is free software; the Free Software Foundation |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
8 # gives unlimited permission to copy, distribute and modify it. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
9 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
10 # Defaults: |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
11 ac_help= |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
12 ac_default_prefix=/usr/local |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
13 # Any additions from configure.in: |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
14 ac_help="$ac_help |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
15 --enable-maintainer-mode enable make rules and dependencies not useful |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
16 (and sometimes confusing) to the casual installer" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
17 ac_help="$ac_help |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
18 --enable-debug do a debug rather than a release build" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
19 ac_help="$ac_help |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
20 --enable-ansi do an ANSI rather than a unicode build" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
21 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
22 # Initialize some variables set by options. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
23 # The variables have the same names as the options, with |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
24 # dashes changed to underlines. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
25 build=NONE |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
26 cache_file=./config.cache |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
27 exec_prefix=NONE |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
28 host=NONE |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
29 no_create= |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
30 nonopt=NONE |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
31 no_recursion= |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
32 prefix=NONE |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
33 program_prefix=NONE |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
34 program_suffix=NONE |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
35 program_transform_name=s,x,x, |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
36 silent= |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
37 site= |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
38 srcdir= |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
39 target=NONE |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
40 verbose= |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
41 x_includes=NONE |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
42 x_libraries=NONE |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
43 bindir='${exec_prefix}/bin' |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
44 sbindir='${exec_prefix}/sbin' |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
45 libexecdir='${exec_prefix}/libexec' |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
46 datadir='${prefix}/share' |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
47 sysconfdir='${prefix}/etc' |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
48 sharedstatedir='${prefix}/com' |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
49 localstatedir='${prefix}/var' |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
50 libdir='${exec_prefix}/lib' |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
51 includedir='${prefix}/include' |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
52 oldincludedir='/usr/include' |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
53 infodir='${prefix}/info' |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
54 mandir='${prefix}/man' |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
55 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
56 # Initialize some other variables. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
57 subdirs= |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
58 MFLAGS= MAKEFLAGS= |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
59 SHELL=${CONFIG_SHELL-/bin/sh} |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
60 # Maximum number of lines to put in a shell here document. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
61 ac_max_here_lines=12 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
62 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
63 ac_prev= |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
64 for ac_option |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
65 do |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
66 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
67 # If the previous option needs an argument, assign it. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
68 if test -n "$ac_prev"; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
69 eval "$ac_prev=\$ac_option" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
70 ac_prev= |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
71 continue |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
72 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
73 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
74 case "$ac_option" in |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
75 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
76 *) ac_optarg= ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
77 esac |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
78 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
79 # Accept the important Cygnus configure options, so we can diagnose typos. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
80 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
81 case "$ac_option" in |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
82 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
83 -bindir | --bindir | --bindi | --bind | --bin | --bi) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
84 ac_prev=bindir ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
85 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
86 bindir="$ac_optarg" ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
87 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
88 -build | --build | --buil | --bui | --bu) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
89 ac_prev=build ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
90 -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
91 build="$ac_optarg" ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
92 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
93 -cache-file | --cache-file | --cache-fil | --cache-fi \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
94 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
95 ac_prev=cache_file ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
96 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
97 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
98 cache_file="$ac_optarg" ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
99 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
100 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
101 ac_prev=datadir ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
102 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
103 | --da=*) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
104 datadir="$ac_optarg" ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
105 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
106 -disable-* | --disable-*) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
107 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
108 # Reject names that are not valid shell variable names. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
109 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
110 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
111 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
112 ac_feature=`echo $ac_feature| sed 's/-/_/g'` |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
113 eval "enable_${ac_feature}=no" ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
114 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
115 -enable-* | --enable-*) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
116 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
117 # Reject names that are not valid shell variable names. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
118 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
119 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
120 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
121 ac_feature=`echo $ac_feature| sed 's/-/_/g'` |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
122 case "$ac_option" in |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
123 *=*) ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
124 *) ac_optarg=yes ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
125 esac |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
126 eval "enable_${ac_feature}='$ac_optarg'" ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
127 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
128 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
129 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
130 | --exec | --exe | --ex) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
131 ac_prev=exec_prefix ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
132 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
133 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
134 | --exec=* | --exe=* | --ex=*) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
135 exec_prefix="$ac_optarg" ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
136 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
137 -gas | --gas | --ga | --g) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
138 # Obsolete; use --with-gas. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
139 with_gas=yes ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
140 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
141 -help | --help | --hel | --he) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
142 # Omit some internal or obsolete options to make the list less imposing. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
143 # This message is too long to be a string in the A/UX 3.1 sh. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
144 cat << EOF |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
145 Usage: configure [options] [host] |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
146 Options: [defaults in brackets after descriptions] |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
147 Configuration: |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
148 --cache-file=FILE cache test results in FILE |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
149 --help print this message |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
150 --no-create do not create output files |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
151 --quiet, --silent do not print \`checking...' messages |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
152 --version print the version of autoconf that created configure |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
153 Directory and file names: |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
154 --prefix=PREFIX install architecture-independent files in PREFIX |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
155 [$ac_default_prefix] |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
156 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
157 [same as prefix] |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
158 --bindir=DIR user executables in DIR [EPREFIX/bin] |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
159 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
160 --libexecdir=DIR program executables in DIR [EPREFIX/libexec] |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
161 --datadir=DIR read-only architecture-independent data in DIR |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
162 [PREFIX/share] |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
163 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
164 --sharedstatedir=DIR modifiable architecture-independent data in DIR |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
165 [PREFIX/com] |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
166 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
167 --libdir=DIR object code libraries in DIR [EPREFIX/lib] |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
168 --includedir=DIR C header files in DIR [PREFIX/include] |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
169 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
170 --infodir=DIR info documentation in DIR [PREFIX/info] |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
171 --mandir=DIR man documentation in DIR [PREFIX/man] |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
172 --srcdir=DIR find the sources in DIR [configure dir or ..] |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
173 --program-prefix=PREFIX prepend PREFIX to installed program names |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
174 --program-suffix=SUFFIX append SUFFIX to installed program names |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
175 --program-transform-name=PROGRAM |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
176 run sed PROGRAM on installed program names |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
177 EOF |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
178 cat << EOF |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
179 Host type: |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
180 --build=BUILD configure for building on BUILD [BUILD=HOST] |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
181 --host=HOST configure for HOST [guessed] |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
182 --target=TARGET configure for TARGET [TARGET=HOST] |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
183 Features and packages: |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
184 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
185 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
186 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
187 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
188 --x-includes=DIR X include files are in DIR |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
189 --x-libraries=DIR X library files are in DIR |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
190 EOF |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
191 if test -n "$ac_help"; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
192 echo "--enable and --with options recognized:$ac_help" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
193 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
194 exit 0 ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
195 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
196 -host | --host | --hos | --ho) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
197 ac_prev=host ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
198 -host=* | --host=* | --hos=* | --ho=*) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
199 host="$ac_optarg" ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
200 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
201 -includedir | --includedir | --includedi | --included | --include \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
202 | --includ | --inclu | --incl | --inc) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
203 ac_prev=includedir ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
204 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
205 | --includ=* | --inclu=* | --incl=* | --inc=*) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
206 includedir="$ac_optarg" ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
207 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
208 -infodir | --infodir | --infodi | --infod | --info | --inf) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
209 ac_prev=infodir ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
210 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
211 infodir="$ac_optarg" ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
212 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
213 -libdir | --libdir | --libdi | --libd) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
214 ac_prev=libdir ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
215 -libdir=* | --libdir=* | --libdi=* | --libd=*) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
216 libdir="$ac_optarg" ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
217 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
218 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
219 | --libexe | --libex | --libe) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
220 ac_prev=libexecdir ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
221 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
222 | --libexe=* | --libex=* | --libe=*) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
223 libexecdir="$ac_optarg" ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
224 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
225 -localstatedir | --localstatedir | --localstatedi | --localstated \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
226 | --localstate | --localstat | --localsta | --localst \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
227 | --locals | --local | --loca | --loc | --lo) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
228 ac_prev=localstatedir ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
229 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
230 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
231 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
232 localstatedir="$ac_optarg" ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
233 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
234 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
235 ac_prev=mandir ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
236 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
237 mandir="$ac_optarg" ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
238 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
239 -nfp | --nfp | --nf) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
240 # Obsolete; use --without-fp. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
241 with_fp=no ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
242 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
243 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
244 | --no-cr | --no-c) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
245 no_create=yes ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
246 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
247 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
248 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
249 no_recursion=yes ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
250 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
251 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
252 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
253 | --oldin | --oldi | --old | --ol | --o) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
254 ac_prev=oldincludedir ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
255 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
256 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
257 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
258 oldincludedir="$ac_optarg" ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
259 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
260 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
261 ac_prev=prefix ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
262 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
263 prefix="$ac_optarg" ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
264 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
265 -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
266 | --program-pre | --program-pr | --program-p) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
267 ac_prev=program_prefix ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
268 -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
269 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
270 program_prefix="$ac_optarg" ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
271 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
272 -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
273 | --program-suf | --program-su | --program-s) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
274 ac_prev=program_suffix ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
275 -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
276 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
277 program_suffix="$ac_optarg" ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
278 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
279 -program-transform-name | --program-transform-name \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
280 | --program-transform-nam | --program-transform-na \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
281 | --program-transform-n | --program-transform- \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
282 | --program-transform | --program-transfor \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
283 | --program-transfo | --program-transf \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
284 | --program-trans | --program-tran \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
285 | --progr-tra | --program-tr | --program-t) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
286 ac_prev=program_transform_name ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
287 -program-transform-name=* | --program-transform-name=* \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
288 | --program-transform-nam=* | --program-transform-na=* \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
289 | --program-transform-n=* | --program-transform-=* \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
290 | --program-transform=* | --program-transfor=* \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
291 | --program-transfo=* | --program-transf=* \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
292 | --program-trans=* | --program-tran=* \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
293 | --progr-tra=* | --program-tr=* | --program-t=*) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
294 program_transform_name="$ac_optarg" ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
295 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
296 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
297 | -silent | --silent | --silen | --sile | --sil) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
298 silent=yes ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
299 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
300 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
301 ac_prev=sbindir ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
302 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
303 | --sbi=* | --sb=*) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
304 sbindir="$ac_optarg" ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
305 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
306 -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
307 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
308 | --sharedst | --shareds | --shared | --share | --shar \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
309 | --sha | --sh) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
310 ac_prev=sharedstatedir ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
311 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
312 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
313 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
314 | --sha=* | --sh=*) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
315 sharedstatedir="$ac_optarg" ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
316 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
317 -site | --site | --sit) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
318 ac_prev=site ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
319 -site=* | --site=* | --sit=*) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
320 site="$ac_optarg" ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
321 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
322 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
323 ac_prev=srcdir ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
324 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
325 srcdir="$ac_optarg" ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
326 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
327 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
328 | --syscon | --sysco | --sysc | --sys | --sy) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
329 ac_prev=sysconfdir ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
330 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
331 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
332 sysconfdir="$ac_optarg" ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
333 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
334 -target | --target | --targe | --targ | --tar | --ta | --t) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
335 ac_prev=target ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
336 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
337 target="$ac_optarg" ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
338 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
339 -v | -verbose | --verbose | --verbos | --verbo | --verb) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
340 verbose=yes ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
341 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
342 -version | --version | --versio | --versi | --vers) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
343 echo "configure generated by autoconf version 2.13" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
344 exit 0 ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
345 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
346 -with-* | --with-*) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
347 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
348 # Reject names that are not valid shell variable names. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
349 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
350 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
351 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
352 ac_package=`echo $ac_package| sed 's/-/_/g'` |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
353 case "$ac_option" in |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
354 *=*) ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
355 *) ac_optarg=yes ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
356 esac |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
357 eval "with_${ac_package}='$ac_optarg'" ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
358 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
359 -without-* | --without-*) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
360 ac_package=`echo $ac_option|sed -e 's/-*without-//'` |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
361 # Reject names that are not valid shell variable names. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
362 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
363 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
364 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
365 ac_package=`echo $ac_package| sed 's/-/_/g'` |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
366 eval "with_${ac_package}=no" ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
367 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
368 --x) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
369 # Obsolete; use --with-x. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
370 with_x=yes ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
371 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
372 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
373 | --x-incl | --x-inc | --x-in | --x-i) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
374 ac_prev=x_includes ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
375 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
376 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
377 x_includes="$ac_optarg" ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
378 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
379 -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
380 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
381 ac_prev=x_libraries ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
382 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
383 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
384 x_libraries="$ac_optarg" ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
385 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
386 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
387 ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
388 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
389 *) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
390 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
391 echo "configure: warning: $ac_option: invalid host type" 1>&2 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
392 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
393 if test "x$nonopt" != xNONE; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
394 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
395 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
396 nonopt="$ac_option" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
397 ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
398 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
399 esac |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
400 done |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
401 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
402 if test -n "$ac_prev"; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
403 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
404 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
405 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
406 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
407 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
408 # File descriptor usage: |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
409 # 0 standard input |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
410 # 1 file creation |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
411 # 2 errors and warnings |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
412 # 3 some systems may open it to /dev/tty |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
413 # 4 used on the Kubota Titan |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
414 # 6 checking for... messages and results |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
415 # 5 compiler messages saved in config.log |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
416 if test "$silent" = yes; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
417 exec 6>/dev/null |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
418 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
419 exec 6>&1 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
420 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
421 exec 5>./config.log |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
422 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
423 echo "\ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
424 This file contains any messages produced by compilers while |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
425 running configure, to aid debugging if configure makes a mistake. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
426 " 1>&5 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
427 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
428 # Strip out --no-create and --no-recursion so they do not pile up. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
429 # Also quote any args containing shell metacharacters. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
430 ac_configure_args= |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
431 for ac_arg |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
432 do |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
433 case "$ac_arg" in |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
434 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
435 | --no-cr | --no-c) ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
436 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
437 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
438 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
439 ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
440 *) ac_configure_args="$ac_configure_args $ac_arg" ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
441 esac |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
442 done |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
443 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
444 # NLS nuisances. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
445 # Only set these to C if already set. These must not be set unconditionally |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
446 # because not all systems understand e.g. LANG=C (notably SCO). |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
447 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
448 # Non-C LC_CTYPE values break the ctype check. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
449 if test "${LANG+set}" = set; then LANG=C; export LANG; fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
450 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
451 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
452 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
453 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
454 # confdefs.h avoids OS command line length limits that DEFS can exceed. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
455 rm -rf conftest* confdefs.h |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
456 # AIX cpp loses on an empty file, so make sure it contains at least a newline. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
457 echo > confdefs.h |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
458 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
459 # A filename unique to this package, relative to the directory that |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
460 # configure is in, which we can look for to find out if srcdir is correct. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
461 ac_unique_file=rawether.c |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
462 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
463 # Find the source files, if location was not specified. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
464 if test -z "$srcdir"; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
465 ac_srcdir_defaulted=yes |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
466 # Try the directory containing this script, then its parent. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
467 ac_prog=$0 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
468 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
469 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
470 srcdir=$ac_confdir |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
471 if test ! -r $srcdir/$ac_unique_file; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
472 srcdir=.. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
473 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
474 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
475 ac_srcdir_defaulted=no |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
476 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
477 if test ! -r $srcdir/$ac_unique_file; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
478 if test "$ac_srcdir_defaulted" = yes; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
479 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
480 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
481 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
482 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
483 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
484 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
485 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
486 # Prefer explicitly selected file to automatically selected ones. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
487 if test -z "$CONFIG_SITE"; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
488 if test "x$prefix" != xNONE; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
489 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
490 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
491 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
492 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
493 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
494 for ac_site_file in $CONFIG_SITE; do |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
495 if test -r "$ac_site_file"; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
496 echo "loading site script $ac_site_file" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
497 . "$ac_site_file" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
498 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
499 done |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
500 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
501 if test -r "$cache_file"; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
502 echo "loading cache $cache_file" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
503 . $cache_file |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
504 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
505 echo "creating cache $cache_file" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
506 > $cache_file |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
507 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
508 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
509 ac_ext=c |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
510 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
511 ac_cpp='$CPP $CPPFLAGS' |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
512 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
513 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
514 cross_compiling=$ac_cv_prog_cc_cross |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
515 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
516 ac_exeext= |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
517 ac_objext=o |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
518 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
519 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
520 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
521 ac_n= ac_c=' |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
522 ' ac_t=' ' |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
523 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
524 ac_n=-n ac_c= ac_t= |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
525 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
526 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
527 ac_n= ac_c='\c' ac_t= |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
528 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
529 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
530 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
531 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
532 ac_aux_dir= |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
533 for ac_dir in ../../../../../../../acsupport $srcdir/../../../../../../../acsupport; do |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
534 if test -f $ac_dir/install-sh; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
535 ac_aux_dir=$ac_dir |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
536 ac_install_sh="$ac_aux_dir/install-sh -c" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
537 break |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
538 elif test -f $ac_dir/install.sh; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
539 ac_aux_dir=$ac_dir |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
540 ac_install_sh="$ac_aux_dir/install.sh -c" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
541 break |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
542 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
543 done |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
544 if test -z "$ac_aux_dir"; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
545 { echo "configure: error: can not find install-sh or install.sh in ../../../../../../../acsupport $srcdir/../../../../../../../acsupport" 1>&2; exit 1; } |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
546 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
547 ac_config_guess=$ac_aux_dir/config.guess |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
548 ac_config_sub=$ac_aux_dir/config.sub |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
549 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
550 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
551 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
552 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
553 echo $ac_n "checking that a separate build tree is being used""... $ac_c" 1>&6 |
|
345
3f4258400ba5
Fix host-side configury problems which can occur if you are not using
bartv
parents:
332
diff
changeset
|
554 echo "configure:555: checking that a separate build tree is being used" >&5 |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
555 ecos_cwd=`/bin/pwd` |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
556 if test "${srcdir}" = "." ; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
557 srcdir=${ecos_cwd} |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
558 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
559 if test "${ecos_cwd}" = "${srcdir}" ; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
560 echo "$ac_t""no" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
561 { echo "configure: error: This configure script should not be run inside the source tree. Instead please use a separate build tree" 1>&2; exit 1; } |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
562 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
563 echo "$ac_t""yes" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
564 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
565 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
566 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
567 # Make sure we can run config.sub. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
568 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
569 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
570 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
571 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
572 echo $ac_n "checking host system type""... $ac_c" 1>&6 |
|
345
3f4258400ba5
Fix host-side configury problems which can occur if you are not using
bartv
parents:
332
diff
changeset
|
573 echo "configure:574: checking host system type" >&5 |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
574 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
575 host_alias=$host |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
576 case "$host_alias" in |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
577 NONE) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
578 case $nonopt in |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
579 NONE) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
580 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then : |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
581 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
582 fi ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
583 *) host_alias=$nonopt ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
584 esac ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
585 esac |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
586 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
587 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias` |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
588 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
589 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
590 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
591 echo "$ac_t""$host" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
592 |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
593 am__api_version="1.4" |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
594 # Find a good install program. We prefer a C program (faster), |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
595 # so one script is as good as another. But avoid the broken or |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
596 # incompatible versions: |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
597 # SysV /etc/install, /usr/sbin/install |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
598 # SunOS /usr/etc/install |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
599 # IRIX /sbin/install |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
600 # AIX /bin/install |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
601 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
602 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
603 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
604 # ./install, which can be erroneously created by make from ./install.sh. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
605 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
606 echo "configure:607: checking for a BSD compatible install" >&5 |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
607 if test -z "$INSTALL"; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
608 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
609 echo $ac_n "(cached) $ac_c" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
610 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
611 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
612 for ac_dir in $PATH; do |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
613 # Account for people who put trailing slashes in PATH elements. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
614 case "$ac_dir/" in |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
615 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
616 *) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
617 # OSF1 and SCO ODT 3.0 have their own names for install. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
618 # Don't use installbsd from OSF since it installs stuff as root |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
619 # by default. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
620 for ac_prog in ginstall scoinst install; do |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
621 if test -f $ac_dir/$ac_prog; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
622 if test $ac_prog = install && |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
623 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
624 # AIX install. It has an incompatible calling convention. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
625 : |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
626 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
627 ac_cv_path_install="$ac_dir/$ac_prog -c" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
628 break 2 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
629 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
630 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
631 done |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
632 ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
633 esac |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
634 done |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
635 IFS="$ac_save_IFS" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
636 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
637 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
638 if test "${ac_cv_path_install+set}" = set; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
639 INSTALL="$ac_cv_path_install" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
640 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
641 # As a last resort, use the slow shell script. We don't cache a |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
642 # path for INSTALL within a source directory, because that will |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
643 # break other packages using the cache if that directory is |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
644 # removed, or if the path is relative. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
645 INSTALL="$ac_install_sh" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
646 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
647 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
648 echo "$ac_t""$INSTALL" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
649 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
650 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
651 # It thinks the first close brace ends the variable substitution. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
652 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
653 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
654 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
655 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
656 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
657 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
658 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
659 echo "configure:660: checking whether build environment is sane" >&5 |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
660 # Just in case |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
661 sleep 1 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
662 echo timestamp > conftestfile |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
663 # Do `set' in a subshell so we don't clobber the current shell's |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
664 # arguments. Must try -L first in case configure is actually a |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
665 # symlink; some systems play weird games with the mod time of symlinks |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
666 # (eg FreeBSD returns the mod time of the symlink's containing |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
667 # directory). |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
668 if ( |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
669 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
670 if test "$*" = "X"; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
671 # -L didn't work. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
672 set X `ls -t $srcdir/configure conftestfile` |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
673 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
674 if test "$*" != "X $srcdir/configure conftestfile" \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
675 && test "$*" != "X conftestfile $srcdir/configure"; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
676 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
677 # If neither matched, then we have a broken ls. This can happen |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
678 # if, for instance, CONFIG_SHELL is bash and it inherits a |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
679 # broken ls alias from the environment. This has actually |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
680 # happened. Such a system could not be considered "sane". |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
681 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
682 alias in your environment" 1>&2; exit 1; } |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
683 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
684 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
685 test "$2" = conftestfile |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
686 ) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
687 then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
688 # Ok. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
689 : |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
690 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
691 { echo "configure: error: newly created file is older than distributed files! |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
692 Check your system clock" 1>&2; exit 1; } |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
693 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
694 rm -f conftest* |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
695 echo "$ac_t""yes" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
696 if test "$program_transform_name" = s,x,x,; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
697 program_transform_name= |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
698 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
699 # Double any \ or $. echo might interpret backslashes. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
700 cat <<\EOF_SED > conftestsed |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
701 s,\\,\\\\,g; s,\$,$$,g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
702 EOF_SED |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
703 program_transform_name="`echo $program_transform_name|sed -f conftestsed`" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
704 rm -f conftestsed |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
705 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
706 test "$program_prefix" != NONE && |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
707 program_transform_name="s,^,${program_prefix},; $program_transform_name" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
708 # Use a double $ so make ignores it. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
709 test "$program_suffix" != NONE && |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
710 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
711 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
712 # sed with no file args requires a program. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
713 test "$program_transform_name" = "" && program_transform_name="s,x,x," |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
714 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
715 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
716 echo "configure:717: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
717 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
718 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
719 echo $ac_n "(cached) $ac_c" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
720 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
721 cat > conftestmake <<\EOF |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
722 all: |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
723 @echo 'ac_maketemp="${MAKE}"' |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
724 EOF |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
725 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
726 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
727 if test -n "$ac_maketemp"; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
728 eval ac_cv_prog_make_${ac_make}_set=yes |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
729 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
730 eval ac_cv_prog_make_${ac_make}_set=no |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
731 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
732 rm -f conftestmake |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
733 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
734 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
735 echo "$ac_t""yes" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
736 SET_MAKE= |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
737 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
738 echo "$ac_t""no" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
739 SET_MAKE="MAKE=${MAKE-make}" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
740 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
741 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
742 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
743 PACKAGE=eCos_synthetic_target_ethernet |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
744 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
745 VERSION=0.1 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
746 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
747 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
748 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
749 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
750 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
751 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
752 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
753 missing_dir=`cd $ac_aux_dir && pwd` |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
754 echo $ac_n "checking for working aclocal-${am__api_version}""... $ac_c" 1>&6 |
|
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
755 echo "configure:756: checking for working aclocal-${am__api_version}" >&5 |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
756 # Run test in a subshell; some versions of sh will print an error if |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
757 # an executable is not found, even if stderr is redirected. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
758 # Redirect stdin to placate older versions of autoconf. Sigh. |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
759 if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then |
|
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
760 ACLOCAL=aclocal-${am__api_version} |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
761 echo "$ac_t""found" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
762 else |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
763 ACLOCAL="$missing_dir/missing aclocal-${am__api_version}" |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
764 echo "$ac_t""missing" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
765 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
766 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
767 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
768 echo "configure:769: checking for working autoconf" >&5 |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
769 # Run test in a subshell; some versions of sh will print an error if |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
770 # an executable is not found, even if stderr is redirected. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
771 # Redirect stdin to placate older versions of autoconf. Sigh. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
772 if (autoconf --version) < /dev/null > /dev/null 2>&1; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
773 AUTOCONF=autoconf |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
774 echo "$ac_t""found" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
775 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
776 AUTOCONF="$missing_dir/missing autoconf" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
777 echo "$ac_t""missing" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
778 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
779 |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
780 echo $ac_n "checking for working automake-${am__api_version}""... $ac_c" 1>&6 |
|
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
781 echo "configure:782: checking for working automake-${am__api_version}" >&5 |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
782 # Run test in a subshell; some versions of sh will print an error if |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
783 # an executable is not found, even if stderr is redirected. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
784 # Redirect stdin to placate older versions of autoconf. Sigh. |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
785 if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then |
|
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
786 AUTOMAKE=automake-${am__api_version} |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
787 echo "$ac_t""found" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
788 else |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
789 AUTOMAKE="$missing_dir/missing automake-${am__api_version}" |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
790 echo "$ac_t""missing" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
791 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
792 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
793 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
794 echo "configure:795: checking for working autoheader" >&5 |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
795 # Run test in a subshell; some versions of sh will print an error if |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
796 # an executable is not found, even if stderr is redirected. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
797 # Redirect stdin to placate older versions of autoconf. Sigh. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
798 if (autoheader --version) < /dev/null > /dev/null 2>&1; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
799 AUTOHEADER=autoheader |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
800 echo "$ac_t""found" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
801 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
802 AUTOHEADER="$missing_dir/missing autoheader" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
803 echo "$ac_t""missing" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
804 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
805 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
806 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
807 echo "configure:808: checking for working makeinfo" >&5 |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
808 # Run test in a subshell; some versions of sh will print an error if |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
809 # an executable is not found, even if stderr is redirected. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
810 # Redirect stdin to placate older versions of autoconf. Sigh. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
811 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
812 MAKEINFO=makeinfo |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
813 echo "$ac_t""found" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
814 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
815 MAKEINFO="$missing_dir/missing makeinfo" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
816 echo "$ac_t""missing" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
817 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
818 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
819 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
820 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
821 echo "configure:822: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
822 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
823 if test "${enable_maintainer_mode+set}" = set; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
824 enableval="$enable_maintainer_mode" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
825 USE_MAINTAINER_MODE=$enableval |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
826 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
827 USE_MAINTAINER_MODE=no |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
828 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
829 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
830 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
831 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
832 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
833 if test $USE_MAINTAINER_MODE = yes; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
834 MAINTAINER_MODE_TRUE= |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
835 MAINTAINER_MODE_FALSE='#' |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
836 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
837 MAINTAINER_MODE_TRUE='#' |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
838 MAINTAINER_MODE_FALSE= |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
839 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
840 MAINT=$MAINTAINER_MODE_TRUE |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
841 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
842 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
843 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
844 case "${host}" in |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
845 i[34567]86-*-linux-gnu* ) SUPPORTED="yes";; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
846 * ) SUPPORTED="no" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
847 esac |
|
352
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
848 if test "${SUPPORTED}" = "no" ; then |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
849 echo "configure: warning: Synthetic target ethernet support is only available on x86 Linux hosts" 1>&2 |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
850 fi |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
851 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
852 if test "${SUPPORTED}" = "yes" ; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
853 # Extract the first word of "gcc", so it can be a program name with args. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
854 set dummy gcc; ac_word=$2 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
855 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
856 echo "configure:857: checking for $ac_word" >&5 |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
857 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
858 echo $ac_n "(cached) $ac_c" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
859 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
860 if test -n "$CC"; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
861 ac_cv_prog_CC="$CC" # Let the user override the test. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
862 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
863 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
864 ac_dummy="$PATH" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
865 for ac_dir in $ac_dummy; do |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
866 test -z "$ac_dir" && ac_dir=. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
867 if test -f $ac_dir/$ac_word; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
868 ac_cv_prog_CC="gcc" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
869 break |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
870 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
871 done |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
872 IFS="$ac_save_ifs" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
873 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
874 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
875 CC="$ac_cv_prog_CC" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
876 if test -n "$CC"; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
877 echo "$ac_t""$CC" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
878 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
879 echo "$ac_t""no" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
880 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
881 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
882 if test -z "$CC"; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
883 # Extract the first word of "cc", so it can be a program name with args. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
884 set dummy cc; ac_word=$2 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
885 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
886 echo "configure:887: checking for $ac_word" >&5 |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
887 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
888 echo $ac_n "(cached) $ac_c" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
889 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
890 if test -n "$CC"; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
891 ac_cv_prog_CC="$CC" # Let the user override the test. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
892 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
893 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
894 ac_prog_rejected=no |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
895 ac_dummy="$PATH" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
896 for ac_dir in $ac_dummy; do |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
897 test -z "$ac_dir" && ac_dir=. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
898 if test -f $ac_dir/$ac_word; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
899 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
900 ac_prog_rejected=yes |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
901 continue |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
902 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
903 ac_cv_prog_CC="cc" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
904 break |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
905 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
906 done |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
907 IFS="$ac_save_ifs" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
908 if test $ac_prog_rejected = yes; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
909 # We found a bogon in the path, so make sure we never use it. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
910 set dummy $ac_cv_prog_CC |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
911 shift |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
912 if test $# -gt 0; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
913 # We chose a different compiler from the bogus one. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
914 # However, it has the same basename, so the bogon will be chosen |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
915 # first if we set CC to just the basename; use the full file name. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
916 shift |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
917 set dummy "$ac_dir/$ac_word" "$@" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
918 shift |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
919 ac_cv_prog_CC="$@" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
920 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
921 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
922 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
923 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
924 CC="$ac_cv_prog_CC" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
925 if test -n "$CC"; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
926 echo "$ac_t""$CC" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
927 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
928 echo "$ac_t""no" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
929 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
930 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
931 if test -z "$CC"; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
932 case "`uname -s`" in |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
933 *win32* | *WIN32*) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
934 # Extract the first word of "cl", so it can be a program name with args. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
935 set dummy cl; ac_word=$2 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
936 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
937 echo "configure:938: checking for $ac_word" >&5 |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
938 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
939 echo $ac_n "(cached) $ac_c" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
940 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
941 if test -n "$CC"; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
942 ac_cv_prog_CC="$CC" # Let the user override the test. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
943 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
944 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
945 ac_dummy="$PATH" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
946 for ac_dir in $ac_dummy; do |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
947 test -z "$ac_dir" && ac_dir=. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
948 if test -f $ac_dir/$ac_word; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
949 ac_cv_prog_CC="cl" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
950 break |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
951 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
952 done |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
953 IFS="$ac_save_ifs" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
954 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
955 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
956 CC="$ac_cv_prog_CC" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
957 if test -n "$CC"; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
958 echo "$ac_t""$CC" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
959 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
960 echo "$ac_t""no" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
961 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
962 ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
963 esac |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
964 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
965 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
966 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
967 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
968 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
969 echo "configure:970: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
970 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
971 ac_ext=c |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
972 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
973 ac_cpp='$CPP $CPPFLAGS' |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
974 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
975 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
976 cross_compiling=$ac_cv_prog_cc_cross |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
977 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
978 cat > conftest.$ac_ext << EOF |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
979 |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
980 #line 981 "configure" |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
981 #include "confdefs.h" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
982 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
983 main(){return(0);} |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
984 EOF |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
985 if { (eval echo configure:986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
986 ac_cv_prog_cc_works=yes |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
987 # If we can't run a trivial program, we are probably using a cross compiler. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
988 if (./conftest; exit) 2>/dev/null; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
989 ac_cv_prog_cc_cross=no |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
990 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
991 ac_cv_prog_cc_cross=yes |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
992 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
993 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
994 echo "configure: failed program was:" >&5 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
995 cat conftest.$ac_ext >&5 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
996 ac_cv_prog_cc_works=no |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
997 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
998 rm -fr conftest* |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
999 ac_ext=c |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1000 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1001 ac_cpp='$CPP $CPPFLAGS' |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1002 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1003 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1004 cross_compiling=$ac_cv_prog_cc_cross |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1005 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1006 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1007 if test $ac_cv_prog_cc_works = no; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1008 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1009 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1010 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1011 echo "configure:1012: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1012 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1013 cross_compiling=$ac_cv_prog_cc_cross |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1014 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1015 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1016 echo "configure:1017: checking whether we are using GNU C" >&5 |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1017 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1018 echo $ac_n "(cached) $ac_c" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1019 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1020 cat > conftest.c <<EOF |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1021 #ifdef __GNUC__ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1022 yes; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1023 #endif |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1024 EOF |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1025 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1026: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1026 ac_cv_prog_gcc=yes |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1027 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1028 ac_cv_prog_gcc=no |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1029 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1030 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1031 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1032 echo "$ac_t""$ac_cv_prog_gcc" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1033 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1034 if test $ac_cv_prog_gcc = yes; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1035 GCC=yes |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1036 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1037 GCC= |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1038 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1039 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1040 ac_test_CFLAGS="${CFLAGS+set}" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1041 ac_save_CFLAGS="$CFLAGS" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1042 CFLAGS= |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1043 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1044 echo "configure:1045: checking whether ${CC-cc} accepts -g" >&5 |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1045 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1046 echo $ac_n "(cached) $ac_c" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1047 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1048 echo 'void f(){}' > conftest.c |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1049 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1050 ac_cv_prog_cc_g=yes |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1051 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1052 ac_cv_prog_cc_g=no |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1053 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1054 rm -f conftest* |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1055 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1056 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1057 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1058 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1059 if test "$ac_test_CFLAGS" = set; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1060 CFLAGS="$ac_save_CFLAGS" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1061 elif test $ac_cv_prog_cc_g = yes; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1062 if test "$GCC" = yes; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1063 CFLAGS="-g -O2" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1064 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1065 CFLAGS="-g" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1066 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1067 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1068 if test "$GCC" = yes; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1069 CFLAGS="-O2" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1070 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1071 CFLAGS= |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1072 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1073 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1074 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1075 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1076 do |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1077 # Extract the first word of "$ac_prog", so it can be a program name with args. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1078 set dummy $ac_prog; ac_word=$2 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1079 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1080 echo "configure:1081: checking for $ac_word" >&5 |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1081 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1082 echo $ac_n "(cached) $ac_c" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1083 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1084 if test -n "$CXX"; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1085 ac_cv_prog_CXX="$CXX" # Let the user override the test. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1086 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1087 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1088 ac_dummy="$PATH" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1089 for ac_dir in $ac_dummy; do |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1090 test -z "$ac_dir" && ac_dir=. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1091 if test -f $ac_dir/$ac_word; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1092 ac_cv_prog_CXX="$ac_prog" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1093 break |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1094 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1095 done |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1096 IFS="$ac_save_ifs" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1097 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1098 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1099 CXX="$ac_cv_prog_CXX" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1100 if test -n "$CXX"; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1101 echo "$ac_t""$CXX" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1102 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1103 echo "$ac_t""no" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1104 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1105 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1106 test -n "$CXX" && break |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1107 done |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1108 test -n "$CXX" || CXX="gcc" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1109 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1110 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1111 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1112 echo "configure:1113: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1113 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1114 ac_ext=C |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1115 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1116 ac_cpp='$CXXCPP $CPPFLAGS' |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1117 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1118 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1119 cross_compiling=$ac_cv_prog_cxx_cross |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1120 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1121 cat > conftest.$ac_ext << EOF |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1122 |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1123 #line 1124 "configure" |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1124 #include "confdefs.h" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1125 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1126 int main(){return(0);} |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1127 EOF |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1128 if { (eval echo configure:1129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1129 ac_cv_prog_cxx_works=yes |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1130 # If we can't run a trivial program, we are probably using a cross compiler. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1131 if (./conftest; exit) 2>/dev/null; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1132 ac_cv_prog_cxx_cross=no |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1133 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1134 ac_cv_prog_cxx_cross=yes |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1135 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1136 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1137 echo "configure: failed program was:" >&5 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1138 cat conftest.$ac_ext >&5 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1139 ac_cv_prog_cxx_works=no |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1140 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1141 rm -fr conftest* |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1142 ac_ext=c |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1143 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1144 ac_cpp='$CPP $CPPFLAGS' |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1145 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1146 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1147 cross_compiling=$ac_cv_prog_cc_cross |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1148 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1149 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1150 if test $ac_cv_prog_cxx_works = no; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1151 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; } |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1152 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1153 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1154 echo "configure:1155: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1155 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1156 cross_compiling=$ac_cv_prog_cxx_cross |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1157 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1158 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1159 echo "configure:1160: checking whether we are using GNU C++" >&5 |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1160 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1161 echo $ac_n "(cached) $ac_c" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1162 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1163 cat > conftest.C <<EOF |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1164 #ifdef __GNUC__ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1165 yes; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1166 #endif |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1167 EOF |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1168 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1169: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1169 ac_cv_prog_gxx=yes |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1170 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1171 ac_cv_prog_gxx=no |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1172 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1173 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1174 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1175 echo "$ac_t""$ac_cv_prog_gxx" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1176 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1177 if test $ac_cv_prog_gxx = yes; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1178 GXX=yes |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1179 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1180 GXX= |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1181 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1182 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1183 ac_test_CXXFLAGS="${CXXFLAGS+set}" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1184 ac_save_CXXFLAGS="$CXXFLAGS" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1185 CXXFLAGS= |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1186 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1187 echo "configure:1188: checking whether ${CXX-g++} accepts -g" >&5 |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1188 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1189 echo $ac_n "(cached) $ac_c" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1190 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1191 echo 'void f(){}' > conftest.cc |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1192 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1193 ac_cv_prog_cxx_g=yes |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1194 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1195 ac_cv_prog_cxx_g=no |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1196 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1197 rm -f conftest* |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1198 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1199 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1200 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1201 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1202 if test "$ac_test_CXXFLAGS" = set; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1203 CXXFLAGS="$ac_save_CXXFLAGS" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1204 elif test $ac_cv_prog_cxx_g = yes; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1205 if test "$GXX" = yes; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1206 CXXFLAGS="-g -O2" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1207 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1208 CXXFLAGS="-g" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1209 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1210 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1211 if test "$GXX" = yes; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1212 CXXFLAGS="-O2" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1213 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1214 CXXFLAGS= |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1215 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1216 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1217 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1218 for ac_declaration in \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1219 ''\ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1220 '#include <stdlib.h>' \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1221 'extern "C" void std::exit (int) throw (); using std::exit;' \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1222 'extern "C" void std::exit (int); using std::exit;' \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1223 'extern "C" void exit (int) throw ();' \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1224 'extern "C" void exit (int);' \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1225 'void exit (int);' |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1226 do |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1227 cat > conftest.$ac_ext <<EOF |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1228 #line 1229 "configure" |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1229 #include "confdefs.h" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1230 #include <stdlib.h> |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1231 $ac_declaration |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1232 int main() { |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1233 exit (42); |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1234 ; return 0; } |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1235 EOF |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1236 if { (eval echo configure:1237: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1237 : |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1238 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1239 echo "configure: failed program was:" >&5 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1240 cat conftest.$ac_ext >&5 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1241 rm -rf conftest* |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1242 continue |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1243 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1244 rm -f conftest* |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1245 cat > conftest.$ac_ext <<EOF |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1246 #line 1247 "configure" |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1247 #include "confdefs.h" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1248 $ac_declaration |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1249 int main() { |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1250 exit (42); |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1251 ; return 0; } |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1252 EOF |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1253 if { (eval echo configure:1254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1254 rm -rf conftest* |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1255 break |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1256 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1257 echo "configure: failed program was:" >&5 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1258 cat conftest.$ac_ext >&5 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1259 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1260 rm -f conftest* |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1261 done |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1262 if test -n "$ac_declaration"; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1263 echo '#ifdef __cplusplus' >>confdefs.h |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1264 echo $ac_declaration >>confdefs.h |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1265 echo '#endif' >>confdefs.h |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1266 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1267 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1268 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1269 echo $ac_n "checking for object suffix""... $ac_c" 1>&6 |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1270 echo "configure:1271: checking for object suffix" >&5 |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1271 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1272 echo $ac_n "(cached) $ac_c" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1273 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1274 rm -f conftest* |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1275 echo 'int i = 1;' > conftest.$ac_ext |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1276 if { (eval echo configure:1277: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1277 for ac_file in conftest.*; do |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1278 case $ac_file in |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1279 *.c) ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1280 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1281 esac |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1282 done |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1283 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1284 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; } |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1285 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1286 rm -f conftest* |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1287 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1288 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1289 echo "$ac_t""$ac_cv_objext" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1290 OBJEXT=$ac_cv_objext |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1291 ac_objext=$ac_cv_objext |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1292 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1293 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1294 echo "configure:1295: checking for Cygwin environment" >&5 |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1295 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1296 echo $ac_n "(cached) $ac_c" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1297 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1298 cat > conftest.$ac_ext <<EOF |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1299 #line 1300 "configure" |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1300 #include "confdefs.h" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1301 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1302 int main() { |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1303 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1304 #ifndef __CYGWIN__ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1305 #define __CYGWIN__ __CYGWIN32__ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1306 #endif |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1307 return __CYGWIN__; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1308 ; return 0; } |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1309 EOF |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1310 if { (eval echo configure:1311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1311 rm -rf conftest* |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1312 ac_cv_cygwin=yes |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1313 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1314 echo "configure: failed program was:" >&5 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1315 cat conftest.$ac_ext >&5 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1316 rm -rf conftest* |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1317 ac_cv_cygwin=no |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1318 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1319 rm -f conftest* |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1320 rm -f conftest* |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1321 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1322 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1323 echo "$ac_t""$ac_cv_cygwin" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1324 CYGWIN= |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1325 test "$ac_cv_cygwin" = yes && CYGWIN=yes |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1326 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1327 echo "configure:1328: checking for mingw32 environment" >&5 |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1328 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1329 echo $ac_n "(cached) $ac_c" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1330 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1331 cat > conftest.$ac_ext <<EOF |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1332 #line 1333 "configure" |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1333 #include "confdefs.h" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1334 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1335 int main() { |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1336 return __MINGW32__; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1337 ; return 0; } |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1338 EOF |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1339 if { (eval echo configure:1340: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1340 rm -rf conftest* |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1341 ac_cv_mingw32=yes |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1342 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1343 echo "configure: failed program was:" >&5 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1344 cat conftest.$ac_ext >&5 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1345 rm -rf conftest* |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1346 ac_cv_mingw32=no |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1347 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1348 rm -f conftest* |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1349 rm -f conftest* |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1350 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1351 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1352 echo "$ac_t""$ac_cv_mingw32" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1353 MINGW32= |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1354 test "$ac_cv_mingw32" = yes && MINGW32=yes |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1355 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1356 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1357 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1358 echo "configure:1359: checking for executable suffix" >&5 |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1359 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1360 echo $ac_n "(cached) $ac_c" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1361 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1362 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1363 ac_cv_exeext=.exe |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1364 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1365 rm -f conftest* |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1366 echo 'int main () { return 0; }' > conftest.$ac_ext |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1367 ac_cv_exeext= |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1368 if { (eval echo configure:1369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1369 for file in conftest.*; do |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1370 case $file in |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1371 *.c | *.o | *.obj) ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1372 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1373 esac |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1374 done |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1375 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1376 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; } |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1377 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1378 rm -f conftest* |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1379 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1380 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1381 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1382 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1383 EXEEXT="" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1384 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext} |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1385 echo "$ac_t""${ac_cv_exeext}" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1386 ac_exeext=$EXEEXT |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1387 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1388 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1389 ecos_CFLAGS="" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1390 ecos_CXXFLAGS="" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1391 ecos_LDADD="" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1392 ecos_INCLUDES="" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1393 ecos_LIBS="" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1394 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1395 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1396 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1397 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1398 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1399 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1400 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1401 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1402 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1403 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1404 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1405 echo $ac_n "checking "for Visual C++"""... $ac_c" 1>&6 |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1406 echo "configure:1407: checking "for Visual C++"" >&5 |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1407 MSVC="no"; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1408 if test "${CC}" = "cl" ; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1409 MSVC="yes" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1410 CXX="cl" |
|
595
c2d1fd823f09
Update autoconf macro for Tcl, and regenerate affected files
bartv
parents:
352
diff
changeset
|
1411 MSVC_SRCDIR=${srcdir} |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1412 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1413 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1414 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1415 if test "${MSVC}" = "yes" ; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1416 MSVC_SRCDIR=`cygpath -w ${MSVC_SRCDIR} | tr \\\\\\\\ /` |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1417 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1418 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1419 |
|
595
c2d1fd823f09
Update autoconf macro for Tcl, and regenerate affected files
bartv
parents:
352
diff
changeset
|
1420 ecos_INCLUDES="${ecos_INCLUDES} \"-I${MSVC_SRCDIR}\"" |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1421 ecos_LDADD="-link" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1422 ecos_LIBS="advapi32.lib" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1423 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1424 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1425 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1426 if test "${MSVC}" = "yes"; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1427 MSVC_TRUE= |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1428 MSVC_FALSE='#' |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1429 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1430 MSVC_TRUE='#' |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1431 MSVC_FALSE= |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1432 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1433 if test "${MSVC}" = "yes" ; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1434 echo "$ac_t""unfortunately yes" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1435 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1436 echo "$ac_t""no" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1437 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1438 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1439 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1440 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1441 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1442 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1443 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1444 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1445 echo $ac_n "checking "the default compiler flags"""... $ac_c" 1>&6 |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1446 echo "configure:1447: checking "the default compiler flags"" >&5 |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1447 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1448 ecosflags_enable_debug="no" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1449 # Check whether --enable-debug or --disable-debug was given. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1450 if test "${enable_debug+set}" = set; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1451 enableval="$enable_debug" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1452 case "${enableval}" in |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1453 yes) ecosflags_enable_debug="yes" ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1454 *) ecosflags_enable_debug="no" ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1455 esac |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1456 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1457 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1458 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1459 ecosflags_enable_ansi="no" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1460 if test "${MSVC}" = "yes" ; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1461 # Check whether --enable-ansi or --disable-ansi was given. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1462 if test "${enable_ansi+set}" = set; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1463 enableval="$enable_ansi" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1464 case "${enableval}" in |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1465 yes) ecosflags_enable_ansi="yes" ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1466 *) ecosflags_enable_ansi="no" ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1467 esac |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1468 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1469 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1470 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1471 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1472 if test "${GCC}" = "yes" ; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1473 ecos_CFLAGS="${ecos_CFLAGS} -pipe -Wall -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1474 ecos_CXXFLAGS="${ecos_CXXFLAGS} -pipe -Wall -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Woverloaded-virtual" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1475 elif test "${MSVC}" = "yes" ; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1476 ecos_CFLAGS="${ecos_CFLAGS} -nologo -W3" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1477 ecos_CXXFLAGS="${ecos_CXXFLAGS} -nologo -W3 -GR -GX" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1478 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1479 { echo "configure: error: "default flags for ${CC} are not known"" 1>&2; exit 1; } |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1480 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1481 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1482 if test "${ecosflags_enable_debug}" = "yes" ; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1483 if test "${GCC}" = "yes" ; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1484 ecos_CFLAGS="${ecos_CFLAGS} -g -O0" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1485 ecos_CXXFLAGS="${ecos_CXXFLAGS} -g -O0" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1486 elif test "${MSVC}" = "yes" ; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1487 ecos_CFLAGS="${ecos_CFLAGS} -MDd -Zi" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1488 ecos_CXXFLAGS="${ecos_CXXFLAGS} -MDd -Zi" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1489 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1490 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1491 if test "${GCC}" = "yes" ; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1492 ecos_CFLAGS="${ecos_CFLAGS} -O0" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1493 ecos_CXXFLAGS="${ecos_CXXFLAGS} -O0" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1494 elif test "${MSVC}" = "yes" ; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1495 ecos_CFLAGS="${ecos_CFLAGS} -MD -O2" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1496 ecos_CXXFLAGS="${ecos_CXXFLAGS} -MD -O2" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1497 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1498 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1499 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1500 CFLAGS="${ac_save_CFLAGS}" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1501 CXXFLAGS="${ac_save_CXXFLAGS}" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1502 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1503 echo "$ac_t""done" 1>&6 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1504 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1505 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1506 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1507 package_dir=`cd ${srcdir} && /bin/pwd` |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1508 PACKAGE_VERSION=`dirname ${package_dir}` |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1509 PACKAGE_VERSION=`basename ${PACKAGE_VERSION}` |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1510 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1511 package_dir=`dirname ${package_dir}` |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1512 package_dir=`dirname ${package_dir}` |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1513 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1514 possibles="${package_dir}/.. ${package_dir}/../.. ${package_dir}/../../.. ${package_dir}/../../../.." |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1515 possibles="${possibles} ${package_dir}/../../../../.. ${package_dir}/../../../../../.." |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1516 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1517 repository_root="" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1518 for i in ${possibles}; do |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1519 if test -d "$i/"acsupport""; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1520 repository_root=$i |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1521 break |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1522 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1523 done |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1524 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1525 if test "${repository_root}" = "" ; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1526 { echo "configure: error: Failed to identify this package's position within the eCos repository" 1>&2; exit 1; } |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1527 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1528 ECOS_REPOSITORY=`cd "${repository_root}/packages/pkgconf/.." && /bin/pwd` |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1529 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1530 PACKAGE_DIR=`echo ${package_dir} | sed -e "s:${ECOS_REPOSITORY}/::"` |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1531 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1532 PACKAGE_INSTALL="${PACKAGE_DIR}/${PACKAGE_VERSION}" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1533 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1534 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1535 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1536 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1537 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1538 |
|
352
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1539 |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1540 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1541 echo "configure:1542: checking how to run the C preprocessor" >&5 |
|
352
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1542 # On Suns, sometimes $CPP names a directory. |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1543 if test -n "$CPP" && test -d "$CPP"; then |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1544 CPP= |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1545 fi |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1546 if test -z "$CPP"; then |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1547 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1548 echo $ac_n "(cached) $ac_c" 1>&6 |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1549 else |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1550 # This must be in double quotes, not single quotes, because CPP may get |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1551 # substituted into the Makefile and "${CC-cc}" will confuse make. |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1552 CPP="${CC-cc} -E" |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1553 # On the NeXT, cc -E runs the code through the compiler's parser, |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1554 # not just through cpp. |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1555 cat > conftest.$ac_ext <<EOF |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1556 #line 1557 "configure" |
|
352
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1557 #include "confdefs.h" |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1558 #include <assert.h> |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1559 Syntax Error |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1560 EOF |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1561 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1562 { (eval echo configure:1563: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
352
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1563 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1564 if test -z "$ac_err"; then |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1565 : |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1566 else |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1567 echo "$ac_err" >&5 |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1568 echo "configure: failed program was:" >&5 |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1569 cat conftest.$ac_ext >&5 |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1570 rm -rf conftest* |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1571 CPP="${CC-cc} -E -traditional-cpp" |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1572 cat > conftest.$ac_ext <<EOF |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1573 #line 1574 "configure" |
|
352
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1574 #include "confdefs.h" |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1575 #include <assert.h> |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1576 Syntax Error |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1577 EOF |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1578 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1579 { (eval echo configure:1580: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
352
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1580 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1581 if test -z "$ac_err"; then |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1582 : |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1583 else |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1584 echo "$ac_err" >&5 |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1585 echo "configure: failed program was:" >&5 |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1586 cat conftest.$ac_ext >&5 |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1587 rm -rf conftest* |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1588 CPP="${CC-cc} -nologo -E" |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1589 cat > conftest.$ac_ext <<EOF |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1590 #line 1591 "configure" |
|
352
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1591 #include "confdefs.h" |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1592 #include <assert.h> |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1593 Syntax Error |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1594 EOF |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1595 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1596 { (eval echo configure:1597: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
352
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1597 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1598 if test -z "$ac_err"; then |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1599 : |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1600 else |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1601 echo "$ac_err" >&5 |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1602 echo "configure: failed program was:" >&5 |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1603 cat conftest.$ac_ext >&5 |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1604 rm -rf conftest* |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1605 CPP=/lib/cpp |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1606 fi |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1607 rm -f conftest* |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1608 fi |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1609 rm -f conftest* |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1610 fi |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1611 rm -f conftest* |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1612 ac_cv_prog_CPP="$CPP" |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1613 fi |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1614 CPP="$ac_cv_prog_CPP" |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1615 else |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1616 ac_cv_prog_CPP="$CPP" |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1617 fi |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1618 echo "$ac_t""$CPP" 1>&6 |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1619 |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1620 for ac_hdr in "linux/if_tun.h" |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1621 do |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1622 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1623 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1624 echo "configure:1625: checking for $ac_hdr" >&5 |
|
352
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1625 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1626 echo $ac_n "(cached) $ac_c" 1>&6 |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1627 else |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1628 cat > conftest.$ac_ext <<EOF |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1629 #line 1630 "configure" |
|
352
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1630 #include "confdefs.h" |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1631 #include <$ac_hdr> |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1632 EOF |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1633 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1634 { (eval echo configure:1635: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
352
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1635 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1636 if test -z "$ac_err"; then |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1637 rm -rf conftest* |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1638 eval "ac_cv_header_$ac_safe=yes" |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1639 else |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1640 echo "$ac_err" >&5 |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1641 echo "configure: failed program was:" >&5 |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1642 cat conftest.$ac_ext >&5 |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1643 rm -rf conftest* |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1644 eval "ac_cv_header_$ac_safe=no" |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1645 fi |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1646 rm -f conftest* |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1647 fi |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1648 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1649 echo "$ac_t""yes" 1>&6 |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1650 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1651 cat >> confdefs.h <<EOF |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1652 #define $ac_tr_hdr 1 |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1653 EOF |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1654 TAP_SUPPORTED="yes" |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1655 else |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1656 echo "$ac_t""no" 1>&6 |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1657 TAP_SUPPORTED="no" |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1658 fi |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1659 done |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1660 |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1661 if test "${TAP_SUPPORTED}" = "no" ; then |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1662 echo "configure: warning: No <linux/if_tun.h> header, ethertap support disabled." 1>&2 |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1663 fi |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1664 fi |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1665 |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1666 if test "${SUPPORTED}" = "no" ; then |
|
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1667 echo "configure: warning: The synthetic ethernet support cannot be built on this platform." 1>&2 |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1668 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1669 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1670 |
|
345
3f4258400ba5
Fix host-side configury problems which can occur if you are not using
bartv
parents:
332
diff
changeset
|
1671 |
|
3f4258400ba5
Fix host-side configury problems which can occur if you are not using
bartv
parents:
332
diff
changeset
|
1672 if test "${SUPPORTED}" = "yes"; then |
|
3f4258400ba5
Fix host-side configury problems which can occur if you are not using
bartv
parents:
332
diff
changeset
|
1673 SUPPORTED_TRUE= |
|
3f4258400ba5
Fix host-side configury problems which can occur if you are not using
bartv
parents:
332
diff
changeset
|
1674 SUPPORTED_FALSE='#' |
|
3f4258400ba5
Fix host-side configury problems which can occur if you are not using
bartv
parents:
332
diff
changeset
|
1675 else |
|
3f4258400ba5
Fix host-side configury problems which can occur if you are not using
bartv
parents:
332
diff
changeset
|
1676 SUPPORTED_TRUE='#' |
|
3f4258400ba5
Fix host-side configury problems which can occur if you are not using
bartv
parents:
332
diff
changeset
|
1677 SUPPORTED_FALSE= |
|
3f4258400ba5
Fix host-side configury problems which can occur if you are not using
bartv
parents:
332
diff
changeset
|
1678 fi |
|
3f4258400ba5
Fix host-side configury problems which can occur if you are not using
bartv
parents:
332
diff
changeset
|
1679 |
|
3f4258400ba5
Fix host-side configury problems which can occur if you are not using
bartv
parents:
332
diff
changeset
|
1680 |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1681 trap '' 1 2 15 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1682 cat > confcache <<\EOF |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1683 # This file is a shell script that caches the results of configure |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1684 # tests run on this system so they can be shared between configure |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1685 # scripts and configure runs. It is not useful on other systems. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1686 # If it contains results you don't want to keep, you may remove or edit it. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1687 # |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1688 # By default, configure uses ./config.cache as the cache file, |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1689 # creating it if it does not exist already. You can give configure |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1690 # the --cache-file=FILE option to use a different cache file; that is |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1691 # what configure does when it calls configure scripts in |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1692 # subdirectories, so they share the cache. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1693 # Giving --cache-file=/dev/null disables caching, for debugging configure. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1694 # config.status only pays attention to the cache file if you give it the |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1695 # --recheck option to rerun configure. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1696 # |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1697 EOF |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1698 # The following way of writing the cache mishandles newlines in values, |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1699 # but we know of no workaround that is simple, portable, and efficient. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1700 # So, don't put newlines in cache variables' values. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1701 # Ultrix sh set writes to stderr and can't be redirected directly, |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1702 # and sets the high bit in the cache file unless we assign to the vars. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1703 (set) 2>&1 | |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1704 case `(ac_space=' '; set | grep ac_space) 2>&1` in |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1705 *ac_space=\ *) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1706 # `set' does not quote correctly, so add quotes (double-quote substitution |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1707 # turns \\\\ into \\, and sed turns \\ into \). |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1708 sed -n \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1709 -e "s/'/'\\\\''/g" \ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1710 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1711 ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1712 *) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1713 # `set' quotes correctly as required by POSIX, so do not add quotes. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1714 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1715 ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1716 esac >> confcache |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1717 if cmp -s $cache_file confcache; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1718 : |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1719 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1720 if test -w $cache_file; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1721 echo "updating cache $cache_file" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1722 cat confcache > $cache_file |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1723 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1724 echo "not updating unwritable cache $cache_file" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1725 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1726 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1727 rm -f confcache |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1728 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1729 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1730 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1731 test "x$prefix" = xNONE && prefix=$ac_default_prefix |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1732 # Let make expand exec_prefix. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1733 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1734 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1735 # Any assignment to VPATH causes Sun make to only execute |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1736 # the first set of double-colon rules, so remove it if not needed. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1737 # If there is a colon in the path, we need to keep it. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1738 if test "x$srcdir" = x.; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1739 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1740 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1741 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1742 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1743 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1744 # Transform confdefs.h into DEFS. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1745 # Protect against shell expansion while executing Makefile rules. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1746 # Protect against Makefile macro expansion. |
|
1098
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1747 # |
|
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1748 # If the first sed substitution is executed (which looks for macros that |
|
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1749 # take arguments), then we branch to the quote section. Otherwise, |
|
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1750 # look for a macro that doesn't take arguments. |
|
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1751 cat >confdef2opt.sed <<\_ACEOF |
|
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1752 t clear |
|
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1753 : clear |
|
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1754 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g |
|
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1755 t quote |
|
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1756 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g |
|
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1757 t quote |
|
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1758 d |
|
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1759 : quote |
|
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1760 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g |
|
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1761 s,\[,\\&,g |
|
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1762 s,\],\\&,g |
|
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1763 s,\$,$$,g |
|
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1764 p |
|
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1765 _ACEOF |
|
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1766 # We use echo to avoid assuming a particular line-breaking character. |
|
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1767 # The extra dot is to prevent the shell from consuming trailing |
|
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1768 # line-breaks from the sub-command output. A line-break within |
|
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1769 # single-quotes doesn't work because, if this script is created in a |
|
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1770 # platform that uses two characters for line-breaks (e.g., DOS), tr |
|
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1771 # would break. |
|
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1772 ac_LF_and_DOT=`echo; echo .` |
|
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1773 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` |
|
21a4bd716ae0
Define an install-data-hook even if the current host does not support
bartv
parents:
595
diff
changeset
|
1774 rm -f confdef2opt.sed |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1775 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1776 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1777 # Without the "./", some shells look in PATH for config.status. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1778 : ${CONFIG_STATUS=./config.status} |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1779 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1780 echo creating $CONFIG_STATUS |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1781 rm -f $CONFIG_STATUS |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1782 cat > $CONFIG_STATUS <<EOF |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1783 #! /bin/sh |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1784 # Generated automatically by configure. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1785 # Run this file to recreate the current configuration. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1786 # This directory was configured as follows, |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1787 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1788 # |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1789 # $0 $ac_configure_args |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1790 # |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1791 # Compiler output produced by configure, useful for debugging |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1792 # configure, is in ./config.log if it exists. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1793 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1794 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1795 for ac_option |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1796 do |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1797 case "\$ac_option" in |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1798 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1799 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1800 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1801 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1802 echo "$CONFIG_STATUS generated by autoconf version 2.13" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1803 exit 0 ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1804 -help | --help | --hel | --he | --h) |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1805 echo "\$ac_cs_usage"; exit 0 ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1806 *) echo "\$ac_cs_usage"; exit 1 ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1807 esac |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1808 done |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1809 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1810 ac_given_srcdir=$srcdir |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1811 ac_given_INSTALL="$INSTALL" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1812 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1813 trap 'rm -fr `echo "Makefile:Makefile.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1814 EOF |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1815 cat >> $CONFIG_STATUS <<EOF |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1816 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1817 # Protect against being on the right side of a sed subst in config.status. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1818 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1819 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1820 $ac_vpsub |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1821 $extrasub |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1822 s%@SHELL@%$SHELL%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1823 s%@CFLAGS@%$CFLAGS%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1824 s%@CPPFLAGS@%$CPPFLAGS%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1825 s%@CXXFLAGS@%$CXXFLAGS%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1826 s%@FFLAGS@%$FFLAGS%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1827 s%@DEFS@%$DEFS%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1828 s%@LDFLAGS@%$LDFLAGS%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1829 s%@LIBS@%$LIBS%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1830 s%@exec_prefix@%$exec_prefix%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1831 s%@prefix@%$prefix%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1832 s%@program_transform_name@%$program_transform_name%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1833 s%@bindir@%$bindir%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1834 s%@sbindir@%$sbindir%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1835 s%@libexecdir@%$libexecdir%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1836 s%@datadir@%$datadir%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1837 s%@sysconfdir@%$sysconfdir%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1838 s%@sharedstatedir@%$sharedstatedir%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1839 s%@localstatedir@%$localstatedir%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1840 s%@libdir@%$libdir%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1841 s%@includedir@%$includedir%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1842 s%@oldincludedir@%$oldincludedir%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1843 s%@infodir@%$infodir%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1844 s%@mandir@%$mandir%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1845 s%@host@%$host%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1846 s%@host_alias@%$host_alias%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1847 s%@host_cpu@%$host_cpu%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1848 s%@host_vendor@%$host_vendor%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1849 s%@host_os@%$host_os%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1850 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1851 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1852 s%@INSTALL_DATA@%$INSTALL_DATA%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1853 s%@PACKAGE@%$PACKAGE%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1854 s%@VERSION@%$VERSION%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1855 s%@ACLOCAL@%$ACLOCAL%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1856 s%@AUTOCONF@%$AUTOCONF%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1857 s%@AUTOMAKE@%$AUTOMAKE%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1858 s%@AUTOHEADER@%$AUTOHEADER%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1859 s%@MAKEINFO@%$MAKEINFO%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1860 s%@SET_MAKE@%$SET_MAKE%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1861 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1862 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1863 s%@MAINT@%$MAINT%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1864 s%@CC@%$CC%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1865 s%@CXX@%$CXX%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1866 s%@OBJEXT@%$OBJEXT%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1867 s%@EXEEXT@%$EXEEXT%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1868 s%@ecos_CFLAGS@%$ecos_CFLAGS%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1869 s%@ecos_CXXFLAGS@%$ecos_CXXFLAGS%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1870 s%@ecos_LDADD@%$ecos_LDADD%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1871 s%@ecos_INCLUDES@%$ecos_INCLUDES%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1872 s%@ecos_LIBS@%$ecos_LIBS%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1873 s%@MSVC_SRCDIR@%$MSVC_SRCDIR%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1874 s%@MSVC_TRUE@%$MSVC_TRUE%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1875 s%@MSVC_FALSE@%$MSVC_FALSE%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1876 s%@ECOS_REPOSITORY@%$ECOS_REPOSITORY%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1877 s%@PACKAGE_DIR@%$PACKAGE_DIR%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1878 s%@PACKAGE_VERSION@%$PACKAGE_VERSION%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1879 s%@PACKAGE_INSTALL@%$PACKAGE_INSTALL%g |
|
352
1f5fe8f482d9
Only support I/O through the ethertap device if running a sufficiently
bartv
parents:
345
diff
changeset
|
1880 s%@CPP@%$CPP%g |
|
345
3f4258400ba5
Fix host-side configury problems which can occur if you are not using
bartv
parents:
332
diff
changeset
|
1881 s%@SUPPORTED_TRUE@%$SUPPORTED_TRUE%g |
|
3f4258400ba5
Fix host-side configury problems which can occur if you are not using
bartv
parents:
332
diff
changeset
|
1882 s%@SUPPORTED_FALSE@%$SUPPORTED_FALSE%g |
|
332
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1883 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1884 CEOF |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1885 EOF |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1886 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1887 cat >> $CONFIG_STATUS <<\EOF |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1888 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1889 # Split the substitutions into bite-sized pieces for seds with |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1890 # small command number limits, like on Digital OSF/1 and HP-UX. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1891 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1892 ac_file=1 # Number of current file. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1893 ac_beg=1 # First line for current file. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1894 ac_end=$ac_max_sed_cmds # Line after last line for current file. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1895 ac_more_lines=: |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1896 ac_sed_cmds="" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1897 while $ac_more_lines; do |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1898 if test $ac_beg -gt 1; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1899 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1900 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1901 sed "${ac_end}q" conftest.subs > conftest.s$ac_file |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1902 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1903 if test ! -s conftest.s$ac_file; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1904 ac_more_lines=false |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1905 rm -f conftest.s$ac_file |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1906 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1907 if test -z "$ac_sed_cmds"; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1908 ac_sed_cmds="sed -f conftest.s$ac_file" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1909 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1910 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1911 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1912 ac_file=`expr $ac_file + 1` |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1913 ac_beg=$ac_end |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1914 ac_end=`expr $ac_end + $ac_max_sed_cmds` |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1915 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1916 done |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1917 if test -z "$ac_sed_cmds"; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1918 ac_sed_cmds=cat |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1919 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1920 EOF |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1921 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1922 cat >> $CONFIG_STATUS <<EOF |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1923 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1924 CONFIG_FILES=\${CONFIG_FILES-"Makefile:Makefile.in"} |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1925 EOF |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1926 cat >> $CONFIG_STATUS <<\EOF |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1927 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1928 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1929 case "$ac_file" in |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1930 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1931 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1932 *) ac_file_in="${ac_file}.in" ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1933 esac |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1934 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1935 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1936 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1937 # Remove last slash and all that follows it. Not all systems have dirname. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1938 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1939 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1940 # The file is in a subdirectory. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1941 test ! -d "$ac_dir" && mkdir "$ac_dir" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1942 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1943 # A "../" for each directory in $ac_dir_suffix. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1944 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1945 else |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1946 ac_dir_suffix= ac_dots= |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1947 fi |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1948 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1949 case "$ac_given_srcdir" in |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1950 .) srcdir=. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1951 if test -z "$ac_dots"; then top_srcdir=. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1952 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1953 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1954 *) # Relative path. |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1955 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1956 top_srcdir="$ac_dots$ac_given_srcdir" ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1957 esac |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1958 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1959 case "$ac_given_INSTALL" in |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1960 [/$]*) INSTALL="$ac_given_INSTALL" ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1961 *) INSTALL="$ac_dots$ac_given_INSTALL" ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1962 esac |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1963 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1964 echo creating "$ac_file" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1965 rm -f "$ac_file" |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1966 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1967 case "$ac_file" in |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1968 *Makefile*) ac_comsub="1i\\ |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1969 # $configure_input" ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1970 *) ac_comsub= ;; |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1971 esac |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1972 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1973 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1974 sed -e "$ac_comsub |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1975 s%@configure_input@%$configure_input%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1976 s%@srcdir@%$srcdir%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1977 s%@top_srcdir@%$top_srcdir%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1978 s%@INSTALL@%$INSTALL%g |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1979 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1980 fi; done |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1981 rm -f conftest.s* |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1982 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1983 EOF |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1984 cat >> $CONFIG_STATUS <<EOF |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1985 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1986 EOF |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1987 cat >> $CONFIG_STATUS <<\EOF |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1988 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1989 exit 0 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1990 EOF |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1991 chmod +x $CONFIG_STATUS |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1992 rm -fr confdefs* $ac_clean_files |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1993 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 |
|
7c1c8dc43ba1
Now witness the firepower of this fully armed and operational
bartv
parents:
diff
changeset
|
1994 |
