/[MITgcm]/MITgcm/tools/cyrus-imapd-makedepend/configure
ViewVC logotype

Contents of /MITgcm/tools/cyrus-imapd-makedepend/configure

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Wed Feb 25 18:19:54 2004 UTC (17 years, 5 months ago) by edhill
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64x, checkpoint58l_post, checkpoint64z, checkpoint57t_post, checkpoint64q, checkpoint64p, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint64i, checkpoint64h, checkpoint64k, checkpoint64j, checkpoint64m, checkpoint64l, checkpoint64o, checkpoint64n, checkpoint64a, checkpoint57o_post, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f, checkpoint52l_pre, checkpoint58e_post, mitgcm_mapl_00, checkpoint52n_post, checkpoint53d_post, checkpoint58u_post, checkpoint58w_post, checkpoint54a_pre, checkpoint57m_post, checkpoint55c_post, checkpoint54e_post, checkpoint57s_post, checkpoint54a_post, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint53c_post, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint57k_post, checkpoint55d_pre, checkpoint57d_post, checkpoint57g_post, checkpoint64, checkpoint65, checkpoint60, checkpoint61, checkpoint62, checkpoint63, checkpoint57b_post, checkpoint57c_pre, checkpoint58r_post, checkpoint55j_post, checkpoint56b_post, checkpoint57i_post, checkpoint57y_post, checkpoint57e_post, checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint52l_post, checkpoint55h_post, checkpoint58n_post, checkpoint53b_post, checkpoint58x_post, checkpoint57g_pre, checkpoint54b_post, checkpoint53b_pre, checkpoint55b_post, checkpoint58t_post, checkpoint58h_post, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint54d_post, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65n, checkpoint65o, checkpoint65l, checkpoint65m, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65g, checkpoint65d, checkpoint65e, checkpoint56c_post, checkpoint52m_post, checkpoint57y_pre, checkpoint55, checkpoint53a_post, checkpoint57f_pre, checkpoint57a_post, checkpoint54, checkpoint58q_post, checkpoint54f_post, checkpoint57v_post, checkpoint59q, checkpoint59p, checkpoint55g_post, checkpoint59r, checkpoint58j_post, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59a, checkpoint55f_post, checkpoint59c, checkpoint59b, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59h, checkpoint59k, checkpoint59j, checkpoint57r_post, checkpoint59, checkpoint58, checkpoint57a_pre, checkpoint55i_post, checkpoint57, checkpoint56, checkpoint53, eckpoint57e_pre, checkpoint57h_done, checkpoint58f_post, checkpoint53g_post, checkpoint57x_post, checkpoint57n_post, checkpoint58d_post, checkpoint58c_post, checkpoint57w_post, checkpoint57p_post, checkpint57u_post, checkpoint57f_post, checkpoint58a_post, checkpoint58i_post, checkpoint57q_post, checkpoint58g_post, hrcube5, checkpoint58o_post, checkpoint57z_post, checkpoint62c, checkpoint62b, checkpoint62a, checkpoint62g, checkpoint62f, checkpoint62e, checkpoint62d, checkpoint62k, checkpoint62j, checkpoint62i, checkpoint62h, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l, checkpoint62s, checkpoint62r, checkpoint62q, checkpoint62p, checkpoint62w, checkpoint62v, checkpoint62u, checkpoint62t, checkpoint57c_post, checkpoint62z, checkpoint62y, checkpoint62x, checkpoint58y_post, checkpoint55e_post, checkpoint58k_post, checkpoint58v_post, checkpoint53f_post, checkpoint55a_post, checkpoint53d_pre, checkpoint54c_post, checkpoint58s_post, checkpoint61f, checkpoint61g, checkpoint61d, checkpoint61e, checkpoint61b, checkpoint61c, checkpoint58p_post, checkpoint61a, checkpoint61n, checkpoint61o, checkpoint61l, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint61v, checkpoint61w, checkpoint61t, checkpoint61u, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61q, checkpoint57j_post, checkpoint61z, checkpoint61x, checkpoint61y, checkpoint58b_post, checkpoint57h_pre, checkpoint58m_post, checkpoint57l_post, checkpoint57h_post, checkpoint56a_post, checkpoint55d_post, HEAD
 o initial check-in of a better makedepend implementation for AJA

1 #! /bin/sh
2 # Copyright (c) 2000 Carnegie Mellon University. All rights reserved.
3 #
4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions
6 # are met:
7 #
8 # 1. Redistributions of source code must retain the above copyright
9 # notice, this list of conditions and the following disclaimer.
10 #
11 # 2. Redistributions in binary form must reproduce the above copyright
12 # notice, this list of conditions and the following disclaimer in
13 # the documentation and/or other materials provided with the
14 # distribution.
15 #
16 # 3. The name "Carnegie Mellon University" must not be used to
17 # endorse or promote products derived from this software without
18 # prior written permission. For permission or any other legal
19 # details, please contact
20 # Office of Technology Transfer
21 # Carnegie Mellon University
22 # 5000 Forbes Avenue
23 # Pittsburgh, PA 15213-3890
24 # (412) 268-4387, fax: (412) 268-7395
25 # tech-transfer@andrew.cmu.edu
26 #
27 # 4. Redistributions of any form whatsoever must retain the following
28 # acknowledgment:
29 # "This product includes software developed by Computing Services
30 # at Carnegie Mellon University (http://www.cmu.edu/computing/)."
31 #
32 # CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO
33 # THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
34 # AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE
35 # FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
36 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
37 # AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
38 # OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
39 #
40 # Guess values for system-dependent variables and create Makefiles.
41 # Generated automatically using autoconf version 2.3
42 # Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
43 #
44 # This configure script is free software; the Free Software Foundation
45 # gives unlimited permission to copy, distribute and modify it.
46
47 # Defaults:
48 ac_help=
49 ac_default_prefix=/usr/local
50 # Any additions from configure.in:
51
52 # Initialize some variables set by options.
53 # The variables have the same names as the options, with
54 # dashes changed to underlines.
55 build=NONE
56 cache_file=./config.cache
57 exec_prefix=NONE
58 host=NONE
59 no_create=
60 nonopt=NONE
61 no_recursion=
62 prefix=NONE
63 program_prefix=NONE
64 program_suffix=NONE
65 program_transform_name=s,x,x,
66 silent=
67 site=
68 srcdir=
69 target=NONE
70 verbose=
71 x_includes=NONE
72 x_libraries=NONE
73
74 # Initialize some other variables.
75 subdirs=
76
77 ac_prev=
78 for ac_option
79 do
80
81 # If the previous option needs an argument, assign it.
82 if test -n "$ac_prev"; then
83 eval "$ac_prev=\$ac_option"
84 ac_prev=
85 continue
86 fi
87
88 case "$ac_option" in
89 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
90 *) ac_optarg= ;;
91 esac
92
93 # Accept the important Cygnus configure options, so we can diagnose typos.
94
95 case "$ac_option" in
96
97 -build | --build | --buil | --bui | --bu | --b)
98 ac_prev=build ;;
99 -build=* | --build=* | --buil=* | --bui=* | --bu=* | --b=*)
100 build="$ac_optarg" ;;
101
102 -cache-file | --cache-file | --cache-fil | --cache-fi \
103 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
104 ac_prev=cache_file ;;
105 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
106 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
107 cache_file="$ac_optarg" ;;
108
109 -disable-* | --disable-*)
110 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
111 # Reject names that are not valid shell variable names.
112 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
113 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
114 fi
115 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
116 eval "enable_${ac_feature}=no" ;;
117
118 -enable-* | --enable-*)
119 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
120 # Reject names that are not valid shell variable names.
121 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
122 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
123 fi
124 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
125 case "$ac_option" in
126 *=*) ;;
127 *) ac_optarg=yes ;;
128 esac
129 eval "enable_${ac_feature}='$ac_optarg'" ;;
130
131 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
132 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
133 | --exec | --exe | --ex)
134 ac_prev=exec_prefix ;;
135 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
136 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
137 | --exec=* | --exe=* | --ex=*)
138 exec_prefix="$ac_optarg" ;;
139
140 -gas | --gas | --ga | --g)
141 # Obsolete; use --with-gas.
142 with_gas=yes ;;
143
144 -help | --help | --hel | --he)
145 # Omit some internal or obsolete options to make the list less imposing.
146 # This message is too long to be a string in the A/UX 3.1 sh.
147 cat << EOF
148 Usage: configure [options] [host]
149 Options: [defaults in brackets after descriptions]
150 Configuration:
151 --cache-file=FILE cache test results in FILE
152 --help print this message
153 --no-create do not create output files
154 --quiet, --silent do not print \`checking...' messages
155 --version print the version of autoconf that created configure
156 Directory and file names:
157 --prefix=PREFIX install architecture-independent files in PREFIX
158 [$ac_default_prefix]
159 --exec-prefix=PREFIX install architecture-dependent files in PREFIX
160 [same as prefix]
161 --srcdir=DIR find the sources in DIR [configure dir or ..]
162 --program-prefix=PREFIX prepend PREFIX to installed program names
163 --program-suffix=SUFFIX append SUFFIX to installed program names
164 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
165 Host type:
166 --build=BUILD configure for building on BUILD [BUILD=HOST]
167 --host=HOST configure for HOST [guessed]
168 --target=TARGET configure for TARGET [TARGET=HOST]
169 Features and packages:
170 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
171 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
172 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
173 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
174 --x-includes=DIR X include files are in DIR
175 --x-libraries=DIR X library files are in DIR
176 --enable and --with options recognized:$ac_help
177 EOF
178 exit 0 ;;
179
180 -host | --host | --hos | --ho)
181 ac_prev=host ;;
182 -host=* | --host=* | --hos=* | --ho=*)
183 host="$ac_optarg" ;;
184
185 -nfp | --nfp | --nf)
186 # Obsolete; use --without-fp.
187 with_fp=no ;;
188
189 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
190 | --no-cr | --no-c)
191 no_create=yes ;;
192
193 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
194 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
195 no_recursion=yes ;;
196
197 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
198 ac_prev=prefix ;;
199 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
200 prefix="$ac_optarg" ;;
201
202 -program-prefix | --program-prefix | --program-prefi | --program-pref \
203 | --program-pre | --program-pr | --program-p)
204 ac_prev=program_prefix ;;
205 -program-prefix=* | --program-prefix=* | --program-prefi=* \
206 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
207 program_prefix="$ac_optarg" ;;
208
209 -program-suffix | --program-suffix | --program-suffi | --program-suff \
210 | --program-suf | --program-su | --program-s)
211 ac_prev=program_suffix ;;
212 -program-suffix=* | --program-suffix=* | --program-suffi=* \
213 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
214 program_suffix="$ac_optarg" ;;
215
216 -program-transform-name | --program-transform-name \
217 | --program-transform-nam | --program-transform-na \
218 | --program-transform-n | --program-transform- \
219 | --program-transform | --program-transfor \
220 | --program-transfo | --program-transf \
221 | --program-trans | --program-tran \
222 | --progr-tra | --program-tr | --program-t)
223 ac_prev=program_transform_name ;;
224 -program-transform-name=* | --program-transform-name=* \
225 | --program-transform-nam=* | --program-transform-na=* \
226 | --program-transform-n=* | --program-transform-=* \
227 | --program-transform=* | --program-transfor=* \
228 | --program-transfo=* | --program-transf=* \
229 | --program-trans=* | --program-tran=* \
230 | --progr-tra=* | --program-tr=* | --program-t=*)
231 program_transform_name="$ac_optarg" ;;
232
233 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
234 | -silent | --silent | --silen | --sile | --sil)
235 silent=yes ;;
236
237 -site | --site | --sit)
238 ac_prev=site ;;
239 -site=* | --site=* | --sit=*)
240 site="$ac_optarg" ;;
241
242 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
243 ac_prev=srcdir ;;
244 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
245 srcdir="$ac_optarg" ;;
246
247 -target | --target | --targe | --targ | --tar | --ta | --t)
248 ac_prev=target ;;
249 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
250 target="$ac_optarg" ;;
251
252 -v | -verbose | --verbose | --verbos | --verbo | --verb)
253 verbose=yes ;;
254
255 -version | --version | --versio | --versi | --vers)
256 echo "configure generated by autoconf version 2.3"
257 exit 0 ;;
258
259 -with-* | --with-*)
260 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
261 # Reject names that are not valid shell variable names.
262 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
263 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
264 fi
265 ac_package=`echo $ac_package| sed 's/-/_/g'`
266 case "$ac_option" in
267 *=*) ;;
268 *) ac_optarg=yes ;;
269 esac
270 eval "with_${ac_package}='$ac_optarg'" ;;
271
272 -without-* | --without-*)
273 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
274 # Reject names that are not valid shell variable names.
275 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
276 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
277 fi
278 ac_package=`echo $ac_package| sed 's/-/_/g'`
279 eval "with_${ac_package}=no" ;;
280
281 --x)
282 # Obsolete; use --with-x.
283 with_x=yes ;;
284
285 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
286 | --x-incl | --x-inc | --x-in | --x-i)
287 ac_prev=x_includes ;;
288 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
289 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
290 x_includes="$ac_optarg" ;;
291
292 -x-libraries | --x-libraries | --x-librarie | --x-librari \
293 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
294 ac_prev=x_libraries ;;
295 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
296 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
297 x_libraries="$ac_optarg" ;;
298
299 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
300 ;;
301
302 *)
303 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
304 echo "configure: warning: $ac_option: invalid host type" 1>&2
305 fi
306 if test "x$nonopt" != xNONE; then
307 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
308 fi
309 nonopt="$ac_option"
310 ;;
311
312 esac
313 done
314
315 if test -n "$ac_prev"; then
316 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
317 fi
318
319 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
320
321 # File descriptor usage:
322 # 0 standard input
323 # 1 file creation
324 # 2 errors and warnings
325 # 3 some systems may open it to /dev/tty
326 # 4 used on the Kubota Titan
327 # 6 checking for... messages and results
328 # 5 compiler messages saved in config.log
329 if test "$silent" = yes; then
330 exec 6>/dev/null
331 else
332 exec 6>&1
333 fi
334 exec 5>./config.log
335
336 echo "\
337 This file contains any messages produced by compilers while
338 running configure, to aid debugging if configure makes a mistake.
339 " 1>&5
340
341 # Strip out --no-create and --no-recursion so they do not pile up.
342 # Also quote any args containing shell metacharacters.
343 ac_configure_args=
344 for ac_arg
345 do
346 case "$ac_arg" in
347 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
348 | --no-cr | --no-c) ;;
349 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
350 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
351 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
352 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
353 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
354 esac
355 done
356
357 # NLS nuisances.
358 # Only set LANG and LC_ALL to C if already set.
359 # These must not be set unconditionally because not all systems understand
360 # e.g. LANG=C (notably SCO).
361 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
362 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
363
364 # confdefs.h avoids OS command line length limits that DEFS can exceed.
365 rm -rf conftest* confdefs.h
366 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
367 echo > confdefs.h
368
369 # A filename unique to this package, relative to the directory that
370 # configure is in, which we can look for to find out if srcdir is correct.
371 ac_unique_file=cppsetup.c
372
373 # Find the source files, if location was not specified.
374 if test -z "$srcdir"; then
375 ac_srcdir_defaulted=yes
376 # Try the directory containing this script, then its parent.
377 ac_prog=$0
378 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
379 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
380 srcdir=$ac_confdir
381 if test ! -r $srcdir/$ac_unique_file; then
382 srcdir=..
383 fi
384 else
385 ac_srcdir_defaulted=no
386 fi
387 if test ! -r $srcdir/$ac_unique_file; then
388 if test "$ac_srcdir_defaulted" = yes; then
389 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
390 else
391 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
392 fi
393 fi
394 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
395
396 # Prefer explicitly selected file to automatically selected ones.
397 if test -z "$CONFIG_SITE"; then
398 if test "x$prefix" != xNONE; then
399 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
400 else
401 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
402 fi
403 fi
404 for ac_site_file in $CONFIG_SITE; do
405 if test -r "$ac_site_file"; then
406 echo "loading site script $ac_site_file"
407 . "$ac_site_file"
408 fi
409 done
410
411 if test -r "$cache_file"; then
412 echo "loading cache $cache_file"
413 . $cache_file
414 else
415 echo "creating cache $cache_file"
416 > $cache_file
417 fi
418
419 ac_ext=c
420 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
421 ac_cpp='$CPP $CPPFLAGS'
422 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5 2>&5'
423 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5 2>&5'
424
425 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
426 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
427 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
428 ac_n= ac_c='
429 ' ac_t=' '
430 else
431 ac_n=-n ac_c= ac_t=
432 fi
433 else
434 ac_n= ac_c='\c' ac_t=
435 fi
436
437
438 # Extract the first word of "gcc", so it can be a program name with args.
439 set dummy gcc; ac_word=$2
440 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
441 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
442 echo $ac_n "(cached) $ac_c" 1>&6
443 else
444 if test -n "$CC"; then
445 ac_cv_prog_CC="$CC" # Let the user override the test.
446 else
447 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
448 for ac_dir in $PATH; do
449 test -z "$ac_dir" && ac_dir=.
450 if test -f $ac_dir/$ac_word; then
451 ac_cv_prog_CC="gcc"
452 break
453 fi
454 done
455 IFS="$ac_save_ifs"
456 test -z "$ac_cv_prog_CC" && ac_cv_prog_CC="cc"
457 fi
458 fi
459 CC="$ac_cv_prog_CC"
460 if test -n "$CC"; then
461 echo "$ac_t""$CC" 1>&6
462 else
463 echo "$ac_t""no" 1>&6
464 fi
465
466
467 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
468 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
469 echo $ac_n "(cached) $ac_c" 1>&6
470 else
471 cat > conftest.c <<EOF
472 #ifdef __GNUC__
473 yes;
474 #endif
475 EOF
476 if ${CC-cc} -E conftest.c 2>&5 | egrep yes >/dev/null 2>&1; then
477 ac_cv_prog_gcc=yes
478 else
479 ac_cv_prog_gcc=no
480 fi
481 fi
482 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
483 if test $ac_cv_prog_gcc = yes; then
484 GCC=yes
485 if test "${CFLAGS+set}" != set; then
486 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
487 if eval "test \"`echo '$''{'ac_cv_prog_gcc_g'+set}'`\" = set"; then
488 echo $ac_n "(cached) $ac_c" 1>&6
489 else
490 echo 'void f(){}' > conftest.c
491 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
492 ac_cv_prog_gcc_g=yes
493 else
494 ac_cv_prog_gcc_g=no
495 fi
496 rm -f conftest*
497
498 fi
499 echo "$ac_t""$ac_cv_prog_gcc_g" 1>&6
500 if test $ac_cv_prog_gcc_g = yes; then
501 CFLAGS="-g -O"
502 else
503 CFLAGS="-O"
504 fi
505 fi
506 else
507 GCC=
508 test "${CFLAGS+set}" = set || CFLAGS="-g"
509 fi
510
511 ac_aux_dir=
512 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
513 if test -f $ac_dir/install-sh; then
514 ac_aux_dir=$ac_dir
515 ac_install_sh="$ac_aux_dir/install-sh -c"
516 break
517 elif test -f $ac_dir/install.sh; then
518 ac_aux_dir=$ac_dir
519 ac_install_sh="$ac_aux_dir/install.sh -c"
520 break
521 fi
522 done
523 if test -z "$ac_aux_dir"; then
524 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
525 fi
526 ac_config_guess=$ac_aux_dir/config.guess
527 ac_config_sub=$ac_aux_dir/config.sub
528 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
529
530 # Find a good install program. We prefer a C program (faster),
531 # so one script is as good as another. But avoid the broken or
532 # incompatible versions:
533 # SysV /etc/install, /usr/sbin/install
534 # SunOS /usr/etc/install
535 # IRIX /sbin/install
536 # AIX /bin/install
537 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
538 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
539 # ./install, which can be erroneously created by make from ./install.sh.
540 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
541 if test -z "$INSTALL"; then
542 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
543 echo $ac_n "(cached) $ac_c" 1>&6
544 else
545 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
546 for ac_dir in $PATH; do
547 # Account for people who put trailing slashes in PATH elements.
548 case "$ac_dir/" in
549 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
550 *)
551 # OSF1 and SCO ODT 3.0 have their own names for install.
552 for ac_prog in ginstall installbsd scoinst install; do
553 if test -f $ac_dir/$ac_prog; then
554 if test $ac_prog = install &&
555 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
556 # AIX install. It has an incompatible calling convention.
557 # OSF/1 installbsd also uses dspmsg, but is usable.
558 :
559 else
560 ac_cv_path_install="$ac_dir/$ac_prog -c"
561 break 2
562 fi
563 fi
564 done
565 ;;
566 esac
567 done
568 IFS="$ac_save_ifs"
569 # As a last resort, use the slow shell script.
570 test -z "$ac_cv_path_install" && ac_cv_path_install="$ac_install_sh"
571 fi
572 INSTALL="$ac_cv_path_install"
573 fi
574 echo "$ac_t""$INSTALL" 1>&6
575
576 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
577 # It thinks the first close brace ends the variable substitution.
578 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
579
580 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
581
582 # Extract the first word of "ranlib", so it can be a program name with args.
583 set dummy ranlib; ac_word=$2
584 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
585 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
586 echo $ac_n "(cached) $ac_c" 1>&6
587 else
588 if test -n "$RANLIB"; then
589 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
590 else
591 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
592 for ac_dir in $PATH; do
593 test -z "$ac_dir" && ac_dir=.
594 if test -f $ac_dir/$ac_word; then
595 ac_cv_prog_RANLIB="ranlib"
596 break
597 fi
598 done
599 IFS="$ac_save_ifs"
600 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
601 fi
602 fi
603 RANLIB="$ac_cv_prog_RANLIB"
604 if test -n "$RANLIB"; then
605 echo "$ac_t""$RANLIB" 1>&6
606 else
607 echo "$ac_t""no" 1>&6
608 fi
609
610 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
611 set dummy ${MAKE-make}; ac_make=$2
612 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
613 echo $ac_n "(cached) $ac_c" 1>&6
614 else
615 cat > conftestmake <<\EOF
616 all:
617 @echo 'ac_maketemp="${MAKE}"'
618 EOF
619 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
620 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
621 if test -n "$ac_maketemp"; then
622 eval ac_cv_prog_make_${ac_make}_set=yes
623 else
624 eval ac_cv_prog_make_${ac_make}_set=no
625 fi
626 rm -f conftestmake
627 fi
628 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
629 echo "$ac_t""yes" 1>&6
630 SET_MAKE=
631 else
632 echo "$ac_t""no" 1>&6
633 SET_MAKE="MAKE=${MAKE-make}"
634 fi
635
636 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
637 # On Suns, sometimes $CPP names a directory.
638 if test -n "$CPP" && test -d "$CPP"; then
639 CPP=
640 fi
641 if test -z "$CPP"; then
642 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
643 echo $ac_n "(cached) $ac_c" 1>&6
644 else
645 # This must be in double quotes, not single quotes, because CPP may get
646 # substituted into the Makefile and "${CC-cc}" will confuse make.
647 CPP="${CC-cc} -E"
648 # On the NeXT, cc -E runs the code through the compiler's parser,
649 # not just through cpp.
650 cat > conftest.$ac_ext <<EOF
651 #line 615 "configure"
652 #include "confdefs.h"
653 #include <assert.h>
654 Syntax Error
655 EOF
656 eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
657 ac_err=`grep -v '^ *+' conftest.out`
658 if test -z "$ac_err"; then
659 :
660 else
661 echo "$ac_err" >&5
662 rm -rf conftest*
663 CPP="${CC-cc} -E -traditional-cpp"
664 cat > conftest.$ac_ext <<EOF
665 #line 629 "configure"
666 #include "confdefs.h"
667 #include <assert.h>
668 Syntax Error
669 EOF
670 eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
671 ac_err=`grep -v '^ *+' conftest.out`
672 if test -z "$ac_err"; then
673 :
674 else
675 echo "$ac_err" >&5
676 rm -rf conftest*
677 CPP=/lib/cpp
678 fi
679 rm -f conftest*
680 fi
681 rm -f conftest*
682 ac_cv_prog_CPP="$CPP"
683 fi
684 fi
685 CPP="$ac_cv_prog_CPP"
686 echo "$ac_t""$CPP" 1>&6
687
688 for ac_hdr in stdarg.h
689 do
690 ac_safe=`echo "$ac_hdr" | tr './\055' '___'`
691 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
692 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
693 echo $ac_n "(cached) $ac_c" 1>&6
694 else
695 cat > conftest.$ac_ext <<EOF
696 #line 660 "configure"
697 #include "confdefs.h"
698 #include <$ac_hdr>
699 EOF
700 eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
701 ac_err=`grep -v '^ *+' conftest.out`
702 if test -z "$ac_err"; then
703 rm -rf conftest*
704 eval "ac_cv_header_$ac_safe=yes"
705 else
706 echo "$ac_err" >&5
707 rm -rf conftest*
708 eval "ac_cv_header_$ac_safe=no"
709 fi
710 rm -f conftest*
711 fi
712 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
713 echo "$ac_t""yes" 1>&6
714 ac_tr_hdr=HAVE_`echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'`
715 cat >> confdefs.h <<EOF
716 #define $ac_tr_hdr 1
717 EOF
718
719 else
720 echo "$ac_t""no" 1>&6
721 fi
722 done
723
724
725
726
727 trap '' 1 2 15
728 cat > confcache <<\EOF
729 # This file is a shell script that caches the results of configure
730 # tests run on this system so they can be shared between configure
731 # scripts and configure runs. It is not useful on other systems.
732 # If it contains results you don't want to keep, you may remove or edit it.
733 #
734 # By default, configure uses ./config.cache as the cache file,
735 # creating it if it does not exist already. You can give configure
736 # the --cache-file=FILE option to use a different cache file; that is
737 # what configure does when it calls configure scripts in
738 # subdirectories, so they share the cache.
739 # Giving --cache-file=/dev/null disables caching, for debugging configure.
740 # config.status only pays attention to the cache file if you give it the
741 # --recheck option to rerun configure.
742 #
743 EOF
744 # Ultrix sh set writes to stderr and can't be redirected directly,
745 # and sets the high bit in the cache file unless we assign to the vars.
746 (set) 2>&1 |
747 sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \
748 >> confcache
749 if cmp -s $cache_file confcache; then
750 :
751 else
752 if test -w $cache_file; then
753 echo "updating cache $cache_file"
754 cat confcache > $cache_file
755 else
756 echo "not updating unwritable cache $cache_file"
757 fi
758 fi
759 rm -f confcache
760
761 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
762
763 test "x$prefix" = xNONE && prefix=$ac_default_prefix
764 # Let make expand exec_prefix.
765 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
766
767 # Any assignment to VPATH causes Sun make to only execute
768 # the first set of double-colon rules, so remove it if not needed.
769 # If there is a colon in the path, we need to keep it.
770 if test "x$srcdir" = x.; then
771 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
772 fi
773
774 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
775
776 # Transform confdefs.h into DEFS.
777 # Protect against shell expansion while executing Makefile rules.
778 # Protect against Makefile macro expansion.
779 cat > conftest.defs <<\EOF
780 s%#define \([A-Za-z_][A-Za-z0-9_]*\) \(.*\)%-D\1=\2%g
781 s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
782 s%\[%\\&%g
783 s%\]%\\&%g
784 s%\$%$$%g
785 EOF
786 DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
787 rm -f conftest.defs
788
789
790 # Without the "./", some shells look in PATH for config.status.
791 : ${CONFIG_STATUS=./config.status}
792
793 echo creating $CONFIG_STATUS
794 rm -f $CONFIG_STATUS
795 cat > $CONFIG_STATUS <<EOF
796 #! /bin/sh
797 # Generated automatically by configure.
798 # Run this file to recreate the current configuration.
799 # This directory was configured as follows,
800 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
801 #
802 # $0 $ac_configure_args
803 #
804 # Compiler output produced by configure, useful for debugging
805 # configure, is in ./config.log if it exists.
806
807 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
808 for ac_option
809 do
810 case "\$ac_option" in
811 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
812 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
813 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
814 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
815 echo "$CONFIG_STATUS generated by autoconf version 2.3"
816 exit 0 ;;
817 -help | --help | --hel | --he | --h)
818 echo "\$ac_cs_usage"; exit 0 ;;
819 *) echo "\$ac_cs_usage"; exit 1 ;;
820 esac
821 done
822
823 ac_given_srcdir=$srcdir
824 ac_given_INSTALL="$INSTALL"
825
826 trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
827
828 # Protect against being on the right side of a sed subst in config.status.
829 sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\\\&%]/\\\\&/g;
830 s/@@/%@/; s/@@/@%/; s/@g$/%g/' > conftest.subs <<\CEOF
831 $ac_vpsub
832 $extrasub
833 s%@CFLAGS@%$CFLAGS%g
834 s%@CPPFLAGS@%$CPPFLAGS%g
835 s%@CXXFLAGS@%$CXXFLAGS%g
836 s%@DEFS@%$DEFS%g
837 s%@LDFLAGS@%$LDFLAGS%g
838 s%@LIBS@%$LIBS%g
839 s%@exec_prefix@%$exec_prefix%g
840 s%@prefix@%$prefix%g
841 s%@program_transform_name@%$program_transform_name%g
842 s%@CC@%$CC%g
843 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
844 s%@INSTALL_DATA@%$INSTALL_DATA%g
845 s%@RANLIB@%$RANLIB%g
846 s%@SET_MAKE@%$SET_MAKE%g
847 s%@CPP@%$CPP%g
848 s%@DEPLIBS@%$DEPLIBS%g
849
850 CEOF
851 EOF
852 cat >> $CONFIG_STATUS <<EOF
853
854 CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
855 EOF
856 cat >> $CONFIG_STATUS <<\EOF
857 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
858 # Support "outfile[:infile]", defaulting infile="outfile.in".
859 case "$ac_file" in
860 *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
861 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
862 *) ac_file_in="${ac_file}.in" ;;
863 esac
864
865 # Adjust relative srcdir, etc. for subdirectories.
866
867 # Remove last slash and all that follows it. Not all systems have dirname.
868 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
869 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
870 # The file is in a subdirectory.
871 test ! -d "$ac_dir" && mkdir "$ac_dir"
872 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
873 # A "../" for each directory in $ac_dir_suffix.
874 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
875 else
876 ac_dir_suffix= ac_dots=
877 fi
878
879 case "$ac_given_srcdir" in
880 .) srcdir=.
881 if test -z "$ac_dots"; then top_srcdir=.
882 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
883 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
884 *) # Relative path.
885 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
886 top_srcdir="$ac_dots$ac_given_srcdir" ;;
887 esac
888
889 case "$ac_given_INSTALL" in
890 [/$]*) INSTALL="$ac_given_INSTALL" ;;
891 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
892 esac
893 echo creating "$ac_file"
894 rm -f "$ac_file"
895 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
896 case "$ac_file" in
897 *Makefile*) ac_comsub="1i\\
898 # $configure_input" ;;
899 *) ac_comsub= ;;
900 esac
901 sed -e "$ac_comsub
902 s%@configure_input@%$configure_input%g
903 s%@srcdir@%$srcdir%g
904 s%@top_srcdir@%$top_srcdir%g
905 s%@INSTALL@%$INSTALL%g
906 " -f conftest.subs $ac_given_srcdir/$ac_file_in > $ac_file
907 fi; done
908 rm -f conftest.subs
909
910
911
912 exit 0
913 EOF
914 chmod +x $CONFIG_STATUS
915 rm -fr confdefs* $ac_clean_files
916 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1

  ViewVC Help
Powered by ViewVC 1.1.22