r26534@plastic: rob | 2007-05-19 23:57:56 +1000
[tangerine.git] / tools / sfdc / configure
blobb7ac906b13d1f980517e79141a10e621ef9f5c59
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by Autoconf 2.52 for sfdc 1.3.
5 # Report bugs to <martin@blom.org>.
7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
8 # Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
12 # Avoid depending upon Character Ranges.
13 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16 as_cr_digits='0123456789'
17 as_cr_alnum=$as_cr_Letters$as_cr_digits
19 # Sed expression to map a string onto a valid variable name.
20 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
22 # Sed expression to map a string onto a valid CPP name.
23 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
25 # Be Bourne compatible
26 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
27 emulate sh
28 NULLCMD=:
29 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
30 set -o posix
33 # Name of the executable.
34 as_me=`echo "$0" |sed 's,.*[\\/],,'`
36 if expr a : '\(a\)' >/dev/null 2>&1; then
37 as_expr=expr
38 else
39 as_expr=false
42 rm -f conf$$ conf$$.exe conf$$.file
43 echo >conf$$.file
44 if ln -s conf$$.file conf$$ 2>/dev/null; then
45 # We could just check for DJGPP; but this test a) works b) is more generic
46 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
47 if test -f conf$$.exe; then
48 # Don't use ln at all; we don't have any links
49 as_ln_s='cp -p'
50 else
51 as_ln_s='ln -s'
53 elif ln conf$$.file conf$$ 2>/dev/null; then
54 as_ln_s=ln
55 else
56 as_ln_s='cp -p'
58 rm -f conf$$ conf$$.exe conf$$.file
60 as_executable_p="test -f"
62 # Support unset when possible.
63 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
64 as_unset=unset
65 else
66 as_unset=false
69 # NLS nuisances.
70 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
71 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
72 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
73 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
74 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
75 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
76 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
77 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
79 # IFS
80 # We need space, tab and new line, in precisely that order.
81 as_nl='
83 IFS=" $as_nl"
85 # CDPATH.
86 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
88 # Name of the host.
89 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
90 # so uname gets run too.
91 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
93 exec 6>&1
96 # Initializations.
98 ac_default_prefix=/usr/local
99 cross_compiling=no
100 subdirs=
101 MFLAGS= MAKEFLAGS=
102 SHELL=${CONFIG_SHELL-/bin/sh}
104 # Maximum number of lines to put in a shell here document.
105 # This variable seems obsolete. It should probably be removed, and
106 # only ac_max_sed_lines should be used.
107 : ${ac_max_here_lines=38}
109 # Initialize some variables set by options.
110 ac_init_help=
111 ac_init_version=false
112 # The variables have the same names as the options, with
113 # dashes changed to underlines.
114 cache_file=/dev/null
115 exec_prefix=NONE
116 no_create=
117 no_recursion=
118 prefix=NONE
119 program_prefix=NONE
120 program_suffix=NONE
121 program_transform_name=s,x,x,
122 silent=
123 site=
124 srcdir=
125 verbose=
126 x_includes=NONE
127 x_libraries=NONE
129 # Installation directory options.
130 # These are left unexpanded so users can "make install exec_prefix=/foo"
131 # and all the variables that are supposed to be based on exec_prefix
132 # by default will actually change.
133 # Use braces instead of parens because sh, perl, etc. also accept them.
134 bindir='${exec_prefix}/bin'
135 sbindir='${exec_prefix}/sbin'
136 libexecdir='${exec_prefix}/libexec'
137 datadir='${prefix}/share'
138 sysconfdir='${prefix}/etc'
139 sharedstatedir='${prefix}/com'
140 localstatedir='${prefix}/var'
141 libdir='${exec_prefix}/lib'
142 includedir='${prefix}/include'
143 oldincludedir='/usr/include'
144 infodir='${prefix}/info'
145 guidedir='${prefix}/guidedir'
146 htmldir='${prefix}/htmldir'
147 psdir='${prefix}/psdir'
148 dvidir='${prefix}/dvidir'
149 mandir='${prefix}/man'
151 # Identity of this package.
152 PACKAGE_NAME='sfdc'
153 PACKAGE_TARNAME='sfdc'
154 PACKAGE_VERSION='1.3'
155 PACKAGE_STRING='sfdc 1.3'
156 PACKAGE_BUGREPORT='martin@blom.org'
158 ac_prev=
159 for ac_option
161 # If the previous option needs an argument, assign it.
162 if test -n "$ac_prev"; then
163 eval "$ac_prev=\$ac_option"
164 ac_prev=
165 continue
168 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
170 # Accept the important Cygnus configure options, so we can diagnose typos.
172 case $ac_option in
174 -bindir | --bindir | --bindi | --bind | --bin | --bi)
175 ac_prev=bindir ;;
176 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
177 bindir=$ac_optarg ;;
179 -build | --build | --buil | --bui | --bu)
180 ac_prev=build_alias ;;
181 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
182 build_alias=$ac_optarg ;;
184 -cache-file | --cache-file | --cache-fil | --cache-fi \
185 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
186 ac_prev=cache_file ;;
187 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
188 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
189 cache_file=$ac_optarg ;;
191 --config-cache | -C)
192 cache_file=config.cache ;;
194 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
195 ac_prev=datadir ;;
196 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
197 | --da=*)
198 datadir=$ac_optarg ;;
200 -disable-* | --disable-*)
201 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
202 # Reject names that are not valid shell variable names.
203 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
204 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
205 { (exit 1); exit 1; }; }
206 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
207 eval "enable_$ac_feature=no" ;;
209 -enable-* | --enable-*)
210 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
211 # Reject names that are not valid shell variable names.
212 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
213 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
214 { (exit 1); exit 1; }; }
215 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
216 case $ac_option in
217 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
218 *) ac_optarg=yes ;;
219 esac
220 eval "enable_$ac_feature='$ac_optarg'" ;;
222 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
223 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
224 | --exec | --exe | --ex)
225 ac_prev=exec_prefix ;;
226 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
227 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
228 | --exec=* | --exe=* | --ex=*)
229 exec_prefix=$ac_optarg ;;
231 -gas | --gas | --ga | --g)
232 # Obsolete; use --with-gas.
233 with_gas=yes ;;
235 -help | --help | --hel | --he | -h)
236 ac_init_help=long ;;
237 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
238 ac_init_help=recursive ;;
239 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
240 ac_init_help=short ;;
242 -host | --host | --hos | --ho)
243 ac_prev=host_alias ;;
244 -host=* | --host=* | --hos=* | --ho=*)
245 host_alias=$ac_optarg ;;
247 -includedir | --includedir | --includedi | --included | --include \
248 | --includ | --inclu | --incl | --inc)
249 ac_prev=includedir ;;
250 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
251 | --includ=* | --inclu=* | --incl=* | --inc=*)
252 includedir=$ac_optarg ;;
254 -infodir | --infodir | --infodi | --infod | --info | --inf)
255 ac_prev=infodir ;;
256 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
257 infodir=$ac_optarg ;;
259 -guidedir | --guidedir | --guidedi | --guided | --guide | --gui)
260 ac_prev=guidedir ;;
261 -guidedir=* | --guidedir=* | --guidedi=* | --guided=* | --guide=* |--gui=*)+ guidedir="$ac_optarg" ;;
263 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm)
264 ac_prev=htmldir ;;
265 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* |--htm=*)+ htmldir="$ac_optarg" ;;
267 -psdir | --psdir | --psdi | --psd | --ps)
268 ac_prev=psdir ;;
269 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)+ psdir="$ac_optarg" ;;
271 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
272 ac_prev=dvidir ;;
273 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* |--dv=*)+ dvidir="$ac_optarg" ;;
275 -libdir | --libdir | --libdi | --libd)
276 ac_prev=libdir ;;
277 -libdir=* | --libdir=* | --libdi=* | --libd=*)
278 libdir=$ac_optarg ;;
280 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
281 | --libexe | --libex | --libe)
282 ac_prev=libexecdir ;;
283 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
284 | --libexe=* | --libex=* | --libe=*)
285 libexecdir=$ac_optarg ;;
287 -localstatedir | --localstatedir | --localstatedi | --localstated \
288 | --localstate | --localstat | --localsta | --localst \
289 | --locals | --local | --loca | --loc | --lo)
290 ac_prev=localstatedir ;;
291 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
292 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
293 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
294 localstatedir=$ac_optarg ;;
296 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
297 ac_prev=mandir ;;
298 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
299 mandir=$ac_optarg ;;
301 -nfp | --nfp | --nf)
302 # Obsolete; use --without-fp.
303 with_fp=no ;;
305 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
306 | --no-cr | --no-c)
307 no_create=yes ;;
309 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
310 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
311 no_recursion=yes ;;
313 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
314 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
315 | --oldin | --oldi | --old | --ol | --o)
316 ac_prev=oldincludedir ;;
317 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
318 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
319 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
320 oldincludedir=$ac_optarg ;;
322 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
323 ac_prev=prefix ;;
324 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
325 prefix=$ac_optarg ;;
327 -program-prefix | --program-prefix | --program-prefi | --program-pref \
328 | --program-pre | --program-pr | --program-p)
329 ac_prev=program_prefix ;;
330 -program-prefix=* | --program-prefix=* | --program-prefi=* \
331 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
332 program_prefix=$ac_optarg ;;
334 -program-suffix | --program-suffix | --program-suffi | --program-suff \
335 | --program-suf | --program-su | --program-s)
336 ac_prev=program_suffix ;;
337 -program-suffix=* | --program-suffix=* | --program-suffi=* \
338 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
339 program_suffix=$ac_optarg ;;
341 -program-transform-name | --program-transform-name \
342 | --program-transform-nam | --program-transform-na \
343 | --program-transform-n | --program-transform- \
344 | --program-transform | --program-transfor \
345 | --program-transfo | --program-transf \
346 | --program-trans | --program-tran \
347 | --progr-tra | --program-tr | --program-t)
348 ac_prev=program_transform_name ;;
349 -program-transform-name=* | --program-transform-name=* \
350 | --program-transform-nam=* | --program-transform-na=* \
351 | --program-transform-n=* | --program-transform-=* \
352 | --program-transform=* | --program-transfor=* \
353 | --program-transfo=* | --program-transf=* \
354 | --program-trans=* | --program-tran=* \
355 | --progr-tra=* | --program-tr=* | --program-t=*)
356 program_transform_name=$ac_optarg ;;
358 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
359 | -silent | --silent | --silen | --sile | --sil)
360 silent=yes ;;
362 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
363 ac_prev=sbindir ;;
364 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
365 | --sbi=* | --sb=*)
366 sbindir=$ac_optarg ;;
368 -sharedstatedir | --sharedstatedir | --sharedstatedi \
369 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
370 | --sharedst | --shareds | --shared | --share | --shar \
371 | --sha | --sh)
372 ac_prev=sharedstatedir ;;
373 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
374 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
375 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
376 | --sha=* | --sh=*)
377 sharedstatedir=$ac_optarg ;;
379 -site | --site | --sit)
380 ac_prev=site ;;
381 -site=* | --site=* | --sit=*)
382 site=$ac_optarg ;;
384 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
385 ac_prev=srcdir ;;
386 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
387 srcdir=$ac_optarg ;;
389 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
390 | --syscon | --sysco | --sysc | --sys | --sy)
391 ac_prev=sysconfdir ;;
392 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
393 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
394 sysconfdir=$ac_optarg ;;
396 -target | --target | --targe | --targ | --tar | --ta | --t)
397 ac_prev=target_alias ;;
398 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
399 target_alias=$ac_optarg ;;
401 -v | -verbose | --verbose | --verbos | --verbo | --verb)
402 verbose=yes ;;
404 -version | --version | --versio | --versi | --vers | -V)
405 ac_init_version=: ;;
407 -with-* | --with-*)
408 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
409 # Reject names that are not valid shell variable names.
410 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
411 { echo "$as_me: error: invalid package name: $ac_package" >&2
412 { (exit 1); exit 1; }; }
413 ac_package=`echo $ac_package| sed 's/-/_/g'`
414 case $ac_option in
415 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416 *) ac_optarg=yes ;;
417 esac
418 eval "with_$ac_package='$ac_optarg'" ;;
420 -without-* | --without-*)
421 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
422 # Reject names that are not valid shell variable names.
423 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
424 { echo "$as_me: error: invalid package name: $ac_package" >&2
425 { (exit 1); exit 1; }; }
426 ac_package=`echo $ac_package | sed 's/-/_/g'`
427 eval "with_$ac_package=no" ;;
429 --x)
430 # Obsolete; use --with-x.
431 with_x=yes ;;
433 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
434 | --x-incl | --x-inc | --x-in | --x-i)
435 ac_prev=x_includes ;;
436 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
437 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
438 x_includes=$ac_optarg ;;
440 -x-libraries | --x-libraries | --x-librarie | --x-librari \
441 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
442 ac_prev=x_libraries ;;
443 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
444 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
445 x_libraries=$ac_optarg ;;
447 -*) { echo "$as_me: error: unrecognized option: $ac_option
448 Try \`$0 --help' for more information." >&2
449 { (exit 1); exit 1; }; }
452 *=*)
453 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
454 # Reject names that are not valid shell variable names.
455 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
456 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
457 { (exit 1); exit 1; }; }
458 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
459 eval "$ac_envvar='$ac_optarg'"
460 export $ac_envvar ;;
463 # FIXME: should be removed in autoconf 3.0.
464 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
465 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
466 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
467 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
470 esac
471 done
473 if test -n "$ac_prev"; then
474 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
475 { echo "$as_me: error: missing argument to $ac_option" >&2
476 { (exit 1); exit 1; }; }
479 # Be sure to have absolute paths.
480 for ac_var in exec_prefix prefix
482 eval ac_val=$`echo $ac_var`
483 case $ac_val in
484 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
485 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
486 { (exit 1); exit 1; }; };;
487 esac
488 done
490 # Be sure to have absolute paths.
491 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
492 localstatedir libdir includedir oldincludedir infodir guidedir\
493 htmldir psdir dvidir mandir
495 eval ac_val=$`echo $ac_var`
496 case $ac_val in
497 [\\/$]* | ?:[\\/]* ) ;;
498 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
499 { (exit 1); exit 1; }; };;
500 esac
501 done
503 # There might be people who depend on the old broken behavior: `$host'
504 # used to hold the argument of --host etc.
505 build=$build_alias
506 host=$host_alias
507 target=$target_alias
509 # FIXME: should be removed in autoconf 3.0.
510 if test "x$host_alias" != x; then
511 if test "x$build_alias" = x; then
512 cross_compiling=maybe
513 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
514 If a cross compiler is detected then cross compile mode will be used." >&2
515 elif test "x$build_alias" != "x$host_alias"; then
516 cross_compiling=yes
520 ac_tool_prefix=
521 test -n "$host_alias" && ac_tool_prefix=$host_alias-
523 test "$silent" = yes && exec 6>/dev/null
525 # Find the source files, if location was not specified.
526 if test -z "$srcdir"; then
527 ac_srcdir_defaulted=yes
528 # Try the directory containing this script, then its parent.
529 ac_prog=$0
530 ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
531 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
532 srcdir=$ac_confdir
533 if test ! -r $srcdir/$ac_unique_file; then
534 srcdir=..
536 else
537 ac_srcdir_defaulted=no
539 if test ! -r $srcdir/$ac_unique_file; then
540 if test "$ac_srcdir_defaulted" = yes; then
541 { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
542 { (exit 1); exit 1; }; }
543 else
544 { echo "$as_me: error: cannot find sources in $srcdir" >&2
545 { (exit 1); exit 1; }; }
548 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
549 ac_env_build_alias_set=${build_alias+set}
550 ac_env_build_alias_value=$build_alias
551 ac_cv_env_build_alias_set=${build_alias+set}
552 ac_cv_env_build_alias_value=$build_alias
553 ac_env_host_alias_set=${host_alias+set}
554 ac_env_host_alias_value=$host_alias
555 ac_cv_env_host_alias_set=${host_alias+set}
556 ac_cv_env_host_alias_value=$host_alias
557 ac_env_target_alias_set=${target_alias+set}
558 ac_env_target_alias_value=$target_alias
559 ac_cv_env_target_alias_set=${target_alias+set}
560 ac_cv_env_target_alias_value=$target_alias
563 # Report the --help message.
565 if test "$ac_init_help" = "long"; then
566 # Omit some internal or obsolete options to make the list less imposing.
567 # This message is too long to be a string in the A/UX 3.1 sh.
568 cat <<EOF
569 \`configure' configures sfdc 1.3 to adapt to many kinds of systems.
571 Usage: $0 [OPTION]... [VAR=VALUE]...
573 To assign environment variables (e.g., CC, CFLAGS...), specify them as
574 VAR=VALUE. See below for descriptions of some of the useful variables.
576 Defaults for the options are specified in brackets.
578 Configuration:
579 -h, --help display this help and exit
580 --help=short display options specific to this package
581 --help=recursive display the short help of all the included packages
582 -V, --version display version information and exit
583 -q, --quiet, --silent do not print \`checking...' messages
584 --cache-file=FILE cache test results in FILE [disabled]
585 -C, --config-cache alias for \`--cache-file=config.cache'
586 -n, --no-create do not create output files
587 --srcdir=DIR find the sources in DIR [configure dir or \`..']
591 cat <<EOF
592 Installation directories:
593 --prefix=PREFIX install architecture-independent files in PREFIX
594 [$ac_default_prefix]
595 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
596 [PREFIX]
598 By default, \`make install' will install all the files in
599 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
600 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
601 for instance \`--prefix=\$HOME'.
603 For better control, use the options below.
605 Fine tuning of the installation directories:
606 --bindir=DIR user executables [EPREFIX/bin]
607 --sbindir=DIR system admin executables [EPREFIX/sbin]
608 --libexecdir=DIR program executables [EPREFIX/libexec]
609 --datadir=DIR read-only architecture-independent data [PREFIX/share]
610 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
611 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
612 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
613 --libdir=DIR object code libraries [EPREFIX/lib]
614 --includedir=DIR C header files [PREFIX/include]
615 --oldincludedir=DIR C header files for non-gcc [/usr/include]
616 --infodir=DIR info documentation [PREFIX/info]
617 --guidedir=DIR Amigaguide documentation in DIR [PREFIX/guide]
618 --htmldir=DIR HTML documentation in DIR [PREFIX/html]
619 --psdir=DIR postscript documentation in DIR [PREFIX/ps]
620 --dvidir=DIR TeX dvi documentation in DIR [PREFIX/dvi]
621 --mandir=DIR man documentation [PREFIX/man]
624 cat <<\EOF
628 if test -n "$ac_init_help"; then
629 case $ac_init_help in
630 short | recursive ) echo "Configuration of sfdc 1.3:";;
631 esac
632 cat <<\EOF
634 Report bugs to <martin@blom.org>.
638 if test "$ac_init_help" = "recursive"; then
639 # If there are subdirs, report their specific --help.
640 ac_popdir=`pwd`
641 for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
642 cd $ac_subdir
643 # A "../" for each directory in /$ac_subdir.
644 ac_dots=`echo $ac_subdir |
645 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
647 case $srcdir in
648 .) # No --srcdir option. We are building in place.
649 ac_sub_srcdir=$srcdir ;;
650 [\\/]* | ?:[\\/]* ) # Absolute path.
651 ac_sub_srcdir=$srcdir/$ac_subdir ;;
652 *) # Relative path.
653 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
654 esac
656 # Check for guested configure; otherwise get Cygnus style configure.
657 if test -f $ac_sub_srcdir/configure.gnu; then
658 echo
659 $SHELL $ac_sub_srcdir/configure.gnu --help=recursive
660 elif test -f $ac_sub_srcdir/configure; then
661 echo
662 $SHELL $ac_sub_srcdir/configure --help=recursive
663 elif test -f $ac_sub_srcdir/configure.ac ||
664 test -f $ac_sub_srcdir/configure.in; then
665 echo
666 $ac_configure --help
667 else
668 echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
670 cd $ac_popdir
671 done
674 test -n "$ac_init_help" && exit 0
675 if $ac_init_version; then
676 cat <<\EOF
677 sfdc configure 1.3
678 generated by GNU Autoconf 2.52
680 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
681 Free Software Foundation, Inc.
682 This configure script is free software; the Free Software Foundation
683 gives unlimited permission to copy, distribute and modify it.
685 exit 0
687 exec 5>config.log
688 cat >&5 <<EOF
689 This file contains any messages produced by compilers while
690 running configure, to aid debugging if configure makes a mistake.
692 It was created by sfdc $as_me 1.3, which was
693 generated by GNU Autoconf 2.52. Invocation command line was
695 $ $0 $@
699 cat <<_ASUNAME
700 ## ---------- ##
701 ## Platform. ##
702 ## ---------- ##
704 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
705 uname -m = `(uname -m) 2>/dev/null || echo unknown`
706 uname -r = `(uname -r) 2>/dev/null || echo unknown`
707 uname -s = `(uname -s) 2>/dev/null || echo unknown`
708 uname -v = `(uname -v) 2>/dev/null || echo unknown`
710 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
711 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
713 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
714 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
715 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
716 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
717 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
718 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
719 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
721 PATH = $PATH
723 _ASUNAME
724 } >&5
726 cat >&5 <<EOF
727 ## ------------ ##
728 ## Core tests. ##
729 ## ------------ ##
733 # Keep a trace of the command line.
734 # Strip out --no-create and --no-recursion so they do not pile up.
735 # Also quote any args containing shell meta-characters.
736 ac_configure_args=
737 ac_sep=
738 for ac_arg
740 case $ac_arg in
741 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
742 | --no-cr | --no-c) ;;
743 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
744 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
745 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
746 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
747 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
748 ac_sep=" " ;;
749 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
750 ac_sep=" " ;;
751 esac
752 # Get rid of the leading space.
753 done
755 # When interrupted or exit'd, cleanup temporary files, and complete
756 # config.log. We remove comments because anyway the quotes in there
757 # would cause problems or look ugly.
758 trap 'exit_status=$?
759 # Save into config.log some information that might help in debugging.
760 echo >&5
761 echo "## ----------------- ##" >&5
762 echo "## Cache variables. ##" >&5
763 echo "## ----------------- ##" >&5
764 echo >&5
765 # The following way of writing the cache mishandles newlines in values,
767 (set) 2>&1 |
768 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
769 *ac_space=\ *)
770 sed -n \
771 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
772 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
775 sed -n \
776 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
778 esac;
779 } >&5
780 sed "/^$/d" confdefs.h >conftest.log
781 if test -s conftest.log; then
782 echo >&5
783 echo "## ------------ ##" >&5
784 echo "## confdefs.h. ##" >&5
785 echo "## ------------ ##" >&5
786 echo >&5
787 cat conftest.log >&5
789 (echo; echo) >&5
790 test "$ac_signal" != 0 &&
791 echo "$as_me: caught signal $ac_signal" >&5
792 echo "$as_me: exit $exit_status" >&5
793 rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
794 exit $exit_status
796 for ac_signal in 1 2 13 15; do
797 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
798 done
799 ac_signal=0
801 # confdefs.h avoids OS command line length limits that DEFS can exceed.
802 rm -rf conftest* confdefs.h
803 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
804 echo >confdefs.h
806 # Let the site file select an alternate cache file if it wants to.
807 # Prefer explicitly selected file to automatically selected ones.
808 if test -z "$CONFIG_SITE"; then
809 if test "x$prefix" != xNONE; then
810 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
811 else
812 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
815 for ac_site_file in $CONFIG_SITE; do
816 if test -r "$ac_site_file"; then
817 { echo "$as_me:817: loading site script $ac_site_file" >&5
818 echo "$as_me: loading site script $ac_site_file" >&6;}
819 cat "$ac_site_file" >&5
820 . "$ac_site_file"
822 done
824 if test -r "$cache_file"; then
825 # Some versions of bash will fail to source /dev/null (special
826 # files actually), so we avoid doing that.
827 if test -f "$cache_file"; then
828 { echo "$as_me:828: loading cache $cache_file" >&5
829 echo "$as_me: loading cache $cache_file" >&6;}
830 case $cache_file in
831 [\\/]* | ?:[\\/]* ) . $cache_file;;
832 *) . ./$cache_file;;
833 esac
835 else
836 { echo "$as_me:836: creating cache $cache_file" >&5
837 echo "$as_me: creating cache $cache_file" >&6;}
838 >$cache_file
841 # Check that the precious variables saved in the cache have kept the same
842 # value.
843 ac_cache_corrupted=false
844 for ac_var in `(set) 2>&1 |
845 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
846 eval ac_old_set=\$ac_cv_env_${ac_var}_set
847 eval ac_new_set=\$ac_env_${ac_var}_set
848 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
849 eval ac_new_val="\$ac_env_${ac_var}_value"
850 case $ac_old_set,$ac_new_set in
851 set,)
852 { echo "$as_me:852: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
853 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
854 ac_cache_corrupted=: ;;
855 ,set)
856 { echo "$as_me:856: error: \`$ac_var' was not set in the previous run" >&5
857 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
858 ac_cache_corrupted=: ;;
859 ,);;
861 if test "x$ac_old_val" != "x$ac_new_val"; then
862 { echo "$as_me:862: error: \`$ac_var' has changed since the previous run:" >&5
863 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
864 { echo "$as_me:864: former value: $ac_old_val" >&5
865 echo "$as_me: former value: $ac_old_val" >&2;}
866 { echo "$as_me:866: current value: $ac_new_val" >&5
867 echo "$as_me: current value: $ac_new_val" >&2;}
868 ac_cache_corrupted=:
869 fi;;
870 esac
871 # Pass precious variables to config.status. It doesn't matter if
872 # we pass some twice (in addition to the command line arguments).
873 if test "$ac_new_set" = set; then
874 case $ac_new_val in
875 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
876 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
877 ac_configure_args="$ac_configure_args '$ac_arg'"
879 *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
881 esac
883 done
884 if $ac_cache_corrupted; then
885 { echo "$as_me:885: error: changes in the environment can compromise the build" >&5
886 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
887 { { echo "$as_me:887: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
888 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
889 { (exit 1); exit 1; }; }
892 ac_ext=c
893 ac_cpp='$CPP $CPPFLAGS'
894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
898 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
899 *c*,-n*) ECHO_N= ECHO_C='
900 ' ECHO_T=' ' ;;
901 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
902 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
903 esac
904 echo "#! $SHELL" >conftest.sh
905 echo "exit 0" >>conftest.sh
906 chmod +x conftest.sh
907 if { (echo "$as_me:907: PATH=\".;.\"; conftest.sh") >&5
908 (PATH=".;."; conftest.sh) 2>&5
909 ac_status=$?
910 echo "$as_me:910: \$? = $ac_status" >&5
911 (exit $ac_status); }; then
912 ac_path_separator=';'
913 else
914 ac_path_separator=:
916 PATH_SEPARATOR="$ac_path_separator"
917 rm -f conftest.sh
919 VERSION=1.3
920 DATE=2004-11-12
922 # Checks for programs.
923 for ac_prog in perl
925 # Extract the first word of "$ac_prog", so it can be a program name with args.
926 set dummy $ac_prog; ac_word=$2
927 echo "$as_me:927: checking for $ac_word" >&5
928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
929 if test "${ac_cv_prog_PERL+set}" = set; then
930 echo $ECHO_N "(cached) $ECHO_C" >&6
931 else
932 if test -n "$PERL"; then
933 ac_cv_prog_PERL="$PERL" # Let the user override the test.
934 else
935 ac_save_IFS=$IFS; IFS=$ac_path_separator
936 ac_dummy="$PATH"
937 for ac_dir in $ac_dummy; do
938 IFS=$ac_save_IFS
939 test -z "$ac_dir" && ac_dir=.
940 $as_executable_p "$ac_dir/$ac_word" || continue
941 ac_cv_prog_PERL="$ac_prog"
942 echo "$as_me:942: found $ac_dir/$ac_word" >&5
943 break
944 done
948 PERL=$ac_cv_prog_PERL
949 if test -n "$PERL"; then
950 echo "$as_me:950: result: $PERL" >&5
951 echo "${ECHO_T}$PERL" >&6
952 else
953 echo "$as_me:953: result: no" >&5
954 echo "${ECHO_T}no" >&6
957 test -n "$PERL" && break
958 done
959 test -n "$PERL" || PERL="{ { echo "$as_me:959: error: \"Perl is required\"" >&5
960 echo "$as_me: error: \"Perl is required\"" >&2;}
961 { (exit 1); exit 1; }; } "
963 for ac_prog in pod2text
965 # Extract the first word of "$ac_prog", so it can be a program name with args.
966 set dummy $ac_prog; ac_word=$2
967 echo "$as_me:967: checking for $ac_word" >&5
968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
969 if test "${ac_cv_prog_POD2TEXT+set}" = set; then
970 echo $ECHO_N "(cached) $ECHO_C" >&6
971 else
972 if test -n "$POD2TEXT"; then
973 ac_cv_prog_POD2TEXT="$POD2TEXT" # Let the user override the test.
974 else
975 ac_save_IFS=$IFS; IFS=$ac_path_separator
976 ac_dummy="$PATH"
977 for ac_dir in $ac_dummy; do
978 IFS=$ac_save_IFS
979 test -z "$ac_dir" && ac_dir=.
980 $as_executable_p "$ac_dir/$ac_word" || continue
981 ac_cv_prog_POD2TEXT="$ac_prog"
982 echo "$as_me:982: found $ac_dir/$ac_word" >&5
983 break
984 done
988 POD2TEXT=$ac_cv_prog_POD2TEXT
989 if test -n "$POD2TEXT"; then
990 echo "$as_me:990: result: $POD2TEXT" >&5
991 echo "${ECHO_T}$POD2TEXT" >&6
992 else
993 echo "$as_me:993: result: no" >&5
994 echo "${ECHO_T}no" >&6
997 test -n "$POD2TEXT" && break
998 done
999 test -n "$POD2TEXT" || POD2TEXT="{ { echo "$as_me:999: error: \"pod2text is required\"" >&5
1000 echo "$as_me: error: \"pod2text is required\"" >&2;}
1001 { (exit 1); exit 1; }; } "
1003 for ac_prog in pod2man
1005 # Extract the first word of "$ac_prog", so it can be a program name with args.
1006 set dummy $ac_prog; ac_word=$2
1007 echo "$as_me:1007: checking for $ac_word" >&5
1008 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1009 if test "${ac_cv_prog_POD2MAN+set}" = set; then
1010 echo $ECHO_N "(cached) $ECHO_C" >&6
1011 else
1012 if test -n "$POD2MAN"; then
1013 ac_cv_prog_POD2MAN="$POD2MAN" # Let the user override the test.
1014 else
1015 ac_save_IFS=$IFS; IFS=$ac_path_separator
1016 ac_dummy="$PATH"
1017 for ac_dir in $ac_dummy; do
1018 IFS=$ac_save_IFS
1019 test -z "$ac_dir" && ac_dir=.
1020 $as_executable_p "$ac_dir/$ac_word" || continue
1021 ac_cv_prog_POD2MAN="$ac_prog"
1022 echo "$as_me:1022: found $ac_dir/$ac_word" >&5
1023 break
1024 done
1028 POD2MAN=$ac_cv_prog_POD2MAN
1029 if test -n "$POD2MAN"; then
1030 echo "$as_me:1030: result: $POD2MAN" >&5
1031 echo "${ECHO_T}$POD2MAN" >&6
1032 else
1033 echo "$as_me:1033: result: no" >&5
1034 echo "${ECHO_T}no" >&6
1037 test -n "$POD2MAN" && break
1038 done
1039 test -n "$POD2MAN" || POD2MAN="{ { echo "$as_me:1039: error: \"pod2man is required\"" >&5
1040 echo "$as_me: error: \"pod2man is required\"" >&2;}
1041 { (exit 1); exit 1; }; } "
1043 ac_aux_dir=
1044 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1045 if test -f $ac_dir/install-sh; then
1046 ac_aux_dir=$ac_dir
1047 ac_install_sh="$ac_aux_dir/install-sh -c"
1048 break
1049 elif test -f $ac_dir/install.sh; then
1050 ac_aux_dir=$ac_dir
1051 ac_install_sh="$ac_aux_dir/install.sh -c"
1052 break
1053 elif test -f $ac_dir/shtool; then
1054 ac_aux_dir=$ac_dir
1055 ac_install_sh="$ac_aux_dir/shtool install -c"
1056 break
1058 done
1059 if test -z "$ac_aux_dir"; then
1060 { { echo "$as_me:1060: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1061 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1062 { (exit 1); exit 1; }; }
1064 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1065 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1066 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1068 # Find a good install program. We prefer a C program (faster),
1069 # so one script is as good as another. But avoid the broken or
1070 # incompatible versions:
1071 # SysV /etc/install, /usr/sbin/install
1072 # SunOS /usr/etc/install
1073 # IRIX /sbin/install
1074 # AIX /bin/install
1075 # AmigaOS /C/install, which installs bootblocks on floppy discs
1076 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1077 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1078 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1079 # ./install, which can be erroneously created by make from ./install.sh.
1080 echo "$as_me:1080: checking for a BSD compatible install" >&5
1081 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
1082 if test -z "$INSTALL"; then
1083 if test "${ac_cv_path_install+set}" = set; then
1084 echo $ECHO_N "(cached) $ECHO_C" >&6
1085 else
1086 ac_save_IFS=$IFS; IFS=$ac_path_separator
1087 for ac_dir in $PATH; do
1088 IFS=$ac_save_IFS
1089 # Account for people who put trailing slashes in PATH elements.
1090 case $ac_dir/ in
1091 / | ./ | .// | /cC/* \
1092 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
1093 | /usr/ucb/* ) ;;
1095 # OSF1 and SCO ODT 3.0 have their own names for install.
1096 # Don't use installbsd from OSF since it installs stuff as root
1097 # by default.
1098 for ac_prog in ginstall scoinst install; do
1099 if $as_executable_p "$ac_dir/$ac_prog"; then
1100 if test $ac_prog = install &&
1101 grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
1102 # AIX install. It has an incompatible calling convention.
1104 elif test $ac_prog = install &&
1105 grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
1106 # program-specific install script used by HP pwplus--don't use.
1108 else
1109 ac_cv_path_install="$ac_dir/$ac_prog -c"
1110 break 2
1113 done
1115 esac
1116 done
1119 if test "${ac_cv_path_install+set}" = set; then
1120 INSTALL=$ac_cv_path_install
1121 else
1122 # As a last resort, use the slow shell script. We don't cache a
1123 # path for INSTALL within a source directory, because that will
1124 # break other packages using the cache if that directory is
1125 # removed, or if the path is relative.
1126 INSTALL=$ac_install_sh
1129 echo "$as_me:1129: result: $INSTALL" >&5
1130 echo "${ECHO_T}$INSTALL" >&6
1132 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1133 # It thinks the first close brace ends the variable substitution.
1134 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1136 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1138 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1140 # Checks for libraries.
1142 # Checks for header files.
1144 # Checks for typedefs, structures, and compiler characteristics.
1146 # Checks for library functions.
1148 ac_config_files="$ac_config_files Makefile gg-sfdc.spec sfdc.readme"
1150 cat >confcache <<\_ACEOF
1151 # This file is a shell script that caches the results of configure
1152 # tests run on this system so they can be shared between configure
1153 # scripts and configure runs, see configure's option --config-cache.
1154 # It is not useful on other systems. If it contains results you don't
1155 # want to keep, you may remove or edit it.
1157 # config.status only pays attention to the cache file if you give it
1158 # the --recheck option to rerun configure.
1160 # `ac_cv_env_foo' variables (set or unset) will be overriden when
1161 # loading this file, other *unset* `ac_cv_foo' will be assigned the
1162 # following values.
1164 _ACEOF
1166 # The following way of writing the cache mishandles newlines in values,
1167 # but we know of no workaround that is simple, portable, and efficient.
1168 # So, don't put newlines in cache variables' values.
1169 # Ultrix sh set writes to stderr and can't be redirected directly,
1170 # and sets the high bit in the cache file unless we assign to the vars.
1172 (set) 2>&1 |
1173 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1174 *ac_space=\ *)
1175 # `set' does not quote correctly, so add quotes (double-quote
1176 # substitution turns \\\\ into \\, and sed turns \\ into \).
1177 sed -n \
1178 "s/'/'\\\\''/g;
1179 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1182 # `set' quotes correctly as required by POSIX, so do not add quotes.
1183 sed -n \
1184 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1186 esac;
1188 sed '
1189 t clear
1190 : clear
1191 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1192 t end
1193 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1194 : end' >>confcache
1195 if cmp -s $cache_file confcache; then :; else
1196 if test -w $cache_file; then
1197 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
1198 cat confcache >$cache_file
1199 else
1200 echo "not updating unwritable cache $cache_file"
1203 rm -f confcache
1205 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1206 # Let make expand exec_prefix.
1207 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1209 # VPATH may cause trouble with some makes, so we remove $(srcdir),
1210 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1211 # trailing colons and then remove the whole line if VPATH becomes empty
1212 # (actually we leave an empty line to preserve line numbers).
1213 if test "x$srcdir" = x.; then
1214 ac_vpsub='/^[ ]*VPATH[ ]*=/{
1215 s/:*\$(srcdir):*/:/;
1216 s/:*\${srcdir}:*/:/;
1217 s/:*@srcdir@:*/:/;
1218 s/^\([^=]*=[ ]*\):*/\1/;
1219 s/:*$//;
1220 s/^[^=]*=[ ]*$//;
1224 # Transform confdefs.h into DEFS.
1225 # Protect against shell expansion while executing Makefile rules.
1226 # Protect against Makefile macro expansion.
1228 # If the first sed substitution is executed (which looks for macros that
1229 # take arguments), then we branch to the quote section. Otherwise,
1230 # look for a macro that doesn't take arguments.
1231 cat >confdef2opt.sed <<\EOF
1232 t clear
1233 : clear
1234 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
1235 t quote
1236 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
1237 t quote
1239 : quote
1240 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
1241 s,\[,\\&,g
1242 s,\],\\&,g
1243 s,\$,$$,g
1246 # We use echo to avoid assuming a particular line-breaking character.
1247 # The extra dot is to prevent the shell from consuming trailing
1248 # line-breaks from the sub-command output. A line-break within
1249 # single-quotes doesn't work because, if this script is created in a
1250 # platform that uses two characters for line-breaks (e.g., DOS), tr
1251 # would break.
1252 ac_LF_and_DOT=`echo; echo .`
1253 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
1254 rm -f confdef2opt.sed
1256 : ${CONFIG_STATUS=./config.status}
1257 ac_clean_files_save=$ac_clean_files
1258 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1259 { echo "$as_me:1259: creating $CONFIG_STATUS" >&5
1260 echo "$as_me: creating $CONFIG_STATUS" >&6;}
1261 cat >$CONFIG_STATUS <<_ACEOF
1262 #! $SHELL
1263 # Generated automatically by configure.
1264 # Run this file to recreate the current configuration.
1265 # Compiler output produced by configure, useful for debugging
1266 # configure, is in config.log if it exists.
1268 debug=false
1269 SHELL=\${CONFIG_SHELL-$SHELL}
1270 ac_cs_invocation="\$0 \$@"
1272 _ACEOF
1274 cat >>$CONFIG_STATUS <<\_ACEOF
1275 # Be Bourne compatible
1276 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1277 emulate sh
1278 NULLCMD=:
1279 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1280 set -o posix
1283 # Name of the executable.
1284 as_me=`echo "$0" |sed 's,.*[\\/],,'`
1286 if expr a : '\(a\)' >/dev/null 2>&1; then
1287 as_expr=expr
1288 else
1289 as_expr=false
1292 rm -f conf$$ conf$$.exe conf$$.file
1293 echo >conf$$.file
1294 if ln -s conf$$.file conf$$ 2>/dev/null; then
1295 # We could just check for DJGPP; but this test a) works b) is more generic
1296 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
1297 if test -f conf$$.exe; then
1298 # Don't use ln at all; we don't have any links
1299 as_ln_s='cp -p'
1300 else
1301 as_ln_s='ln -s'
1303 elif ln conf$$.file conf$$ 2>/dev/null; then
1304 as_ln_s=ln
1305 else
1306 as_ln_s='cp -p'
1308 rm -f conf$$ conf$$.exe conf$$.file
1310 as_executable_p="test -f"
1312 # Support unset when possible.
1313 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
1314 as_unset=unset
1315 else
1316 as_unset=false
1319 # NLS nuisances.
1320 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
1321 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
1322 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
1323 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
1324 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
1325 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
1326 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
1327 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
1329 # IFS
1330 # We need space, tab and new line, in precisely that order.
1331 as_nl='
1333 IFS=" $as_nl"
1335 # CDPATH.
1336 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
1338 exec 6>&1
1340 _ACEOF
1342 # Files that config.status was made for.
1343 if test -n "$ac_config_files"; then
1344 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
1347 if test -n "$ac_config_headers"; then
1348 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
1351 if test -n "$ac_config_links"; then
1352 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
1355 if test -n "$ac_config_commands"; then
1356 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
1359 cat >>$CONFIG_STATUS <<\EOF
1361 ac_cs_usage="\
1362 \`$as_me' instantiates files from templates according to the
1363 current configuration.
1365 Usage: $0 [OPTIONS] [FILE]...
1367 -h, --help print this help, then exit
1368 -V, --version print version number, then exit
1369 -d, --debug don't remove temporary files
1370 --recheck update $as_me by reconfiguring in the same conditions
1371 --file=FILE[:TEMPLATE]
1372 instantiate the configuration file FILE
1374 Configuration files:
1375 $config_files
1377 Report bugs to <bug-autoconf@gnu.org>."
1380 cat >>$CONFIG_STATUS <<EOF
1381 ac_cs_version="\\
1382 sfdc config.status 1.3
1383 configured by $0, generated by GNU Autoconf 2.52,
1384 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
1386 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
1387 Free Software Foundation, Inc.
1388 This config.status script is free software; the Free Software Foundation
1389 gives unlimited permission to copy, distribute and modify it."
1390 srcdir=$srcdir
1391 INSTALL="$INSTALL"
1394 cat >>$CONFIG_STATUS <<\EOF
1395 # If no file are specified by the user, then we need to provide default
1396 # value. By we need to know if files were specified by the user.
1397 ac_need_defaults=:
1398 while test $# != 0
1400 case $1 in
1401 --*=*)
1402 ac_option=`expr "x$1" : 'x\([^=]*\)='`
1403 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
1404 shift
1405 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
1406 shift
1408 -*);;
1409 *) # This is not an option, so the user has probably given explicit
1410 # arguments.
1411 ac_need_defaults=false;;
1412 esac
1414 case $1 in
1415 # Handling of the options.
1417 cat >>$CONFIG_STATUS <<EOF
1418 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1419 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
1420 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
1422 cat >>$CONFIG_STATUS <<\EOF
1423 --version | --vers* | -V )
1424 echo "$ac_cs_version"; exit 0 ;;
1425 --he | --h)
1426 # Conflict between --help and --header
1427 { { echo "$as_me:1427: error: ambiguous option: $1
1428 Try \`$0 --help' for more information." >&5
1429 echo "$as_me: error: ambiguous option: $1
1430 Try \`$0 --help' for more information." >&2;}
1431 { (exit 1); exit 1; }; };;
1432 --help | --hel | -h )
1433 echo "$ac_cs_usage"; exit 0 ;;
1434 --debug | --d* | -d )
1435 debug=: ;;
1436 --file | --fil | --fi | --f )
1437 shift
1438 CONFIG_FILES="$CONFIG_FILES $1"
1439 ac_need_defaults=false;;
1440 --header | --heade | --head | --hea )
1441 shift
1442 CONFIG_HEADERS="$CONFIG_HEADERS $1"
1443 ac_need_defaults=false;;
1445 # This is an error.
1446 -*) { { echo "$as_me:1446: error: unrecognized option: $1
1447 Try \`$0 --help' for more information." >&5
1448 echo "$as_me: error: unrecognized option: $1
1449 Try \`$0 --help' for more information." >&2;}
1450 { (exit 1); exit 1; }; } ;;
1452 *) ac_config_targets="$ac_config_targets $1" ;;
1454 esac
1455 shift
1456 done
1458 exec 5>>config.log
1459 cat >&5 << _ACEOF
1461 ## ----------------------- ##
1462 ## Running config.status. ##
1463 ## ----------------------- ##
1465 This file was extended by $as_me (sfdc 1.3) 2.52, executed with
1466 CONFIG_FILES = $CONFIG_FILES
1467 CONFIG_HEADERS = $CONFIG_HEADERS
1468 CONFIG_LINKS = $CONFIG_LINKS
1469 CONFIG_COMMANDS = $CONFIG_COMMANDS
1470 > $ac_cs_invocation
1471 on `(hostname || uname -n) 2>/dev/null | sed 1q`
1473 _ACEOF
1476 cat >>$CONFIG_STATUS <<\EOF
1477 for ac_config_target in $ac_config_targets
1479 case "$ac_config_target" in
1480 # Handling of arguments.
1481 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
1482 "gg-sfdc.spec" ) CONFIG_FILES="$CONFIG_FILES gg-sfdc.spec" ;;
1483 "sfdc.readme" ) CONFIG_FILES="$CONFIG_FILES sfdc.readme" ;;
1484 *) { { echo "$as_me:1484: error: invalid argument: $ac_config_target" >&5
1485 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
1486 { (exit 1); exit 1; }; };;
1487 esac
1488 done
1490 # If the user did not use the arguments to specify the items to instantiate,
1491 # then the envvar interface is used. Set only those that are not.
1492 # We use the long form for the default assignment because of an extremely
1493 # bizarre bug on SunOS 4.1.3.
1494 if $ac_need_defaults; then
1495 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
1498 # Create a temporary directory, and hook for its removal unless debugging.
1499 $debug ||
1501 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
1502 trap '{ (exit 1); exit 1; }' 1 2 13 15
1505 # Create a (secure) tmp directory for tmp files.
1506 : ${TMPDIR=/tmp}
1508 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
1509 test -n "$tmp" && test -d "$tmp"
1510 } ||
1512 tmp=$TMPDIR/cs$$-$RANDOM
1513 (umask 077 && mkdir $tmp)
1514 } ||
1516 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
1517 { (exit 1); exit 1; }
1522 cat >>$CONFIG_STATUS <<EOF
1525 # CONFIG_FILES section.
1528 # No need to generate the scripts if there are no CONFIG_FILES.
1529 # This happens for instance when ./config.status config.h
1530 if test -n "\$CONFIG_FILES"; then
1531 # Protect against being on the right side of a sed subst in config.status.
1532 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
1533 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
1534 s,@SHELL@,$SHELL,;t t
1535 s,@exec_prefix@,$exec_prefix,;t t
1536 s,@prefix@,$prefix,;t t
1537 s,@program_transform_name@,$program_transform_name,;t t
1538 s,@bindir@,$bindir,;t t
1539 s,@sbindir@,$sbindir,;t t
1540 s,@libexecdir@,$libexecdir,;t t
1541 s,@datadir@,$datadir,;t t
1542 s,@sysconfdir@,$sysconfdir,;t t
1543 s,@sharedstatedir@,$sharedstatedir,;t t
1544 s,@localstatedir@,$localstatedir,;t t
1545 s,@libdir@,$libdir,;t t
1546 s,@includedir@,$includedir,;t t
1547 s,@oldincludedir@,$oldincludedir,;t t
1548 s,@infodir@,$infodir,;t t
1549 s,@guidedir@,$guidedir,;t t
1550 s,@htmldir@,$htmldir,;t t
1551 s,@psdir@,$psdir,;t t
1552 s,@dvidir@,$dvidir,;t t
1553 s,@mandir@,$mandir,;t t
1554 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
1555 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
1556 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
1557 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
1558 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
1559 s,@build_alias@,$build_alias,;t t
1560 s,@host_alias@,$host_alias,;t t
1561 s,@target_alias@,$target_alias,;t t
1562 s,@ECHO_C@,$ECHO_C,;t t
1563 s,@ECHO_N@,$ECHO_N,;t t
1564 s,@ECHO_T@,$ECHO_T,;t t
1565 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
1566 s,@DEFS@,$DEFS,;t t
1567 s,@LIBS@,$LIBS,;t t
1568 s,@VERSION@,$VERSION,;t t
1569 s,@DATE@,$DATE,;t t
1570 s,@PERL@,$PERL,;t t
1571 s,@POD2TEXT@,$POD2TEXT,;t t
1572 s,@POD2MAN@,$POD2MAN,;t t
1573 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
1574 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
1575 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
1576 CEOF
1580 cat >>$CONFIG_STATUS <<\EOF
1581 # Split the substitutions into bite-sized pieces for seds with
1582 # small command number limits, like on Digital OSF/1 and HP-UX.
1583 ac_max_sed_lines=48
1584 ac_sed_frag=1 # Number of current file.
1585 ac_beg=1 # First line for current file.
1586 ac_end=$ac_max_sed_lines # Line after last line for current file.
1587 ac_more_lines=:
1588 ac_sed_cmds=
1589 while $ac_more_lines; do
1590 if test $ac_beg -gt 1; then
1591 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
1592 else
1593 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
1595 if test ! -s $tmp/subs.frag; then
1596 ac_more_lines=false
1597 else
1598 # The purpose of the label and of the branching condition is to
1599 # speed up the sed processing (if there are no `@' at all, there
1600 # is no need to browse any of the substitutions).
1601 # These are the two extra sed commands mentioned above.
1602 (echo ':t
1603 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
1604 if test -z "$ac_sed_cmds"; then
1605 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
1606 else
1607 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
1609 ac_sed_frag=`expr $ac_sed_frag + 1`
1610 ac_beg=$ac_end
1611 ac_end=`expr $ac_end + $ac_max_sed_lines`
1613 done
1614 if test -z "$ac_sed_cmds"; then
1615 ac_sed_cmds=cat
1617 fi # test -n "$CONFIG_FILES"
1620 cat >>$CONFIG_STATUS <<\EOF
1621 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
1622 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1623 case $ac_file in
1624 - | *:- | *:-:* ) # input from stdin
1625 cat >$tmp/stdin
1626 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
1627 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1628 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
1629 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1630 * ) ac_file_in=$ac_file.in ;;
1631 esac
1633 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
1634 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1635 X"$ac_file" : 'X\(//\)[^/]' \| \
1636 X"$ac_file" : 'X\(//\)$' \| \
1637 X"$ac_file" : 'X\(/\)' \| \
1638 . : '\(.\)' 2>/dev/null ||
1639 echo X"$ac_file" |
1640 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1641 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1642 /^X\(\/\/\)$/{ s//\1/; q; }
1643 /^X\(\/\).*/{ s//\1/; q; }
1644 s/.*/./; q'`
1645 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1646 { case "$ac_dir" in
1647 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
1648 *) as_incr_dir=.;;
1649 esac
1650 as_dummy="$ac_dir"
1651 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
1652 case $as_mkdir_dir in
1653 # Skip DOS drivespec
1654 ?:) as_incr_dir=$as_mkdir_dir ;;
1656 as_incr_dir=$as_incr_dir/$as_mkdir_dir
1657 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
1659 esac
1660 done; }
1662 ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
1663 # A "../" for each directory in $ac_dir_suffix.
1664 ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
1665 else
1666 ac_dir_suffix= ac_dots=
1669 case $srcdir in
1670 .) ac_srcdir=.
1671 if test -z "$ac_dots"; then
1672 ac_top_srcdir=.
1673 else
1674 ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
1675 fi ;;
1676 [\\/]* | ?:[\\/]* )
1677 ac_srcdir=$srcdir$ac_dir_suffix;
1678 ac_top_srcdir=$srcdir ;;
1679 *) # Relative path.
1680 ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
1681 ac_top_srcdir=$ac_dots$srcdir ;;
1682 esac
1684 case $INSTALL in
1685 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
1686 *) ac_INSTALL=$ac_dots$INSTALL ;;
1687 esac
1689 if test x"$ac_file" != x-; then
1690 { echo "$as_me:1690: creating $ac_file" >&5
1691 echo "$as_me: creating $ac_file" >&6;}
1692 rm -f "$ac_file"
1694 # Let's still pretend it is `configure' which instantiates (i.e., don't
1695 # use $as_me), people would be surprised to read:
1696 # /* config.h. Generated automatically by config.status. */
1697 configure_input="Generated automatically from `echo $ac_file_in |
1698 sed 's,.*/,,'` by configure."
1700 # First look for the input files in the build tree, otherwise in the
1701 # src tree.
1702 ac_file_inputs=`IFS=:
1703 for f in $ac_file_in; do
1704 case $f in
1705 -) echo $tmp/stdin ;;
1706 [\\/$]*)
1707 # Absolute (can't be DOS-style, as IFS=:)
1708 test -f "$f" || { { echo "$as_me:1708: error: cannot find input file: $f" >&5
1709 echo "$as_me: error: cannot find input file: $f" >&2;}
1710 { (exit 1); exit 1; }; }
1711 echo $f;;
1712 *) # Relative
1713 if test -f "$f"; then
1714 # Build tree
1715 echo $f
1716 elif test -f "$srcdir/$f"; then
1717 # Source tree
1718 echo $srcdir/$f
1719 else
1720 # /dev/null tree
1721 { { echo "$as_me:1721: error: cannot find input file: $f" >&5
1722 echo "$as_me: error: cannot find input file: $f" >&2;}
1723 { (exit 1); exit 1; }; }
1724 fi;;
1725 esac
1726 done` || { (exit 1); exit 1; }
1728 cat >>$CONFIG_STATUS <<EOF
1729 sed "$ac_vpsub
1730 $extrasub
1732 cat >>$CONFIG_STATUS <<\EOF
1734 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1735 s,@configure_input@,$configure_input,;t t
1736 s,@srcdir@,$ac_srcdir,;t t
1737 s,@top_srcdir@,$ac_top_srcdir,;t t
1738 s,@INSTALL@,$ac_INSTALL,;t t
1739 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
1740 rm -f $tmp/stdin
1741 if test x"$ac_file" != x-; then
1742 mv $tmp/out $ac_file
1743 else
1744 cat $tmp/out
1745 rm -f $tmp/out
1748 done
1751 cat >>$CONFIG_STATUS <<\EOF
1753 { (exit 0); exit 0; }
1755 chmod +x $CONFIG_STATUS
1756 ac_clean_files=$ac_clean_files_save
1758 # configure is writing to config.log, and then calls config.status.
1759 # config.status does its own redirection, appending to config.log.
1760 # Unfortunately, on DOS this fails, as config.log is still kept open
1761 # by configure, so config.status won't be able to write to it; its
1762 # output is simply discarded. So we exec the FD to /dev/null,
1763 # effectively closing config.log, so it can be properly (re)opened and
1764 # appended to by config.status. When coming back to configure, we
1765 # need to make the FD available again.
1766 if test "$no_create" != yes; then
1767 ac_cs_success=:
1768 exec 5>/dev/null
1769 $SHELL $CONFIG_STATUS || ac_cs_success=false
1770 exec 5>>config.log
1771 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
1772 # would make configure fail if this is the last instruction.
1773 $ac_cs_success || { (exit 1); exit 1; }