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-debugging Build a cygwin DLL which has more consistency checking for debugging"
17 # Initialize some variables set by options.
18 # The variables have the same names as the options, with
19 # dashes changed to underlines.
21 cache_file
=.
/config.cache
30 program_transform_name
=s
,x
,x
,
38 bindir
='${exec_prefix}/bin'
39 sbindir
='${exec_prefix}/sbin'
40 libexecdir
='${exec_prefix}/libexec'
41 datadir
='${prefix}/share'
42 sysconfdir
='${prefix}/etc'
43 sharedstatedir
='${prefix}/com'
44 localstatedir
='${prefix}/var'
45 libdir
='${exec_prefix}/lib'
46 includedir
='${prefix}/include'
47 oldincludedir
='/usr/include'
48 infodir
='${prefix}/info'
49 mandir
='${prefix}/man'
51 # Initialize some other variables.
54 SHELL
=${CONFIG_SHELL-/bin/sh}
55 # Maximum number of lines to put in a shell here document.
62 # If the previous option needs an argument, assign it.
63 if test -n "$ac_prev"; then
64 eval "$ac_prev=\$ac_option"
70 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
74 # Accept the important Cygnus configure options, so we can diagnose typos.
78 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
80 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
81 bindir
="$ac_optarg" ;;
83 -build |
--build |
--buil |
--bui |
--bu)
85 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
88 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
89 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
91 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
92 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
93 cache_file
="$ac_optarg" ;;
95 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
97 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
99 datadir
="$ac_optarg" ;;
101 -disable-* |
--disable-*)
102 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
103 # Reject names that are not valid shell variable names.
104 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
105 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
107 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
108 eval "enable_${ac_feature}=no" ;;
110 -enable-* |
--enable-*)
111 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
112 # Reject names that are not valid shell variable names.
113 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
114 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
116 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
121 eval "enable_${ac_feature}='$ac_optarg'" ;;
123 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
124 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
125 |
--exec |
--exe |
--ex)
126 ac_prev
=exec_prefix
;;
127 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
128 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
129 |
--exec=* |
--exe=* |
--ex=*)
130 exec_prefix
="$ac_optarg" ;;
132 -gas |
--gas |
--ga |
--g)
133 # Obsolete; use --with-gas.
136 -help |
--help |
--hel |
--he)
137 # Omit some internal or obsolete options to make the list less imposing.
138 # This message is too long to be a string in the A/UX 3.1 sh.
140 Usage: configure [options] [host]
141 Options: [defaults in brackets after descriptions]
143 --cache-file=FILE cache test results in FILE
144 --help print this message
145 --no-create do not create output files
146 --quiet, --silent do not print \`checking...' messages
147 --version print the version of autoconf that created configure
148 Directory and file names:
149 --prefix=PREFIX install architecture-independent files in PREFIX
151 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
153 --bindir=DIR user executables in DIR [EPREFIX/bin]
154 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
155 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
156 --datadir=DIR read-only architecture-independent data in DIR
158 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
159 --sharedstatedir=DIR modifiable architecture-independent data in DIR
161 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
162 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
163 --includedir=DIR C header files in DIR [PREFIX/include]
164 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
165 --infodir=DIR info documentation in DIR [PREFIX/info]
166 --mandir=DIR man documentation in DIR [PREFIX/man]
167 --srcdir=DIR find the sources in DIR [configure dir or ..]
168 --program-prefix=PREFIX prepend PREFIX to installed program names
169 --program-suffix=SUFFIX append SUFFIX to installed program names
170 --program-transform-name=PROGRAM
171 run sed PROGRAM on installed program names
175 --build=BUILD configure for building on BUILD [BUILD=HOST]
176 --host=HOST configure for HOST [guessed]
177 --target=TARGET configure for TARGET [TARGET=HOST]
178 Features and packages:
179 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
180 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
181 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
182 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
183 --x-includes=DIR X include files are in DIR
184 --x-libraries=DIR X library files are in DIR
186 if test -n "$ac_help"; then
187 echo "--enable and --with options recognized:$ac_help"
191 -host |
--host |
--hos |
--ho)
193 -host=* |
--host=* |
--hos=* |
--ho=*)
196 -includedir |
--includedir |
--includedi |
--included |
--include \
197 |
--includ |
--inclu |
--incl |
--inc)
198 ac_prev
=includedir
;;
199 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
200 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
201 includedir
="$ac_optarg" ;;
203 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
205 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
206 infodir
="$ac_optarg" ;;
208 -libdir |
--libdir |
--libdi |
--libd)
210 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
211 libdir
="$ac_optarg" ;;
213 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
214 |
--libexe |
--libex |
--libe)
215 ac_prev
=libexecdir
;;
216 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
217 |
--libexe=* |
--libex=* |
--libe=*)
218 libexecdir
="$ac_optarg" ;;
220 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
221 |
--localstate |
--localstat |
--localsta |
--localst \
222 |
--locals |
--local |
--loca |
--loc |
--lo)
223 ac_prev
=localstatedir
;;
224 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
225 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
226 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
227 localstatedir
="$ac_optarg" ;;
229 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
231 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
232 mandir
="$ac_optarg" ;;
235 # Obsolete; use --without-fp.
238 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
242 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
243 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
246 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
247 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
248 |
--oldin |
--oldi |
--old |
--ol |
--o)
249 ac_prev
=oldincludedir
;;
250 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
251 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
252 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
253 oldincludedir
="$ac_optarg" ;;
255 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
257 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
258 prefix
="$ac_optarg" ;;
260 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
261 |
--program-pre |
--program-pr |
--program-p)
262 ac_prev
=program_prefix
;;
263 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
264 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
265 program_prefix
="$ac_optarg" ;;
267 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
268 |
--program-suf |
--program-su |
--program-s)
269 ac_prev
=program_suffix
;;
270 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
271 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
272 program_suffix
="$ac_optarg" ;;
274 -program-transform-name |
--program-transform-name \
275 |
--program-transform-nam |
--program-transform-na \
276 |
--program-transform-n |
--program-transform- \
277 |
--program-transform |
--program-transfor \
278 |
--program-transfo |
--program-transf \
279 |
--program-trans |
--program-tran \
280 |
--progr-tra |
--program-tr |
--program-t)
281 ac_prev
=program_transform_name
;;
282 -program-transform-name=* |
--program-transform-name=* \
283 |
--program-transform-nam=* |
--program-transform-na=* \
284 |
--program-transform-n=* |
--program-transform-=* \
285 |
--program-transform=* |
--program-transfor=* \
286 |
--program-transfo=* |
--program-transf=* \
287 |
--program-trans=* |
--program-tran=* \
288 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
289 program_transform_name
="$ac_optarg" ;;
291 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
292 |
-silent |
--silent |
--silen |
--sile |
--sil)
295 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
297 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
299 sbindir
="$ac_optarg" ;;
301 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
302 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
303 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
305 ac_prev
=sharedstatedir
;;
306 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
307 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
308 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
310 sharedstatedir
="$ac_optarg" ;;
312 -site |
--site |
--sit)
314 -site=* |
--site=* |
--sit=*)
317 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
319 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
320 srcdir
="$ac_optarg" ;;
322 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
323 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
324 ac_prev
=sysconfdir
;;
325 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
326 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
327 sysconfdir
="$ac_optarg" ;;
329 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
331 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
332 target
="$ac_optarg" ;;
334 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
337 -version |
--version |
--versio |
--versi |
--vers)
338 echo "configure generated by autoconf version 2.13"
342 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
343 # Reject names that are not valid shell variable names.
344 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
345 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
347 ac_package
=`echo $ac_package| sed 's/-/_/g'`
352 eval "with_${ac_package}='$ac_optarg'" ;;
354 -without-* |
--without-*)
355 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
356 # Reject names that are not valid shell variable names.
357 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
358 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
360 ac_package
=`echo $ac_package| sed 's/-/_/g'`
361 eval "with_${ac_package}=no" ;;
364 # Obsolete; use --with-x.
367 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
368 |
--x-incl |
--x-inc |
--x-in |
--x-i)
369 ac_prev
=x_includes
;;
370 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
371 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
372 x_includes
="$ac_optarg" ;;
374 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
375 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
376 ac_prev
=x_libraries
;;
377 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
378 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
379 x_libraries
="$ac_optarg" ;;
381 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
385 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
386 echo "configure: warning: $ac_option: invalid host type" 1>&2
388 if test "x$nonopt" != xNONE
; then
389 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
397 if test -n "$ac_prev"; then
398 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
401 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
403 # File descriptor usage:
406 # 2 errors and warnings
407 # 3 some systems may open it to /dev/tty
408 # 4 used on the Kubota Titan
409 # 6 checking for... messages and results
410 # 5 compiler messages saved in config.log
411 if test "$silent" = yes; then
419 This file contains any messages produced by compilers while
420 running configure, to aid debugging if configure makes a mistake.
423 # Strip out --no-create and --no-recursion so they do not pile up.
424 # Also quote any args containing shell metacharacters.
429 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
430 |
--no-cr |
--no-c) ;;
431 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
432 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
433 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
434 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
435 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
440 # Only set these to C if already set. These must not be set unconditionally
441 # because not all systems understand e.g. LANG=C (notably SCO).
442 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
443 # Non-C LC_CTYPE values break the ctype check.
444 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
445 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
446 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
447 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
449 # confdefs.h avoids OS command line length limits that DEFS can exceed.
450 rm -rf conftest
* confdefs.h
451 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
454 # A filename unique to this package, relative to the directory that
455 # configure is in, which we can look for to find out if srcdir is correct.
456 ac_unique_file
=cygserver.cc
458 # Find the source files, if location was not specified.
459 if test -z "$srcdir"; then
460 ac_srcdir_defaulted
=yes
461 # Try the directory containing this script, then its parent.
463 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
464 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
466 if test ! -r $srcdir/$ac_unique_file; then
470 ac_srcdir_defaulted
=no
472 if test ! -r $srcdir/$ac_unique_file; then
473 if test "$ac_srcdir_defaulted" = yes; then
474 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
476 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
479 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
481 # Prefer explicitly selected file to automatically selected ones.
482 if test -z "$CONFIG_SITE"; then
483 if test "x$prefix" != xNONE
; then
484 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
486 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
489 for ac_site_file
in $CONFIG_SITE; do
490 if test -r "$ac_site_file"; then
491 echo "loading site script $ac_site_file"
496 if test -r "$cache_file"; then
497 echo "loading cache $cache_file"
500 echo "creating cache $cache_file"
505 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
506 ac_cpp
='$CPP $CPPFLAGS'
507 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
508 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
509 cross_compiling
=$ac_cv_prog_cc_cross
513 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
514 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
515 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
522 ac_n
= ac_c
='\c' ac_t
=
527 INSTALL
=`cd $srcdir/../..; echo $(pwd)/install-sh -c`
530 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
531 if test -f $ac_dir/install-sh
; then
533 ac_install_sh
="$ac_aux_dir/install-sh -c"
535 elif test -f $ac_dir/install.sh
; then
537 ac_install_sh
="$ac_aux_dir/install.sh -c"
541 if test -z "$ac_aux_dir"; then
542 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
544 ac_config_guess
=$ac_aux_dir/config.guess
545 ac_config_sub
=$ac_aux_dir/config.sub
546 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
548 # Find a good install program. We prefer a C program (faster),
549 # so one script is as good as another. But avoid the broken or
550 # incompatible versions:
551 # SysV /etc/install, /usr/sbin/install
552 # SunOS /usr/etc/install
555 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
556 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
557 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
558 # ./install, which can be erroneously created by make from ./install.sh.
559 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
560 echo "configure:561: checking for a BSD compatible install" >&5
561 if test -z "$INSTALL"; then
562 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
563 echo $ac_n "(cached) $ac_c" 1>&6
565 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
566 for ac_dir
in $PATH; do
567 # Account for people who put trailing slashes in PATH elements.
569 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
571 # OSF1 and SCO ODT 3.0 have their own names for install.
572 # Don't use installbsd from OSF since it installs stuff as root
574 for ac_prog
in ginstall scoinst
install; do
575 if test -f $ac_dir/$ac_prog; then
576 if test $ac_prog = install &&
577 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
578 # AIX install. It has an incompatible calling convention.
581 ac_cv_path_install
="$ac_dir/$ac_prog -c"
592 if test "${ac_cv_path_install+set}" = set; then
593 INSTALL
="$ac_cv_path_install"
595 # As a last resort, use the slow shell script. We don't cache a
596 # path for INSTALL within a source directory, because that will
597 # break other packages using the cache if that directory is
598 # removed, or if the path is relative.
599 INSTALL
="$ac_install_sh"
602 echo "$ac_t""$INSTALL" 1>&6
604 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
605 # It thinks the first close brace ends the variable substitution.
606 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
608 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
610 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
619 # Do some error checking and defaulting for the host and target type.
621 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
624 # 1. You are not allowed to specify --host, --target, and nonopt at the
626 # 2. Host defaults to nonopt.
627 # 3. If nonopt is not specified, then host defaults to the current host,
628 # as determined by config.guess.
629 # 4. Target and build default to nonopt.
630 # 5. If nonopt is not specified, then target and build default to host.
632 # The aliases save the names the user supplied, while $host etc.
633 # will get canonicalized.
634 case $host---$target---$nonopt in
635 NONE---
*---* |
*---NONE---* |
*---*---NONE) ;;
636 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
640 # Make sure we can run config.sub.
641 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
642 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
645 echo $ac_n "checking host system type""... $ac_c" 1>&6
646 echo "configure:647: checking host system type" >&5
649 case "$host_alias" in
653 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
654 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
656 *) host_alias
=$nonopt ;;
660 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
661 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
662 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
663 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
664 echo "$ac_t""$host" 1>&6
666 echo $ac_n "checking target system type""... $ac_c" 1>&6
667 echo "configure:668: checking target system type" >&5
670 case "$target_alias" in
673 NONE
) target_alias
=$host_alias ;;
674 *) target_alias
=$nonopt ;;
678 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
679 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
680 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
681 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
682 echo "$ac_t""$target" 1>&6
684 echo $ac_n "checking build system type""... $ac_c" 1>&6
685 echo "configure:686: checking build system type" >&5
688 case "$build_alias" in
691 NONE
) build_alias
=$host_alias ;;
692 *) build_alias
=$nonopt ;;
696 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
697 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
698 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
699 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
700 echo "$ac_t""$build" 1>&6
702 test "$host_alias" != "$target_alias" &&
703 test "$program_prefix$program_suffix$program_transform_name" = \
705 program_prefix
=${target_alias}-
708 if test $host != $build; then
709 ac_tool_prefix
=${host_alias}-
714 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
715 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
716 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
717 echo "configure:718: checking for $ac_word" >&5
718 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
719 echo $ac_n "(cached) $ac_c" 1>&6
721 if test -n "$CC"; then
722 ac_cv_prog_CC
="$CC" # Let the user override the test.
724 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
726 for ac_dir
in $ac_dummy; do
727 test -z "$ac_dir" && ac_dir
=.
728 if test -f $ac_dir/$ac_word; then
729 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
737 if test -n "$CC"; then
738 echo "$ac_t""$CC" 1>&6
740 echo "$ac_t""no" 1>&6
744 if test -z "$ac_cv_prog_CC"; then
745 if test -n "$ac_tool_prefix"; then
746 # Extract the first word of "gcc", so it can be a program name with args.
747 set dummy gcc
; ac_word
=$2
748 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
749 echo "configure:750: checking for $ac_word" >&5
750 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
751 echo $ac_n "(cached) $ac_c" 1>&6
753 if test -n "$CC"; then
754 ac_cv_prog_CC
="$CC" # Let the user override the test.
756 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
758 for ac_dir
in $ac_dummy; do
759 test -z "$ac_dir" && ac_dir
=.
760 if test -f $ac_dir/$ac_word; then
766 test -z "$ac_cv_prog_CC" && ac_cv_prog_CC
="gcc"
770 if test -n "$CC"; then
771 echo "$ac_t""$CC" 1>&6
773 echo "$ac_t""no" 1>&6
781 if test -z "$CC"; then
782 # Extract the first word of "cc", so it can be a program name with args.
783 set dummy cc
; ac_word
=$2
784 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
785 echo "configure:786: checking for $ac_word" >&5
786 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
787 echo $ac_n "(cached) $ac_c" 1>&6
789 if test -n "$CC"; then
790 ac_cv_prog_CC
="$CC" # Let the user override the test.
792 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
795 for ac_dir
in $ac_dummy; do
796 test -z "$ac_dir" && ac_dir
=.
797 if test -f $ac_dir/$ac_word; then
798 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
807 if test $ac_prog_rejected = yes; then
808 # We found a bogon in the path, so make sure we never use it.
809 set dummy
$ac_cv_prog_CC
811 if test $# -gt 0; then
812 # We chose a different compiler from the bogus one.
813 # However, it has the same basename, so the bogon will be chosen
814 # first if we set CC to just the basename; use the full file name.
816 set dummy
"$ac_dir/$ac_word" "$@"
824 if test -n "$CC"; then
825 echo "$ac_t""$CC" 1>&6
827 echo "$ac_t""no" 1>&6
830 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
833 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
834 echo "configure:835: checking whether we are using GNU C" >&5
835 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
836 echo $ac_n "(cached) $ac_c" 1>&6
838 cat > conftest.c
<<EOF
843 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:844: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
850 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
852 if test $ac_cv_prog_gcc = yes; then
854 ac_test_CFLAGS
="${CFLAGS+set}"
855 ac_save_CFLAGS
="$CFLAGS"
857 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
858 echo "configure:859: checking whether ${CC-cc} accepts -g" >&5
859 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
860 echo $ac_n "(cached) $ac_c" 1>&6
862 echo 'void f(){}' > conftest.c
863 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
872 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
873 if test "$ac_test_CFLAGS" = set; then
874 CFLAGS
="$ac_save_CFLAGS"
875 elif test $ac_cv_prog_cc_g = yes; then
876 CFLAGS
="-gstabs+ -O2"
882 test "${CFLAGS+set}" = set || CFLAGS
="-g"
885 # Extract the first word of "${ac_tool_prefix}g++", so it can be a program name with args.
886 set dummy
${ac_tool_prefix}g
++; ac_word
=$2
887 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
888 echo "configure:889: checking for $ac_word" >&5
889 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
890 echo $ac_n "(cached) $ac_c" 1>&6
892 if test -n "$CXX"; then
893 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
895 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
897 for ac_dir
in $ac_dummy; do
898 test -z "$ac_dir" && ac_dir
=.
899 if test -f $ac_dir/$ac_word; then
900 ac_cv_prog_CXX
="${ac_tool_prefix}g++"
907 CXX
="$ac_cv_prog_CXX"
908 if test -n "$CXX"; then
909 echo "$ac_t""$CXX" 1>&6
911 echo "$ac_t""no" 1>&6
915 if test -z "$ac_cv_prog_CXX"; then
916 if test -n "$ac_tool_prefix"; then
917 # Extract the first word of "g++", so it can be a program name with args.
918 set dummy g
++; ac_word
=$2
919 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
920 echo "configure:921: checking for $ac_word" >&5
921 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
922 echo $ac_n "(cached) $ac_c" 1>&6
924 if test -n "$CXX"; then
925 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
927 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
929 for ac_dir
in $ac_dummy; do
930 test -z "$ac_dir" && ac_dir
=.
931 if test -f $ac_dir/$ac_word; then
937 test -z "$ac_cv_prog_CXX" && ac_cv_prog_CXX
="g++"
940 CXX
="$ac_cv_prog_CXX"
941 if test -n "$CXX"; then
942 echo "$ac_t""$CXX" 1>&6
944 echo "$ac_t""no" 1>&6
952 if test -z "$CXX"; then
953 # Extract the first word of "c++", so it can be a program name with args.
954 set dummy c
++; ac_word
=$2
955 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
956 echo "configure:957: checking for $ac_word" >&5
957 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
958 echo $ac_n "(cached) $ac_c" 1>&6
960 if test -n "$CXX"; then
961 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
963 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
965 for ac_dir
in $ac_dummy; do
966 test -z "$ac_dir" && ac_dir
=.
967 if test -f $ac_dir/$ac_word; then
975 CXX
="$ac_cv_prog_CXX"
976 if test -n "$CXX"; then
977 echo "$ac_t""$CXX" 1>&6
979 echo "$ac_t""no" 1>&6
982 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
988 case "$with_cross_host" in
991 install_host
="install_host"
1002 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1003 set dummy
${ac_tool_prefix}ar; ac_word
=$2
1004 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1005 echo "configure:1006: checking for $ac_word" >&5
1006 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1007 echo $ac_n "(cached) $ac_c" 1>&6
1009 if test -n "$AR"; then
1010 ac_cv_prog_AR
="$AR" # Let the user override the test.
1012 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1014 for ac_dir
in $ac_dummy; do
1015 test -z "$ac_dir" && ac_dir
=.
1016 if test -f $ac_dir/$ac_word; then
1017 ac_cv_prog_AR
="${ac_tool_prefix}ar"
1025 if test -n "$AR"; then
1026 echo "$ac_t""$AR" 1>&6
1028 echo "$ac_t""no" 1>&6
1032 if test -z "$ac_cv_prog_AR"; then
1033 if test -n "$ac_tool_prefix"; then
1034 # Extract the first word of "ar", so it can be a program name with args.
1035 set dummy
ar; ac_word
=$2
1036 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1037 echo "configure:1038: checking for $ac_word" >&5
1038 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1039 echo $ac_n "(cached) $ac_c" 1>&6
1041 if test -n "$AR"; then
1042 ac_cv_prog_AR
="$AR" # Let the user override the test.
1044 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1046 for ac_dir
in $ac_dummy; do
1047 test -z "$ac_dir" && ac_dir
=.
1048 if test -f $ac_dir/$ac_word; then
1054 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
1058 if test -n "$AR"; then
1059 echo "$ac_t""$AR" 1>&6
1061 echo "$ac_t""no" 1>&6
1069 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1070 set dummy
${ac_tool_prefix}as
; ac_word
=$2
1071 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1072 echo "configure:1073: checking for $ac_word" >&5
1073 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1074 echo $ac_n "(cached) $ac_c" 1>&6
1076 if test -n "$AS"; then
1077 ac_cv_prog_AS
="$AS" # Let the user override the test.
1079 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1081 for ac_dir
in $ac_dummy; do
1082 test -z "$ac_dir" && ac_dir
=.
1083 if test -f $ac_dir/$ac_word; then
1084 ac_cv_prog_AS
="${ac_tool_prefix}as"
1092 if test -n "$AS"; then
1093 echo "$ac_t""$AS" 1>&6
1095 echo "$ac_t""no" 1>&6
1099 if test -z "$ac_cv_prog_AS"; then
1100 if test -n "$ac_tool_prefix"; then
1101 # Extract the first word of "as", so it can be a program name with args.
1102 set dummy as
; ac_word
=$2
1103 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1104 echo "configure:1105: checking for $ac_word" >&5
1105 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1106 echo $ac_n "(cached) $ac_c" 1>&6
1108 if test -n "$AS"; then
1109 ac_cv_prog_AS
="$AS" # Let the user override the test.
1111 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1113 for ac_dir
in $ac_dummy; do
1114 test -z "$ac_dir" && ac_dir
=.
1115 if test -f $ac_dir/$ac_word; then
1121 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS
="as"
1125 if test -n "$AS"; then
1126 echo "$ac_t""$AS" 1>&6
1128 echo "$ac_t""no" 1>&6
1136 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1137 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
1138 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1139 echo "configure:1140: checking for $ac_word" >&5
1140 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1141 echo $ac_n "(cached) $ac_c" 1>&6
1143 if test -n "$RANLIB"; then
1144 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1146 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1148 for ac_dir
in $ac_dummy; do
1149 test -z "$ac_dir" && ac_dir
=.
1150 if test -f $ac_dir/$ac_word; then
1151 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
1158 RANLIB
="$ac_cv_prog_RANLIB"
1159 if test -n "$RANLIB"; then
1160 echo "$ac_t""$RANLIB" 1>&6
1162 echo "$ac_t""no" 1>&6
1166 if test -z "$ac_cv_prog_RANLIB"; then
1167 if test -n "$ac_tool_prefix"; then
1168 # Extract the first word of "ranlib", so it can be a program name with args.
1169 set dummy ranlib
; ac_word
=$2
1170 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1171 echo "configure:1172: checking for $ac_word" >&5
1172 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1173 echo $ac_n "(cached) $ac_c" 1>&6
1175 if test -n "$RANLIB"; then
1176 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1178 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1180 for ac_dir
in $ac_dummy; do
1181 test -z "$ac_dir" && ac_dir
=.
1182 if test -f $ac_dir/$ac_word; then
1183 ac_cv_prog_RANLIB
="ranlib"
1188 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
="ranlib"
1191 RANLIB
="$ac_cv_prog_RANLIB"
1192 if test -n "$RANLIB"; then
1193 echo "$ac_t""$RANLIB" 1>&6
1195 echo "$ac_t""no" 1>&6
1203 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
1204 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
1205 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1206 echo "configure:1207: checking for $ac_word" >&5
1207 if eval "test \"`echo '$''{'ac_cv_prog_LD'+set}'`\" = set"; then
1208 echo $ac_n "(cached) $ac_c" 1>&6
1210 if test -n "$LD"; then
1211 ac_cv_prog_LD
="$LD" # Let the user override the test.
1213 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1215 for ac_dir
in $ac_dummy; do
1216 test -z "$ac_dir" && ac_dir
=.
1217 if test -f $ac_dir/$ac_word; then
1218 ac_cv_prog_LD
="${ac_tool_prefix}ld"
1226 if test -n "$LD"; then
1227 echo "$ac_t""$LD" 1>&6
1229 echo "$ac_t""no" 1>&6
1233 if test -z "$ac_cv_prog_LD"; then
1234 if test -n "$ac_tool_prefix"; then
1235 # Extract the first word of "ld", so it can be a program name with args.
1236 set dummy ld
; ac_word
=$2
1237 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1238 echo "configure:1239: checking for $ac_word" >&5
1239 if eval "test \"`echo '$''{'ac_cv_prog_LD'+set}'`\" = set"; then
1240 echo $ac_n "(cached) $ac_c" 1>&6
1242 if test -n "$LD"; then
1243 ac_cv_prog_LD
="$LD" # Let the user override the test.
1245 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1247 for ac_dir
in $ac_dummy; do
1248 test -z "$ac_dir" && ac_dir
=.
1249 if test -f $ac_dir/$ac_word; then
1255 test -z "$ac_cv_prog_LD" && ac_cv_prog_LD
="ld"
1259 if test -n "$LD"; then
1260 echo "$ac_t""$LD" 1>&6
1262 echo "$ac_t""no" 1>&6
1270 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
1271 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
1272 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1273 echo "configure:1274: checking for $ac_word" >&5
1274 if eval "test \"`echo '$''{'ac_cv_prog_NM'+set}'`\" = set"; then
1275 echo $ac_n "(cached) $ac_c" 1>&6
1277 if test -n "$NM"; then
1278 ac_cv_prog_NM
="$NM" # Let the user override the test.
1280 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1282 for ac_dir
in $ac_dummy; do
1283 test -z "$ac_dir" && ac_dir
=.
1284 if test -f $ac_dir/$ac_word; then
1285 ac_cv_prog_NM
="${ac_tool_prefix}nm"
1293 if test -n "$NM"; then
1294 echo "$ac_t""$NM" 1>&6
1296 echo "$ac_t""no" 1>&6
1300 if test -z "$ac_cv_prog_NM"; then
1301 if test -n "$ac_tool_prefix"; then
1302 # Extract the first word of "nm", so it can be a program name with args.
1303 set dummy nm
; ac_word
=$2
1304 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1305 echo "configure:1306: checking for $ac_word" >&5
1306 if eval "test \"`echo '$''{'ac_cv_prog_NM'+set}'`\" = set"; then
1307 echo $ac_n "(cached) $ac_c" 1>&6
1309 if test -n "$NM"; then
1310 ac_cv_prog_NM
="$NM" # Let the user override the test.
1312 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1314 for ac_dir
in $ac_dummy; do
1315 test -z "$ac_dir" && ac_dir
=.
1316 if test -f $ac_dir/$ac_word; then
1322 test -z "$ac_cv_prog_NM" && ac_cv_prog_NM
="nm"
1326 if test -n "$NM"; then
1327 echo "$ac_t""$NM" 1>&6
1329 echo "$ac_t""no" 1>&6
1337 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
1338 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
1339 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1340 echo "configure:1341: checking for $ac_word" >&5
1341 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
1342 echo $ac_n "(cached) $ac_c" 1>&6
1344 if test -n "$DLLTOOL"; then
1345 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
1347 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1349 for ac_dir
in $ac_dummy; do
1350 test -z "$ac_dir" && ac_dir
=.
1351 if test -f $ac_dir/$ac_word; then
1352 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
1359 DLLTOOL
="$ac_cv_prog_DLLTOOL"
1360 if test -n "$DLLTOOL"; then
1361 echo "$ac_t""$DLLTOOL" 1>&6
1363 echo "$ac_t""no" 1>&6
1367 if test -z "$ac_cv_prog_DLLTOOL"; then
1368 if test -n "$ac_tool_prefix"; then
1369 # Extract the first word of "dlltool", so it can be a program name with args.
1370 set dummy dlltool
; ac_word
=$2
1371 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1372 echo "configure:1373: checking for $ac_word" >&5
1373 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
1374 echo $ac_n "(cached) $ac_c" 1>&6
1376 if test -n "$DLLTOOL"; then
1377 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
1379 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1381 for ac_dir
in $ac_dummy; do
1382 test -z "$ac_dir" && ac_dir
=.
1383 if test -f $ac_dir/$ac_word; then
1384 ac_cv_prog_DLLTOOL
="dlltool"
1389 test -z "$ac_cv_prog_DLLTOOL" && ac_cv_prog_DLLTOOL
="dlltool"
1392 DLLTOOL
="$ac_cv_prog_DLLTOOL"
1393 if test -n "$DLLTOOL"; then
1394 echo "$ac_t""$DLLTOOL" 1>&6
1396 echo "$ac_t""no" 1>&6
1404 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
1405 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
1406 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1407 echo "configure:1408: checking for $ac_word" >&5
1408 if eval "test \"`echo '$''{'ac_cv_prog_WINDRES'+set}'`\" = set"; then
1409 echo $ac_n "(cached) $ac_c" 1>&6
1411 if test -n "$WINDRES"; then
1412 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
1414 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1416 for ac_dir
in $ac_dummy; do
1417 test -z "$ac_dir" && ac_dir
=.
1418 if test -f $ac_dir/$ac_word; then
1419 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
1426 WINDRES
="$ac_cv_prog_WINDRES"
1427 if test -n "$WINDRES"; then
1428 echo "$ac_t""$WINDRES" 1>&6
1430 echo "$ac_t""no" 1>&6
1434 if test -z "$ac_cv_prog_WINDRES"; then
1435 if test -n "$ac_tool_prefix"; then
1436 # Extract the first word of "windres", so it can be a program name with args.
1437 set dummy windres
; ac_word
=$2
1438 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1439 echo "configure:1440: checking for $ac_word" >&5
1440 if eval "test \"`echo '$''{'ac_cv_prog_WINDRES'+set}'`\" = set"; then
1441 echo $ac_n "(cached) $ac_c" 1>&6
1443 if test -n "$WINDRES"; then
1444 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
1446 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1448 for ac_dir
in $ac_dummy; do
1449 test -z "$ac_dir" && ac_dir
=.
1450 if test -f $ac_dir/$ac_word; then
1451 ac_cv_prog_WINDRES
="windres"
1456 test -z "$ac_cv_prog_WINDRES" && ac_cv_prog_WINDRES
="windres"
1459 WINDRES
="$ac_cv_prog_WINDRES"
1460 if test -n "$WINDRES"; then
1461 echo "$ac_t""$WINDRES" 1>&6
1463 echo "$ac_t""no" 1>&6
1472 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1473 echo "configure:1474: checking how to run the C preprocessor" >&5
1474 # On Suns, sometimes $CPP names a directory.
1475 if test -n "$CPP" && test -d "$CPP"; then
1478 if test -z "$CPP"; then
1479 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
1480 echo $ac_n "(cached) $ac_c" 1>&6
1482 # This must be in double quotes, not single quotes, because CPP may get
1483 # substituted into the Makefile and "${CC-cc}" will confuse make.
1485 # On the NeXT, cc -E runs the code through the compiler's parser,
1486 # not just through cpp.
1487 cat > conftest.
$ac_ext <<EOF
1488 #line 1489 "configure"
1489 #include "confdefs.h"
1493 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1494 { (eval echo configure
:1495: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1495 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1496 if test -z "$ac_err"; then
1500 echo "configure: failed program was:" >&5
1501 cat conftest.
$ac_ext >&5
1503 CPP
="${CC-cc} -E -traditional-cpp"
1504 cat > conftest.
$ac_ext <<EOF
1505 #line 1506 "configure"
1506 #include "confdefs.h"
1510 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1511 { (eval echo configure
:1512: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1512 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1513 if test -z "$ac_err"; then
1517 echo "configure: failed program was:" >&5
1518 cat conftest.
$ac_ext >&5
1520 CPP
="${CC-cc} -nologo -E"
1521 cat > conftest.
$ac_ext <<EOF
1522 #line 1523 "configure"
1523 #include "confdefs.h"
1527 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1528 { (eval echo configure
:1529: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1529 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1530 if test -z "$ac_err"; then
1534 echo "configure: failed program was:" >&5
1535 cat conftest.
$ac_ext >&5
1544 ac_cv_prog_CPP
="$CPP"
1546 CPP
="$ac_cv_prog_CPP"
1548 ac_cv_prog_CPP
="$CPP"
1550 echo "$ac_t""$CPP" 1>&6
1552 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
1553 # for constant arguments. Useless!
1554 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
1555 echo "configure:1556: checking for working alloca.h" >&5
1556 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
1557 echo $ac_n "(cached) $ac_c" 1>&6
1559 cat > conftest.
$ac_ext <<EOF
1560 #line 1561 "configure"
1561 #include "confdefs.h"
1564 char *p = alloca(2 * sizeof(int));
1567 if { (eval echo configure
:1568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1569 ac_cv_header_alloca_h
=yes
1571 echo "configure: failed program was:" >&5
1572 cat conftest.
$ac_ext >&5
1574 ac_cv_header_alloca_h
=no
1579 echo "$ac_t""$ac_cv_header_alloca_h" 1>&6
1580 if test $ac_cv_header_alloca_h = yes; then
1581 cat >> confdefs.h
<<\EOF
1582 #define HAVE_ALLOCA_H 1
1587 echo $ac_n "checking for alloca""... $ac_c" 1>&6
1588 echo "configure:1589: checking for alloca" >&5
1589 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
1590 echo $ac_n "(cached) $ac_c" 1>&6
1592 cat > conftest.
$ac_ext <<EOF
1593 #line 1594 "configure"
1594 #include "confdefs.h"
1597 # define alloca __builtin_alloca
1600 # include <malloc.h>
1601 # define alloca _alloca
1604 # include <alloca.h>
1609 # ifndef alloca /* predefined by HP cc +Olibcalls */
1618 char *p = (char *) alloca(1);
1621 if { (eval echo configure
:1622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1623 ac_cv_func_alloca_works
=yes
1625 echo "configure: failed program was:" >&5
1626 cat conftest.
$ac_ext >&5
1628 ac_cv_func_alloca_works
=no
1633 echo "$ac_t""$ac_cv_func_alloca_works" 1>&6
1634 if test $ac_cv_func_alloca_works = yes; then
1635 cat >> confdefs.h
<<\EOF
1636 #define HAVE_ALLOCA 1
1641 if test $ac_cv_func_alloca_works = no
; then
1642 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
1643 # that cause trouble. Some versions do not even contain alloca or
1644 # contain a buggy version. If you still want to use their alloca,
1645 # use ar to extract alloca.o from them instead of compiling alloca.c.
1646 ALLOCA
=alloca.
${ac_objext}
1647 cat >> confdefs.h
<<\EOF
1652 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
1653 echo "configure:1654: checking whether alloca needs Cray hooks" >&5
1654 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
1655 echo $ac_n "(cached) $ac_c" 1>&6
1657 cat > conftest.
$ac_ext <<EOF
1658 #line 1659 "configure"
1659 #include "confdefs.h"
1660 #if defined(CRAY) && ! defined(CRAY2)
1667 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1668 egrep "webecray" >/dev
/null
2>&1; then
1679 echo "$ac_t""$ac_cv_os_cray" 1>&6
1680 if test $ac_cv_os_cray = yes; then
1681 for ac_func
in _getb67 GETB67 getb67
; do
1682 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1683 echo "configure:1684: checking for $ac_func" >&5
1684 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1685 echo $ac_n "(cached) $ac_c" 1>&6
1687 cat > conftest.
$ac_ext <<EOF
1688 #line 1689 "configure"
1689 #include "confdefs.h"
1690 /* System header to define __stub macros and hopefully few prototypes,
1691 which can conflict with char $ac_func(); below. */
1693 /* Override any gcc2 internal prototype to avoid an error. */
1694 /* We use char because int might match the return type of a gcc2
1695 builtin and then its argument prototype would still apply. */
1700 /* The GNU C library defines this for functions which it implements
1701 to always fail with ENOSYS. Some functions are actually named
1702 something starting with __ and the normal name is an alias. */
1703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1711 if { (eval echo configure
:1712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1713 eval "ac_cv_func_$ac_func=yes"
1715 echo "configure: failed program was:" >&5
1716 cat conftest.
$ac_ext >&5
1718 eval "ac_cv_func_$ac_func=no"
1723 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
1724 echo "$ac_t""yes" 1>&6
1725 cat >> confdefs.h
<<EOF
1726 #define CRAY_STACKSEG_END $ac_func
1731 echo "$ac_t""no" 1>&6
1737 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
1738 echo "configure:1739: checking stack direction for C alloca" >&5
1739 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
1740 echo $ac_n "(cached) $ac_c" 1>&6
1742 if test "$cross_compiling" = yes; then
1743 ac_cv_c_stack_direction
=0
1745 cat > conftest.
$ac_ext <<EOF
1746 #line 1747 "configure"
1747 #include "confdefs.h"
1748 find_stack_direction ()
1750 static char *addr = 0;
1755 return find_stack_direction ();
1758 return (&dummy > addr) ? 1 : -1;
1762 exit (find_stack_direction() < 0);
1765 if { (eval echo configure
:1766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
1767 ac_cv_c_stack_direction
=1
1769 echo "configure: failed program was:" >&5
1770 cat conftest.
$ac_ext >&5
1772 ac_cv_c_stack_direction
=-1
1779 echo "$ac_t""$ac_cv_c_stack_direction" 1>&6
1780 cat >> confdefs.h
<<EOF
1781 #define STACK_DIRECTION $ac_cv_c_stack_direction
1786 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
1787 echo "configure:1788: checking whether ${MAKE-make} sets \${MAKE}" >&5
1788 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
1789 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
1790 echo $ac_n "(cached) $ac_c" 1>&6
1792 cat > conftestmake
<<\EOF
1794 @
echo 'ac_maketemp="${MAKE}"'
1796 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1797 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
1798 if test -n "$ac_maketemp"; then
1799 eval ac_cv_prog_make_
${ac_make}_set
=yes
1801 eval ac_cv_prog_make_
${ac_make}_set
=no
1805 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1806 echo "$ac_t""yes" 1>&6
1809 echo "$ac_t""no" 1>&6
1810 SET_MAKE
="MAKE=${MAKE-make}"
1814 # Test for builtin mem* functions.
1817 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1818 ac_cpp
='$CXXCPP $CPPFLAGS'
1819 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1820 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1821 cross_compiling
=$ac_cv_prog_cxx_cross
1823 cat > conftest.
$ac_ext <<EOF
1824 #line 1825 "configure"
1825 #include "confdefs.h"
1828 void foo(char *s, int c, size_t n)
1830 __builtin_memset(s, c, n);
1837 if { (eval echo configure
:1838: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1839 use_builtin_memset
=yes
1841 echo "configure: failed program was:" >&5
1842 cat conftest.
$ac_ext >&5
1844 use_builtin_memset
=no
1847 if test $use_builtin_memset = "yes"; then
1848 cat >> confdefs.h
<<\EOF
1849 #define HAVE_BUILTIN_MEMSET 1
1854 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1855 ac_cpp
='$CPP $CPPFLAGS'
1856 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1857 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1858 cross_compiling
=$ac_cv_prog_cc_cross
1861 # Check whether --enable-debugging or --disable-debugging was given.
1862 if test "${enable_debugging+set}" = set; then
1863 enableval
="$enable_debugging"
1864 case "${enableval}" in
1865 yes) cat >> confdefs.h
<<\EOF
1876 cat > confcache
<<\EOF
1877 # This file is a shell script that caches the results of configure
1878 # tests run on this system so they can be shared between configure
1879 # scripts and configure runs. It is not useful on other systems.
1880 # If it contains results you don't want to keep, you may remove or edit it.
1882 # By default, configure uses ./config.cache as the cache file,
1883 # creating it if it does not exist already. You can give configure
1884 # the --cache-file=FILE option to use a different cache file; that is
1885 # what configure does when it calls configure scripts in
1886 # subdirectories, so they share the cache.
1887 # Giving --cache-file=/dev/null disables caching, for debugging configure.
1888 # config.status only pays attention to the cache file if you give it the
1889 # --recheck option to rerun configure.
1892 # The following way of writing the cache mishandles newlines in values,
1893 # but we know of no workaround that is simple, portable, and efficient.
1894 # So, don't put newlines in cache variables' values.
1895 # Ultrix sh set writes to stderr and can't be redirected directly,
1896 # and sets the high bit in the cache file unless we assign to the vars.
1898 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1900 # `set' does not quote correctly, so add quotes (double-quote substitution
1901 # turns \\\\ into \\, and sed turns \\ into \).
1903 -e "s/'/'\\\\''/g" \
1904 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1907 # `set' quotes correctly as required by POSIX, so do not add quotes.
1908 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1911 if cmp -s $cache_file confcache
; then
1914 if test -w $cache_file; then
1915 echo "updating cache $cache_file"
1916 cat confcache
> $cache_file
1918 echo "not updating unwritable cache $cache_file"
1923 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1925 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
1926 # Let make expand exec_prefix.
1927 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
1929 # Any assignment to VPATH causes Sun make to only execute
1930 # the first set of double-colon rules, so remove it if not needed.
1931 # If there is a colon in the path, we need to keep it.
1932 if test "x$srcdir" = x.
; then
1933 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
1936 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1938 # Transform confdefs.h into DEFS.
1939 # Protect against shell expansion while executing Makefile rules.
1940 # Protect against Makefile macro expansion.
1941 cat > conftest.defs
<<\EOF
1942 s
%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
1943 s
%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
1948 DEFS=`sed -f conftest.defs confdefs.h |
tr '\012' ' '`
1952 # Without the "./", some shells look in PATH for config.status.
1953 : ${CONFIG_STATUS=./config.status}
1955 echo creating $CONFIG_STATUS
1956 rm -f $CONFIG_STATUS
1957 cat > $CONFIG_STATUS <<EOF
1959 # Generated automatically by configure.
1960 # Run this file to recreate the current configuration.
1961 # This directory was configured as follows,
1962 # on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
1964 # $0 $ac_configure_args
1966 # Compiler output produced by configure, useful for debugging
1967 # configure, is in ./config.log if it exists.
1969 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1972 case "\$ac_option" in
1973 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1974 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1975 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1976 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1977 echo "$CONFIG_STATUS generated by autoconf version 2.13"
1979 -help | --help | --hel | --he | --h)
1980 echo "\$ac_cs_usage"; exit 0 ;;
1981 *) echo "\$ac_cs_usage"; exit 1 ;;
1985 ac_given_srcdir=$srcdir
1986 ac_given_INSTALL="$INSTALL"
1988 trap 'rm -fr `echo "Makefile" |
sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1990 cat >> $CONFIG_STATUS <<EOF
1992 # Protect against being on the right side of a sed subst in config.status.
1993 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1994 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1998 s%@CFLAGS@%$CFLAGS%g
1999 s%@CPPFLAGS@%$CPPFLAGS%g
2000 s%@CXXFLAGS@%$CXXFLAGS%g
2001 s%@FFLAGS@%$FFLAGS%g
2003 s%@LDFLAGS@%$LDFLAGS%g
2005 s%@exec_prefix@%$exec_prefix%g
2006 s%@prefix@%$prefix%g
2007 s%@program_transform_name@%$program_transform_name%g
2008 s%@bindir@%$bindir%g
2009 s%@sbindir@%$sbindir%g
2010 s%@libexecdir@%$libexecdir%g
2011 s%@datadir@%$datadir%g
2012 s%@sysconfdir@%$sysconfdir%g
2013 s%@sharedstatedir@%$sharedstatedir%g
2014 s%@localstatedir@%$localstatedir%g
2015 s%@libdir@%$libdir%g
2016 s%@includedir@%$includedir%g
2017 s%@oldincludedir@%$oldincludedir%g
2018 s%@infodir@%$infodir%g
2019 s%@mandir@%$mandir%g
2020 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
2021 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
2022 s%@INSTALL_DATA@%$INSTALL_DATA%g
2024 s%@host_alias@%$host_alias%g
2025 s%@host_cpu@%$host_cpu%g
2026 s%@host_vendor@%$host_vendor%g
2027 s%@host_os@%$host_os%g
2028 s%@target@%$target%g
2029 s%@target_alias@%$target_alias%g
2030 s%@target_cpu@%$target_cpu%g
2031 s%@target_vendor@%$target_vendor%g
2032 s%@target_os@%$target_os%g
2034 s%@build_alias@%$build_alias%g
2035 s%@build_cpu@%$build_cpu%g
2036 s%@build_vendor@%$build_vendor%g
2037 s%@build_os@%$build_os%g
2040 s%@all_host@%$all_host%g
2041 s%@install_host@%$install_host%g
2044 s%@RANLIB@%$RANLIB%g
2047 s%@DLLTOOL@%$DLLTOOL%g
2048 s%@WINDRES@%$WINDRES%g
2050 s%@ALLOCA@%$ALLOCA%g
2051 s%@SET_MAKE@%$SET_MAKE%g
2056 cat >> $CONFIG_STATUS <<\EOF
2058 # Split the substitutions into bite-sized pieces for seds with
2059 # small command number limits, like on Digital OSF/1 and HP-UX.
2060 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
2061 ac_file=1 # Number of current file.
2062 ac_beg=1 # First line for current file.
2063 ac_end=$ac_max_sed_cmds # Line after last line for current file.
2066 while $ac_more_lines; do
2067 if test $ac_beg -gt 1; then
2068 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
2070 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
2072 if test ! -s conftest.s$ac_file; then
2074 rm -f conftest.s$ac_file
2076 if test -z "$ac_sed_cmds"; then
2077 ac_sed_cmds="sed -f conftest.s$ac_file"
2079 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
2081 ac_file=`expr $ac_file + 1`
2083 ac_end=`expr $ac_end + $ac_max_sed_cmds`
2086 if test -z "$ac_sed_cmds"; then
2091 cat >> $CONFIG_STATUS <<EOF
2093 CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
2095 cat >> $CONFIG_STATUS <<\EOF
2096 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
2097 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2099 *:*) ac_file_in=`echo "$ac_file"|
sed 's%[^:]*:%%'`
2100 ac_file=`echo "$ac_file"|
sed 's%:.*%%'` ;;
2101 *) ac_file_in="${ac_file}.in" ;;
2104 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
2106 # Remove last slash and all that follows it. Not all systems have dirname.
2107 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
2108 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2109 # The file is in a subdirectory.
2110 test ! -d "$ac_dir" && mkdir "$ac_dir"
2111 ac_dir_suffix="/`echo $ac_dir|
sed 's%^\./%%'`"
2112 # A "../" for each directory in $ac_dir_suffix.
2113 ac_dots=`echo $ac_dir_suffix|
sed 's%/[^/]*%../%g'`
2115 ac_dir_suffix= ac_dots=
2118 case "$ac_given_srcdir" in
2120 if test -z "$ac_dots"; then top_srcdir=.
2121 else top_srcdir=`echo $ac_dots|
sed 's%/$%%'`; fi ;;
2122 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
2124 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
2125 top_srcdir="$ac_dots$ac_given_srcdir" ;;
2128 case "$ac_given_INSTALL" in
2129 [/$]*) INSTALL="$ac_given_INSTALL" ;;
2130 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
2133 echo creating "$ac_file"
2135 configure_input="Generated automatically from `echo $ac_file_in|
sed 's%.*/%%'` by configure."
2137 *Makefile*) ac_comsub="1i\\
2138 # $configure_input" ;;
2142 ac_file_inputs=`echo $ac_file_in|
sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2144 s%@configure_input@%$configure_input%g
2145 s%@srcdir@%$srcdir%g
2146 s%@top_srcdir@%$top_srcdir%g
2147 s%@INSTALL@%$INSTALL%g
2148 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
2153 cat >> $CONFIG_STATUS <<EOF
2156 cat >> $CONFIG_STATUS <<\EOF
2160 chmod +x $CONFIG_STATUS
2161 rm -fr confdefs* $ac_clean_files
2162 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1