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-targets=LIST support given additional targets, or all"
20 # Initialize some variables set by options.
21 # The variables have the same names as the options, with
22 # dashes changed to underlines.
24 cache_file=./config.cache
33 program_transform_name=s,x,x,
42 bindir='${exec_prefix}/bin'
43 sbindir='${exec_prefix}/sbin'
44 libexecdir='${exec_prefix}/libexec'
45 datadir='${prefix}/share'
46 sysconfdir='${prefix}/etc'
47 sharedstatedir='${prefix}/com'
48 localstatedir='${prefix}/var'
49 libdir='${exec_prefix}/lib'
50 includedir='${prefix}/include'
51 oldincludedir='/usr/include'
52 infodir='${prefix}/info'
53 mandir='${prefix}/man'
55 # Initialize some other variables.
58 SHELL=${CONFIG_SHELL-/bin/sh}
59 # Maximum number of lines to put in a shell here document.
66 # If the previous option needs an argument, assign it.
67 if test -n "$ac_prev"; then
68 eval "$ac_prev=\$ac_option"
74 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
78 # Accept the important Cygnus configure options, so we can diagnose typos.
82 -bindir | --bindir | --bindi | --bind | --bin | --bi)
84 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
85 bindir="$ac_optarg" ;;
87 -build | --build | --buil | --bui | --bu)
89 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
92 -cache-file | --cache-file | --cache-fil | --cache-fi \
93 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
95 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
96 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
97 cache_file="$ac_optarg" ;;
99 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
101 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
103 datadir="$ac_optarg" ;;
105 -disable-* | --disable-*)
106 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
107 # Reject names that are not valid shell variable names.
108 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
109 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
111 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
112 eval "enable_${ac_feature}=no" ;;
114 -enable-* | --enable-*)
115 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
116 # Reject names that are not valid shell variable names.
117 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
118 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
120 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
125 eval "enable_${ac_feature}='$ac_optarg'" ;;
127 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
128 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
129 | --exec | --exe | --ex)
130 ac_prev=exec_prefix ;;
131 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
132 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
133 | --exec=* | --exe=* | --ex=*)
134 exec_prefix="$ac_optarg" ;;
136 -gas | --gas | --ga | --g)
137 # Obsolete; use --with-gas.
140 -help | --help | --hel | --he)
141 # Omit some internal or obsolete options to make the list less imposing.
142 # This message is too long to be a string in the A/UX 3.1 sh.
144 Usage: configure [options] [host]
145 Options: [defaults in brackets after descriptions]
147 --cache-file=FILE cache test results in FILE
148 --help print this message
149 --no-create do not create output files
150 --quiet, --silent do not print \`checking...' messages
151 --site-file=FILE use FILE as the site file
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 -site-file | --site-file | --site-fil | --site-fi | --site-f)
324 -site-file=* | --site-file=* | --site-fil=* | --site-fi=* | --site-f=*)
325 sitefile="$ac_optarg" ;;
327 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
329 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
330 srcdir="$ac_optarg" ;;
332 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
333 | --syscon | --sysco | --sysc | --sys | --sy)
334 ac_prev=sysconfdir ;;
335 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
336 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
337 sysconfdir="$ac_optarg" ;;
339 -target | --target | --targe | --targ | --tar | --ta | --t)
341 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
342 target="$ac_optarg" ;;
344 -v | -verbose | --verbose | --verbos | --verbo | --verb)
347 -version | --version | --versio | --versi | --vers)
348 echo "configure generated by autoconf version 2.13"
352 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
353 # Reject names that are not valid shell variable names.
354 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
355 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
357 ac_package=`echo $ac_package| sed 's/-/_/g'`
362 eval "with_${ac_package}='$ac_optarg'" ;;
364 -without-* | --without-*)
365 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
366 # Reject names that are not valid shell variable names.
367 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
368 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
370 ac_package=`echo $ac_package| sed 's/-/_/g'`
371 eval "with_${ac_package}=no" ;;
374 # Obsolete; use --with-x.
377 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
378 | --x-incl | --x-inc | --x-in | --x-i)
379 ac_prev=x_includes ;;
380 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
381 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
382 x_includes="$ac_optarg" ;;
384 -x-libraries | --x-libraries | --x-librarie | --x-librari \
385 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
386 ac_prev=x_libraries ;;
387 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
388 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
389 x_libraries="$ac_optarg" ;;
391 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
395 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
396 echo "configure: warning: $ac_option: invalid host type" 1>&2
398 if test "x$nonopt" != xNONE; then
399 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
407 if test -n "$ac_prev"; then
408 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
411 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
413 # File descriptor usage:
416 # 2 errors and warnings
417 # 3 some systems may open it to /dev/tty
418 # 4 used on the Kubota Titan
419 # 6 checking for... messages and results
420 # 5 compiler messages saved in config.log
421 if test "$silent" = yes; then
429 This file contains any messages produced by compilers while
430 running configure, to aid debugging if configure makes a mistake.
433 # Strip out --no-create and --no-recursion so they do not pile up.
434 # Also quote any args containing shell metacharacters.
439 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
440 | --no-cr | --no-c) ;;
441 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
442 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
443 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
444 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
445 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
450 # Only set these to C if already set. These must not be set unconditionally
451 # because not all systems understand e.g. LANG=C (notably SCO).
452 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
453 # Non-C LC_CTYPE values break the ctype check.
454 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
455 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
456 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
457 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
459 # confdefs.h avoids OS command line length limits that DEFS can exceed.
460 rm -rf conftest* confdefs.h
461 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
464 # A filename unique to this package, relative to the directory that
465 # configure is in, which we can look for to find out if srcdir is correct.
466 ac_unique_file=Makefile.in
468 # Find the source files, if location was not specified.
469 if test -z "$srcdir"; then
470 ac_srcdir_defaulted=yes
471 # Try the directory containing this script, then its parent.
473 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
474 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
476 if test ! -r $srcdir/$ac_unique_file; then
480 ac_srcdir_defaulted=no
482 if test ! -r $srcdir/$ac_unique_file; then
483 if test "$ac_srcdir_defaulted" = yes; then
484 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
486 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
489 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
491 # Prefer explicitly selected file to automatically selected ones.
492 if test -z "$sitefile"; then
493 if test -z "$CONFIG_SITE"; then
494 if test "x$prefix" != xNONE; then
495 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
497 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
501 CONFIG_SITE="$sitefile"
503 for ac_site_file in $CONFIG_SITE; do
504 if test -r "$ac_site_file"; then
505 echo "loading site script $ac_site_file"
510 if test -r "$cache_file"; then
511 echo "loading cache $cache_file"
514 echo "creating cache $cache_file"
519 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
520 ac_cpp='$CPP $CPPFLAGS'
521 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
522 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
523 cross_compiling=$ac_cv_prog_cc_cross
527 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
528 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
529 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
536 ac_n= ac_c='\c' ac_t=
541 for ac_dir in ../config $srcdir/../config; do
542 if test -f $ac_dir/install-sh; then
544 ac_install_sh="$ac_aux_dir/install-sh -c"
546 elif test -f $ac_dir/install.sh; then
548 ac_install_sh="$ac_aux_dir/install.sh -c"
552 if test -z "$ac_aux_dir"; then
553 { echo "configure: error: can not find install-sh or install.sh in ../config $srcdir/../config" 1>&2; exit 1; }
555 ac_config_guess=$ac_aux_dir/config.guess
556 ac_config_sub=$ac_aux_dir/config.sub
557 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
559 # Find a good install program. We prefer a C program (faster),
560 # so one script is as good as another. But avoid the broken or
561 # incompatible versions:
562 # SysV /etc/install, /usr/sbin/install
563 # SunOS /usr/etc/install
566 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
567 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
568 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
569 # ./install, which can be erroneously created by make from ./install.sh.
570 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
571 echo "configure:572: checking for a BSD compatible install" >&5
572 if test -z "$INSTALL"; then
573 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
574 echo $ac_n "(cached) $ac_c" 1>&6
576 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
577 for ac_dir in $PATH; do
578 # Account for people who put trailing slashes in PATH elements.
580 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
582 # OSF1 and SCO ODT 3.0 have their own names for install.
583 # Don't use installbsd from OSF since it installs stuff as root
585 for ac_prog in ginstall scoinst install; do
586 if test -f $ac_dir/$ac_prog; then
587 if test $ac_prog = install &&
588 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
589 # AIX install. It has an incompatible calling convention.
592 ac_cv_path_install="$ac_dir/$ac_prog -c"
603 if test "${ac_cv_path_install+set}" = set; then
604 INSTALL="$ac_cv_path_install"
606 # As a last resort, use the slow shell script. We don't cache a
607 # path for INSTALL within a source directory, because that will
608 # break other packages using the cache if that directory is
609 # removed, or if the path is relative.
610 INSTALL="$ac_install_sh"
613 echo "$ac_t""$INSTALL" 1>&6
615 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
616 # It thinks the first close brace ends the variable substitution.
617 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
619 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
621 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
623 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
624 echo "configure:625: checking whether build environment is sane" >&5
627 echo timestamp > conftestfile
628 # Do `set' in a subshell so we don't clobber the current shell's
629 # arguments. Must try -L first in case configure is actually a
630 # symlink; some systems play weird games with the mod time of symlinks
631 # (eg FreeBSD returns the mod time of the symlink's containing
634 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
635 if test "$*" = "X"; then
637 set X `ls -t $srcdir/configure conftestfile`
639 if test "$*" != "X $srcdir/configure conftestfile" \
640 && test "$*" != "X conftestfile $srcdir/configure"; then
642 # If neither matched, then we have a broken ls. This can happen
643 # if, for instance, CONFIG_SHELL is bash and it inherits a
644 # broken ls alias from the environment. This has actually
645 # happened. Such a system could not be considered "sane".
646 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
647 alias in your environment" 1>&2; exit 1; }
650 test "$2" = conftestfile
656 { echo "configure: error: newly created file is older than distributed files!
657 Check your system clock" 1>&2; exit 1; }
660 echo "$ac_t""yes" 1>&6
661 if test "$program_transform_name" = s,x,x,; then
662 program_transform_name=
664 # Double any \ or $. echo might interpret backslashes.
665 cat <<\EOF_SED > conftestsed
666 s,\\,\\\\,g; s,\$,$$,g
668 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
671 test "$program_prefix" != NONE &&
672 program_transform_name="s,^,${program_prefix},; $program_transform_name"
673 # Use a double $ so make ignores it.
674 test "$program_suffix" != NONE &&
675 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
677 # sed with no file args requires a program.
678 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
680 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
681 echo "configure:682: checking whether ${MAKE-make} sets \${MAKE}" >&5
682 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
683 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
684 echo $ac_n "(cached) $ac_c" 1>&6
686 cat > conftestmake <<\EOF
688 @echo 'ac_maketemp="${MAKE}"'
690 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
691 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
692 if test -n "$ac_maketemp"; then
693 eval ac_cv_prog_make_${ac_make}_set=yes
695 eval ac_cv_prog_make_${ac_make}_set=no
699 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
700 echo "$ac_t""yes" 1>&6
703 echo "$ac_t""no" 1>&6
704 SET_MAKE="MAKE=${MAKE-make}"
712 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
713 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
715 cat >> confdefs.h <<EOF
716 #define PACKAGE "$PACKAGE"
719 cat >> confdefs.h <<EOF
720 #define VERSION "$VERSION"
725 missing_dir=`cd $ac_aux_dir && pwd`
726 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
727 echo "configure:728: checking for working aclocal" >&5
728 # Run test in a subshell; some versions of sh will print an error if
729 # an executable is not found, even if stderr is redirected.
730 # Redirect stdin to placate older versions of autoconf. Sigh.
731 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
733 echo "$ac_t""found" 1>&6
735 ACLOCAL="$missing_dir/missing aclocal"
736 echo "$ac_t""missing" 1>&6
739 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
740 echo "configure:741: checking for working autoconf" >&5
741 # Run test in a subshell; some versions of sh will print an error if
742 # an executable is not found, even if stderr is redirected.
743 # Redirect stdin to placate older versions of autoconf. Sigh.
744 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
746 echo "$ac_t""found" 1>&6
748 AUTOCONF="$missing_dir/missing autoconf"
749 echo "$ac_t""missing" 1>&6
752 echo $ac_n "checking for working automake""... $ac_c" 1>&6
753 echo "configure:754: checking for working automake" >&5
754 # Run test in a subshell; some versions of sh will print an error if
755 # an executable is not found, even if stderr is redirected.
756 # Redirect stdin to placate older versions of autoconf. Sigh.
757 if (automake --version) < /dev/null > /dev/null 2>&1; then
759 echo "$ac_t""found" 1>&6
761 AUTOMAKE="$missing_dir/missing automake"
762 echo "$ac_t""missing" 1>&6
765 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
766 echo "configure:767: checking for working autoheader" >&5
767 # Run test in a subshell; some versions of sh will print an error if
768 # an executable is not found, even if stderr is redirected.
769 # Redirect stdin to placate older versions of autoconf. Sigh.
770 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
771 AUTOHEADER=autoheader
772 echo "$ac_t""found" 1>&6
774 AUTOHEADER="$missing_dir/missing autoheader"
775 echo "$ac_t""missing" 1>&6
778 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
779 echo "configure:780: checking for working makeinfo" >&5
780 # Run test in a subshell; some versions of sh will print an error if
781 # an executable is not found, even if stderr is redirected.
782 # Redirect stdin to placate older versions of autoconf. Sigh.
783 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
785 echo "$ac_t""found" 1>&6
787 MAKEINFO="$missing_dir/missing makeinfo"
788 echo "$ac_t""missing" 1>&6
793 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
794 echo "configure:795: checking whether to enable maintainer-specific portions of Makefiles" >&5
795 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
796 if test "${enable_maintainer_mode+set}" = set; then
797 enableval="$enable_maintainer_mode"
798 USE_MAINTAINER_MODE=$enableval
800 USE_MAINTAINER_MODE=no
803 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
806 if test $USE_MAINTAINER_MODE = yes; then
807 MAINTAINER_MODE_TRUE=
808 MAINTAINER_MODE_FALSE='#'
810 MAINTAINER_MODE_TRUE='#'
811 MAINTAINER_MODE_FALSE=
813 MAINT=$MAINTAINER_MODE_TRUE
816 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
817 echo "configure:818: checking for Cygwin environment" >&5
818 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
819 echo $ac_n "(cached) $ac_c" 1>&6
821 cat > conftest.$ac_ext <<EOF
822 #line 823 "configure"
823 #include "confdefs.h"
828 #define __CYGWIN__ __CYGWIN32__
833 if { (eval echo configure:834: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
837 echo "configure: failed program was:" >&5
838 cat conftest.$ac_ext >&5
846 echo "$ac_t""$ac_cv_cygwin" 1>&6
848 test "$ac_cv_cygwin" = yes && CYGWIN=yes
849 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
850 echo "configure:851: checking for mingw32 environment" >&5
851 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
852 echo $ac_n "(cached) $ac_c" 1>&6
854 cat > conftest.$ac_ext <<EOF
855 #line 856 "configure"
856 #include "confdefs.h"
862 if { (eval echo configure:863: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
866 echo "configure: failed program was:" >&5
867 cat conftest.$ac_ext >&5
875 echo "$ac_t""$ac_cv_mingw32" 1>&6
877 test "$ac_cv_mingw32" = yes && MINGW32=yes
880 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
881 echo "configure:882: checking for executable suffix" >&5
882 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
883 echo $ac_n "(cached) $ac_c" 1>&6
885 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
889 echo 'int main () { return 0; }' > conftest.$ac_ext
891 if { (eval echo configure:892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
892 for file in conftest.*; do
894 *.c | *.o | *.obj | *.ilk | *.pdb) ;;
895 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
899 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
902 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
907 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
908 echo "$ac_t""${ac_cv_exeext}" 1>&6
912 # Find a good install program. We prefer a C program (faster),
913 # so one script is as good as another. But avoid the broken or
914 # incompatible versions:
915 # SysV /etc/install, /usr/sbin/install
916 # SunOS /usr/etc/install
919 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
920 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
921 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
922 # ./install, which can be erroneously created by make from ./install.sh.
923 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
924 echo "configure:925: checking for a BSD compatible install" >&5
925 if test -z "$INSTALL"; then
926 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
927 echo $ac_n "(cached) $ac_c" 1>&6
929 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
930 for ac_dir in $PATH; do
931 # Account for people who put trailing slashes in PATH elements.
933 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
935 # OSF1 and SCO ODT 3.0 have their own names for install.
936 # Don't use installbsd from OSF since it installs stuff as root
938 for ac_prog in ginstall scoinst install; do
939 if test -f $ac_dir/$ac_prog; then
940 if test $ac_prog = install &&
941 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
942 # AIX install. It has an incompatible calling convention.
945 ac_cv_path_install="$ac_dir/$ac_prog -c"
956 if test "${ac_cv_path_install+set}" = set; then
957 INSTALL="$ac_cv_path_install"
959 # As a last resort, use the slow shell script. We don't cache a
960 # path for INSTALL within a source directory, because that will
961 # break other packages using the cache if that directory is
962 # removed, or if the path is relative.
963 INSTALL="$ac_install_sh"
966 echo "$ac_t""$INSTALL" 1>&6
968 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
969 # It thinks the first close brace ends the variable substitution.
970 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
972 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
974 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
981 sid_host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host`
982 sid_target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target`
984 if test "$sid_host" = "$sid_target" -o "$target" = "NONE"
986 echo "configure: warning: Assuming --enable-targets=all" 1>&2
990 all_targets="$target"
995 # Check whether --enable-targets or --disable-targets was given.
996 if test "${enable_targets+set}" = set; then
997 enableval="$enable_targets"
999 case "${enable_targets}" in
1000 all) sidtarget_default=1 ;;
1001 no) sidtarget_default=0 ;;
1002 *) all_targets="${all_targets} `echo ${enable_targets} | sed -e 's-,- -g'`" ;;
1008 sidtarget_arm=$sidtarget_default
1009 sidtarget_x86=$sidtarget_default
1010 sidtarget_mips=$sidtarget_default
1011 sidtarget_m32r=$sidtarget_default
1012 sidtarget_m68k=$sidtarget_default
1013 sidtarget_ppc=$sidtarget_default
1015 for targ in $all_targets
1018 arm*) sidtarget_arm=1 ;;
1019 thumb*) sidtarget_arm=1 ;;
1020 i386*) sidtarget_x86=1 ;;
1021 mips*) sidtarget_mips=1 ;;
1022 m32r*) sidtarget_m32r=1 ;;
1023 m68k*) sidtarget_m68k=1 ;;
1024 powerpc*) sidtarget_ppc=1 ;;
1025 ppc*) sidtarget_ppc=1 ;;
1026 *) echo "configure: warning: "Unknown target $targ"" 1>&2 ;;
1031 ${sidtarget_arm}) ;;
1032 ${sidtarget_x86}) ;;
1033 ${sidtarget_mips}) ;;
1034 ${sidtarget_m32r}) ;;
1035 ${sidtarget_m68k}) ;;
1036 ${sidtarget_ppc}) ;;
1037 *) echo "configure: warning: No selected sid targets: use --enable-targets or --target" 1>&2
1042 echo $ac_n "checking ARM family support""... $ac_c" 1>&6
1043 echo "configure:1044: checking ARM family support" >&5
1047 if test "x$sidtarget_arm" = x1; then
1049 SIDTARGET_ARM_FALSE='#'
1051 SIDTARGET_ARM_TRUE='#'
1052 SIDTARGET_ARM_FALSE=
1054 echo "$ac_t""$sidtarget_arm" 1>&6
1056 echo $ac_n "checking X86 family support""... $ac_c" 1>&6
1057 echo "configure:1058: checking X86 family support" >&5
1061 if test "x$sidtarget_x86" = x1; then
1063 SIDTARGET_X86_FALSE='#'
1065 SIDTARGET_X86_TRUE='#'
1066 SIDTARGET_X86_FALSE=
1068 echo "$ac_t""$sidtarget_x86" 1>&6
1070 echo $ac_n "checking MIPS family support""... $ac_c" 1>&6
1071 echo "configure:1072: checking MIPS family support" >&5
1075 if test "x$sidtarget_mips" = x1; then
1076 SIDTARGET_MIPS_TRUE=
1077 SIDTARGET_MIPS_FALSE='#'
1079 SIDTARGET_MIPS_TRUE='#'
1080 SIDTARGET_MIPS_FALSE=
1082 echo "$ac_t""$sidtarget_mips" 1>&6
1084 echo $ac_n "checking M32R family support""... $ac_c" 1>&6
1085 echo "configure:1086: checking M32R family support" >&5
1089 if test "x$sidtarget_m32r" = x1; then
1090 SIDTARGET_M32R_TRUE=
1091 SIDTARGET_M32R_FALSE='#'
1093 SIDTARGET_M32R_TRUE='#'
1094 SIDTARGET_M32R_FALSE=
1096 echo "$ac_t""$sidtarget_m32r" 1>&6
1098 echo $ac_n "checking M68K family support""... $ac_c" 1>&6
1099 echo "configure:1100: checking M68K family support" >&5
1103 if test "x$sidtarget_m68k" = x1; then
1104 SIDTARGET_M68K_TRUE=
1105 SIDTARGET_M68K_FALSE='#'
1107 SIDTARGET_M68K_TRUE='#'
1108 SIDTARGET_M68K_FALSE=
1110 echo "$ac_t""$sidtarget_m68k" 1>&6
1112 echo $ac_n "checking PPC family support""... $ac_c" 1>&6
1113 echo "configure:1114: checking PPC family support" >&5
1117 if test "x$sidtarget_ppc" = x1; then
1119 SIDTARGET_PPC_FALSE='#'
1121 SIDTARGET_PPC_TRUE='#'
1122 SIDTARGET_PPC_FALSE=
1124 echo "$ac_t""$sidtarget_ppc" 1>&6
1130 cat > confcache <<\EOF
1131 # This file is a shell script that caches the results of configure
1132 # tests run on this system so they can be shared between configure
1133 # scripts and configure runs. It is not useful on other systems.
1134 # If it contains results you don't want to keep, you may remove or edit it.
1136 # By default, configure uses ./config.cache as the cache file,
1137 # creating it if it does not exist already. You can give configure
1138 # the --cache-file=FILE option to use a different cache file; that is
1139 # what configure does when it calls configure scripts in
1140 # subdirectories, so they share the cache.
1141 # Giving --cache-file=/dev/null disables caching, for debugging configure.
1142 # config.status only pays attention to the cache file if you give it the
1143 # --recheck option to rerun configure.
1146 # The following way of writing the cache mishandles newlines in values,
1147 # but we know of no workaround that is simple, portable, and efficient.
1148 # So, don't put newlines in cache variables' values.
1149 # Ultrix sh set writes to stderr and can't be redirected directly,
1150 # and sets the high bit in the cache file unless we assign to the vars.
1152 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1154 # `set' does not quote correctly, so add quotes (double-quote substitution
1155 # turns \\\\ into \\, and sed turns \\ into \).
1157 -e "s/'/'\\\\''/g" \
1158 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1161 # `set' quotes correctly as required by POSIX, so do not add quotes.
1162 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1165 if cmp -s $cache_file confcache; then
1168 if test -w $cache_file; then
1169 echo "updating cache $cache_file"
1170 cat confcache > $cache_file
1172 echo "not updating unwritable cache $cache_file"
1177 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1179 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1180 # Let make expand exec_prefix.
1181 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1183 # Any assignment to VPATH causes Sun make to only execute
1184 # the first set of double-colon rules, so remove it if not needed.
1185 # If there is a colon in the path, we need to keep it.
1186 if test "x$srcdir" = x.; then
1187 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
1190 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1192 # Transform confdefs.h into DEFS.
1193 # Protect against shell expansion while executing Makefile rules.
1194 # Protect against Makefile macro expansion.
1195 cat > conftest.defs <<\EOF
1196 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
1197 s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
1202 DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
1206 # Without the "./", some shells look in PATH for config.status.
1207 : ${CONFIG_STATUS=./config.status}
1209 echo creating $CONFIG_STATUS
1210 rm -f $CONFIG_STATUS
1211 cat > $CONFIG_STATUS <<EOF
1213 # Generated automatically by configure.
1214 # Run this file to recreate the current configuration.
1215 # This directory was configured as follows,
1216 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1218 # $0 $ac_configure_args
1220 # Compiler output produced by configure, useful for debugging
1221 # configure, is in ./config.log if it exists.
1223 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1226 case "\$ac_option" in
1227 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1228 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1229 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1230 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1231 echo "$CONFIG_STATUS generated by autoconf version 2.13"
1233 -help | --help | --hel | --he | --h)
1234 echo "\$ac_cs_usage"; exit 0 ;;
1235 *) echo "\$ac_cs_usage"; exit 1 ;;
1239 ac_given_srcdir=$srcdir
1240 ac_given_INSTALL="$INSTALL"
1242 trap 'rm -fr `echo "Makefile pregen/Makefile configrun-sid pregen/pregen-configs" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1244 cat >> $CONFIG_STATUS <<EOF
1246 # Protect against being on the right side of a sed subst in config.status.
1247 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1248 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1252 s%@CFLAGS@%$CFLAGS%g
1253 s%@CPPFLAGS@%$CPPFLAGS%g
1254 s%@CXXFLAGS@%$CXXFLAGS%g
1255 s%@FFLAGS@%$FFLAGS%g
1257 s%@LDFLAGS@%$LDFLAGS%g
1259 s%@exec_prefix@%$exec_prefix%g
1260 s%@prefix@%$prefix%g
1261 s%@program_transform_name@%$program_transform_name%g
1262 s%@bindir@%$bindir%g
1263 s%@sbindir@%$sbindir%g
1264 s%@libexecdir@%$libexecdir%g
1265 s%@datadir@%$datadir%g
1266 s%@sysconfdir@%$sysconfdir%g
1267 s%@sharedstatedir@%$sharedstatedir%g
1268 s%@localstatedir@%$localstatedir%g
1269 s%@libdir@%$libdir%g
1270 s%@includedir@%$includedir%g
1271 s%@oldincludedir@%$oldincludedir%g
1272 s%@infodir@%$infodir%g
1273 s%@mandir@%$mandir%g
1274 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
1275 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
1276 s%@INSTALL_DATA@%$INSTALL_DATA%g
1277 s%@PACKAGE@%$PACKAGE%g
1278 s%@VERSION@%$VERSION%g
1279 s%@ACLOCAL@%$ACLOCAL%g
1280 s%@AUTOCONF@%$AUTOCONF%g
1281 s%@AUTOMAKE@%$AUTOMAKE%g
1282 s%@AUTOHEADER@%$AUTOHEADER%g
1283 s%@MAKEINFO@%$MAKEINFO%g
1284 s%@SET_MAKE@%$SET_MAKE%g
1285 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
1286 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
1288 s%@EXEEXT@%$EXEEXT%g
1289 s%@INSTALL@%$INSTALL%g
1290 s%@sidtarget_arm@%$sidtarget_arm%g
1291 s%@SIDTARGET_ARM_TRUE@%$SIDTARGET_ARM_TRUE%g
1292 s%@SIDTARGET_ARM_FALSE@%$SIDTARGET_ARM_FALSE%g
1293 s%@sidtarget_x86@%$sidtarget_x86%g
1294 s%@SIDTARGET_X86_TRUE@%$SIDTARGET_X86_TRUE%g
1295 s%@SIDTARGET_X86_FALSE@%$SIDTARGET_X86_FALSE%g
1296 s%@sidtarget_mips@%$sidtarget_mips%g
1297 s%@SIDTARGET_MIPS_TRUE@%$SIDTARGET_MIPS_TRUE%g
1298 s%@SIDTARGET_MIPS_FALSE@%$SIDTARGET_MIPS_FALSE%g
1299 s%@sidtarget_m32r@%$sidtarget_m32r%g
1300 s%@SIDTARGET_M32R_TRUE@%$SIDTARGET_M32R_TRUE%g
1301 s%@SIDTARGET_M32R_FALSE@%$SIDTARGET_M32R_FALSE%g
1302 s%@sidtarget_m68k@%$sidtarget_m68k%g
1303 s%@SIDTARGET_M68K_TRUE@%$SIDTARGET_M68K_TRUE%g
1304 s%@SIDTARGET_M68K_FALSE@%$SIDTARGET_M68K_FALSE%g
1305 s%@sidtarget_ppc@%$sidtarget_ppc%g
1306 s%@SIDTARGET_PPC_TRUE@%$SIDTARGET_PPC_TRUE%g
1307 s%@SIDTARGET_PPC_FALSE@%$SIDTARGET_PPC_FALSE%g
1312 cat >> $CONFIG_STATUS <<\EOF
1314 # Split the substitutions into bite-sized pieces for seds with
1315 # small command number limits, like on Digital OSF/1 and HP-UX.
1316 ac_max_sed_cmds=60 # Maximum number of lines to put in a sed script.
1317 ac_file=1 # Number of current file.
1318 ac_beg=1 # First line for current file.
1319 ac_end=$ac_max_sed_cmds # Line after last line for current file.
1322 while $ac_more_lines; do
1323 if test $ac_beg -gt 1; then
1324 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
1326 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
1328 if test ! -s conftest.s$ac_file; then
1330 rm -f conftest.s$ac_file
1332 if test -z "$ac_sed_cmds"; then
1333 ac_sed_cmds="sed -f conftest.s$ac_file"
1335 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
1337 ac_file=`expr $ac_file + 1`
1339 ac_end=`expr $ac_end + $ac_max_sed_cmds`
1342 if test -z "$ac_sed_cmds"; then
1347 cat >> $CONFIG_STATUS <<EOF
1349 CONFIG_FILES=\${CONFIG_FILES-"Makefile pregen/Makefile configrun-sid pregen/pregen-configs"}
1351 cat >> $CONFIG_STATUS <<\EOF
1352 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
1353 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1355 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
1356 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
1357 *) ac_file_in="${ac_file}.in" ;;
1360 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
1362 # Remove last slash and all that follows it. Not all systems have dirname.
1363 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
1364 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1365 # The file is in a subdirectory.
1366 test ! -d "$ac_dir" && mkdir "$ac_dir"
1367 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
1368 # A "../" for each directory in $ac_dir_suffix.
1369 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
1371 ac_dir_suffix= ac_dots=
1374 case "$ac_given_srcdir" in
1376 if test -z "$ac_dots"; then top_srcdir=.
1377 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
1378 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
1380 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
1381 top_srcdir="$ac_dots$ac_given_srcdir" ;;
1384 case "$ac_given_INSTALL" in
1385 [/$]*) INSTALL="$ac_given_INSTALL" ;;
1386 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
1389 echo creating "$ac_file"
1391 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
1393 *Makefile*) ac_comsub="1i\\
1394 # $configure_input" ;;
1398 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1400 s%@configure_input@%$configure_input%g
1401 s%@srcdir@%$srcdir%g
1402 s%@top_srcdir@%$top_srcdir%g
1403 s%@INSTALL@%$INSTALL%g
1404 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
1409 cat >> $CONFIG_STATUS <<EOF
1413 cat >> $CONFIG_STATUS <<\EOF
1414 chmod a+x configrun-sid pregen/pregen-configs
1418 chmod +x $CONFIG_STATUS
1419 rm -fr confdefs* $ac_clean_files
1420 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1