2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by Autoconf 2.52 for helloworld demo-version.
5 # Report bugs to <philip.wilsey@ieee.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
29 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
33 # Name of the executable.
34 as_me
=`echo "$0" |sed 's,.*[\\/],,'`
36 if expr a
: '\(a\)' >/dev
/null
2>&1; then
42 rm -f conf$$ conf$$.exe 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
53 elif ln conf$$.
file conf$$
2>/dev
/null
; then
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
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
; }
80 # We need space, tab and new line, in precisely that order.
86 $as_unset CDPATH ||
test "${CDPATH+set}" != set ||
{ CDPATH
=:; export CDPATH
; }
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`
98 ac_default_prefix
=/usr
/local
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.
111 ac_init_version
=false
112 # The variables have the same names as the options, with
113 # dashes changed to underlines.
121 program_transform_name
=s
,x
,x
,
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 mandir
='${prefix}/man'
147 # Identity of this package.
148 PACKAGE_NAME
='helloworld'
149 PACKAGE_TARNAME
='helloworld'
150 PACKAGE_VERSION
='demo-version'
151 PACKAGE_STRING
='helloworld demo-version'
152 PACKAGE_BUGREPORT
='philip.wilsey@ieee.org'
157 # If the previous option needs an argument, assign it.
158 if test -n "$ac_prev"; then
159 eval "$ac_prev=\$ac_option"
164 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
166 # Accept the important Cygnus configure options, so we can diagnose typos.
170 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
172 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
175 -build |
--build |
--buil |
--bui |
--bu)
176 ac_prev
=build_alias
;;
177 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
178 build_alias
=$ac_optarg ;;
180 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
181 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
182 ac_prev
=cache_file
;;
183 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
184 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
185 cache_file
=$ac_optarg ;;
188 cache_file
=config.cache
;;
190 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
192 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
194 datadir
=$ac_optarg ;;
196 -disable-* |
--disable-*)
197 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
198 # Reject names that are not valid shell variable names.
199 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
200 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
201 { (exit 1); exit 1; }; }
202 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
203 eval "enable_$ac_feature=no" ;;
205 -enable-* |
--enable-*)
206 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
207 # Reject names that are not valid shell variable names.
208 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
209 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
210 { (exit 1); exit 1; }; }
211 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
213 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
216 eval "enable_$ac_feature='$ac_optarg'" ;;
218 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
219 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
220 |
--exec |
--exe |
--ex)
221 ac_prev
=exec_prefix
;;
222 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
223 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
224 |
--exec=* |
--exe=* |
--ex=*)
225 exec_prefix
=$ac_optarg ;;
227 -gas |
--gas |
--ga |
--g)
228 # Obsolete; use --with-gas.
231 -help |
--help |
--hel |
--he |
-h)
233 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
234 ac_init_help
=recursive
;;
235 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
236 ac_init_help
=short
;;
238 -host |
--host |
--hos |
--ho)
239 ac_prev
=host_alias
;;
240 -host=* |
--host=* |
--hos=* |
--ho=*)
241 host_alias
=$ac_optarg ;;
243 -includedir |
--includedir |
--includedi |
--included |
--include \
244 |
--includ |
--inclu |
--incl |
--inc)
245 ac_prev
=includedir
;;
246 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
247 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
248 includedir
=$ac_optarg ;;
250 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
252 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
253 infodir
=$ac_optarg ;;
255 -libdir |
--libdir |
--libdi |
--libd)
257 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
260 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
261 |
--libexe |
--libex |
--libe)
262 ac_prev
=libexecdir
;;
263 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
264 |
--libexe=* |
--libex=* |
--libe=*)
265 libexecdir
=$ac_optarg ;;
267 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
268 |
--localstate |
--localstat |
--localsta |
--localst \
269 |
--locals |
--local |
--loca |
--loc |
--lo)
270 ac_prev
=localstatedir
;;
271 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
272 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
273 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
274 localstatedir
=$ac_optarg ;;
276 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
278 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
282 # Obsolete; use --without-fp.
285 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
289 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
290 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
293 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
294 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
295 |
--oldin |
--oldi |
--old |
--ol |
--o)
296 ac_prev
=oldincludedir
;;
297 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
298 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
299 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
300 oldincludedir
=$ac_optarg ;;
302 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
304 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
307 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
308 |
--program-pre |
--program-pr |
--program-p)
309 ac_prev
=program_prefix
;;
310 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
311 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
312 program_prefix
=$ac_optarg ;;
314 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
315 |
--program-suf |
--program-su |
--program-s)
316 ac_prev
=program_suffix
;;
317 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
318 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
319 program_suffix
=$ac_optarg ;;
321 -program-transform-name |
--program-transform-name \
322 |
--program-transform-nam |
--program-transform-na \
323 |
--program-transform-n |
--program-transform- \
324 |
--program-transform |
--program-transfor \
325 |
--program-transfo |
--program-transf \
326 |
--program-trans |
--program-tran \
327 |
--progr-tra |
--program-tr |
--program-t)
328 ac_prev
=program_transform_name
;;
329 -program-transform-name=* |
--program-transform-name=* \
330 |
--program-transform-nam=* |
--program-transform-na=* \
331 |
--program-transform-n=* |
--program-transform-=* \
332 |
--program-transform=* |
--program-transfor=* \
333 |
--program-transfo=* |
--program-transf=* \
334 |
--program-trans=* |
--program-tran=* \
335 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
336 program_transform_name
=$ac_optarg ;;
338 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
339 |
-silent |
--silent |
--silen |
--sile |
--sil)
342 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
344 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
346 sbindir
=$ac_optarg ;;
348 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
349 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
350 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
352 ac_prev
=sharedstatedir
;;
353 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
354 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
355 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
357 sharedstatedir
=$ac_optarg ;;
359 -site |
--site |
--sit)
361 -site=* |
--site=* |
--sit=*)
364 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
366 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
369 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
370 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
371 ac_prev
=sysconfdir
;;
372 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
373 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
374 sysconfdir
=$ac_optarg ;;
376 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
377 ac_prev
=target_alias
;;
378 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
379 target_alias
=$ac_optarg ;;
381 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
384 -version |
--version |
--versio |
--versi |
--vers |
-V)
388 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
389 # Reject names that are not valid shell variable names.
390 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
391 { echo "$as_me: error: invalid package name: $ac_package" >&2
392 { (exit 1); exit 1; }; }
393 ac_package
=`echo $ac_package| sed 's/-/_/g'`
395 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
398 eval "with_$ac_package='$ac_optarg'" ;;
400 -without-* |
--without-*)
401 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
402 # Reject names that are not valid shell variable names.
403 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
404 { echo "$as_me: error: invalid package name: $ac_package" >&2
405 { (exit 1); exit 1; }; }
406 ac_package
=`echo $ac_package | sed 's/-/_/g'`
407 eval "with_$ac_package=no" ;;
410 # Obsolete; use --with-x.
413 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
414 |
--x-incl |
--x-inc |
--x-in |
--x-i)
415 ac_prev
=x_includes
;;
416 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
417 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
418 x_includes
=$ac_optarg ;;
420 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
421 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
422 ac_prev
=x_libraries
;;
423 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
424 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
425 x_libraries
=$ac_optarg ;;
427 -*) { echo "$as_me: error: unrecognized option: $ac_option
428 Try \`$0 --help' for more information." >&2
429 { (exit 1); exit 1; }; }
433 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
434 # Reject names that are not valid shell variable names.
435 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
436 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
437 { (exit 1); exit 1; }; }
438 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
439 eval "$ac_envvar='$ac_optarg'"
443 # FIXME: should be removed in autoconf 3.0.
444 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
445 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
446 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
447 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
453 if test -n "$ac_prev"; then
454 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
455 { echo "$as_me: error: missing argument to $ac_option" >&2
456 { (exit 1); exit 1; }; }
459 # Be sure to have absolute paths.
460 for ac_var
in exec_prefix prefix
462 eval ac_val
=$
`echo $ac_var`
464 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
465 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
466 { (exit 1); exit 1; }; };;
470 # Be sure to have absolute paths.
471 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
472 localstatedir libdir includedir oldincludedir infodir mandir
474 eval ac_val
=$
`echo $ac_var`
476 [\\/$
]* | ?
:[\\/]* ) ;;
477 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
478 { (exit 1); exit 1; }; };;
482 # There might be people who depend on the old broken behavior: `$host'
483 # used to hold the argument of --host etc.
488 # FIXME: should be removed in autoconf 3.0.
489 if test "x$host_alias" != x
; then
490 if test "x$build_alias" = x
; then
491 cross_compiling
=maybe
492 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
493 If a cross compiler is detected then cross compile mode will be used." >&2
494 elif test "x$build_alias" != "x$host_alias"; then
500 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
502 test "$silent" = yes && exec 6>/dev
/null
504 # Find the source files, if location was not specified.
505 if test -z "$srcdir"; then
506 ac_srcdir_defaulted
=yes
507 # Try the directory containing this script, then its parent.
509 ac_confdir
=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
510 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
512 if test ! -r $srcdir/$ac_unique_file; then
516 ac_srcdir_defaulted
=no
518 if test ! -r $srcdir/$ac_unique_file; then
519 if test "$ac_srcdir_defaulted" = yes; then
520 { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
521 { (exit 1); exit 1; }; }
523 { echo "$as_me: error: cannot find sources in $srcdir" >&2
524 { (exit 1); exit 1; }; }
527 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
528 ac_env_build_alias_set
=${build_alias+set}
529 ac_env_build_alias_value
=$build_alias
530 ac_cv_env_build_alias_set
=${build_alias+set}
531 ac_cv_env_build_alias_value
=$build_alias
532 ac_env_host_alias_set
=${host_alias+set}
533 ac_env_host_alias_value
=$host_alias
534 ac_cv_env_host_alias_set
=${host_alias+set}
535 ac_cv_env_host_alias_value
=$host_alias
536 ac_env_target_alias_set
=${target_alias+set}
537 ac_env_target_alias_value
=$target_alias
538 ac_cv_env_target_alias_set
=${target_alias+set}
539 ac_cv_env_target_alias_value
=$target_alias
540 ac_env_CC_set
=${CC+set}
542 ac_cv_env_CC_set
=${CC+set}
543 ac_cv_env_CC_value
=$CC
544 ac_env_CFLAGS_set
=${CFLAGS+set}
545 ac_env_CFLAGS_value
=$CFLAGS
546 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
547 ac_cv_env_CFLAGS_value
=$CFLAGS
548 ac_env_LDFLAGS_set
=${LDFLAGS+set}
549 ac_env_LDFLAGS_value
=$LDFLAGS
550 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
551 ac_cv_env_LDFLAGS_value
=$LDFLAGS
552 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
553 ac_env_CPPFLAGS_value
=$CPPFLAGS
554 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
555 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
558 # Report the --help message.
560 if test "$ac_init_help" = "long"; then
561 # Omit some internal or obsolete options to make the list less imposing.
562 # This message is too long to be a string in the A/UX 3.1 sh.
564 \`configure' configures helloworld demo-version to adapt to many kinds of systems.
566 Usage: $0 [OPTION]... [VAR=VALUE]...
568 To assign environment variables (e.g., CC, CFLAGS...), specify them as
569 VAR=VALUE. See below for descriptions of some of the useful variables.
571 Defaults for the options are specified in brackets.
574 -h, --help display this help and exit
575 --help=short display options specific to this package
576 --help=recursive display the short help of all the included packages
577 -V, --version display version information and exit
578 -q, --quiet, --silent do not print \`checking...' messages
579 --cache-file=FILE cache test results in FILE [disabled]
580 -C, --config-cache alias for \`--cache-file=config.cache'
581 -n, --no-create do not create output files
582 --srcdir=DIR find the sources in DIR [configure dir or \`..']
587 Installation directories:
588 --prefix=PREFIX install architecture-independent files in PREFIX
590 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
593 By default, \`make install' will install all the files in
594 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
595 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
596 for instance \`--prefix=\$HOME'.
598 For better control, use the options below.
600 Fine tuning of the installation directories:
601 --bindir=DIR user executables [EPREFIX/bin]
602 --sbindir=DIR system admin executables [EPREFIX/sbin]
603 --libexecdir=DIR program executables [EPREFIX/libexec]
604 --datadir=DIR read-only architecture-independent data [PREFIX/share]
605 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
606 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
607 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
608 --libdir=DIR object code libraries [EPREFIX/lib]
609 --includedir=DIR C header files [PREFIX/include]
610 --oldincludedir=DIR C header files for non-gcc [/usr/include]
611 --infodir=DIR info documentation [PREFIX/info]
612 --mandir=DIR man documentation [PREFIX/man]
618 --program-prefix=PREFIX prepend PREFIX to installed program names
619 --program-suffix=SUFFIX append SUFFIX to installed program names
620 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
624 if test -n "$ac_init_help"; then
625 case $ac_init_help in
626 short | recursive
) echo "Configuration of helloworld demo-version:";;
631 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
632 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
633 --disable-dependency-tracking Speeds up one-time builds
634 --enable-dependency-tracking Do not reject slow dependency extractors
636 Some influential environment variables
:
637 CC C compiler
command
638 CFLAGS C compiler flags
639 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
640 nonstandard directory
<lib dir
>
641 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
642 headers
in a nonstandard directory
<include dir
>
644 Use these variables to override the choices made by
`configure' or to help
645 it to find libraries and programs with nonstandard names/locations.
647 Report bugs to <philip.wilsey@ieee.org>.
651 if test "$ac_init_help" = "recursive"; then
652 # If there are subdirs, report their specific --help.
654 for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
656 # A "../" for each directory in /$ac_subdir.
657 ac_dots=`echo $ac_subdir |
658 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
661 .) # No --srcdir option. We are building in place.
662 ac_sub_srcdir=$srcdir ;;
663 [\\/]* | ?:[\\/]* ) # Absolute path.
664 ac_sub_srcdir=$srcdir/$ac_subdir ;;
666 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
669 # Check for guested configure; otherwise get Cygnus style configure.
670 if test -f $ac_sub_srcdir/configure.gnu; then
672 $SHELL $ac_sub_srcdir/configure.gnu --help=recursive
673 elif test -f $ac_sub_srcdir/configure; then
675 $SHELL $ac_sub_srcdir/configure --help=recursive
676 elif test -f $ac_sub_srcdir/configure.ac ||
677 test -f $ac_sub_srcdir/configure.in; then
681 echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
687 test -n "$ac_init_help" && exit 0
688 if $ac_init_version; then
690 helloworld configure demo-version
691 generated by GNU Autoconf 2.52
693 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
694 Free Software Foundation, Inc.
695 This configure script is free software; the Free Software Foundation
696 gives unlimited permission to copy, distribute and modify it.
702 This file contains any messages produced by compilers while
703 running configure, to aid debugging if configure makes a mistake.
705 It was created by helloworld $as_me demo-version, which was
706 generated by GNU Autoconf 2.52. Invocation command line was
717 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
718 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
719 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
720 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
721 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
723 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
724 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
726 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
727 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
728 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
729 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
730 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
731 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
732 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
746 # Keep a trace of the command line.
747 # Strip out --no-create and --no-recursion so they do not pile up.
748 # Also quote any args containing shell meta-characters.
754 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
755 | --no-cr | --no-c) ;;
756 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
757 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
758 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
759 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"`
760 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
762 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
765 # Get rid of the leading space.
768 # When interrupted or exit'd, cleanup temporary files, and complete
769 # config.log. We remove comments because anyway the quotes in there
770 # would cause problems or look ugly.
772 # Save into config.log some information that might help in debugging.
774 echo "## ----------------- ##" >&5
775 echo "## Cache variables. ##" >&5
776 echo "## ----------------- ##" >&5
778 # The following way of writing the cache mishandles newlines in values,
781 case `(ac_space
='"'"' '"'"'; set |
grep ac_space
) 2>&1` in
784 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
785 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
789 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
793 sed "/^$/d" confdefs.h >conftest.log
794 if test -s conftest.log; then
796 echo "## ------------ ##" >&5
797 echo "## confdefs.h. ##" >&5
798 echo "## ------------ ##" >&5
803 test "$ac_signal" != 0 &&
804 echo "$as_me: caught signal $ac_signal" >&5
805 echo "$as_me: exit $exit_status" >&5
806 rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
809 for ac_signal in 1 2 13 15; do
810 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
814 # confdefs.h avoids OS command line length limits that DEFS can exceed.
815 rm -rf conftest* confdefs.h
816 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
819 # Let the site file select an alternate cache file if it wants to.
820 # Prefer explicitly selected file to automatically selected ones.
821 if test -z "$CONFIG_SITE"; then
822 if test "x$prefix" != xNONE; then
823 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
825 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
828 for ac_site_file in $CONFIG_SITE; do
829 if test -r "$ac_site_file"; then
830 { echo "$as_me:830: loading site script $ac_site_file" >&5
831 echo "$as_me: loading site script $ac_site_file" >&6;}
832 cat "$ac_site_file" >&5
837 if test -r "$cache_file"; then
838 # Some versions of bash will fail to source /dev/null (special
839 # files actually), so we avoid doing that.
840 if test -f "$cache_file"; then
841 { echo "$as_me:841: loading cache $cache_file" >&5
842 echo "$as_me: loading cache $cache_file" >&6;}
844 [\\/]* | ?:[\\/]* ) . $cache_file;;
849 { echo "$as_me:849: creating cache $cache_file" >&5
850 echo "$as_me: creating cache $cache_file" >&6;}
854 # Check that the precious variables saved in the cache have kept the same
856 ac_cache_corrupted=false
857 for ac_var in `(set) 2>&1 |
858 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
859 eval ac_old_set=\$ac_cv_env_${ac_var}_set
860 eval ac_new_set=\$ac_env_${ac_var}_set
861 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
862 eval ac_new_val="\$ac_env_${ac_var}_value"
863 case $ac_old_set,$ac_new_set in
865 { echo "$as_me:865: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
866 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
867 ac_cache_corrupted=: ;;
869 { echo "$as_me:869: error: \`$ac_var' was not
set in the previous run
" >&5
870 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
871 ac_cache_corrupted=: ;;
874 if test "x$ac_old_val" != "x$ac_new_val"; then
875 { echo "$as_me:875: error: \`$ac_var' has changed since the previous run:" >&5
876 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
877 { echo "$as_me:877: former value
: $ac_old_val" >&5
878 echo "$as_me: former value
: $ac_old_val" >&2;}
879 { echo "$as_me:879: current value
: $ac_new_val" >&5
880 echo "$as_me: current value
: $ac_new_val" >&2;}
884 # Pass precious variables to config.status. It doesn't matter if
885 # we pass some twice (in addition to the command line arguments).
886 if test "$ac_new_set" = set; then
888 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
889 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"`
890 ac_configure_args="$ac_configure_args '$ac_arg'"
892 *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
897 if $ac_cache_corrupted; then
898 { echo "$as_me:898: error
: changes
in the environment can compromise the build
" >&5
899 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
900 { { echo "$as_me:900: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
901 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
902 { (exit 1); exit 1; }; }
906 ac_cpp='$CPP $CPPFLAGS'
907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
911 case `echo "testing\c"; echo 1,2,3`,`echo -n testing
; echo 1,2,3` in
912 *c*,-n*) ECHO_N= ECHO_C='
914 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
915 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
917 echo "#! $SHELL" >conftest.sh
918 echo "exit 0" >>conftest.sh
920 if { (echo "$as_me:920: PATH=\".;.\"; conftest.sh") >&5
921 (PATH=".;."; conftest.sh) 2>&5
923 echo "$as_me:923: \$? = $ac_status" >&5
924 (exit $ac_status); }; then
925 ac_path_separator=';'
929 PATH_SEPARATOR="$ac_path_separator"
933 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
934 if test -f $ac_dir/install-sh; then
936 ac_install_sh="$ac_aux_dir/install-sh -c"
938 elif test -f $ac_dir/install.sh; then
940 ac_install_sh="$ac_aux_dir/install.sh -c"
942 elif test -f $ac_dir/shtool; then
944 ac_install_sh="$ac_aux_dir/shtool install -c"
948 if test -z "$ac_aux_dir"; then
949 { { echo "$as_me:949: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
950 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
951 { (exit 1); exit 1; }; }
953 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
954 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
955 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
957 # Find a good install program. We prefer a C program (faster),
958 # so one script is as good as another. But avoid the broken or
959 # incompatible versions:
960 # SysV /etc/install, /usr/sbin/install
961 # SunOS /usr/etc/install
964 # AmigaOS /C/install, which installs bootblocks on floppy discs
965 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
966 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
967 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
968 # ./install, which can be erroneously created by make from ./install.sh.
969 echo "$as_me:969: checking for a BSD compatible install" >&5
970 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
971 if test -z "$INSTALL"; then
972 if test "${ac_cv_path_install+set}" = set; then
973 echo $ECHO_N "(cached) $ECHO_C" >&6
975 ac_save_IFS=$IFS; IFS=$ac_path_separator
976 for ac_dir in $PATH; do
978 # Account for people who put trailing slashes in PATH elements.
980 / | ./ | .// | /cC/* \
981 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
984 # OSF1 and SCO ODT 3.0 have their own names for install.
985 # Don't use installbsd from OSF since it installs stuff as root
987 for ac_prog in ginstall scoinst install; do
988 if $as_executable_p "$ac_dir/$ac_prog"; then
989 if test $ac_prog = install &&
990 grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
991 # AIX install. It has an incompatible calling convention.
993 elif test $ac_prog = install &&
994 grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
995 # program-specific install script used by HP pwplus--don't use.
998 ac_cv_path_install="$ac_dir/$ac_prog -c"
1008 if test "${ac_cv_path_install+set}" = set; then
1009 INSTALL=$ac_cv_path_install
1011 # As a last resort, use the slow shell script. We don't cache a
1012 # path for INSTALL within a source directory, because that will
1013 # break other packages using the cache if that directory is
1014 # removed, or if the path is relative.
1015 INSTALL=$ac_install_sh
1018 echo "$as_me:1018: result: $INSTALL" >&5
1019 echo "${ECHO_T}$INSTALL" >&6
1021 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1022 # It thinks the first close brace ends the variable substitution.
1023 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1025 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1027 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1029 echo "$as_me:1029: checking whether build environment is sane" >&5
1030 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1033 echo timestamp > conftest.file
1034 # Do `set' in a subshell so we don't clobber the current shell
's
1035 # arguments. Must try -L first in case configure is actually a
1036 # symlink; some systems play weird games with the mod time of symlinks
1037 # (eg FreeBSD returns the mod time of the symlink's containing
1040 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1041 if test "$*" = "X"; then
1043 set X
`ls -t $srcdir/configure conftest.file`
1046 if test "$*" != "X $srcdir/configure conftest.file" \
1047 && test "$*" != "X conftest.file $srcdir/configure"; then
1049 # If neither matched, then we have a broken ls. This can happen
1050 # if, for instance, CONFIG_SHELL is bash and it inherits a
1051 # broken ls alias from the environment. This has actually
1052 # happened. Such a system could not be considered "sane".
1053 { { echo "$as_me:1053: error: ls -t appears to fail. Make sure there is not a broken
1054 alias in your environment" >&5
1055 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1056 alias in your environment" >&2;}
1057 { (exit 1); exit 1; }; }
1060 test "$2" = conftest.
file
1066 { { echo "$as_me:1066: error: newly created file is older than distributed files!
1067 Check your system clock" >&5
1068 echo "$as_me: error: newly created file is older than distributed files!
1069 Check your system clock" >&2;}
1070 { (exit 1); exit 1; }; }
1072 echo "$as_me:1072: result: yes" >&5
1073 echo "${ECHO_T}yes" >&6
1074 test "$program_prefix" != NONE
&&
1075 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1076 # Use a double $ so make ignores it.
1077 test "$program_suffix" != NONE
&&
1078 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1079 # Double any \ or $. echo might interpret backslashes.
1080 # By default was `s,x,x', remove it if useless.
1081 cat <<\_ACEOF
>conftest.
sed
1082 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1084 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1087 # expand $ac_aux_dir to an absolute path
1088 am_aux_dir
=`CDPATH=:; cd $ac_aux_dir && pwd`
1090 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1091 # Use eval to expand $SHELL
1092 if eval "$MISSING --run true"; then
1093 am_missing_run
="$MISSING --run "
1097 { echo "$as_me:1097: WARNING: ${am_backtick}missing' script is too old or missing" >&5
1098 echo "$as_me: WARNING: ${am_backtick}missing' script is too old or missing" >&2;}
1101 for ac_prog
in mawk gawk nawk
awk
1103 # Extract the first word of "$ac_prog", so it can be a program name with args.
1104 set dummy
$ac_prog; ac_word
=$2
1105 echo "$as_me:1105: checking for $ac_word" >&5
1106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1107 if test "${ac_cv_prog_AWK+set}" = set; then
1108 echo $ECHO_N "(cached) $ECHO_C" >&6
1110 if test -n "$AWK"; then
1111 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1113 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1115 for ac_dir
in $ac_dummy; do
1117 test -z "$ac_dir" && ac_dir
=.
1118 $as_executable_p "$ac_dir/$ac_word" ||
continue
1119 ac_cv_prog_AWK
="$ac_prog"
1120 echo "$as_me:1120: found $ac_dir/$ac_word" >&5
1127 if test -n "$AWK"; then
1128 echo "$as_me:1128: result: $AWK" >&5
1129 echo "${ECHO_T}$AWK" >&6
1131 echo "$as_me:1131: result: no" >&5
1132 echo "${ECHO_T}no" >&6
1135 test -n "$AWK" && break
1138 echo "$as_me:1138: checking whether ${MAKE-make} sets \${MAKE}" >&5
1139 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1140 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
1141 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1142 echo $ECHO_N "(cached) $ECHO_C" >&6
1144 cat >conftest.
make <<\EOF
1146 @
echo 'ac_maketemp="${MAKE}"'
1148 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1149 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1150 if test -n "$ac_maketemp"; then
1151 eval ac_cv_prog_make_
${ac_make}_set
=yes
1153 eval ac_cv_prog_make_
${ac_make}_set
=no
1157 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1158 echo "$as_me:1158: result: yes" >&5
1159 echo "${ECHO_T}yes" >&6
1162 echo "$as_me:1162: result: no" >&5
1163 echo "${ECHO_T}no" >&6
1164 SET_MAKE
="MAKE=${MAKE-make}"
1167 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1168 if test "${enable_dependency_tracking+set}" = set; then
1169 enableval
="$enable_dependency_tracking"
1172 if test "x$enable_dependency_tracking" != xno
; then
1173 am_depcomp
="$ac_aux_dir/depcomp"
1177 if test "x$enable_dependency_tracking" != xno; then
1185 rm -f .deps
2>/dev
/null
1186 mkdir .deps
2>/dev
/null
1187 if test -d .deps
; then
1190 # MS-DOS does not allow filenames that begin with a dot.
1193 rmdir .deps
2>/dev
/null
1195 # test to see if srcdir already configured
1196 if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
1197 test -f $srcdir/config.status
; then
1198 { { echo "$as_me:1198: error: source directory already configured; run \"make distclean\" there first" >&5
1199 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1200 { (exit 1); exit 1; }; }
1203 # Define the identity of the package.
1205 VERSION
=demo-version
1207 cat >>confdefs.h
<<EOF
1208 #define PACKAGE "$PACKAGE"
1211 cat >>confdefs.h
<<EOF
1212 #define VERSION "$VERSION"
1215 # Autoconf 2.50 wants to disallow AM_ names. We explicitly allow
1216 # the ones we care about.
1218 # Autoconf 2.50 always computes EXEEXT. However we need to be
1219 # compatible with 2.13, for now. So we always define EXEEXT, but we
1222 # Similar for OBJEXT -- only we only use OBJEXT if the user actually
1223 # requests that it be used. This is a bit dumb.
1226 # Some tools Automake needs.
1228 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal"}
1230 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1232 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake"}
1234 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1236 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1238 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1240 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1242 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1244 # We need awk for the "check" target. The system "awk" is bad on
1247 #AC_CONFIG_SRCDIR([hello.cc])
1248 #AC_CONFIG_HEADER([config.h])
1250 # Checks for programs.
1253 ac_cpp
='$CPP $CPPFLAGS'
1254 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1255 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1256 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1257 if test -n "$ac_tool_prefix"; then
1258 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1259 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1260 echo "$as_me:1260: checking for $ac_word" >&5
1261 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1262 if test "${ac_cv_prog_CC+set}" = set; then
1263 echo $ECHO_N "(cached) $ECHO_C" >&6
1265 if test -n "$CC"; then
1266 ac_cv_prog_CC
="$CC" # Let the user override the test.
1268 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1270 for ac_dir
in $ac_dummy; do
1272 test -z "$ac_dir" && ac_dir
=.
1273 $as_executable_p "$ac_dir/$ac_word" ||
continue
1274 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1275 echo "$as_me:1275: found $ac_dir/$ac_word" >&5
1282 if test -n "$CC"; then
1283 echo "$as_me:1283: result: $CC" >&5
1284 echo "${ECHO_T}$CC" >&6
1286 echo "$as_me:1286: result: no" >&5
1287 echo "${ECHO_T}no" >&6
1291 if test -z "$ac_cv_prog_CC"; then
1293 # Extract the first word of "gcc", so it can be a program name with args.
1294 set dummy gcc
; ac_word
=$2
1295 echo "$as_me:1295: checking for $ac_word" >&5
1296 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1297 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1298 echo $ECHO_N "(cached) $ECHO_C" >&6
1300 if test -n "$ac_ct_CC"; then
1301 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1303 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1305 for ac_dir
in $ac_dummy; do
1307 test -z "$ac_dir" && ac_dir
=.
1308 $as_executable_p "$ac_dir/$ac_word" ||
continue
1309 ac_cv_prog_ac_ct_CC
="gcc"
1310 echo "$as_me:1310: found $ac_dir/$ac_word" >&5
1316 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1317 if test -n "$ac_ct_CC"; then
1318 echo "$as_me:1318: result: $ac_ct_CC" >&5
1319 echo "${ECHO_T}$ac_ct_CC" >&6
1321 echo "$as_me:1321: result: no" >&5
1322 echo "${ECHO_T}no" >&6
1330 if test -z "$CC"; then
1331 if test -n "$ac_tool_prefix"; then
1332 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1333 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1334 echo "$as_me:1334: checking for $ac_word" >&5
1335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1336 if test "${ac_cv_prog_CC+set}" = set; then
1337 echo $ECHO_N "(cached) $ECHO_C" >&6
1339 if test -n "$CC"; then
1340 ac_cv_prog_CC
="$CC" # Let the user override the test.
1342 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1344 for ac_dir
in $ac_dummy; do
1346 test -z "$ac_dir" && ac_dir
=.
1347 $as_executable_p "$ac_dir/$ac_word" ||
continue
1348 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1349 echo "$as_me:1349: found $ac_dir/$ac_word" >&5
1356 if test -n "$CC"; then
1357 echo "$as_me:1357: result: $CC" >&5
1358 echo "${ECHO_T}$CC" >&6
1360 echo "$as_me:1360: result: no" >&5
1361 echo "${ECHO_T}no" >&6
1365 if test -z "$ac_cv_prog_CC"; then
1367 # Extract the first word of "cc", so it can be a program name with args.
1368 set dummy cc
; ac_word
=$2
1369 echo "$as_me:1369: checking for $ac_word" >&5
1370 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1371 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1372 echo $ECHO_N "(cached) $ECHO_C" >&6
1374 if test -n "$ac_ct_CC"; then
1375 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1377 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1379 for ac_dir
in $ac_dummy; do
1381 test -z "$ac_dir" && ac_dir
=.
1382 $as_executable_p "$ac_dir/$ac_word" ||
continue
1383 ac_cv_prog_ac_ct_CC
="cc"
1384 echo "$as_me:1384: found $ac_dir/$ac_word" >&5
1390 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1391 if test -n "$ac_ct_CC"; then
1392 echo "$as_me:1392: result: $ac_ct_CC" >&5
1393 echo "${ECHO_T}$ac_ct_CC" >&6
1395 echo "$as_me:1395: result: no" >&5
1396 echo "${ECHO_T}no" >&6
1405 if test -z "$CC"; then
1406 # Extract the first word of "cc", so it can be a program name with args.
1407 set dummy cc
; ac_word
=$2
1408 echo "$as_me:1408: checking for $ac_word" >&5
1409 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1410 if test "${ac_cv_prog_CC+set}" = set; then
1411 echo $ECHO_N "(cached) $ECHO_C" >&6
1413 if test -n "$CC"; then
1414 ac_cv_prog_CC
="$CC" # Let the user override the test.
1417 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1419 for ac_dir
in $ac_dummy; do
1421 test -z "$ac_dir" && ac_dir
=.
1422 $as_executable_p "$ac_dir/$ac_word" ||
continue
1423 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1424 ac_prog_rejected
=yes
1428 echo "$as_me:1428: found $ac_dir/$ac_word" >&5
1432 if test $ac_prog_rejected = yes; then
1433 # We found a bogon in the path, so make sure we never use it.
1434 set dummy
$ac_cv_prog_CC
1436 if test $# != 0; then
1437 # We chose a different compiler from the bogus one.
1438 # However, it has the same basename, so the bogon will be chosen
1439 # first if we set CC to just the basename; use the full file name.
1441 set dummy
"$ac_dir/$ac_word" ${1+"$@"}
1449 if test -n "$CC"; then
1450 echo "$as_me:1450: result: $CC" >&5
1451 echo "${ECHO_T}$CC" >&6
1453 echo "$as_me:1453: result: no" >&5
1454 echo "${ECHO_T}no" >&6
1458 if test -z "$CC"; then
1459 if test -n "$ac_tool_prefix"; then
1462 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1463 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1464 echo "$as_me:1464: checking for $ac_word" >&5
1465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1466 if test "${ac_cv_prog_CC+set}" = set; then
1467 echo $ECHO_N "(cached) $ECHO_C" >&6
1469 if test -n "$CC"; then
1470 ac_cv_prog_CC
="$CC" # Let the user override the test.
1472 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1474 for ac_dir
in $ac_dummy; do
1476 test -z "$ac_dir" && ac_dir
=.
1477 $as_executable_p "$ac_dir/$ac_word" ||
continue
1478 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1479 echo "$as_me:1479: found $ac_dir/$ac_word" >&5
1486 if test -n "$CC"; then
1487 echo "$as_me:1487: result: $CC" >&5
1488 echo "${ECHO_T}$CC" >&6
1490 echo "$as_me:1490: result: no" >&5
1491 echo "${ECHO_T}no" >&6
1494 test -n "$CC" && break
1497 if test -z "$CC"; then
1501 # Extract the first word of "$ac_prog", so it can be a program name with args.
1502 set dummy
$ac_prog; ac_word
=$2
1503 echo "$as_me:1503: checking for $ac_word" >&5
1504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1505 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1506 echo $ECHO_N "(cached) $ECHO_C" >&6
1508 if test -n "$ac_ct_CC"; then
1509 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1511 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1513 for ac_dir
in $ac_dummy; do
1515 test -z "$ac_dir" && ac_dir
=.
1516 $as_executable_p "$ac_dir/$ac_word" ||
continue
1517 ac_cv_prog_ac_ct_CC
="$ac_prog"
1518 echo "$as_me:1518: found $ac_dir/$ac_word" >&5
1524 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1525 if test -n "$ac_ct_CC"; then
1526 echo "$as_me:1526: result: $ac_ct_CC" >&5
1527 echo "${ECHO_T}$ac_ct_CC" >&6
1529 echo "$as_me:1529: result: no" >&5
1530 echo "${ECHO_T}no" >&6
1533 test -n "$ac_ct_CC" && break
1541 test -z "$CC" && { { echo "$as_me:1541: error: no acceptable cc found in \$PATH" >&5
1542 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
1543 { (exit 1); exit 1; }; }
1545 # Provide some information about the compiler.
1546 echo "$as_me:1546:" \
1547 "checking for C compiler version" >&5
1548 ac_compiler
=`set X $ac_compile; echo $2`
1549 { (eval echo "$as_me:1549: \"$ac_compiler --version </dev/null >&5\"") >&5
1550 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1552 echo "$as_me:1552: \$? = $ac_status" >&5
1553 (exit $ac_status); }
1554 { (eval echo "$as_me:1554: \"$ac_compiler -v </dev/null >&5\"") >&5
1555 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1557 echo "$as_me:1557: \$? = $ac_status" >&5
1558 (exit $ac_status); }
1559 { (eval echo "$as_me:1559: \"$ac_compiler -V </dev/null >&5\"") >&5
1560 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1562 echo "$as_me:1562: \$? = $ac_status" >&5
1563 (exit $ac_status); }
1566 echo "$as_me:1566: checking for object suffix" >&5
1567 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
1568 if test "${ac_cv_objext+set}" = set; then
1569 echo $ECHO_N "(cached) $ECHO_C" >&6
1571 cat >conftest.
$ac_ext <<_ACEOF
1572 #line 1572 "configure"
1573 #include "confdefs.h"
1583 rm -f conftest.o conftest.obj
1584 if { (eval echo "$as_me:1584: \"$ac_compile\"") >&5
1585 (eval $ac_compile) 2>&5
1587 echo "$as_me:1587: \$? = $ac_status" >&5
1588 (exit $ac_status); }; then
1589 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1591 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb
) ;;
1592 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1597 echo "$as_me: failed program was:" >&5
1598 cat conftest.
$ac_ext >&5
1599 { { echo "$as_me:1599: error: cannot compute OBJEXT: cannot compile" >&5
1600 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
1601 { (exit 1); exit 1; }; }
1604 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1606 echo "$as_me:1606: result: $ac_cv_objext" >&5
1607 echo "${ECHO_T}$ac_cv_objext" >&6
1608 OBJEXT
=$ac_cv_objext
1610 echo "$as_me:1610: checking whether we are using the GNU C compiler" >&5
1611 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1612 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1613 echo $ECHO_N "(cached) $ECHO_C" >&6
1615 cat >conftest.
$ac_ext <<_ACEOF
1616 #line 1616 "configure"
1617 #include "confdefs.h"
1630 rm -f conftest.
$ac_objext
1631 if { (eval echo "$as_me:1631: \"$ac_compile\"") >&5
1632 (eval $ac_compile) 2>&5
1634 echo "$as_me:1634: \$? = $ac_status" >&5
1635 (exit $ac_status); } &&
1636 { ac_try
='test -s conftest.$ac_objext'
1637 { (eval echo "$as_me:1637: \"$ac_try\"") >&5
1640 echo "$as_me:1640: \$? = $ac_status" >&5
1641 (exit $ac_status); }; }; then
1644 echo "$as_me: failed program was:" >&5
1645 cat conftest.
$ac_ext >&5
1648 rm -f conftest.
$ac_objext conftest.
$ac_ext
1649 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1652 echo "$as_me:1652: result: $ac_cv_c_compiler_gnu" >&5
1653 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1654 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1655 ac_test_CFLAGS
=${CFLAGS+set}
1656 ac_save_CFLAGS
=$CFLAGS
1658 echo "$as_me:1658: checking whether $CC accepts -g" >&5
1659 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1660 if test "${ac_cv_prog_cc_g+set}" = set; then
1661 echo $ECHO_N "(cached) $ECHO_C" >&6
1663 cat >conftest.
$ac_ext <<_ACEOF
1664 #line 1664 "configure"
1665 #include "confdefs.h"
1675 rm -f conftest.
$ac_objext
1676 if { (eval echo "$as_me:1676: \"$ac_compile\"") >&5
1677 (eval $ac_compile) 2>&5
1679 echo "$as_me:1679: \$? = $ac_status" >&5
1680 (exit $ac_status); } &&
1681 { ac_try
='test -s conftest.$ac_objext'
1682 { (eval echo "$as_me:1682: \"$ac_try\"") >&5
1685 echo "$as_me:1685: \$? = $ac_status" >&5
1686 (exit $ac_status); }; }; then
1689 echo "$as_me: failed program was:" >&5
1690 cat conftest.
$ac_ext >&5
1693 rm -f conftest.
$ac_objext conftest.
$ac_ext
1695 echo "$as_me:1695: result: $ac_cv_prog_cc_g" >&5
1696 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1697 if test "$ac_test_CFLAGS" = set; then
1698 CFLAGS
=$ac_save_CFLAGS
1699 elif test $ac_cv_prog_cc_g = yes; then
1700 if test "$GCC" = yes; then
1706 if test "$GCC" = yes; then
1712 # Some people use a C++ compiler to compile C. Since we use `exit',
1713 # in C++ we need to declare it. In case someone uses the same compiler
1714 # for both compiling C and C++ we need to have the C++ compiler decide
1715 # the declaration of exit, since it's the most demanding environment.
1716 cat >conftest.
$ac_ext <<_ACEOF
1721 rm -f conftest.
$ac_objext
1722 if { (eval echo "$as_me:1722: \"$ac_compile\"") >&5
1723 (eval $ac_compile) 2>&5
1725 echo "$as_me:1725: \$? = $ac_status" >&5
1726 (exit $ac_status); } &&
1727 { ac_try
='test -s conftest.$ac_objext'
1728 { (eval echo "$as_me:1728: \"$ac_try\"") >&5
1731 echo "$as_me:1731: \$? = $ac_status" >&5
1732 (exit $ac_status); }; }; then
1733 for ac_declaration
in \
1735 '#include <stdlib.h>' \
1736 'extern "C" void std::exit (int) throw (); using std::exit;' \
1737 'extern "C" void std::exit (int); using std::exit;' \
1738 'extern "C" void exit (int) throw ();' \
1739 'extern "C" void exit (int);' \
1742 cat >conftest.
$ac_ext <<_ACEOF
1743 #line 1743 "configure"
1744 #include "confdefs.h"
1755 rm -f conftest.
$ac_objext
1756 if { (eval echo "$as_me:1756: \"$ac_compile\"") >&5
1757 (eval $ac_compile) 2>&5
1759 echo "$as_me:1759: \$? = $ac_status" >&5
1760 (exit $ac_status); } &&
1761 { ac_try
='test -s conftest.$ac_objext'
1762 { (eval echo "$as_me:1762: \"$ac_try\"") >&5
1765 echo "$as_me:1765: \$? = $ac_status" >&5
1766 (exit $ac_status); }; }; then
1769 echo "$as_me: failed program was:" >&5
1770 cat conftest.
$ac_ext >&5
1773 rm -f conftest.
$ac_objext conftest.
$ac_ext
1774 cat >conftest.
$ac_ext <<_ACEOF
1775 #line 1775 "configure"
1776 #include "confdefs.h"
1786 rm -f conftest.
$ac_objext
1787 if { (eval echo "$as_me:1787: \"$ac_compile\"") >&5
1788 (eval $ac_compile) 2>&5
1790 echo "$as_me:1790: \$? = $ac_status" >&5
1791 (exit $ac_status); } &&
1792 { ac_try
='test -s conftest.$ac_objext'
1793 { (eval echo "$as_me:1793: \"$ac_try\"") >&5
1796 echo "$as_me:1796: \$? = $ac_status" >&5
1797 (exit $ac_status); }; }; then
1800 echo "$as_me: failed program was:" >&5
1801 cat conftest.
$ac_ext >&5
1803 rm -f conftest.
$ac_objext conftest.
$ac_ext
1806 if test -n "$ac_declaration"; then
1807 echo '#ifdef __cplusplus' >>confdefs.h
1808 echo $ac_declaration >>confdefs.h
1809 echo '#endif' >>confdefs.h
1813 echo "$as_me: failed program was:" >&5
1814 cat conftest.
$ac_ext >&5
1816 rm -f conftest.
$ac_objext conftest.
$ac_ext
1818 ac_cpp
='$CPP $CPPFLAGS'
1819 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1820 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1821 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1823 ac_config_commands
="$ac_config_commands default-1"
1825 am_make
=${MAKE-make}
1826 cat > confinc
<< 'END'
1830 # If we don't find an include directive, just comment out the code.
1831 echo "$as_me:1831: checking for style of include used by $am_make" >&5
1832 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
1836 # First try GNU make style include.
1837 echo "include confinc" > confmf
1838 # We grep out `Entering directory' and `Leaving directory'
1839 # messages which can occur if `w' ends up in MAKEFLAGS.
1840 # In particular we don't look at `^make:' because GNU make might
1841 # be invoked under some other name (usually "gmake"), in which
1842 # case it prints its new name instead of `make'.
1843 if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
1848 # Now try BSD make style include.
1849 if test "$am__include" = "#"; then
1850 echo '.include "confinc"' > confmf
1851 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1852 am__include
=.include
1858 echo "$as_me:1858: result: $_am_result" >&5
1859 echo "${ECHO_T}$_am_result" >&6
1860 rm -f confinc confmf
1862 depcc
="$CC" am_compiler_list
=
1864 echo "$as_me:1864: checking dependency style of $depcc" >&5
1865 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
1866 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
1867 echo $ECHO_N "(cached) $ECHO_C" >&6
1869 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1870 # We make a subdir and do the tests there. Otherwise we can end up
1871 # making bogus files that we don't know about and never remove. For
1872 # instance it was reported that on HP-UX the gcc test will end up
1873 # making a dummy file named `D' -- because `-MD' means `put the output
1876 # Copy depcomp to subdir because otherwise we won't find it if we're
1877 # using a relative directory.
1878 cp "$am_depcomp" conftest.dir
1881 am_cv_CC_dependencies_compiler_type
=none
1882 if test "$am_compiler_list" = ""; then
1883 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1885 for depmode
in $am_compiler_list; do
1886 # We need to recreate these files for each test, as the compiler may
1887 # overwrite some of them when testing with obscure command lines.
1888 # This happens at least with the AIX C compiler.
1889 echo '#include "conftest.h"' > conftest.c
1890 echo 'int i;' > conftest.h
1891 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
1895 # after this tag, mechanisms are not by side-effect, so they'll
1896 # only be used when explicitly requested
1897 if test "x$enable_dependency_tracking" = xyes
; then
1905 # We check with `-c' and `-o' for the sake of the "dashmstdout"
1906 # mode. It turns out that the SunPro C++ compiler does not properly
1907 # handle `-M -o', and we need to detect this.
1908 if depmode
=$depmode \
1909 source=conftest.c object
=conftest.o \
1910 depfile
=conftest.Po tmpdepfile
=conftest.TPo \
1911 $SHELL .
/depcomp
$depcc -c conftest.c
-o conftest.o
>/dev
/null
2>&1 &&
1912 grep conftest.h conftest.Po
> /dev
/null
2>&1 &&
1913 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
1914 am_cv_CC_dependencies_compiler_type
=$depmode
1922 am_cv_CC_dependencies_compiler_type
=none
1926 echo "$as_me:1926: result: $am_cv_CC_dependencies_compiler_type" >&5
1927 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
1928 CCDEPMODE
="depmode=$am_cv_CC_dependencies_compiler_type"
1930 # Checks for libraries.
1932 # Checks for header files.
1934 # Checks for typedefs, structures, and compiler characteristics.
1936 # Checks for library functions.
1938 ac_config_files
="$ac_config_files Makefile testsuite/Makefile"
1940 cat >confcache
<<\_ACEOF
1941 # This file is a shell script that caches the results of configure
1942 # tests run on this system so they can be shared between configure
1943 # scripts and configure runs, see configure's option --config-cache.
1944 # It is not useful on other systems. If it contains results you don't
1945 # want to keep, you may remove or edit it.
1947 # config.status only pays attention to the cache file if you give it
1948 # the --recheck option to rerun configure.
1950 # `ac_cv_env_foo' variables (set or unset) will be overriden when
1951 # loading this file, other *unset* `ac_cv_foo' will be assigned the
1956 # The following way of writing the cache mishandles newlines in values,
1957 # but we know of no workaround that is simple, portable, and efficient.
1958 # So, don't put newlines in cache variables' values.
1959 # Ultrix sh set writes to stderr and can't be redirected directly,
1960 # and sets the high bit in the cache file unless we assign to the vars.
1963 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1965 # `set' does not quote correctly, so add quotes (double-quote
1966 # substitution turns \\\\ into \\, and sed turns \\ into \).
1969 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1972 # `set' quotes correctly as required by POSIX, so do not add quotes.
1974 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1981 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1983 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1985 if cmp -s $cache_file confcache
; then :; else
1986 if test -w $cache_file; then
1987 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
1988 cat confcache
>$cache_file
1990 echo "not updating unwritable cache $cache_file"
1995 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
1996 # Let make expand exec_prefix.
1997 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
1999 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2000 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2001 # trailing colons and then remove the whole line if VPATH becomes empty
2002 # (actually we leave an empty line to preserve line numbers).
2003 if test "x$srcdir" = x.
; then
2004 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
2005 s/:*\$(srcdir):*/:/;
2006 s/:*\${srcdir}:*/:/;
2008 s/^\([^=]*=[ ]*\):*/\1/;
2014 # Transform confdefs.h into DEFS.
2015 # Protect against shell expansion while executing Makefile rules.
2016 # Protect against Makefile macro expansion.
2018 # If the first sed substitution is executed (which looks for macros that
2019 # take arguments), then we branch to the quote section. Otherwise,
2020 # look for a macro that doesn't take arguments.
2021 cat >confdef2opt.
sed <<\EOF
2024 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
2026 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
2030 s
,[ `~#$^&*(){}\\|;'"<>?],\\&,g
2036 # We use echo to avoid assuming a particular line-breaking character.
2037 # The extra dot is to prevent the shell from consuming trailing
2038 # line-breaks from the sub-command output. A line-break within
2039 # single-quotes doesn't work because, if this script is created in a
2040 # platform that uses two characters for line-breaks (e.g., DOS), tr
2042 ac_LF_and_DOT=`echo; echo .
`
2043 DEFS=`sed -n -f confdef2opt.
sed confdefs.h |
tr "$ac_LF_and_DOT" ' .'`
2044 rm -f confdef2opt.sed
2046 : ${CONFIG_STATUS=./config.status}
2047 ac_clean_files_save=$ac_clean_files
2048 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2049 { echo "$as_me:2049: creating $CONFIG_STATUS" >&5
2050 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2051 cat >$CONFIG_STATUS <<_ACEOF
2053 # Generated automatically by configure.
2054 # Run this file to recreate the current configuration.
2055 # Compiler output produced by configure, useful for debugging
2056 # configure, is in config.log if it exists.
2059 SHELL=\${CONFIG_SHELL-$SHELL}
2060 ac_cs_invocation="\$0 \$@"
2064 cat >>$CONFIG_STATUS <<\_ACEOF
2065 # Be Bourne compatible
2066 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2069 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2073 # Name of the executable.
2074 as_me=`echo "$0" |
sed 's,.*[\\/],,'`
2076 if expr a : '\(a\)' >/dev/null 2>&1; then
2082 rm -f conf$$ conf$$.exe conf$$.file
2084 if ln -s conf$$.file conf$$ 2>/dev/null; then
2085 # We could just check for DJGPP; but this test a) works b) is more generic
2086 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2087 if test -f conf$$.exe; then
2088 # Don't use ln at all; we don't have any links
2093 elif ln conf$$.file conf$$ 2>/dev/null; then
2098 rm -f conf$$ conf$$.exe conf$$.file
2100 as_executable_p="test -f"
2102 # Support unset when possible.
2103 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
2110 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
2111 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
2112 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
2113 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
2114 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
2115 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
2116 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
2117 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
2120 # We need space, tab and new line, in precisely that order.
2126 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
2132 # Files that config.status was made for.
2133 if test -n "$ac_config_files"; then
2134 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2137 if test -n "$ac_config_headers"; then
2138 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2141 if test -n "$ac_config_links"; then
2142 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2145 if test -n "$ac_config_commands"; then
2146 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2149 cat >>$CONFIG_STATUS <<\EOF
2152 \`$as_me' instantiates files from templates according to the
2153 current configuration.
2155 Usage: $0 [OPTIONS] [FILE]...
2157 -h, --help print this help, then exit
2158 -V, --version print version number, then exit
2159 -d, --debug don't remove temporary files
2160 --recheck update
$as_me by reconfiguring
in the same conditions
2161 --file=FILE
[:TEMPLATE
]
2162 instantiate the configuration
file FILE
2164 Configuration files
:
2167 Configuration commands
:
2170 Report bugs to
<bug-autoconf@gnu.org
>.
"
2173 cat >>$CONFIG_STATUS <<EOF
2175 helloworld config.status demo-version
2176 configured by
$0, generated by GNU Autoconf
2.52,
2177 with options
\\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2179 Copyright
1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
2180 Free Software Foundation
, Inc.
2181 This config.status
script is free software
; the Free Software Foundation
2182 gives unlimited permission to copy
, distribute and modify it.
"
2187 cat >>$CONFIG_STATUS <<\EOF
2188 # If no file are specified by the user, then we need to provide default
2189 # value. By we need to know if files were specified by the user.
2195 ac_option=`expr "x
$1" : 'x\([^=]*\)='`
2196 ac_optarg=`expr "x
$1" : 'x[^=]*=\(.*\)'`
2198 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
2202 *) # This is not an option, so the user has probably given explicit
2204 ac_need_defaults=false;;
2208 # Handling of the options.
2210 cat >>$CONFIG_STATUS <<EOF
2211 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2212 echo "running
$SHELL $0 " $ac_configure_args " --no-create --no-recursion"
2213 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
2215 cat >>$CONFIG_STATUS <<\EOF
2216 --version | --vers* | -V )
2217 echo "$ac_cs_version"; exit 0 ;;
2219 # Conflict between --help and --header
2220 { { echo "$as_me:2220: error
: ambiguous option
: $1
2221 Try \
`$0 --help' for more information." >&5
2222 echo "$as_me: error: ambiguous option: $1
2223 Try \`$0 --help' for more information." >&2;}
2224 { (exit 1); exit 1; }; };;
2225 --help | --hel | -h )
2226 echo "$ac_cs_usage"; exit 0 ;;
2227 --debug | --d* | -d )
2229 --file | --fil | --fi | --f )
2231 CONFIG_FILES="$CONFIG_FILES $1"
2232 ac_need_defaults=false;;
2233 --header | --heade | --head | --hea )
2235 CONFIG_HEADERS="$CONFIG_HEADERS $1"
2236 ac_need_defaults=false;;
2239 -*) { { echo "$as_me:2239: error: unrecognized option: $1
2240 Try \`$0 --help' for more information.
" >&5
2241 echo "$as_me: error
: unrecognized option
: $1
2242 Try \
`$0 --help' for more information." >&2;}
2243 { (exit 1); exit 1; }; } ;;
2245 *) ac_config_targets="$ac_config_targets $1" ;;
2254 ## ----------------------- ##
2255 ## Running config.status. ##
2256 ## ----------------------- ##
2258 This file was extended by $as_me (helloworld demo-version) 2.52, executed with
2259 CONFIG_FILES = $CONFIG_FILES
2260 CONFIG_HEADERS = $CONFIG_HEADERS
2261 CONFIG_LINKS = $CONFIG_LINKS
2262 CONFIG_COMMANDS = $CONFIG_COMMANDS
2264 on `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2269 cat >>$CONFIG_STATUS <<EOF
2271 # INIT-COMMANDS section.
2274 AMDEP_TRUE="$AMDEP_TRUE"
2275 ac_aux_dir="$ac_aux_dir"
2279 cat >>$CONFIG_STATUS <<\EOF
2280 for ac_config_target in $ac_config_targets
2282 case "$ac_config_target" in
2283 # Handling of arguments.
2284 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2285 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
2286 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
2287 *) { { echo "$as_me:2287: error: invalid argument: $ac_config_target" >&5
2288 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2289 { (exit 1); exit 1; }; };;
2293 # If the user did not use the arguments to specify the items to instantiate,
2294 # then the envvar interface is used. Set only those that are not.
2295 # We use the long form for the default assignment because of an extremely
2296 # bizarre bug on SunOS 4.1.3.
2297 if $ac_need_defaults; then
2298 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2299 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
2302 # Create a temporary directory, and hook for its removal unless debugging.
2305 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2306 trap '{ (exit 1); exit 1; }' 1 2 13 15
2309 # Create a (secure) tmp directory for tmp files.
2312 tmp=`(umask 077 && mktemp
-d -q "$TMPDIR/csXXXXXX") 2>/dev
/null
` &&
2313 test -n "$tmp" && test -d "$tmp"
2316 tmp=$TMPDIR/cs$$-$RANDOM
2317 (umask 077 && mkdir $tmp)
2320 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
2321 { (exit 1); exit 1; }
2326 cat >>$CONFIG_STATUS <<EOF
2329 # CONFIG_FILES section.
2332 # No need to generate the scripts if there are no CONFIG_FILES.
2333 # This happens for instance when ./config.status config.h
2334 if test -n "\$CONFIG_FILES"; then
2335 # Protect against being on the right side of a sed subst in config.status.
2336 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2337 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2338 s,@SHELL@,$SHELL,;t t
2339 s,@exec_prefix@,$exec_prefix,;t t
2340 s,@prefix@,$prefix,;t t
2341 s,@program_transform_name@,$program_transform_name,;t t
2342 s,@bindir@,$bindir,;t t
2343 s,@sbindir@,$sbindir,;t t
2344 s,@libexecdir@,$libexecdir,;t t
2345 s,@datadir@,$datadir,;t t
2346 s,@sysconfdir@,$sysconfdir,;t t
2347 s,@sharedstatedir@,$sharedstatedir,;t t
2348 s,@localstatedir@,$localstatedir,;t t
2349 s,@libdir@,$libdir,;t t
2350 s,@includedir@,$includedir,;t t
2351 s,@oldincludedir@,$oldincludedir,;t t
2352 s,@infodir@,$infodir,;t t
2353 s,@mandir@,$mandir,;t t
2354 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2355 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2356 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2357 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2358 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2359 s,@build_alias@,$build_alias,;t t
2360 s,@host_alias@,$host_alias,;t t
2361 s,@target_alias@,$target_alias,;t t
2362 s,@ECHO_C@,$ECHO_C,;t t
2363 s,@ECHO_N@,$ECHO_N,;t t
2364 s,@ECHO_T@,$ECHO_T,;t t
2365 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2368 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2369 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2370 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2371 s,@PACKAGE@,$PACKAGE,;t t
2372 s,@VERSION@,$VERSION,;t t
2373 s,@EXEEXT@,$EXEEXT,;t t
2374 s,@OBJEXT@,$OBJEXT,;t t
2375 s,@ACLOCAL@,$ACLOCAL,;t t
2376 s,@AUTOCONF@,$AUTOCONF,;t t
2377 s,@AUTOMAKE@,$AUTOMAKE,;t t
2378 s,@AUTOHEADER@,$AUTOHEADER,;t t
2379 s,@MAKEINFO@,$MAKEINFO,;t t
2380 s,@AMTAR@,$AMTAR,;t t
2381 s,@install_sh@,$install_sh,;t t
2382 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
2384 s,@SET_MAKE@,$SET_MAKE,;t t
2385 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
2386 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
2387 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
2388 s,@DEPDIR@,$DEPDIR,;t t
2390 s,@CFLAGS@,$CFLAGS,;t t
2391 s,@LDFLAGS@,$LDFLAGS,;t t
2392 s,@CPPFLAGS@,$CPPFLAGS,;t t
2393 s,@ac_ct_CC@,$ac_ct_CC,;t t
2394 s,@am__include@,$am__include,;t t
2395 s,@am__quote@,$am__quote,;t t
2396 s,@CCDEPMODE@,$CCDEPMODE,;t t
2401 cat >>$CONFIG_STATUS <<\EOF
2402 # Split the substitutions into bite-sized pieces for seds with
2403 # small command number limits, like on Digital OSF/1 and HP-UX.
2405 ac_sed_frag=1 # Number of current file.
2406 ac_beg=1 # First line for current file.
2407 ac_end=$ac_max_sed_lines # Line after last line for current file.
2410 while $ac_more_lines; do
2411 if test $ac_beg -gt 1; then
2412 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2414 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2416 if test ! -s $tmp/subs.frag; then
2419 # The purpose of the label and of the branching condition is to
2420 # speed up the sed processing (if there are no `@
' at all, there
2421 # is no need to browse any of the substitutions).
2422 # These are the two extra sed commands mentioned above.
2424 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2425 if test -z "$ac_sed_cmds"; then
2426 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2428 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2430 ac_sed_frag=`expr $ac_sed_frag + 1`
2432 ac_end=`expr $ac_end + $ac_max_sed_lines`
2435 if test -z "$ac_sed_cmds"; then
2438 fi # test -n "$CONFIG_FILES"
2441 cat >>$CONFIG_STATUS <<\EOF
2442 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2443 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2445 - | *:- | *:-:* ) # input from stdin
2447 ac_file_in=`echo "$ac_file" | sed 's
,[^
:]*:,,'`
2448 ac_file=`echo "$ac_file" | sed 's
,:.
*,,'` ;;
2449 *:* ) ac_file_in=`echo "$ac_file" | sed 's
,[^
:]*:,,'`
2450 ac_file=`echo "$ac_file" | sed 's
,:.
*,,'` ;;
2451 * ) ac_file_in=$ac_file.in ;;
2454 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2455 ac_dir=`$as_expr X"$ac_file" : 'X\
(.
*[^
/]\
)//*[^
/][^
/]*/*$
' \| \
2456 X"$ac_file" : 'X\
(//\
)[^
/]' \| \
2457 X"$ac_file" : 'X\
(//\
)$
' \| \
2458 X"$ac_file" : 'X\
(/\
)' \| \
2459 . : '\
(.\
)' 2>/dev/null ||
2461 sed '/^X\
(.
*[^
/]\
)\
/\
/*[^
/][^
/]*\
/*$
/{ s
//\
1/; q
; }
2462 /^X\
(\
/\
/\
)[^
/].
*/{ s
//\
1/; q
; }
2463 /^X\
(\
/\
/\
)$
/{ s
//\
1/; q
; }
2464 /^X\
(\
/\
).
*/{ s
//\
1/; q
; }
2466 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2468 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
2472 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
2473 case $as_mkdir_dir in
2474 # Skip DOS drivespec
2475 ?:) as_incr_dir=$as_mkdir_dir ;;
2477 as_incr_dir=$as_incr_dir/$as_mkdir_dir
2478 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
2483 ac_dir_suffix="/`echo $ac_dir|sed 's
,^\.
/,,'`"
2484 # A "../" for each directory in $ac_dir_suffix.
2485 ac_dots=`echo "$ac_dir_suffix" | sed 's
,/[^
/]*,..
/,g
'`
2487 ac_dir_suffix= ac_dots=
2492 if test -z "$ac_dots"; then
2495 ac_top_srcdir=`echo $ac_dots | sed 's
,/$
,,'`
2498 ac_srcdir=$srcdir$ac_dir_suffix;
2499 ac_top_srcdir=$srcdir ;;
2501 ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
2502 ac_top_srcdir=$ac_dots$srcdir ;;
2506 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2507 *) ac_INSTALL=$ac_dots$INSTALL ;;
2510 if test x"$ac_file" != x-; then
2511 { echo "$as_me:2511: creating $ac_file" >&5
2512 echo "$as_me: creating $ac_file" >&6;}
2515 # Let's still pretend it is
`configure' which instantiates (i.e., don't
2516 # use $as_me), people would be surprised to read:
2517 # /* config.h. Generated automatically by config.status. */
2518 configure_input="Generated automatically from `echo $ac_file_in |
2519 sed 's,.*/,,'` by configure."
2521 # First look for the input files in the build tree, otherwise in the
2523 ac_file_inputs=`IFS
=:
2524 for f
in $ac_file_in; do
2526 -) echo $tmp/stdin
;;
2528 # Absolute (can't be DOS-style, as IFS=:)
2529 test -f "$f" ||
{ { echo "$as_me:2529: error: cannot find input file: $f" >&5
2530 echo "$as_me: error: cannot find input file: $f" >&2;}
2531 { (exit 1); exit 1; }; }
2534 if test -f "$f"; then
2537 elif test -f "$srcdir/$f"; then
2542 { { echo "$as_me:2542: error: cannot find input file: $f" >&5
2543 echo "$as_me: error: cannot find input file: $f" >&2;}
2544 { (exit 1); exit 1; }; }
2547 done` || { (exit 1); exit 1; }
2549 cat >>$CONFIG_STATUS <<EOF
2553 cat >>$CONFIG_STATUS <<\EOF
2555 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2556 s,@configure_input@,$configure_input,;t t
2557 s,@srcdir@,$ac_srcdir,;t t
2558 s,@top_srcdir@,$ac_top_srcdir,;t t
2559 s,@INSTALL@,$ac_INSTALL,;t t
2560 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2562 if test x"$ac_file" != x-; then
2563 mv $tmp/out $ac_file
2571 cat >>$CONFIG_STATUS <<\EOF
2574 # CONFIG_COMMANDS section.
2576 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
2577 ac_dest=`echo "$ac_file" |
sed 's,:.*,,'`
2578 ac_source=`echo "$ac_file" |
sed 's,[^:]*:,,'`
2582 test x"$AMDEP_TRUE" != x"" ||
2583 for mf in $CONFIG_FILES; do
2585 Makefile) dirpart=.;;
2586 */Makefile) dirpart=`echo "$mf" |
sed -e 's|/[^/]*$||'`;;
2589 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
2590 # Extract the definition of DEP_FILES from the Makefile without
2592 DEPDIR=`sed -n -e '/^DEPDIR
= / s
///p
' < "$mf"`
2593 test -z "$DEPDIR" && continue
2594 # When using ansi2knr, U may be empty or an underscore; expand it
2595 U=`sed -n -e '/^U
= / s
///p
' < "$mf"`
2596 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
2597 # We invoke sed twice because it is the simplest approach to
2598 # changing $(DEPDIR) to its actual value in the expansion.
2599 for file in `sed -n -e '
2600 /^DEP_FILES
= .
*\\\\$
/ {
2609 /^DEP_FILES
= / s
/^DEP_FILES
= //p
' < "$mf" | \
2610 sed -e 's
/\$
(DEPDIR
)/'"$DEPDIR"'/g
' -e 's
/\
$U/'"$U"'/g
'`; do
2611 # Make sure the directory exists.
2612 test -f "$dirpart/$file" && continue
2613 fdir=`echo "$file" | sed -e 's|
/[^
/]*$||
'`
2614 $ac_aux_dir/mkinstalldirs "$dirpart/$fdir" > /dev/null 2>&1
2615 # echo "creating $dirpart/$file"
2616 echo '# dummy' > "$dirpart/$file"
2624 cat >>$CONFIG_STATUS <<\EOF
2626 { (exit 0); exit 0; }
2628 chmod +x
$CONFIG_STATUS
2629 ac_clean_files
=$ac_clean_files_save
2631 # configure is writing to config.log, and then calls config.status.
2632 # config.status does its own redirection, appending to config.log.
2633 # Unfortunately, on DOS this fails, as config.log is still kept open
2634 # by configure, so config.status won't be able to write to it; its
2635 # output is simply discarded. So we exec the FD to /dev/null,
2636 # effectively closing config.log, so it can be properly (re)opened and
2637 # appended to by config.status. When coming back to configure, we
2638 # need to make the FD available again.
2639 if test "$no_create" != yes; then
2642 $SHELL $CONFIG_STATUS || ac_cs_success
=false
2644 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2645 # would make configure fail if this is the last instruction.
2646 $ac_cs_success ||
{ (exit 1); exit 1; }