3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.13
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
12 ac_default_prefix=/usr/local
13 # Any additions from configure.in:
15 --enable-maintainer-mode enable make rules and dependencies not useful
16 (and sometimes confusing) to the casual installer"
18 --enable-debug do a debug rather than a release build"
20 --enable-ansi do an ANSI rather than a unicode build"
22 # Initialize some variables set by options.
23 # The variables have the same names as the options, with
24 # dashes changed to underlines.
26 cache_file=./config.cache
35 program_transform_name=s,x,x,
43 bindir='${exec_prefix}/bin'
44 sbindir='${exec_prefix}/sbin'
45 libexecdir='${exec_prefix}/libexec'
46 datadir='${prefix}/share'
47 sysconfdir='${prefix}/etc'
48 sharedstatedir='${prefix}/com'
49 localstatedir='${prefix}/var'
50 libdir='${exec_prefix}/lib'
51 includedir='${prefix}/include'
52 oldincludedir='/usr/include'
53 infodir='${prefix}/info'
54 mandir='${prefix}/man'
56 # Initialize some other variables.
59 SHELL=${CONFIG_SHELL-/bin/sh}
60 # Maximum number of lines to put in a shell here document.
67 # If the previous option needs an argument, assign it.
68 if test -n "$ac_prev"; then
69 eval "$ac_prev=\$ac_option"
75 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
79 # Accept the important Cygnus configure options, so we can diagnose typos.
83 -bindir | --bindir | --bindi | --bind | --bin | --bi)
85 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
86 bindir="$ac_optarg" ;;
88 -build | --build | --buil | --bui | --bu)
90 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
93 -cache-file | --cache-file | --cache-fil | --cache-fi \
94 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
96 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
97 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
98 cache_file="$ac_optarg" ;;
100 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
102 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
104 datadir="$ac_optarg" ;;
106 -disable-* | --disable-*)
107 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
108 # Reject names that are not valid shell variable names.
109 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
110 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
112 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
113 eval "enable_${ac_feature}=no" ;;
115 -enable-* | --enable-*)
116 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
117 # Reject names that are not valid shell variable names.
118 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
119 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
121 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
126 eval "enable_${ac_feature}='$ac_optarg'" ;;
128 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
129 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
130 | --exec | --exe | --ex)
131 ac_prev=exec_prefix ;;
132 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
133 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
134 | --exec=* | --exe=* | --ex=*)
135 exec_prefix="$ac_optarg" ;;
137 -gas | --gas | --ga | --g)
138 # Obsolete; use --with-gas.
141 -help | --help | --hel | --he)
142 # Omit some internal or obsolete options to make the list less imposing.
143 # This message is too long to be a string in the A/UX 3.1 sh.
145 Usage: configure [options] [host]
146 Options: [defaults in brackets after descriptions]
148 --cache-file=FILE cache test results in FILE
149 --help print this message
150 --no-create do not create output files
151 --quiet, --silent do not print \`checking...' messages
152 --version print the version of autoconf that created configure
153 Directory and file names:
154 --prefix=PREFIX install architecture-independent files in PREFIX
156 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
158 --bindir=DIR user executables in DIR [EPREFIX/bin]
159 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
160 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
161 --datadir=DIR read-only architecture-independent data in DIR
163 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
164 --sharedstatedir=DIR modifiable architecture-independent data in DIR
166 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
167 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
168 --includedir=DIR C header files in DIR [PREFIX/include]
169 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
170 --infodir=DIR info documentation in DIR [PREFIX/info]
171 --mandir=DIR man documentation in DIR [PREFIX/man]
172 --srcdir=DIR find the sources in DIR [configure dir or ..]
173 --program-prefix=PREFIX prepend PREFIX to installed program names
174 --program-suffix=SUFFIX append SUFFIX to installed program names
175 --program-transform-name=PROGRAM
176 run sed PROGRAM on installed program names
180 --build=BUILD configure for building on BUILD [BUILD=HOST]
181 --host=HOST configure for HOST [guessed]
182 --target=TARGET configure for TARGET [TARGET=HOST]
183 Features and packages:
184 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
185 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
186 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
187 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
188 --x-includes=DIR X include files are in DIR
189 --x-libraries=DIR X library files are in DIR
191 if test -n "$ac_help"; then
192 echo "--enable and --with options recognized:$ac_help"
196 -host | --host | --hos | --ho)
198 -host=* | --host=* | --hos=* | --ho=*)
201 -includedir | --includedir | --includedi | --included | --include \
202 | --includ | --inclu | --incl | --inc)
203 ac_prev=includedir ;;
204 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
205 | --includ=* | --inclu=* | --incl=* | --inc=*)
206 includedir="$ac_optarg" ;;
208 -infodir | --infodir | --infodi | --infod | --info | --inf)
210 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
211 infodir="$ac_optarg" ;;
213 -libdir | --libdir | --libdi | --libd)
215 -libdir=* | --libdir=* | --libdi=* | --libd=*)
216 libdir="$ac_optarg" ;;
218 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
219 | --libexe | --libex | --libe)
220 ac_prev=libexecdir ;;
221 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
222 | --libexe=* | --libex=* | --libe=*)
223 libexecdir="$ac_optarg" ;;
225 -localstatedir | --localstatedir | --localstatedi | --localstated \
226 | --localstate | --localstat | --localsta | --localst \
227 | --locals | --local | --loca | --loc | --lo)
228 ac_prev=localstatedir ;;
229 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
230 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
231 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
232 localstatedir="$ac_optarg" ;;
234 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
236 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
237 mandir="$ac_optarg" ;;
240 # Obsolete; use --without-fp.
243 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
247 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
248 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
251 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
252 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
253 | --oldin | --oldi | --old | --ol | --o)
254 ac_prev=oldincludedir ;;
255 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
256 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
257 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
258 oldincludedir="$ac_optarg" ;;
260 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
262 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
263 prefix="$ac_optarg" ;;
265 -program-prefix | --program-prefix | --program-prefi | --program-pref \
266 | --program-pre | --program-pr | --program-p)
267 ac_prev=program_prefix ;;
268 -program-prefix=* | --program-prefix=* | --program-prefi=* \
269 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
270 program_prefix="$ac_optarg" ;;
272 -program-suffix | --program-suffix | --program-suffi | --program-suff \
273 | --program-suf | --program-su | --program-s)
274 ac_prev=program_suffix ;;
275 -program-suffix=* | --program-suffix=* | --program-suffi=* \
276 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
277 program_suffix="$ac_optarg" ;;
279 -program-transform-name | --program-transform-name \
280 | --program-transform-nam | --program-transform-na \
281 | --program-transform-n | --program-transform- \
282 | --program-transform | --program-transfor \
283 | --program-transfo | --program-transf \
284 | --program-trans | --program-tran \
285 | --progr-tra | --program-tr | --program-t)
286 ac_prev=program_transform_name ;;
287 -program-transform-name=* | --program-transform-name=* \
288 | --program-transform-nam=* | --program-transform-na=* \
289 | --program-transform-n=* | --program-transform-=* \
290 | --program-transform=* | --program-transfor=* \
291 | --program-transfo=* | --program-transf=* \
292 | --program-trans=* | --program-tran=* \
293 | --progr-tra=* | --program-tr=* | --program-t=*)
294 program_transform_name="$ac_optarg" ;;
296 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
297 | -silent | --silent | --silen | --sile | --sil)
300 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
302 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
304 sbindir="$ac_optarg" ;;
306 -sharedstatedir | --sharedstatedir | --sharedstatedi \
307 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
308 | --sharedst | --shareds | --shared | --share | --shar \
310 ac_prev=sharedstatedir ;;
311 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
312 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
313 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
315 sharedstatedir="$ac_optarg" ;;
317 -site | --site | --sit)
319 -site=* | --site=* | --sit=*)
322 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
324 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
325 srcdir="$ac_optarg" ;;
327 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
328 | --syscon | --sysco | --sysc | --sys | --sy)
329 ac_prev=sysconfdir ;;
330 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
331 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
332 sysconfdir="$ac_optarg" ;;
334 -target | --target | --targe | --targ | --tar | --ta | --t)
336 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
337 target="$ac_optarg" ;;
339 -v | -verbose | --verbose | --verbos | --verbo | --verb)
342 -version | --version | --versio | --versi | --vers)
343 echo "configure generated by autoconf version 2.13"
347 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
348 # Reject names that are not valid shell variable names.
349 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
350 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
352 ac_package=`echo $ac_package| sed 's/-/_/g'`
357 eval "with_${ac_package}='$ac_optarg'" ;;
359 -without-* | --without-*)
360 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
361 # Reject names that are not valid shell variable names.
362 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
363 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
365 ac_package=`echo $ac_package| sed 's/-/_/g'`
366 eval "with_${ac_package}=no" ;;
369 # Obsolete; use --with-x.
372 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
373 | --x-incl | --x-inc | --x-in | --x-i)
374 ac_prev=x_includes ;;
375 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
376 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
377 x_includes="$ac_optarg" ;;
379 -x-libraries | --x-libraries | --x-librarie | --x-librari \
380 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
381 ac_prev=x_libraries ;;
382 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
383 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
384 x_libraries="$ac_optarg" ;;
386 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
390 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
391 echo "configure: warning: $ac_option: invalid host type" 1>&2
393 if test "x$nonopt" != xNONE; then
394 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
402 if test -n "$ac_prev"; then
403 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
406 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
408 # File descriptor usage:
411 # 2 errors and warnings
412 # 3 some systems may open it to /dev/tty
413 # 4 used on the Kubota Titan
414 # 6 checking for... messages and results
415 # 5 compiler messages saved in config.log
416 if test "$silent" = yes; then
424 This file contains any messages produced by compilers while
425 running configure, to aid debugging if configure makes a mistake.
428 # Strip out --no-create and --no-recursion so they do not pile up.
429 # Also quote any args containing shell metacharacters.
434 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
435 | --no-cr | --no-c) ;;
436 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
437 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
438 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
439 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
440 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
445 # Only set these to C if already set. These must not be set unconditionally
446 # because not all systems understand e.g. LANG=C (notably SCO).
447 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
448 # Non-C LC_CTYPE values break the ctype check.
449 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
450 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
451 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
452 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
454 # confdefs.h avoids OS command line length limits that DEFS can exceed.
455 rm -rf conftest* confdefs.h
456 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
459 # A filename unique to this package, relative to the directory that
460 # configure is in, which we can look for to find out if srcdir is correct.
461 ac_unique_file=rawether.c
463 # Find the source files, if location was not specified.
464 if test -z "$srcdir"; then
465 ac_srcdir_defaulted=yes
466 # Try the directory containing this script, then its parent.
468 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
469 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
471 if test ! -r $srcdir/$ac_unique_file; then
475 ac_srcdir_defaulted=no
477 if test ! -r $srcdir/$ac_unique_file; then
478 if test "$ac_srcdir_defaulted" = yes; then
479 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
481 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
484 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
486 # Prefer explicitly selected file to automatically selected ones.
487 if test -z "$CONFIG_SITE"; then
488 if test "x$prefix" != xNONE; then
489 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
491 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
494 for ac_site_file in $CONFIG_SITE; do
495 if test -r "$ac_site_file"; then
496 echo "loading site script $ac_site_file"
501 if test -r "$cache_file"; then
502 echo "loading cache $cache_file"
505 echo "creating cache $cache_file"
510 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
511 ac_cpp='$CPP $CPPFLAGS'
512 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
513 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
514 cross_compiling=$ac_cv_prog_cc_cross
518 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
519 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
520 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
527 ac_n= ac_c='\c' ac_t=
533 for ac_dir in ../../../../../../../acsupport $srcdir/../../../../../../../acsupport; do
534 if test -f $ac_dir/install-sh; then
536 ac_install_sh="$ac_aux_dir/install-sh -c"
538 elif test -f $ac_dir/install.sh; then
540 ac_install_sh="$ac_aux_dir/install.sh -c"
544 if test -z "$ac_aux_dir"; then
545 { echo "configure: error: can not find install-sh or install.sh in ../../../../../../../acsupport $srcdir/../../../../../../../acsupport" 1>&2; exit 1; }
547 ac_config_guess=$ac_aux_dir/config.guess
548 ac_config_sub=$ac_aux_dir/config.sub
549 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
553 echo $ac_n "checking that a separate build tree is being used""... $ac_c" 1>&6
554 echo "configure:555: checking that a separate build tree is being used" >&5
556 if test "${srcdir}" = "." ; then
559 if test "${ecos_cwd}" = "${srcdir}" ; then
560 echo "$ac_t""no" 1>&6
561 { echo "configure: error: This configure script should not be run inside the source tree. Instead please use a separate build tree" 1>&2; exit 1; }
563 echo "$ac_t""yes" 1>&6
567 # Make sure we can run config.sub.
568 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
569 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
572 echo $ac_n "checking host system type""... $ac_c" 1>&6
573 echo "configure:574: checking host system type" >&5
576 case "$host_alias" in
580 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
581 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
583 *) host_alias=$nonopt ;;
587 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
588 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
589 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
590 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
591 echo "$ac_t""$host" 1>&6
593 am__api_version="1.4"
594 # Find a good install program. We prefer a C program (faster),
595 # so one script is as good as another. But avoid the broken or
596 # incompatible versions:
597 # SysV /etc/install, /usr/sbin/install
598 # SunOS /usr/etc/install
601 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
602 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
603 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
604 # ./install, which can be erroneously created by make from ./install.sh.
605 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
606 echo "configure:607: checking for a BSD compatible install" >&5
607 if test -z "$INSTALL"; then
608 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
609 echo $ac_n "(cached) $ac_c" 1>&6
611 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
612 for ac_dir in $PATH; do
613 # Account for people who put trailing slashes in PATH elements.
615 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
617 # OSF1 and SCO ODT 3.0 have their own names for install.
618 # Don't use installbsd from OSF since it installs stuff as root
620 for ac_prog in ginstall scoinst install; do
621 if test -f $ac_dir/$ac_prog; then
622 if test $ac_prog = install &&
623 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
624 # AIX install. It has an incompatible calling convention.
627 ac_cv_path_install="$ac_dir/$ac_prog -c"
638 if test "${ac_cv_path_install+set}" = set; then
639 INSTALL="$ac_cv_path_install"
641 # As a last resort, use the slow shell script. We don't cache a
642 # path for INSTALL within a source directory, because that will
643 # break other packages using the cache if that directory is
644 # removed, or if the path is relative.
645 INSTALL="$ac_install_sh"
648 echo "$ac_t""$INSTALL" 1>&6
650 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
651 # It thinks the first close brace ends the variable substitution.
652 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
654 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
656 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
658 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
659 echo "configure:660: checking whether build environment is sane" >&5
662 echo timestamp > conftestfile
663 # Do `set' in a subshell so we don't clobber the current shell's
664 # arguments. Must try -L first in case configure is actually a
665 # symlink; some systems play weird games with the mod time of symlinks
666 # (eg FreeBSD returns the mod time of the symlink's containing
669 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
670 if test "$*" = "X"; then
672 set X `ls -t $srcdir/configure conftestfile`
674 if test "$*" != "X $srcdir/configure conftestfile" \
675 && test "$*" != "X conftestfile $srcdir/configure"; then
677 # If neither matched, then we have a broken ls. This can happen
678 # if, for instance, CONFIG_SHELL is bash and it inherits a
679 # broken ls alias from the environment. This has actually
680 # happened. Such a system could not be considered "sane".
681 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
682 alias in your environment" 1>&2; exit 1; }
685 test "$2" = conftestfile
691 { echo "configure: error: newly created file is older than distributed files!
692 Check your system clock" 1>&2; exit 1; }
695 echo "$ac_t""yes" 1>&6
696 if test "$program_transform_name" = s,x,x,; then
697 program_transform_name=
699 # Double any \ or $. echo might interpret backslashes.
700 cat <<\EOF_SED > conftestsed
701 s,\\,\\\\,g; s,\$,$$,g
703 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
706 test "$program_prefix" != NONE &&
707 program_transform_name="s,^,${program_prefix},; $program_transform_name"
708 # Use a double $ so make ignores it.
709 test "$program_suffix" != NONE &&
710 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
712 # sed with no file args requires a program.
713 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
715 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
716 echo "configure:717: checking whether ${MAKE-make} sets \${MAKE}" >&5
717 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
718 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
719 echo $ac_n "(cached) $ac_c" 1>&6
721 cat > conftestmake <<\EOF
723 @echo 'ac_maketemp="${MAKE}"'
725 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
726 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
727 if test -n "$ac_maketemp"; then
728 eval ac_cv_prog_make_${ac_make}_set=yes
730 eval ac_cv_prog_make_${ac_make}_set=no
734 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
735 echo "$ac_t""yes" 1>&6
738 echo "$ac_t""no" 1>&6
739 SET_MAKE="MAKE=${MAKE-make}"
743 PACKAGE=eCos_synthetic_target_ethernet
747 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
748 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
753 missing_dir=`cd $ac_aux_dir && pwd`
754 echo $ac_n "checking for working aclocal-${am__api_version}""... $ac_c" 1>&6
755 echo "configure:756: checking for working aclocal-${am__api_version}" >&5
756 # Run test in a subshell; some versions of sh will print an error if
757 # an executable is not found, even if stderr is redirected.
758 # Redirect stdin to placate older versions of autoconf. Sigh.
759 if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
760 ACLOCAL=aclocal-${am__api_version}
761 echo "$ac_t""found" 1>&6
763 ACLOCAL="$missing_dir/missing aclocal-${am__api_version}"
764 echo "$ac_t""missing" 1>&6
767 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
768 echo "configure:769: checking for working autoconf" >&5
769 # Run test in a subshell; some versions of sh will print an error if
770 # an executable is not found, even if stderr is redirected.
771 # Redirect stdin to placate older versions of autoconf. Sigh.
772 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
774 echo "$ac_t""found" 1>&6
776 AUTOCONF="$missing_dir/missing autoconf"
777 echo "$ac_t""missing" 1>&6
780 echo $ac_n "checking for working automake-${am__api_version}""... $ac_c" 1>&6
781 echo "configure:782: checking for working automake-${am__api_version}" >&5
782 # Run test in a subshell; some versions of sh will print an error if
783 # an executable is not found, even if stderr is redirected.
784 # Redirect stdin to placate older versions of autoconf. Sigh.
785 if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
786 AUTOMAKE=automake-${am__api_version}
787 echo "$ac_t""found" 1>&6
789 AUTOMAKE="$missing_dir/missing automake-${am__api_version}"
790 echo "$ac_t""missing" 1>&6
793 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
794 echo "configure:795: checking for working autoheader" >&5
795 # Run test in a subshell; some versions of sh will print an error if
796 # an executable is not found, even if stderr is redirected.
797 # Redirect stdin to placate older versions of autoconf. Sigh.
798 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
799 AUTOHEADER=autoheader
800 echo "$ac_t""found" 1>&6
802 AUTOHEADER="$missing_dir/missing autoheader"
803 echo "$ac_t""missing" 1>&6
806 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
807 echo "configure:808: checking for working makeinfo" >&5
808 # Run test in a subshell; some versions of sh will print an error if
809 # an executable is not found, even if stderr is redirected.
810 # Redirect stdin to placate older versions of autoconf. Sigh.
811 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
813 echo "$ac_t""found" 1>&6
815 MAKEINFO="$missing_dir/missing makeinfo"
816 echo "$ac_t""missing" 1>&6
820 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
821 echo "configure:822: checking whether to enable maintainer-specific portions of Makefiles" >&5
822 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
823 if test "${enable_maintainer_mode+set}" = set; then
824 enableval="$enable_maintainer_mode"
825 USE_MAINTAINER_MODE=$enableval
827 USE_MAINTAINER_MODE=no
830 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
833 if test $USE_MAINTAINER_MODE = yes; then
834 MAINTAINER_MODE_TRUE=
835 MAINTAINER_MODE_FALSE='#'
837 MAINTAINER_MODE_TRUE='#'
838 MAINTAINER_MODE_FALSE=
840 MAINT=$MAINTAINER_MODE_TRUE
845 i[34567]86-*-linux-gnu* ) SUPPORTED="yes";;
848 if test "${SUPPORTED}" = "no" ; then
849 echo "configure: warning: Synthetic target ethernet support is only available on x86 Linux hosts" 1>&2
852 if test "${SUPPORTED}" = "yes" ; then
853 # Extract the first word of "gcc", so it can be a program name with args.
854 set dummy gcc; ac_word=$2
855 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
856 echo "configure:857: checking for $ac_word" >&5
857 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
858 echo $ac_n "(cached) $ac_c" 1>&6
860 if test -n "$CC"; then
861 ac_cv_prog_CC="$CC" # Let the user override the test.
863 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
865 for ac_dir in $ac_dummy; do
866 test -z "$ac_dir" && ac_dir=.
867 if test -f $ac_dir/$ac_word; then
876 if test -n "$CC"; then
877 echo "$ac_t""$CC" 1>&6
879 echo "$ac_t""no" 1>&6
882 if test -z "$CC"; then
883 # Extract the first word of "cc", so it can be a program name with args.
884 set dummy cc; ac_word=$2
885 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
886 echo "configure:887: checking for $ac_word" >&5
887 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
888 echo $ac_n "(cached) $ac_c" 1>&6
890 if test -n "$CC"; then
891 ac_cv_prog_CC="$CC" # Let the user override the test.
893 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
896 for ac_dir in $ac_dummy; do
897 test -z "$ac_dir" && ac_dir=.
898 if test -f $ac_dir/$ac_word; then
899 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
908 if test $ac_prog_rejected = yes; then
909 # We found a bogon in the path, so make sure we never use it.
910 set dummy $ac_cv_prog_CC
912 if test $# -gt 0; then
913 # We chose a different compiler from the bogus one.
914 # However, it has the same basename, so the bogon will be chosen
915 # first if we set CC to just the basename; use the full file name.
917 set dummy "$ac_dir/$ac_word" "$@"
925 if test -n "$CC"; then
926 echo "$ac_t""$CC" 1>&6
928 echo "$ac_t""no" 1>&6
931 if test -z "$CC"; then
934 # Extract the first word of "cl", so it can be a program name with args.
935 set dummy cl; ac_word=$2
936 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
937 echo "configure:938: checking for $ac_word" >&5
938 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
939 echo $ac_n "(cached) $ac_c" 1>&6
941 if test -n "$CC"; then
942 ac_cv_prog_CC="$CC" # Let the user override the test.
944 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
946 for ac_dir in $ac_dummy; do
947 test -z "$ac_dir" && ac_dir=.
948 if test -f $ac_dir/$ac_word; then
957 if test -n "$CC"; then
958 echo "$ac_t""$CC" 1>&6
960 echo "$ac_t""no" 1>&6
965 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
968 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
969 echo "configure:970: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
972 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
973 ac_cpp='$CPP $CPPFLAGS'
974 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
975 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
976 cross_compiling=$ac_cv_prog_cc_cross
978 cat > conftest.$ac_ext << EOF
980 #line 981 "configure"
981 #include "confdefs.h"
985 if { (eval echo configure:986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
986 ac_cv_prog_cc_works=yes
987 # If we can't run a trivial program, we are probably using a cross compiler.
988 if (./conftest; exit) 2>/dev/null; then
989 ac_cv_prog_cc_cross=no
991 ac_cv_prog_cc_cross=yes
994 echo "configure: failed program was:" >&5
995 cat conftest.$ac_ext >&5
996 ac_cv_prog_cc_works=no
1000 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1001 ac_cpp='$CPP $CPPFLAGS'
1002 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1003 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1004 cross_compiling=$ac_cv_prog_cc_cross
1006 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1007 if test $ac_cv_prog_cc_works = no; then
1008 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1010 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1011 echo "configure:1012: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1012 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1013 cross_compiling=$ac_cv_prog_cc_cross
1015 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1016 echo "configure:1017: checking whether we are using GNU C" >&5
1017 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1018 echo $ac_n "(cached) $ac_c" 1>&6
1020 cat > conftest.c <<EOF
1025 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1026: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1032 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1034 if test $ac_cv_prog_gcc = yes; then
1040 ac_test_CFLAGS="${CFLAGS+set}"
1041 ac_save_CFLAGS="$CFLAGS"
1043 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1044 echo "configure:1045: checking whether ${CC-cc} accepts -g" >&5
1045 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1046 echo $ac_n "(cached) $ac_c" 1>&6
1048 echo 'void f(){}' > conftest.c
1049 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1058 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1059 if test "$ac_test_CFLAGS" = set; then
1060 CFLAGS="$ac_save_CFLAGS"
1061 elif test $ac_cv_prog_cc_g = yes; then
1062 if test "$GCC" = yes; then
1068 if test "$GCC" = yes; then
1075 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
1077 # Extract the first word of "$ac_prog", so it can be a program name with args.
1078 set dummy $ac_prog; ac_word=$2
1079 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1080 echo "configure:1081: checking for $ac_word" >&5
1081 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
1082 echo $ac_n "(cached) $ac_c" 1>&6
1084 if test -n "$CXX"; then
1085 ac_cv_prog_CXX="$CXX" # Let the user override the test.
1087 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1089 for ac_dir in $ac_dummy; do
1090 test -z "$ac_dir" && ac_dir=.
1091 if test -f $ac_dir/$ac_word; then
1092 ac_cv_prog_CXX="$ac_prog"
1099 CXX="$ac_cv_prog_CXX"
1100 if test -n "$CXX"; then
1101 echo "$ac_t""$CXX" 1>&6
1103 echo "$ac_t""no" 1>&6
1106 test -n "$CXX" && break
1108 test -n "$CXX" || CXX="gcc"
1111 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1112 echo "configure:1113: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
1115 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1116 ac_cpp='$CXXCPP $CPPFLAGS'
1117 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1118 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1119 cross_compiling=$ac_cv_prog_cxx_cross
1121 cat > conftest.$ac_ext << EOF
1123 #line 1124 "configure"
1124 #include "confdefs.h"
1126 int main(){return(0);}
1128 if { (eval echo configure:1129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1129 ac_cv_prog_cxx_works=yes
1130 # If we can't run a trivial program, we are probably using a cross compiler.
1131 if (./conftest; exit) 2>/dev/null; then
1132 ac_cv_prog_cxx_cross=no
1134 ac_cv_prog_cxx_cross=yes
1137 echo "configure: failed program was:" >&5
1138 cat conftest.$ac_ext >&5
1139 ac_cv_prog_cxx_works=no
1143 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1144 ac_cpp='$CPP $CPPFLAGS'
1145 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1146 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1147 cross_compiling=$ac_cv_prog_cc_cross
1149 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
1150 if test $ac_cv_prog_cxx_works = no; then
1151 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
1153 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1154 echo "configure:1155: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
1155 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
1156 cross_compiling=$ac_cv_prog_cxx_cross
1158 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1159 echo "configure:1160: checking whether we are using GNU C++" >&5
1160 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1161 echo $ac_n "(cached) $ac_c" 1>&6
1163 cat > conftest.C <<EOF
1168 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1169: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1175 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1177 if test $ac_cv_prog_gxx = yes; then
1183 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1184 ac_save_CXXFLAGS="$CXXFLAGS"
1186 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1187 echo "configure:1188: checking whether ${CXX-g++} accepts -g" >&5
1188 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1189 echo $ac_n "(cached) $ac_c" 1>&6
1191 echo 'void f(){}' > conftest.cc
1192 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1193 ac_cv_prog_cxx_g=yes
1201 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1202 if test "$ac_test_CXXFLAGS" = set; then
1203 CXXFLAGS="$ac_save_CXXFLAGS"
1204 elif test $ac_cv_prog_cxx_g = yes; then
1205 if test "$GXX" = yes; then
1211 if test "$GXX" = yes; then
1218 for ac_declaration in \
1220 '#include <stdlib.h>' \
1221 'extern "C" void std::exit (int) throw (); using std::exit;' \
1222 'extern "C" void std::exit (int); using std::exit;' \
1223 'extern "C" void exit (int) throw ();' \
1224 'extern "C" void exit (int);' \
1227 cat > conftest.$ac_ext <<EOF
1228 #line 1229 "configure"
1229 #include "confdefs.h"
1236 if { (eval echo configure:1237: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1239 echo "configure: failed program was:" >&5
1240 cat conftest.$ac_ext >&5
1245 cat > conftest.$ac_ext <<EOF
1246 #line 1247 "configure"
1247 #include "confdefs.h"
1253 if { (eval echo configure:1254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1257 echo "configure: failed program was:" >&5
1258 cat conftest.$ac_ext >&5
1262 if test -n "$ac_declaration"; then
1263 echo '#ifdef __cplusplus' >>confdefs.h
1264 echo $ac_declaration >>confdefs.h
1265 echo '#endif' >>confdefs.h
1269 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
1270 echo "configure:1271: checking for object suffix" >&5
1271 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
1272 echo $ac_n "(cached) $ac_c" 1>&6
1275 echo 'int i = 1;' > conftest.$ac_ext
1276 if { (eval echo configure:1277: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1277 for ac_file in conftest.*; do
1280 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
1284 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
1289 echo "$ac_t""$ac_cv_objext" 1>&6
1290 OBJEXT=$ac_cv_objext
1291 ac_objext=$ac_cv_objext
1293 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
1294 echo "configure:1295: checking for Cygwin environment" >&5
1295 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
1296 echo $ac_n "(cached) $ac_c" 1>&6
1298 cat > conftest.$ac_ext <<EOF
1299 #line 1300 "configure"
1300 #include "confdefs.h"
1305 #define __CYGWIN__ __CYGWIN32__
1310 if { (eval echo configure:1311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1314 echo "configure: failed program was:" >&5
1315 cat conftest.$ac_ext >&5
1323 echo "$ac_t""$ac_cv_cygwin" 1>&6
1325 test "$ac_cv_cygwin" = yes && CYGWIN=yes
1326 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
1327 echo "configure:1328: checking for mingw32 environment" >&5
1328 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
1329 echo $ac_n "(cached) $ac_c" 1>&6
1331 cat > conftest.$ac_ext <<EOF
1332 #line 1333 "configure"
1333 #include "confdefs.h"
1339 if { (eval echo configure:1340: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1343 echo "configure: failed program was:" >&5
1344 cat conftest.$ac_ext >&5
1352 echo "$ac_t""$ac_cv_mingw32" 1>&6
1354 test "$ac_cv_mingw32" = yes && MINGW32=yes
1357 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1358 echo "configure:1359: checking for executable suffix" >&5
1359 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1360 echo $ac_n "(cached) $ac_c" 1>&6
1362 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1366 echo 'int main () { return 0; }' > conftest.$ac_ext
1368 if { (eval echo configure:1369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1369 for file in conftest.*; do
1371 *.c | *.o | *.obj) ;;
1372 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1376 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1379 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1384 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1385 echo "$ac_t""${ac_cv_exeext}" 1>&6
1405 echo $ac_n "checking "for Visual C++"""... $ac_c" 1>&6
1406 echo "configure:1407: checking "for Visual C++"" >&5
1408 if test "${CC}" = "cl" ; then
1411 MSVC_SRCDIR=${srcdir}
1415 if test "${MSVC}" = "yes" ; then
1416 MSVC_SRCDIR=`cygpath -w ${MSVC_SRCDIR} | tr \\\\\\\\ /`
1420 ecos_INCLUDES="${ecos_INCLUDES} \"-I${MSVC_SRCDIR}\""
1422 ecos_LIBS="advapi32.lib"
1426 if test "${MSVC}" = "yes"; then
1433 if test "${MSVC}" = "yes" ; then
1434 echo "$ac_t""unfortunately yes" 1>&6
1436 echo "$ac_t""no" 1>&6
1445 echo $ac_n "checking "the default compiler flags"""... $ac_c" 1>&6
1446 echo "configure:1447: checking "the default compiler flags"" >&5
1448 ecosflags_enable_debug="no"
1449 # Check whether --enable-debug or --disable-debug was given.
1450 if test "${enable_debug+set}" = set; then
1451 enableval="$enable_debug"
1452 case "${enableval}" in
1453 yes) ecosflags_enable_debug="yes" ;;
1454 *) ecosflags_enable_debug="no" ;;
1459 ecosflags_enable_ansi="no"
1460 if test "${MSVC}" = "yes" ; then
1461 # Check whether --enable-ansi or --disable-ansi was given.
1462 if test "${enable_ansi+set}" = set; then
1463 enableval="$enable_ansi"
1464 case "${enableval}" in
1465 yes) ecosflags_enable_ansi="yes" ;;
1466 *) ecosflags_enable_ansi="no" ;;
1472 if test "${GCC}" = "yes" ; then
1473 ecos_CFLAGS="${ecos_CFLAGS} -pipe -Wall -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs"
1474 ecos_CXXFLAGS="${ecos_CXXFLAGS} -pipe -Wall -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Woverloaded-virtual"
1475 elif test "${MSVC}" = "yes" ; then
1476 ecos_CFLAGS="${ecos_CFLAGS} -nologo -W3"
1477 ecos_CXXFLAGS="${ecos_CXXFLAGS} -nologo -W3 -GR -GX"
1479 { echo "configure: error: "default flags for ${CC} are not known"" 1>&2; exit 1; }
1482 if test "${ecosflags_enable_debug}" = "yes" ; then
1483 if test "${GCC}" = "yes" ; then
1484 ecos_CFLAGS="${ecos_CFLAGS} -g -O0"
1485 ecos_CXXFLAGS="${ecos_CXXFLAGS} -g -O0"
1486 elif test "${MSVC}" = "yes" ; then
1487 ecos_CFLAGS="${ecos_CFLAGS} -MDd -Zi"
1488 ecos_CXXFLAGS="${ecos_CXXFLAGS} -MDd -Zi"
1491 if test "${GCC}" = "yes" ; then
1492 ecos_CFLAGS="${ecos_CFLAGS} -O0"
1493 ecos_CXXFLAGS="${ecos_CXXFLAGS} -O0"
1494 elif test "${MSVC}" = "yes" ; then
1495 ecos_CFLAGS="${ecos_CFLAGS} -MD -O2"
1496 ecos_CXXFLAGS="${ecos_CXXFLAGS} -MD -O2"
1500 CFLAGS="${ac_save_CFLAGS}"
1501 CXXFLAGS="${ac_save_CXXFLAGS}"
1503 echo "$ac_t""done" 1>&6
1507 package_dir=`cd ${srcdir} && /bin/pwd`
1508 PACKAGE_VERSION=`dirname ${package_dir}`
1509 PACKAGE_VERSION=`basename ${PACKAGE_VERSION}`
1511 package_dir=`dirname ${package_dir}`
1512 package_dir=`dirname ${package_dir}`
1514 possibles="${package_dir}/.. ${package_dir}/../.. ${package_dir}/../../.. ${package_dir}/../../../.."
1515 possibles="${possibles} ${package_dir}/../../../../.. ${package_dir}/../../../../../.."
1518 for i in ${possibles}; do
1519 if test -d "$i/"acsupport""; then
1525 if test "${repository_root}" = "" ; then
1526 { echo "configure: error: Failed to identify this package's position within the eCos repository" 1>&2; exit 1; }
1528 ECOS_REPOSITORY=`cd "${repository_root}/packages/pkgconf/.." && /bin/pwd`
1530 PACKAGE_DIR=`echo ${package_dir} | sed -e "s:${ECOS_REPOSITORY}/::"`
1532 PACKAGE_INSTALL="${PACKAGE_DIR}/${PACKAGE_VERSION}"
1540 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1541 echo "configure:1542: checking how to run the C preprocessor" >&5
1542 # On Suns, sometimes $CPP names a directory.
1543 if test -n "$CPP" && test -d "$CPP"; then
1546 if test -z "$CPP"; then
1547 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
1548 echo $ac_n "(cached) $ac_c" 1>&6
1550 # This must be in double quotes, not single quotes, because CPP may get
1551 # substituted into the Makefile and "${CC-cc}" will confuse make.
1553 # On the NeXT, cc -E runs the code through the compiler's parser,
1554 # not just through cpp.
1555 cat > conftest.$ac_ext <<EOF
1556 #line 1557 "configure"
1557 #include "confdefs.h"
1561 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1562 { (eval echo configure:1563: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1563 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1564 if test -z "$ac_err"; then
1568 echo "configure: failed program was:" >&5
1569 cat conftest.$ac_ext >&5
1571 CPP="${CC-cc} -E -traditional-cpp"
1572 cat > conftest.$ac_ext <<EOF
1573 #line 1574 "configure"
1574 #include "confdefs.h"
1578 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1579 { (eval echo configure:1580: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1580 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1581 if test -z "$ac_err"; then
1585 echo "configure: failed program was:" >&5
1586 cat conftest.$ac_ext >&5
1588 CPP="${CC-cc} -nologo -E"
1589 cat > conftest.$ac_ext <<EOF
1590 #line 1591 "configure"
1591 #include "confdefs.h"
1595 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1596 { (eval echo configure:1597: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1597 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1598 if test -z "$ac_err"; then
1602 echo "configure: failed program was:" >&5
1603 cat conftest.$ac_ext >&5
1612 ac_cv_prog_CPP="$CPP"
1614 CPP="$ac_cv_prog_CPP"
1616 ac_cv_prog_CPP="$CPP"
1618 echo "$ac_t""$CPP" 1>&6
1620 for ac_hdr in "linux/if_tun.h"
1622 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1623 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1624 echo "configure:1625: checking for $ac_hdr" >&5
1625 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1626 echo $ac_n "(cached) $ac_c" 1>&6
1628 cat > conftest.$ac_ext <<EOF
1629 #line 1630 "configure"
1630 #include "confdefs.h"
1633 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1634 { (eval echo configure:1635: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1635 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1636 if test -z "$ac_err"; then
1638 eval "ac_cv_header_$ac_safe=yes"
1641 echo "configure: failed program was:" >&5
1642 cat conftest.$ac_ext >&5
1644 eval "ac_cv_header_$ac_safe=no"
1648 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1649 echo "$ac_t""yes" 1>&6
1650 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
1651 cat >> confdefs.h <<EOF
1652 #define $ac_tr_hdr 1
1656 echo "$ac_t""no" 1>&6
1661 if test "${TAP_SUPPORTED}" = "no" ; then
1662 echo "configure: warning: No <linux/if_tun.h> header, ethertap support disabled." 1>&2
1666 if test "${SUPPORTED}" = "no" ; then
1667 echo "configure: warning: The synthetic ethernet support cannot be built on this platform." 1>&2
1672 if test "${SUPPORTED}" = "yes"; then
1682 cat > confcache <<\EOF
1683 # This file is a shell script that caches the results of configure
1684 # tests run on this system so they can be shared between configure
1685 # scripts and configure runs. It is not useful on other systems.
1686 # If it contains results you don't want to keep, you may remove or edit it.
1688 # By default, configure uses ./config.cache as the cache file,
1689 # creating it if it does not exist already. You can give configure
1690 # the --cache-file=FILE option to use a different cache file; that is
1691 # what configure does when it calls configure scripts in
1692 # subdirectories, so they share the cache.
1693 # Giving --cache-file=/dev/null disables caching, for debugging configure.
1694 # config.status only pays attention to the cache file if you give it the
1695 # --recheck option to rerun configure.
1698 # The following way of writing the cache mishandles newlines in values,
1699 # but we know of no workaround that is simple, portable, and efficient.
1700 # So, don't put newlines in cache variables' values.
1701 # Ultrix sh set writes to stderr and can't be redirected directly,
1702 # and sets the high bit in the cache file unless we assign to the vars.
1704 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1706 # `set' does not quote correctly, so add quotes (double-quote substitution
1707 # turns \\\\ into \\, and sed turns \\ into \).
1709 -e "s/'/'\\\\''/g" \
1710 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1713 # `set' quotes correctly as required by POSIX, so do not add quotes.
1714 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1717 if cmp -s $cache_file confcache; then
1720 if test -w $cache_file; then
1721 echo "updating cache $cache_file"
1722 cat confcache > $cache_file
1724 echo "not updating unwritable cache $cache_file"
1729 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1731 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1732 # Let make expand exec_prefix.
1733 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1735 # Any assignment to VPATH causes Sun make to only execute
1736 # the first set of double-colon rules, so remove it if not needed.
1737 # If there is a colon in the path, we need to keep it.
1738 if test "x$srcdir" = x.; then
1739 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
1742 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1744 # Transform confdefs.h into DEFS.
1745 # Protect against shell expansion while executing Makefile rules.
1746 # Protect against Makefile macro expansion.
1748 # If the first sed substitution is executed (which looks for macros that
1749 # take arguments), then we branch to the quote section. Otherwise,
1750 # look for a macro that doesn't take arguments.
1751 cat >confdef2opt.sed <<\_ACEOF
1754 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
1756 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
1760 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
1766 # We use echo to avoid assuming a particular line-breaking character.
1767 # The extra dot is to prevent the shell from consuming trailing
1768 # line-breaks from the sub-command output. A line-break within
1769 # single-quotes doesn't work because, if this script is created in a
1770 # platform that uses two characters for line-breaks (e.g., DOS), tr
1772 ac_LF_and_DOT=`echo; echo .`
1773 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
1774 rm -f confdef2opt.sed
1777 # Without the "./", some shells look in PATH for config.status.
1778 : ${CONFIG_STATUS=./config.status}
1780 echo creating $CONFIG_STATUS
1781 rm -f $CONFIG_STATUS
1782 cat > $CONFIG_STATUS <<EOF
1784 # Generated automatically by configure.
1785 # Run this file to recreate the current configuration.
1786 # This directory was configured as follows,
1787 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1789 # $0 $ac_configure_args
1791 # Compiler output produced by configure, useful for debugging
1792 # configure, is in ./config.log if it exists.
1794 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1797 case "\$ac_option" in
1798 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1799 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1800 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1801 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1802 echo "$CONFIG_STATUS generated by autoconf version 2.13"
1804 -help | --help | --hel | --he | --h)
1805 echo "\$ac_cs_usage"; exit 0 ;;
1806 *) echo "\$ac_cs_usage"; exit 1 ;;
1810 ac_given_srcdir=$srcdir
1811 ac_given_INSTALL="$INSTALL"
1813 trap 'rm -fr `echo "Makefile:Makefile.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1815 cat >> $CONFIG_STATUS <<EOF
1817 # Protect against being on the right side of a sed subst in config.status.
1818 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1819 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1823 s%@CFLAGS@%$CFLAGS%g
1824 s%@CPPFLAGS@%$CPPFLAGS%g
1825 s%@CXXFLAGS@%$CXXFLAGS%g
1826 s%@FFLAGS@%$FFLAGS%g
1828 s%@LDFLAGS@%$LDFLAGS%g
1830 s%@exec_prefix@%$exec_prefix%g
1831 s%@prefix@%$prefix%g
1832 s%@program_transform_name@%$program_transform_name%g
1833 s%@bindir@%$bindir%g
1834 s%@sbindir@%$sbindir%g
1835 s%@libexecdir@%$libexecdir%g
1836 s%@datadir@%$datadir%g
1837 s%@sysconfdir@%$sysconfdir%g
1838 s%@sharedstatedir@%$sharedstatedir%g
1839 s%@localstatedir@%$localstatedir%g
1840 s%@libdir@%$libdir%g
1841 s%@includedir@%$includedir%g
1842 s%@oldincludedir@%$oldincludedir%g
1843 s%@infodir@%$infodir%g
1844 s%@mandir@%$mandir%g
1846 s%@host_alias@%$host_alias%g
1847 s%@host_cpu@%$host_cpu%g
1848 s%@host_vendor@%$host_vendor%g
1849 s%@host_os@%$host_os%g
1850 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
1851 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
1852 s%@INSTALL_DATA@%$INSTALL_DATA%g
1853 s%@PACKAGE@%$PACKAGE%g
1854 s%@VERSION@%$VERSION%g
1855 s%@ACLOCAL@%$ACLOCAL%g
1856 s%@AUTOCONF@%$AUTOCONF%g
1857 s%@AUTOMAKE@%$AUTOMAKE%g
1858 s%@AUTOHEADER@%$AUTOHEADER%g
1859 s%@MAKEINFO@%$MAKEINFO%g
1860 s%@SET_MAKE@%$SET_MAKE%g
1861 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
1862 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
1866 s%@OBJEXT@%$OBJEXT%g
1867 s%@EXEEXT@%$EXEEXT%g
1868 s%@ecos_CFLAGS@%$ecos_CFLAGS%g
1869 s%@ecos_CXXFLAGS@%$ecos_CXXFLAGS%g
1870 s%@ecos_LDADD@%$ecos_LDADD%g
1871 s%@ecos_INCLUDES@%$ecos_INCLUDES%g
1872 s%@ecos_LIBS@%$ecos_LIBS%g
1873 s%@MSVC_SRCDIR@%$MSVC_SRCDIR%g
1874 s%@MSVC_TRUE@%$MSVC_TRUE%g
1875 s%@MSVC_FALSE@%$MSVC_FALSE%g
1876 s%@ECOS_REPOSITORY@%$ECOS_REPOSITORY%g
1877 s%@PACKAGE_DIR@%$PACKAGE_DIR%g
1878 s%@PACKAGE_VERSION@%$PACKAGE_VERSION%g
1879 s%@PACKAGE_INSTALL@%$PACKAGE_INSTALL%g
1881 s%@SUPPORTED_TRUE@%$SUPPORTED_TRUE%g
1882 s%@SUPPORTED_FALSE@%$SUPPORTED_FALSE%g
1887 cat >> $CONFIG_STATUS <<\EOF
1889 # Split the substitutions into bite-sized pieces for seds with
1890 # small command number limits, like on Digital OSF/1 and HP-UX.
1891 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
1892 ac_file=1 # Number of current file.
1893 ac_beg=1 # First line for current file.
1894 ac_end=$ac_max_sed_cmds # Line after last line for current file.
1897 while $ac_more_lines; do
1898 if test $ac_beg -gt 1; then
1899 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
1901 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
1903 if test ! -s conftest.s$ac_file; then
1905 rm -f conftest.s$ac_file
1907 if test -z "$ac_sed_cmds"; then
1908 ac_sed_cmds="sed -f conftest.s$ac_file"
1910 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
1912 ac_file=`expr $ac_file + 1`
1914 ac_end=`expr $ac_end + $ac_max_sed_cmds`
1917 if test -z "$ac_sed_cmds"; then
1922 cat >> $CONFIG_STATUS <<EOF
1924 CONFIG_FILES=\${CONFIG_FILES-"Makefile:Makefile.in"}
1926 cat >> $CONFIG_STATUS <<\EOF
1927 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
1928 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1930 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
1931 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
1932 *) ac_file_in="${ac_file}.in" ;;
1935 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
1937 # Remove last slash and all that follows it. Not all systems have dirname.
1938 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
1939 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1940 # The file is in a subdirectory.
1941 test ! -d "$ac_dir" && mkdir "$ac_dir"
1942 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
1943 # A "../" for each directory in $ac_dir_suffix.
1944 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
1946 ac_dir_suffix= ac_dots=
1949 case "$ac_given_srcdir" in
1951 if test -z "$ac_dots"; then top_srcdir=.
1952 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
1953 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
1955 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
1956 top_srcdir="$ac_dots$ac_given_srcdir" ;;
1959 case "$ac_given_INSTALL" in
1960 [/$]*) INSTALL="$ac_given_INSTALL" ;;
1961 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
1964 echo creating "$ac_file"
1966 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
1968 *Makefile*) ac_comsub="1i\\
1969 # $configure_input" ;;
1973 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1975 s%@configure_input@%$configure_input%g
1976 s%@srcdir@%$srcdir%g
1977 s%@top_srcdir@%$top_srcdir%g
1978 s%@INSTALL@%$INSTALL%g
1979 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
1984 cat >> $CONFIG_STATUS <<EOF
1987 cat >> $CONFIG_STATUS <<\EOF
1991 chmod +x $CONFIG_STATUS
1992 rm -fr confdefs* $ac_clean_files
1993 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1