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