Commit | Line | Data |
---|---|---|
eb02fd64 | 1 | #!/bin/sh |
eb02fd64 | 2 | |
70d3fab7 DZ |
3 | ### WARNING: this file contains embedded tabs. Do not run untabify on this file. |
4 | ||
46f3c7cd | 5 | # Configuration script |
9336e47e | 6 | # Copyright (C) 1988, 90, 91, 92, 93, 94 Free Software Foundation, Inc. |
eb02fd64 | 7 | |
063efd10 JG |
8 | # This program is free software; you can redistribute it and/or modify |
9 | # it under the terms of the GNU General Public License as published by | |
10 | # the Free Software Foundation; either version 2 of the License, or | |
11 | # (at your option) any later version. | |
12 | # | |
13 | # This program is distributed in the hope that it will be useful, | |
14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 | # GNU General Public License for more details. | |
17 | # | |
18 | # You should have received a copy of the GNU General Public License | |
19 | # along with this program; if not, write to the Free Software | |
9336e47e | 20 | # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
eb02fd64 | 21 | |
49b10446 RP |
22 | # Please email any bugs, comments, and/or additions to this file to: |
23 | # configure@cygnus.com | |
24 | ||
c1e4672c RP |
25 | # This file was written by K. Richard Pixley. |
26 | ||
eb02fd64 RP |
27 | # |
28 | # Shell script to create proper links to machine-dependent files in | |
0df06ca0 | 29 | # preparation for compilation. |
eb02fd64 RP |
30 | # |
31 | # If configure succeeds, it leaves its status in config.status. | |
32 | # If configure fails after disturbing the status quo, | |
73f1f5ba | 33 | # config.status is removed. |
eb02fd64 RP |
34 | # |
35 | ||
4d714963 | 36 | export PATH || (echo "OOPS, this isn't sh. Desperation time. I will feed myself to sh."; sh $0 $argv; kill $$) |
c297d71e | 37 | |
eb02fd64 RP |
38 | remove=rm |
39 | hard_link=ln | |
40 | symbolic_link='ln -s' | |
41 | ||
42 | #for Test | |
43 | #remove="echo rm" | |
44 | #hard_link="echo ln" | |
45 | #symbolic_link="echo ln -s" | |
46 | ||
47 | # clear some things potentially inherited from environment. | |
6f8ac2d9 RP |
48 | |
49 | Makefile=Makefile | |
50 | Makefile_in=Makefile.in | |
b8f8fddc | 51 | arguments=$* |
24845456 | 52 | build_alias= |
6f8ac2d9 | 53 | configdirs= |
c1e4672c RP |
54 | exec_prefix= |
55 | exec_prefixoption= | |
0df06ca0 | 56 | fatal= |
4d714963 RP |
57 | floating_point=default |
58 | gas=default | |
24845456 | 59 | host_alias=NOHOST |
3a07a6ac | 60 | host_makefile_frag= |
a98e98d3 | 61 | moveifchange= |
46766962 | 62 | norecursion= |
9336e47e | 63 | other_options= |
34bdab16 | 64 | package_makefile_frag= |
4d714963 | 65 | prefix=/usr/local |
49b10446 | 66 | progname= |
c1e4672c | 67 | program_prefix= |
c5108322 ILT |
68 | program_prefixoption= |
69 | program_suffix= | |
70 | program_suffixoption= | |
71 | program_transform_name= | |
72 | program_transform_nameoption= | |
a98e98d3 RP |
73 | redirect=">/dev/null" |
74 | removing= | |
0e693d0b | 75 | site= |
3a07a6ac | 76 | site_makefile_frag= |
a98e98d3 | 77 | site_option= |
74cc5508 | 78 | srcdir= |
ec342d7d | 79 | srctrigger= |
8becd045 | 80 | subdirs= |
24845456 | 81 | target_alias=NOTARGET |
3a07a6ac | 82 | target_makefile_frag= |
24845456 | 83 | undefs=NOUNDEFS |
0c72405d | 84 | version="$Revision$" |
4d714963 RP |
85 | x11=default |
86 | ||
eb4b02ae DZ |
87 | ### we might need to use some other shell than /bin/sh for running subshells |
88 | # | |
dbb0309d | 89 | config_shell=${CONFIG_SHELL-/bin/sh} |
eb4b02ae | 90 | |
4d714963 RP |
91 | NO_EDIT="This file was generated automatically by configure. Do not edit." |
92 | ||
93 | ## this is a little touchy and won't always work, but... | |
94 | ## | |
c1e4672c RP |
95 | ## if the argv[0] starts with a slash then it is an absolute name that can (and |
96 | ## must) be used as is. | |
4d714963 RP |
97 | ## |
98 | ## otherwise, if argv[0] has no slash in it, we can assume that it is on the | |
99 | ## path. Since PATH might include "." we also add `pwd` to the end of PATH. | |
100 | ## | |
4d714963 | 101 | |
c1e4672c | 102 | progname=$0 |
5cc24596 PB |
103 | # if PWD already has a value, it is probably wrong. |
104 | if [ -n "$PWD" ]; then PWD=`pwd`; fi | |
4d714963 | 105 | |
c1e4672c RP |
106 | case "${progname}" in |
107 | /*) ;; | |
108 | */*) ;; | |
109 | *) | |
73f1f5ba DZ |
110 | PATH=$PATH:${PWD=`pwd`} ; export PATH |
111 | ;; | |
c1e4672c | 112 | esac |
4d714963 | 113 | |
24845456 SG |
114 | # Loop over all args |
115 | ||
116 | while : | |
eb02fd64 | 117 | do |
3509822c | 118 | |
24845456 SG |
119 | # Break out if there are no more args |
120 | case $# in | |
121 | 0) | |
00f56390 | 122 | break |
24845456 SG |
123 | ;; |
124 | esac | |
125 | ||
126 | # Get the first arg, and shuffle | |
127 | option=$1 | |
128 | shift | |
129 | ||
130 | # Make all options have two hyphens | |
131 | orig_option=$option # Save original for error messages | |
132 | case $option in | |
133 | --*) ;; | |
134 | -*) option=-$option ;; | |
135 | esac | |
136 | ||
137 | # Split out the argument for options that take them | |
138 | case $option in | |
139 | --*=*) | |
140 | optarg=`echo $option | sed -e 's/^[^=]*=//'` | |
141 | ;; | |
142 | # These options have mandatory values. Since we didn't find an = sign, | |
143 | # the value must be in the next argument | |
0ffb871e | 144 | --b* | --ex* | --ho* | --pre* | --program-p* | --program-s* | --program-t* | --si* | --sr* | --ta* | --tm* | --x-*) |
24845456 SG |
145 | optarg=$1 |
146 | shift | |
147 | ;; | |
148 | esac | |
149 | ||
150 | # Now, process the options | |
151 | case $option in | |
152 | ||
153 | --build* | --b*) | |
154 | case "$build_alias" in | |
155 | "") build_alias=$optarg ;; | |
156 | *) echo '***' Can only configure for one build machine at a time. 1>&2 | |
157 | fatal=yes | |
158 | ;; | |
159 | esac | |
160 | ;; | |
bfb08994 DM |
161 | --disable-*) |
162 | enableopt=`echo ${option} | sed 's:^--disable-:enable_:;s:-:_:g'` | |
163 | eval $enableopt=no | |
164 | disableoptions="$disableoptions $option" | |
165 | ;; | |
00f56390 DM |
166 | --enable-*) |
167 | case "$option" in | |
168 | *=*) ;; | |
169 | *) optarg=yes ;; | |
170 | esac | |
171 | ||
172 | enableopt=`echo ${option} | sed 's:^--::;s:=.*$::;s:-:_:g'` | |
173 | eval $enableopt="$optarg" | |
174 | enableoptions="$enableoptions $option" | |
175 | ;; | |
176 | --exec-prefix* | --ex*) | |
24845456 SG |
177 | exec_prefix=$optarg |
178 | exec_prefixoption="--exec-prefix=$optarg" | |
179 | ;; | |
180 | --gas | --g*) | |
181 | gas=yes | |
182 | ;; | |
183 | --help | --he*) | |
00f56390 | 184 | fatal=yes |
24845456 SG |
185 | ;; |
186 | --host* | --ho*) | |
187 | case $host_alias in | |
188 | NOHOST) host_alias=$optarg ;; | |
189 | *) echo '***' Can only configure for one host at a time. 1>&2 | |
190 | fatal=yes | |
191 | ;; | |
192 | esac | |
193 | ;; | |
194 | --nfp | --nf*) | |
195 | floating_point=no | |
196 | ;; | |
197 | --norecursion | --no*) | |
00f56390 | 198 | norecursion=yes |
24845456 SG |
199 | ;; |
200 | --prefix* | --pre*) | |
201 | prefix=$optarg | |
202 | prefixoption="--prefix=$optarg" | |
203 | ;; | |
204 | --program-prefix* | --program-p*) | |
205 | program_prefix=$optarg | |
206 | program_prefixoption="--program-prefix=$optarg" | |
207 | ;; | |
208 | --program-suffix* | --program-s*) | |
209 | program_suffix=$optarg | |
210 | program_suffixoption="--program-suffix=$optarg" | |
211 | ;; | |
212 | --program-transform-name* | --program-t*) | |
213 | # Double any backslashes or dollar signs in the argument | |
214 | program_transform_name="${program_transform_name} -e `echo ${optarg} | sed -e 's/\\\\/\\\\\\\\/g' -e 's/\\\$/$$/g'`" | |
4b82ae34 | 215 | program_transform_nameoption="${program_transform_nameoption} --program-transform-name='$optarg'" |
24845456 SG |
216 | ;; |
217 | --rm) | |
218 | removing=--rm | |
219 | ;; | |
d2d324f8 DM |
220 | --silent | --sil* | --quiet | --q*) |
221 | redirect=">/dev/null" | |
222 | verbose=--silent | |
223 | ;; | |
224 | --site* | --sit*) | |
24845456 SG |
225 | site=$optarg |
226 | site_option="--site=$optarg" | |
227 | ;; | |
228 | --srcdir*/ | --sr*/) | |
229 | # Remove trailing slashes. Otherwise, when the file name gets | |
d2d324f8 DM |
230 | # bolted into an object file as debug info, it has two slashes |
231 | # in it. Ordinarily this is ok, but emacs takes double slash | |
232 | # to mean "forget the first part". | |
24845456 SG |
233 | srcdir=`echo $optarg | sed -e 's:/$::'` |
234 | ;; | |
235 | --srcdir* | --sr*) | |
236 | srcdir=$optarg | |
237 | ;; | |
238 | --target* | --ta*) | |
239 | case $target_alias in | |
240 | NOTARGET) target_alias=$optarg ;; | |
241 | *) echo '***' Can only configure for one target at a time. 1>&2 | |
242 | fatal=yes | |
243 | ;; | |
244 | esac | |
245 | ;; | |
246 | --tmpdir* | --tm*) | |
247 | TMPDIR=$optarg | |
248 | tmpdiroption="--tmpdir=$optarg" | |
249 | ;; | |
250 | --verbose | --v | --verb*) | |
251 | redirect= | |
252 | verbose=--verbose | |
253 | ;; | |
254 | --version | --V | --vers*) | |
255 | echo "This is Cygnus Configure version" `echo ${version} | sed 's/[ $:]//g'` | |
256 | exit 0 | |
257 | ;; | |
258 | --with-*) | |
259 | case "$option" in | |
260 | *=*) ;; | |
261 | *) optarg=yes ;; | |
262 | esac | |
263 | ||
264 | withopt=`echo ${option} | sed 's:^--::;s:=.*$::;s:-:_:g'` | |
265 | eval $withopt="$optarg" | |
266 | withoptions="$withoptions $option" | |
267 | ;; | |
268 | --without-*) | |
bfb08994 | 269 | withopt=`echo ${option} | sed 's:^--::;s:out::;s:-:_:g'` |
24845456 SG |
270 | eval $withopt=no |
271 | withoutoptions="$withoutoptions $option" | |
272 | ;; | |
9336e47e DM |
273 | --x) with_x=yes |
274 | withoptions="$withoptions --with-x" | |
275 | ;; | |
0ffb871e DM |
276 | --x-i* | --x-l*) other_options="$other_options $orig_option" |
277 | ;; | |
24845456 | 278 | --*) |
d237841c BC |
279 | echo "configure: Unrecognized option: \"$orig_option\"; use --help for usage." >&2 |
280 | exit 1 | |
24845456 SG |
281 | ;; |
282 | *) | |
283 | case $undefs in | |
284 | NOUNDEFS) undefs=$option ;; | |
285 | *) echo '***' Can only configure for one host and one target at a time. 1>&2 | |
286 | fatal=yes | |
287 | ;; | |
288 | esac | |
289 | ;; | |
290 | esac | |
eb02fd64 RP |
291 | done |
292 | ||
4d714963 | 293 | # process host and target |
24845456 | 294 | |
00f56390 DM |
295 | # Do some error checking and defaulting for the host and target type. |
296 | # The inputs are: | |
297 | # configure --host=HOST --target=TARGET UNDEFS | |
24845456 | 298 | # |
00f56390 DM |
299 | # The rules are: |
300 | # 1. You aren't allowed to specify --host, --target, and undefs at the | |
301 | # same time. | |
302 | # 2. Host defaults to undefs. | |
303 | # 3. If undefs is not specified, then host defaults to the current host, | |
304 | # as determined by config.guess. | |
305 | # 4. Target defaults to undefs. | |
306 | # 5. If undefs is not specified, then target defaults to host. | |
24845456 | 307 | |
a98bbe58 RP |
308 | case "${fatal}" in |
309 | "") | |
24845456 SG |
310 | # Make sure that host, target & undefs aren't all specified at the |
311 | # same time. | |
312 | case $host_alias---$target_alias---$undefs in | |
313 | NOHOST---*---* | *---NOTARGET---* | *---*---NOUNDEFS) | |
314 | ;; | |
315 | *) echo '***' Can only configure for one host and one target at a time. 1>&2 | |
316 | fatal=yes | |
317 | break 2 | |
318 | ;; | |
319 | esac | |
320 | ||
321 | # Now, do defaulting for host. | |
322 | case $host_alias in | |
323 | NOHOST) | |
324 | case $undefs in | |
325 | NOUNDEFS) | |
326 | # Neither --host option nor undefs were present. | |
327 | # Call config.guess. | |
328 | guesssys=`echo ${progname} | sed 's/configure$/config.guess/'` | |
329 | if host_alias=`${guesssys}` | |
330 | then | |
94028943 ILT |
331 | # If the string we are going to use for |
332 | # the target is a prefix of the string | |
333 | # we just guessed for the host, then | |
334 | # assume we are running native, and force | |
335 | # the same string for both target and host. | |
336 | case $target_alias in | |
64b7bf9f | 337 | NOTARGET) ;; |
94028943 ILT |
338 | *) |
339 | if expr $host_alias : $target_alias >/dev/null | |
340 | then | |
341 | host_alias=$target_alias | |
342 | fi | |
343 | ;; | |
344 | esac | |
24845456 SG |
345 | echo "Configuring for a ${host_alias} host." 1>&2 |
346 | arguments="--host=$host_alias $arguments" | |
347 | else | |
348 | echo 'Config.guess failed to determine the host type. You need to specify one.' 1>&2 | |
349 | fatal=yes | |
350 | fi | |
351 | ;; | |
352 | *) | |
353 | host_alias=$undefs | |
354 | ;; | |
355 | esac | |
356 | esac | |
357 | ||
358 | # Do defaulting for target. If --target option isn't present, default | |
359 | # to undefs. If undefs isn't present, default to host. | |
360 | case $target_alias in | |
361 | NOTARGET) | |
362 | case $undefs in | |
363 | NOUNDEFS) | |
364 | target_alias=$host_alias | |
365 | ;; | |
366 | *) | |
367 | target_alias=$undefs | |
368 | ;; | |
369 | esac | |
370 | esac | |
371 | ;; | |
a98bbe58 RP |
372 | *) ;; |
373 | esac | |
eb02fd64 | 374 | |
c1e4672c | 375 | if [ -n "${fatal}" -o "${host_alias}" = "help" ] ; then |
24845456 | 376 | exec 1>&2 |
64b7bf9f | 377 | echo Usage: configure [OPTIONS] [HOST] |
24845456 SG |
378 | echo |
379 | echo Options: [defaults in brackets] | |
64b7bf9f ILT |
380 | echo ' --prefix=MYDIR install into MYDIR. [/usr/local]' |
381 | echo ' --exec-prefix=MYDIR install host-dependent files into MYDIR. [/usr/local]' | |
24845456 SG |
382 | echo ' --help print this message. [normal config]' |
383 | echo ' --build=BUILD configure for building on BUILD. [BUILD=HOST]' | |
384 | echo ' --host=HOST configure for HOST. [determined via config.guess]' | |
385 | echo ' --norecursion configure this directory only. [recurse]' | |
64b7bf9f ILT |
386 | echo ' --program-prefix=FOO prepend FOO to installed program names. [""]' |
387 | echo ' --program-suffix=FOO append FOO to installed program names. [""]' | |
388 | echo ' --program-transform-name=P transform installed names by sed pattern P. [""]' | |
389 | echo ' --site=SITE configure with site-specific makefile for SITE.' | |
390 | echo ' --srcdir=DIR find the sources in DIR. [. or ..]' | |
391 | echo ' --target=TARGET configure for TARGET. [TARGET=HOST]' | |
392 | echo ' --tmpdir=TMPDIR create temporary files in TMPDIR. [/tmp]' | |
393 | echo ' --nfp configure for soft floating point. [hard float]' | |
00f56390 DM |
394 | echo ' --with-FOO, --with-FOO=BAR package FOO is available (parameter BAR)' |
395 | echo ' --without-FOO package FOO is NOT available' | |
396 | echo ' --enable-FOO, --enable-FOO=BAR include feature FOO (parameter BAR)' | |
bfb08994 | 397 | echo ' --disable-FOO do not include feature FOO' |
24845456 | 398 | echo |
64b7bf9f | 399 | echo 'Where HOST and TARGET are something like "sparc-sunos", "mips-ultrix", etc.' |
24845456 SG |
400 | echo |
401 | if [ -r config.status ] ; then | |
402 | cat config.status | |
403 | fi | |
404 | ||
405 | exit 1 | |
eb02fd64 RP |
406 | fi |
407 | ||
0c72405d | 408 | configsub=`echo ${progname} | sed 's/configure$/config.sub/'` |
196377ee | 409 | moveifchange=`echo ${progname} | sed 's/configure$/move-if-change/'` |
7da1d334 | 410 | |
94c7ae21 RP |
411 | # this is a hack. sun4 must always be a valid host alias or this will fail. |
412 | if ${configsub} sun4 >/dev/null 2>&1 ; then | |
73f1f5ba | 413 | true |
7da1d334 | 414 | else |
73f1f5ba DZ |
415 | echo '***' cannot find config.sub. 1>&2 |
416 | exit 1 | |
7da1d334 RP |
417 | fi |
418 | ||
196377ee RP |
419 | touch config.junk |
420 | if ${moveifchange} config.junk config.trash ; then | |
73f1f5ba | 421 | true |
196377ee | 422 | else |
73f1f5ba DZ |
423 | echo '***' cannot find move-if-change. 1>&2 |
424 | exit 1 | |
196377ee RP |
425 | fi |
426 | rm -f config.junk config.trash | |
427 | ||
a98bbe58 RP |
428 | case "${srcdir}" in |
429 | "") | |
73f1f5ba DZ |
430 | if [ -r configure.in ] ; then |
431 | srcdir=. | |
432 | else | |
433 | if [ -r ${progname}.in ] ; then | |
434 | srcdir=`echo ${progname} | sed 's:/configure$::'` | |
435 | else | |
24845456 | 436 | echo '***' "Can't find configure.in. Try using --srcdir=some_dir" 1>&2 |
73f1f5ba DZ |
437 | exit 1 |
438 | fi | |
439 | fi | |
440 | ;; | |
a98bbe58 RP |
441 | *) ;; |
442 | esac | |
eb02fd64 | 443 | |
8fd24008 RP |
444 | ### warn about some conflicting configurations. |
445 | ||
446 | case "${srcdir}" in | |
447 | ".") ;; | |
448 | *) | |
73f1f5ba DZ |
449 | if [ -f ${srcdir}/config.status ] ; then |
450 | echo '***' Cannot configure here in \"${PWD=`pwd`}\" when \"${srcdir}\" is currently configured. 1>&2 | |
451 | exit 1 | |
452 | fi | |
8fd24008 | 453 | esac |
bc58b41d | 454 | |
c1e4672c | 455 | # default exec_prefix |
c7f72253 | 456 | case "${exec_prefixoption}" in |
8becd045 | 457 | "") exec_prefix="\$(prefix)" ;; |
3a07a6ac RP |
458 | *) ;; |
459 | esac | |
460 | ||
4d714963 | 461 | ### break up ${srcdir}/configure.in. |
a98bbe58 RP |
462 | case "`grep '^# per\-host:' ${srcdir}/configure.in`" in |
463 | "") | |
dbb0309d | 464 | echo '***' ${srcdir}/configure.in has no \"per-host:\" line. 1>&2 |
73f1f5ba DZ |
465 | exit 1 |
466 | ;; | |
a98bbe58 RP |
467 | *) ;; |
468 | esac | |
49b10446 | 469 | |
a98bbe58 RP |
470 | case "`grep '^# per\-target:' ${srcdir}/configure.in`" in |
471 | "") | |
dbb0309d | 472 | echo '***' ${srcdir}/configure.in has no \"per-target:\" line. 1>&2 |
73f1f5ba DZ |
473 | exit 1 |
474 | ;; | |
a98bbe58 RP |
475 | *) ;; |
476 | esac | |
c5ae5678 | 477 | |
a98bbe58 RP |
478 | case "${TMPDIR}" in |
479 | "") TMPDIR=/tmp ; export TMPDIR ;; | |
480 | *) ;; | |
481 | esac | |
eb02fd64 | 482 | |
4d714963 RP |
483 | # keep this filename short for &%*%$*# 14 char file names |
484 | tmpfile=${TMPDIR}/cONf$$ | |
c7f72253 | 485 | trap "rm -f ${tmpfile}.com ${tmpfile}.tgt ${tmpfile}.hst ${tmpfile}.pos; exit 1" 1 2 15 |
4d714963 RP |
486 | trap "rm -f ${tmpfile}.com ${tmpfile}.tgt ${tmpfile}.hst ${tmpfile}.pos" 0 |
487 | ||
488 | # split ${srcdir}/configure.in into common, per-host, per-target, | |
489 | # and post-target parts. Post-target is optional. | |
490 | sed -e '/^# per\-host:/,$d' ${srcdir}/configure.in > ${tmpfile}.com | |
491 | sed -e '1,/^# per\-host:/d' -e '/^# per\-target:/,$d' ${srcdir}/configure.in > ${tmpfile}.hst | |
492 | if grep '^# post-target:' ${srcdir}/configure.in >/dev/null ; then | |
493 | sed -e '1,/^# per\-target:/d' -e '/^# post\-target:/,$d' ${srcdir}/configure.in > ${tmpfile}.tgt | |
494 | sed -e '1,/^# post\-target:/d' ${srcdir}/configure.in > ${tmpfile}.pos | |
c297d71e | 495 | else |
4d714963 RP |
496 | sed -e '1,/^# per\-target:/d' ${srcdir}/configure.in > ${tmpfile}.tgt |
497 | echo >${tmpfile}.pos | |
c297d71e | 498 | fi |
eb02fd64 | 499 | |
c297d71e | 500 | ### do common part of configure.in |
eb02fd64 | 501 | |
c5ae5678 | 502 | . ${tmpfile}.com |
eb02fd64 | 503 | |
ec342d7d | 504 | # some sanity checks on configure.in |
a98bbe58 RP |
505 | case "${srctrigger}" in |
506 | "") | |
73f1f5ba DZ |
507 | echo '***' srctrigger not set in ${PWD=`pwd`}/configure.in. 1>&2 |
508 | exit 1 | |
509 | ;; | |
a98bbe58 RP |
510 | *) ;; |
511 | esac | |
ec342d7d | 512 | |
24845456 SG |
513 | case "${build_alias}" in |
514 | "") ;; | |
515 | *) | |
516 | result=`${configsub} ${build_alias}` | |
517 | buildopt="--build=${build_alias}" | |
518 | build_cpu=`echo $result | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\1/'` | |
519 | build_vendor=`echo $result | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\2/'` | |
520 | build_os=`echo $result | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\3/'` | |
521 | build=${build_cpu}-${build_vendor}-${build_os} | |
522 | ;; | |
523 | esac | |
524 | ||
c1e4672c RP |
525 | result=`${configsub} ${host_alias}` |
526 | host_cpu=`echo $result | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\1/'` | |
527 | host_vendor=`echo $result | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\2/'` | |
528 | host_os=`echo $result | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\3/'` | |
529 | host=${host_cpu}-${host_vendor}-${host_os} | |
6c18e393 | 530 | |
c1e4672c | 531 | . ${tmpfile}.hst |
eb02fd64 | 532 | |
c1e4672c RP |
533 | result=`${configsub} ${target_alias}` |
534 | target_cpu=`echo $result | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\1/'` | |
535 | target_vendor=`echo $result | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\2/'` | |
536 | target_os=`echo $result | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\3/'` | |
537 | target=${target_cpu}-${target_vendor}-${target_os} | |
eb02fd64 | 538 | |
c1e4672c | 539 | . ${tmpfile}.tgt |
49b10446 | 540 | |
c1e4672c RP |
541 | # Find the source files, if location was not specified. |
542 | case "${srcdir}" in | |
543 | "") | |
73f1f5ba DZ |
544 | srcdirdefaulted=1 |
545 | srcdir=. | |
546 | if [ ! -r ${srctrigger} ] ; then | |
547 | srcdir=.. | |
548 | fi | |
549 | ;; | |
c1e4672c RP |
550 | *) ;; |
551 | esac | |
eb02fd64 | 552 | |
c1e4672c | 553 | if [ ! -r ${srcdir}/${srctrigger} ] ; then |
73f1f5ba DZ |
554 | case "${srcdirdefaulted}" in |
555 | "") echo '***' "${progname}: Can't find ${srcname} sources in ${PWD=`pwd`}/${srcdir}" 1>&2 ;; | |
556 | *) echo '***' "${progname}: Can't find ${srcname} sources in ${PWD=`pwd`}/. or ${PWD=`pwd`}/.." 1>&2 ;; | |
557 | esac | |
eb02fd64 | 558 | |
73f1f5ba DZ |
559 | echo '***' \(At least ${srctrigger} is missing.\) 1>&2 |
560 | exit 1 | |
c1e4672c | 561 | fi |
131a3881 | 562 | |
0ed316a0 DZ |
563 | # Some systems (e.g., one of the i386-aix systems the gas testers are |
564 | # using) don't handle "\$" correctly, so don't use it here. | |
565 | tooldir='$(exec_prefix)'/${target_alias} | |
c5108322 ILT |
566 | |
567 | if [ "${host_alias}" != "${target_alias}" ] ; then | |
d6d49c64 PB |
568 | if [ "${program_prefixoption}" = "" ] ; then |
569 | if [ "${program_suffixoption}" = "" ] ; then | |
570 | if [ "${program_transform_nameoption}" = "" ] ; then | |
73f1f5ba DZ |
571 | program_prefix=${target_alias}- ; |
572 | fi | |
573 | fi | |
c5108322 ILT |
574 | fi |
575 | fi | |
576 | ||
577 | # Merge program_prefix and program_suffix onto program_transform_name | |
578 | # Use a double $ so that make ignores it | |
579 | if [ "${program_suffix}" != "" ] ; then | |
24845456 | 580 | program_transform_name="-e s,\$\$,${program_suffix}, ${program_transform_name}" |
c5108322 ILT |
581 | fi |
582 | ||
583 | if [ "${program_prefix}" != "" ] ; then | |
24845456 | 584 | program_transform_name="-e s,^,${program_prefix}, ${program_transform_name}" |
c5108322 ILT |
585 | fi |
586 | ||
8becd045 | 587 | for subdir in . ${subdirs} ; do |
eb02fd64 | 588 | |
8becd045 PB |
589 | # ${subdir} is relative path from . to the directory we're currently |
590 | # configuring. | |
591 | # ${invsubdir} is inverse of ${subdir), *with* trailing /, if needed. | |
592 | invsubdir=`echo ${subdir}/ | sed -e 's|\./||g' -e 's|[^/]*/|../|g'` | |
131a3881 | 593 | |
8becd045 PB |
594 | ### figure out what to do with srcdir |
595 | case "${srcdir}" in | |
73f1f5ba DZ |
596 | ".") # no -srcdir option. We're building in place. |
597 | makesrcdir=. ;; | |
598 | /*) # absolute path | |
599 | makesrcdir=`echo ${srcdir}/${subdir} | sed -e 's|/\.$||'` | |
600 | ;; | |
601 | *) # otherwise relative | |
602 | case "${subdir}" in | |
603 | .) makesrcdir=${srcdir} ;; | |
604 | *) makesrcdir=${invsubdir}${srcdir}/${subdir} ;; | |
605 | esac | |
606 | ;; | |
8becd045 | 607 | esac |
131a3881 | 608 | |
8becd045 | 609 | if [ "${subdir}/" != "./" ] ; then |
73f1f5ba | 610 | Makefile=${subdir}/Makefile |
8becd045 | 611 | fi |
131a3881 | 612 | |
9546e9b4 | 613 | if [ ! -d ${subdir} ] ; then |
73f1f5ba DZ |
614 | if mkdir ${subdir} ; then |
615 | true | |
09e0b992 | 616 | else |
73f1f5ba DZ |
617 | echo '***' "${progname}: could not make ${PWD=`pwd`}/${subdir}" 1>&2 |
618 | exit 1 | |
09e0b992 | 619 | fi |
9546e9b4 RP |
620 | fi |
621 | ||
8becd045 PB |
622 | case "${removing}" in |
623 | "") | |
73f1f5ba DZ |
624 | case "${subdir}" in |
625 | .) ;; | |
626 | *) eval echo Building in ${subdir} ${redirect} ;; | |
627 | esac | |
628 | ||
629 | # FIXME Should this be done recursively ??? (Useful for e.g. gdbtest) | |
630 | # Set up the list of links to be made. | |
631 | # ${links} is the list of link names, and ${files} is the list of names to link to. | |
632 | ||
633 | # Make the links. | |
634 | configlinks="${links}" | |
635 | if [ -r ${subdir}/config.status ] ; then | |
636 | mv -f ${subdir}/config.status ${subdir}/config.back | |
637 | fi | |
638 | while [ -n "${files}" ] ; do | |
639 | # set file to car of files, files to cdr of files | |
640 | set ${files}; file=$1; shift; files=$* | |
641 | set ${links}; link=$1; shift; links=$* | |
642 | ||
643 | if [ ! -r ${srcdir}/${file} ] ; then | |
644 | echo '***' "${progname}: cannot create a link \"${link}\"," 1>&2 | |
645 | echo '***' "since the file \"${srcdir}/${file}\" does not exist." 1>&2 | |
646 | exit 1 | |
647 | fi | |
648 | ||
649 | ${remove} -f ${link} | |
d237841c BC |
650 | # Make a symlink if possible, otherwise try a hard link |
651 | if ${symbolic_link} ${srcdir}/${file} ${link} >/dev/null 2>&1 ; then | |
652 | true | |
653 | else | |
654 | # We need to re-remove the file because Lynx leaves a | |
655 | # very strange directory there when it fails an NFS symlink. | |
656 | ${remove} -r -f ${link} | |
657 | ${hard_link} ${srcdir}/${file} ${link} | |
658 | fi | |
73f1f5ba DZ |
659 | if [ ! -r ${link} ] ; then |
660 | echo '***' "${progname}: unable to link \"${link}\" to \"${srcdir}/${file}\"." 1>&2 | |
661 | exit 1 | |
662 | fi | |
663 | ||
664 | echo "Linked \"${link}\" to \"${srcdir}/${file}\"." | |
665 | done | |
666 | ||
667 | # Create a .gdbinit file which runs the one in srcdir | |
668 | # and tells GDB to look there for source files. | |
669 | ||
670 | if [ -r ${srcdir}/${subdir}/.gdbinit ] ; then | |
671 | case ${srcdir} in | |
672 | .) ;; | |
673 | *) cat > ${subdir}/.gdbinit <<EOF | |
8becd045 | 674 | # ${NO_EDIT} |
8becd045 | 675 | dir ${makesrcdir} |
c7f72253 | 676 | dir . |
8becd045 | 677 | source ${makesrcdir}/.gdbinit |
3a07a6ac | 678 | EOF |
73f1f5ba DZ |
679 | ;; |
680 | esac | |
681 | fi | |
0df06ca0 | 682 | |
73f1f5ba DZ |
683 | # Install a makefile, and make it set VPATH |
684 | # if necessary so that the sources are found. | |
685 | # Also change its value of srcdir. | |
686 | # NOTE: Makefile generation constitutes the majority of the time in configure. Hence, this section has | |
687 | # been somewhat optimized and is perhaps a bit twisty. | |
0df06ca0 | 688 | |
73f1f5ba | 689 | # code is order so as to try to sed the smallest input files we know. |
0df06ca0 | 690 | |
73f1f5ba | 691 | # the four makefile fragments MUST end up in the resulting Makefile in this order: |
34bdab16 DZ |
692 | # package, target, host, and site. so do these separately because I don't trust the |
693 | # order of sed -e expressions. | |
131a3881 | 694 | |
73f1f5ba DZ |
695 | if [ -f ${srcdir}/${subdir}/${Makefile_in} ] ; then |
696 | ||
e5c6be8f DZ |
697 | # Conditionalize for this site from "Makefile.in" (or whatever it's called) into Makefile.tem |
698 | rm -f ${subdir}/Makefile.tem | |
699 | case "${site}" in | |
700 | "") cp ${srcdir}/${subdir}/${Makefile_in} ${subdir}/Makefile.tem ;; | |
701 | *) | |
702 | site_makefile_frag=${srcdir}/config/ms-${site} | |
703 | ||
704 | if [ -f ${site_makefile_frag} ] ; then | |
705 | sed -e "/^####/ r ${site_makefile_frag}" ${srcdir}/${subdir}/${Makefile_in} \ | |
706 | > ${subdir}/Makefile.tem | |
707 | else | |
708 | cp ${srcdir}/${subdir}/${Makefile_in} ${subdir}/Makefile.tem | |
709 | site_makefile_frag= | |
710 | fi | |
711 | ;; | |
712 | esac | |
713 | # working copy now in ${subdir}/Makefile.tem | |
714 | ||
715 | # Conditionalize the makefile for this host. | |
716 | rm -f ${Makefile} | |
717 | case "${host_makefile_frag}" in | |
718 | "") mv ${subdir}/Makefile.tem ${Makefile} ;; | |
719 | *) | |
720 | if [ ! -f ${host_makefile_frag} ] ; then | |
721 | host_makefile_frag=${srcdir}/${host_makefile_frag} | |
722 | fi | |
723 | if [ -f ${host_makefile_frag} ] ; then | |
724 | sed -e "/^####/ r ${host_makefile_frag}" ${subdir}/Makefile.tem > ${Makefile} | |
725 | else | |
726 | echo '***' Expected host makefile fragment \"${host_makefile_frag}\" 1>&2 | |
727 | echo '***' is missing in ${PWD=`pwd`}. 1>&2 | |
728 | mv ${subdir}/Makefile.tem ${Makefile} | |
729 | fi | |
730 | esac | |
731 | # working copy now in ${Makefile} | |
732 | ||
733 | # Conditionalize the makefile for this target. | |
734 | rm -f ${subdir}/Makefile.tem | |
735 | case "${target_makefile_frag}" in | |
736 | "") mv ${Makefile} ${subdir}/Makefile.tem ;; | |
737 | *) | |
738 | if [ ! -f ${target_makefile_frag} ] ; then | |
739 | target_makefile_frag=${srcdir}/${target_makefile_frag} | |
740 | fi | |
741 | if [ -f ${target_makefile_frag} ] ; then | |
742 | sed -e "/^####/ r ${target_makefile_frag}" ${Makefile} > ${subdir}/Makefile.tem | |
743 | else | |
744 | mv ${Makefile} ${subdir}/Makefile.tem | |
745 | target_makefile_frag= | |
746 | fi | |
747 | ;; | |
748 | esac | |
749 | # real copy now in ${subdir}/Makefile.tem | |
750 | ||
751 | # Conditionalize the makefile for this package. | |
752 | rm -f ${Makefile} | |
753 | case "${package_makefile_frag}" in | |
754 | "") mv ${subdir}/Makefile.tem ${Makefile} ;; | |
755 | *) | |
756 | if [ ! -f ${package_makefile_frag} ] ; then | |
757 | package_makefile_frag=${srcdir}/${package_makefile_frag} | |
758 | fi | |
759 | if [ -f ${package_makefile_frag} ] ; then | |
760 | sed -e "/^####/ r ${package_makefile_frag}" ${subdir}/Makefile.tem > ${Makefile} | |
e08a7c05 | 761 | rm -f ${subdir}/Makefile.tem |
e5c6be8f DZ |
762 | else |
763 | echo '***' Expected package makefile fragment \"${package_makefile_frag}\" 1>&2 | |
764 | echo '***' is missing in ${PWD=`pwd`}. 1>&2 | |
765 | mv ${subdir}/Makefile.tem ${Makefile} | |
766 | fi | |
767 | esac | |
768 | # working copy now in ${Makefile} | |
769 | ||
770 | mv ${Makefile} ${subdir}/Makefile.tem | |
771 | ||
772 | # real copy now in ${subdir}/Makefile.tem | |
773 | ||
774 | # prepend warning about editting, and a bunch of variables. | |
775 | rm -f ${Makefile} | |
776 | cat > ${Makefile} <<EOF | |
3a07a6ac | 777 | # ${NO_EDIT} |
8becd045 PB |
778 | VPATH = ${makesrcdir} |
779 | links = ${configlinks} | |
3a07a6ac RP |
780 | host_alias = ${host_alias} |
781 | host_cpu = ${host_cpu} | |
782 | host_vendor = ${host_vendor} | |
783 | host_os = ${host_os} | |
94028943 | 784 | host_canonical = ${host_cpu}-${host_vendor}-${host_os} |
3a07a6ac RP |
785 | target_alias = ${target_alias} |
786 | target_cpu = ${target_cpu} | |
787 | target_vendor = ${target_vendor} | |
788 | target_os = ${target_os} | |
5cc24596 | 789 | target_canonical = ${target_cpu}-${target_vendor}-${target_os} |
3a07a6ac | 790 | EOF |
24845456 SG |
791 | case "${build}" in |
792 | "") ;; | |
94028943 | 793 | *) cat >> ${Makefile} << EOF |
24845456 SG |
794 | build_alias = ${build_alias} |
795 | build_cpu = ${build_cpu} | |
796 | build_vendor = ${build_vendor} | |
797 | build_os = ${build_os} | |
94028943 | 798 | build_canonical = ${build_cpu}-${build_vendor}-${build_os} |
24845456 SG |
799 | EOF |
800 | esac | |
801 | ||
e5c6be8f DZ |
802 | case "${package_makefile_frag}" in |
803 | "") ;; | |
804 | /*) echo package_makefile_frag = ${package_makefile_frag} >>${Makefile} ;; | |
805 | *) echo package_makefile_frag = ${invsubdir}${package_makefile_frag} >>${Makefile} ;; | |
806 | esac | |
807 | ||
808 | case "${target_makefile_frag}" in | |
809 | "") ;; | |
810 | /*) echo target_makefile_frag = ${target_makefile_frag} >>${Makefile} ;; | |
811 | *) echo target_makefile_frag = ${invsubdir}${target_makefile_frag} >>${Makefile} ;; | |
812 | esac | |
813 | ||
814 | case "${host_makefile_frag}" in | |
815 | "") ;; | |
816 | /*) echo host_makefile_frag = ${host_makefile_frag} >>${Makefile} ;; | |
817 | *) echo host_makefile_frag = ${invsubdir}${host_makefile_frag} >>${Makefile} ;; | |
818 | esac | |
819 | ||
820 | if [ "${site_makefile_frag}" != "" ] ; then | |
821 | echo site_makefile_frag = ${invsubdir}${site_makefile_frag} >>${Makefile} | |
822 | fi | |
823 | ||
03abfb2c DZ |
824 | # make sure that some sort of reasonable default exists for these |
825 | # two variables | |
826 | CXX=${CXX-"g++ -O"} | |
827 | CC=${CC-cc} | |
828 | ||
e5c6be8f DZ |
829 | # reset prefix, exec_prefix, srcdir, SUBDIRS, NONSUBDIRS, |
830 | # remove any form feeds. | |
831 | if [ -z "${subdirs}" ]; then | |
832 | rm -f ${subdir}/Makefile.tem2 | |
70d3fab7 DZ |
833 | sed -e "s:^SUBDIRS[ ]*=.*$:SUBDIRS = ${configdirs}:" \ |
834 | -e "s:^NONSUBDIRS[ ]*=.*$:NONSUBDIRS = ${noconfigdirs}:" \ | |
e5c6be8f DZ |
835 | ${subdir}/Makefile.tem > ${subdir}/Makefile.tem2 |
836 | rm -f ${subdir}/Makefile.tem | |
837 | mv ${subdir}/Makefile.tem2 ${subdir}/Makefile.tem | |
838 | fi | |
70d3fab7 DZ |
839 | sed -e "s:^prefix[ ]*=.*$:prefix = ${prefix}:" \ |
840 | -e "s:^exec_prefix[ ]*=.*$:exec_prefix = ${exec_prefix}:" \ | |
dbb0309d | 841 | -e "s:^SHELL[ ]*=.*$:SHELL = ${config_shell}:" \ |
70d3fab7 | 842 | -e "s:^srcdir[ ]*=.*$:srcdir = ${makesrcdir}:" \ |
e5c6be8f | 843 | -e "s/\f//" \ |
70d3fab7 DZ |
844 | -e "s:^program_prefix[ ]*=.*$:program_prefix = ${program_prefix}:" \ |
845 | -e "s:^program_suffix[ ]*=.*$:program_suffix = ${program_suffix}:" \ | |
26e4818b | 846 | -e "s:^program_transform_name[ ]*=.*$:program_transform_name = ${program_transform_name}:" \ |
70d3fab7 | 847 | -e "s:^tooldir[ ]*=.*$:tooldir = ${tooldir}:" \ |
e5c6be8f DZ |
848 | ${subdir}/Makefile.tem >> ${Makefile} |
849 | # final copy now in ${Makefile} | |
850 | ||
851 | else | |
26e4818b | 852 | echo "No Makefile.in found in ${srcdir}/${subdir}, unable to configure" 1>&2 |
e5c6be8f | 853 | fi |
73f1f5ba DZ |
854 | |
855 | rm -f ${subdir}/Makefile.tem | |
856 | ||
857 | case "${host_makefile_frag}" in | |
858 | "") using= ;; | |
859 | *) using="and \"${host_makefile_frag}\"" ;; | |
860 | esac | |
861 | ||
862 | case "${target_makefile_frag}" in | |
863 | "") ;; | |
864 | *) using="${using} and \"${target_makefile_frag}\"" ;; | |
865 | esac | |
866 | ||
867 | case "${site_makefile_frag}" in | |
868 | "") ;; | |
869 | *) using="${using} and \"${site_makefile_frag}\"" ;; | |
870 | esac | |
871 | ||
872 | newusing=`echo "${using}" | sed 's/and/using/'` | |
873 | using=${newusing} | |
874 | echo "Created \"${Makefile}\" in" ${PWD=`pwd`} ${using} | |
875 | ||
876 | . ${tmpfile}.pos | |
877 | ||
878 | # describe the chosen configuration in config.status. | |
879 | # Make that file a shellscript which will reestablish | |
880 | # the same configuration. Used in Makefiles to rebuild | |
881 | # Makefiles. | |
882 | ||
883 | case "${norecursion}" in | |
24845456 | 884 | "") arguments="${arguments} --norecursion" ;; |
73f1f5ba DZ |
885 | *) ;; |
886 | esac | |
887 | ||
888 | if [ ${subdir} = . ] ; then | |
889 | echo "#!/bin/sh | |
4d714963 | 890 | # ${NO_EDIT} |
4347369f | 891 | # This directory was configured as follows: |
4d714963 | 892 | ${progname}" ${arguments} " |
196377ee | 893 | # ${using}" > ${subdir}/config.new |
73f1f5ba DZ |
894 | else |
895 | echo "#!/bin/sh | |
8becd045 | 896 | # ${NO_EDIT} |
4347369f | 897 | # This directory was configured as follows: |
8becd045 PB |
898 | cd ${invsubdir} |
899 | ${progname}" ${arguments} " | |
196377ee | 900 | # ${using}" > ${subdir}/config.new |
73f1f5ba DZ |
901 | fi |
902 | chmod a+x ${subdir}/config.new | |
903 | if [ -r ${subdir}/config.back ] ; then | |
904 | mv -f ${subdir}/config.back ${subdir}/config.status | |
905 | fi | |
906 | ${moveifchange} ${subdir}/config.new ${subdir}/config.status | |
907 | ;; | |
8becd045 | 908 | |
73f1f5ba | 909 | *) rm -f ${Makefile} ${subdir}/config.status ${links} ;; |
8becd045 PB |
910 | esac |
911 | done | |
c1e4672c RP |
912 | |
913 | # If there are subdirectories, then recur. | |
914 | if [ -z "${norecursion}" -a -n "${configdirs}" ] ; then | |
73f1f5ba DZ |
915 | for configdir in ${configdirs} ; do |
916 | ||
917 | if [ -d ${srcdir}/${configdir} ] ; then | |
918 | eval echo Configuring ${configdir}... ${redirect} | |
919 | case "${srcdir}" in | |
920 | ".") ;; | |
921 | *) | |
922 | if [ ! -d ./${configdir} ] ; then | |
923 | if mkdir ./${configdir} ; then | |
924 | true | |
925 | else | |
926 | echo '***' "${progname}: could not make ${PWD=`pwd`}/${configdir}" 1>&2 | |
927 | exit 1 | |
928 | fi | |
929 | fi | |
930 | ;; | |
931 | esac | |
932 | ||
933 | POPDIR=${PWD=`pwd`} | |
934 | cd ${configdir} | |
c1e4672c RP |
935 | |
936 | ### figure out what to do with srcdir | |
73f1f5ba DZ |
937 | case "${srcdir}" in |
938 | ".") newsrcdir=${srcdir} ;; # no -srcdir option. We're building in place. | |
939 | /*) # absolute path | |
940 | newsrcdir=${srcdir}/${configdir} | |
24845456 | 941 | srcdiroption="--srcdir=${newsrcdir}" |
73f1f5ba DZ |
942 | ;; |
943 | *) # otherwise relative | |
944 | newsrcdir=../${srcdir}/${configdir} | |
24845456 | 945 | srcdiroption="--srcdir=${newsrcdir}" |
73f1f5ba DZ |
946 | ;; |
947 | esac | |
c1e4672c RP |
948 | |
949 | ### check for guested configure, otherwise fix possibly relative progname | |
73f1f5ba DZ |
950 | if [ -f ${newsrcdir}/configure ] ; then |
951 | recprog=${newsrcdir}/configure | |
eb4b02ae | 952 | elif [ -f ${newsrcdir}/configure.in ] ; then |
73f1f5ba DZ |
953 | case "${progname}" in |
954 | /*) recprog=${progname} ;; | |
955 | *) recprog=../${progname} ;; | |
956 | esac | |
eb4b02ae | 957 | else |
c0c70966 | 958 | eval echo No configuration information in ${configdir} ${redirect} |
eb4b02ae | 959 | recprog= |
73f1f5ba | 960 | fi |
4d714963 RP |
961 | |
962 | ### The recursion line is here. | |
eb4b02ae | 963 | if [ ! -z "${recprog}" ] ; then |
24845456 | 964 | if eval ${config_shell} ${recprog} ${verbose} ${buildopt} --host=${host_alias} --target=${target_alias} \ |
eb4b02ae | 965 | ${prefixoption} ${tmpdiroption} ${exec_prefixoption} \ |
bfb08994 | 966 | ${srcdiroption} ${program_prefixoption} ${program_suffixoption} ${program_transform_nameoption} ${site_option} ${withoptions} ${withoutoptions} ${enableoptions} ${disableoptions} ${removing} ${other_options} ${redirect} ; then |
eb4b02ae DZ |
967 | true |
968 | else | |
00f56390 | 969 | echo Configure in `pwd` failed, exiting. 1>&2 |
eb4b02ae DZ |
970 | exit 1 |
971 | fi | |
972 | fi | |
73f1f5ba DZ |
973 | |
974 | cd ${POPDIR} | |
975 | fi | |
976 | done | |
c1e4672c | 977 | fi |
eb02fd64 | 978 | |
eb02fd64 | 979 | exit 0 |
74cc5508 | 980 | |
0df06ca0 RP |
981 | # |
982 | # Local Variables: | |
983 | # fill-column: 131 | |
984 | # End: | |
985 | # | |
74cc5508 | 986 | |
46f3c7cd | 987 | # end of configure |