3 # From configure.in Id: configure.in
4 # generated automatically by aclocal 1.7.2 -*- Autoconf -*-
6 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002
7 # Free Software Foundation, Inc.
8 # This file is free software; the Free Software Foundation
9 # gives unlimited permission to copy and/or distribute it,
10 # with or without modifications, as long as this notice is preserved.
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
14 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
54 # Guess values for system-dependent variables and create Makefiles.
55 # Generated automatically using autoconf version 2.13
56 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
58 # This configure script is free software; the Free Software Foundation
59 # gives unlimited permission to copy, distribute and modify it.
63 ac_default_prefix
=/usr
/local
64 # Any additions from configure.in:
66 # Initialize some variables set by options.
67 # The variables have the same names as the options, with
68 # dashes changed to underlines.
70 cache_file
=.
/config.cache
79 program_transform_name
=s
,x
,x
,
87 bindir
='${exec_prefix}/bin'
88 sbindir
='${exec_prefix}/sbin'
89 libexecdir
='${exec_prefix}/libexec'
90 datadir
='${prefix}/share'
91 sysconfdir
='${prefix}/etc'
92 sharedstatedir
='${prefix}/com'
93 localstatedir
='${prefix}/var'
94 libdir
='${exec_prefix}/lib'
95 includedir
='${prefix}/include'
96 oldincludedir
='/usr/include'
97 infodir
='${prefix}/info'
98 mandir
='${prefix}/man'
100 # Initialize some other variables.
103 SHELL
=${CONFIG_SHELL-/bin/sh}
104 # Maximum number of lines to put in a shell here document.
111 # If the previous option needs an argument, assign it.
112 if test -n "$ac_prev"; then
113 eval "$ac_prev=\$ac_option"
119 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
123 # Accept the important Cygnus configure options, so we can diagnose typos.
127 -bindir | --bindir | --bindi | --bind | --bin | --bi)
129 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
130 bindir
="$ac_optarg" ;;
132 -build | --build | --buil | --bui | --bu)
134 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
135 build
="$ac_optarg" ;;
137 -cache-file | --cache-file | --cache-fil | --cache-fi \
138 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
139 ac_prev
=cache_file
;;
140 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
141 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
142 cache_file
="$ac_optarg" ;;
144 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
146 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
148 datadir
="$ac_optarg" ;;
150 -disable-* | --disable-*)
151 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
152 # Reject names that are not valid shell variable names.
153 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
154 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
156 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
157 eval "enable_${ac_feature}=no" ;;
159 -enable-* | --enable-*)
160 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
161 # Reject names that are not valid shell variable names.
162 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
163 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
165 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
170 eval "enable_${ac_feature}='$ac_optarg'" ;;
172 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
173 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
174 | --exec | --exe | --ex)
175 ac_prev
=exec_prefix
;;
176 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
177 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
178 | --exec=* | --exe=* | --ex=*)
179 exec_prefix
="$ac_optarg" ;;
181 -gas | --gas | --ga | --g)
182 # Obsolete; use --with-gas.
185 -help | --help | --hel | --he)
186 # Omit some internal or obsolete options to make the list less imposing.
187 # This message is too long to be a string in the A/UX 3.1 sh.
189 Usage: configure [options] [host]
190 Options: [defaults in brackets after descriptions]
192 --cache-file=FILE cache test results in FILE
193 --help print this message
194 --no-create do not create output files
195 --quiet, --silent do not print \`checking...' messages
196 --version print the version of autoconf that created configure
197 Directory and file names:
198 --prefix=PREFIX install architecture-independent files in PREFIX
200 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
202 --bindir=DIR user executables in DIR [EPREFIX/bin]
203 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
204 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
205 --datadir=DIR read-only architecture-independent data in DIR
207 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
208 --sharedstatedir=DIR modifiable architecture-independent data in DIR
210 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
211 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
212 --includedir=DIR C header files in DIR [PREFIX/include]
213 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
214 --infodir=DIR info documentation in DIR [PREFIX/info]
215 --mandir=DIR man documentation in DIR [PREFIX/man]
216 --srcdir=DIR find the sources in DIR [configure dir or ..]
217 --program-prefix=PREFIX prepend PREFIX to installed program names
218 --program-suffix=SUFFIX append SUFFIX to installed program names
219 --program-transform-name=PROGRAM
220 run sed PROGRAM on installed program names
224 --build=BUILD configure for building on BUILD [BUILD=HOST]
225 --host=HOST configure for HOST [guessed]
226 --target=TARGET configure for TARGET [TARGET=HOST]
227 Features and packages:
228 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
229 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
230 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
231 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
232 --x-includes=DIR X include files are in DIR
233 --x-libraries=DIR X library files are in DIR
235 if test -n "$ac_help"; then
236 echo "--enable and --with options recognized:$ac_help"
240 -host | --host | --hos | --ho)
242 -host=* | --host=* | --hos=* | --ho=*)
245 -includedir | --includedir | --includedi | --included | --include \
246 | --includ | --inclu | --incl | --inc)
247 ac_prev
=includedir
;;
248 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
249 | --includ=* | --inclu=* | --incl=* | --inc=*)
250 includedir
="$ac_optarg" ;;
252 -infodir | --infodir | --infodi | --infod | --info | --inf)
254 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
255 infodir
="$ac_optarg" ;;
257 -libdir | --libdir | --libdi | --libd)
259 -libdir=* | --libdir=* | --libdi=* | --libd=*)
260 libdir
="$ac_optarg" ;;
262 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
263 | --libexe | --libex | --libe)
264 ac_prev
=libexecdir
;;
265 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
266 | --libexe=* | --libex=* | --libe=*)
267 libexecdir
="$ac_optarg" ;;
269 -localstatedir | --localstatedir | --localstatedi | --localstated \
270 | --localstate | --localstat | --localsta | --localst \
271 | --locals | --local | --loca | --loc | --lo)
272 ac_prev
=localstatedir
;;
273 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
274 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
275 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
276 localstatedir
="$ac_optarg" ;;
278 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
280 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
281 mandir
="$ac_optarg" ;;
284 # Obsolete; use --without-fp.
287 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
291 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
292 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
295 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
296 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
297 | --oldin | --oldi | --old | --ol | --o)
298 ac_prev
=oldincludedir
;;
299 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
300 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
301 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
302 oldincludedir
="$ac_optarg" ;;
304 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
306 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
307 prefix
="$ac_optarg" ;;
309 -program-prefix | --program-prefix | --program-prefi | --program-pref \
310 | --program-pre | --program-pr | --program-p)
311 ac_prev
=program_prefix
;;
312 -program-prefix=* | --program-prefix=* | --program-prefi=* \
313 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
314 program_prefix
="$ac_optarg" ;;
316 -program-suffix | --program-suffix | --program-suffi | --program-suff \
317 | --program-suf | --program-su | --program-s)
318 ac_prev
=program_suffix
;;
319 -program-suffix=* | --program-suffix=* | --program-suffi=* \
320 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
321 program_suffix
="$ac_optarg" ;;
323 -program-transform-name | --program-transform-name \
324 | --program-transform-nam | --program-transform-na \
325 | --program-transform-n | --program-transform- \
326 | --program-transform | --program-transfor \
327 | --program-transfo | --program-transf \
328 | --program-trans | --program-tran \
329 | --progr-tra | --program-tr | --program-t)
330 ac_prev
=program_transform_name
;;
331 -program-transform-name=* | --program-transform-name=* \
332 | --program-transform-nam=* | --program-transform-na=* \
333 | --program-transform-n=* | --program-transform-=* \
334 | --program-transform=* | --program-transfor=* \
335 | --program-transfo=* | --program-transf=* \
336 | --program-trans=* | --program-tran=* \
337 | --progr-tra=* | --program-tr=* | --program-t=*)
338 program_transform_name
="$ac_optarg" ;;
340 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
341 | -silent | --silent | --silen | --sile | --sil)
344 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
346 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
348 sbindir
="$ac_optarg" ;;
350 -sharedstatedir | --sharedstatedir | --sharedstatedi \
351 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
352 | --sharedst | --shareds | --shared | --share | --shar \
354 ac_prev
=sharedstatedir
;;
355 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
356 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
357 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
359 sharedstatedir
="$ac_optarg" ;;
361 -site | --site | --sit)
363 -site=* | --site=* | --sit=*)
366 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
368 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
369 srcdir
="$ac_optarg" ;;
371 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
372 | --syscon | --sysco | --sysc | --sys | --sy)
373 ac_prev
=sysconfdir
;;
374 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
375 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
376 sysconfdir
="$ac_optarg" ;;
378 -target | --target | --targe | --targ | --tar | --ta | --t)
380 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
381 target
="$ac_optarg" ;;
383 -v | -verbose | --verbose | --verbos | --verbo | --verb)
386 -version | --version | --versio | --versi | --vers)
387 echo "configure generated by autoconf version 2.13"
391 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
392 # Reject names that are not valid shell variable names.
393 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
394 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
396 ac_package
=`echo $ac_package| sed 's/-/_/g'`
401 eval "with_${ac_package}='$ac_optarg'" ;;
403 -without-* | --without-*)
404 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
405 # Reject names that are not valid shell variable names.
406 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
407 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
409 ac_package
=`echo $ac_package| sed 's/-/_/g'`
410 eval "with_${ac_package}=no" ;;
413 # Obsolete; use --with-x.
416 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
417 | --x-incl | --x-inc | --x-in | --x-i)
418 ac_prev
=x_includes
;;
419 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
420 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
421 x_includes
="$ac_optarg" ;;
423 -x-libraries | --x-libraries | --x-librarie | --x-librari \
424 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
425 ac_prev
=x_libraries
;;
426 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
427 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
428 x_libraries
="$ac_optarg" ;;
430 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
434 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
435 echo "configure: warning: $ac_option: invalid host type" 1>&2
437 if test "x$nonopt" != xNONE
; then
438 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
446 if test -n "$ac_prev"; then
447 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
450 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
452 # File descriptor usage:
455 # 2 errors and warnings
456 # 3 some systems may open it to /dev/tty
457 # 4 used on the Kubota Titan
458 # 6 checking for... messages and results
459 # 5 compiler messages saved in config.log
460 if test "$silent" = yes; then
468 This file contains any messages produced by compilers while
469 running configure, to aid debugging if configure makes a mistake.
472 # Strip out --no-create and --no-recursion so they do not pile up.
473 # Also quote any args containing shell metacharacters.
478 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
479 | --no-cr | --no-c) ;;
480 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
481 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
482 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
483 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
484 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
489 # Only set these to C if already set. These must not be set unconditionally
490 # because not all systems understand e.g. LANG=C (notably SCO).
491 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
492 # Non-C LC_CTYPE values break the ctype check.
493 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
494 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
495 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
496 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
498 # confdefs.h avoids OS command line length limits that DEFS can exceed.
499 rm -rf conftest
* confdefs.h
500 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
503 # A filename unique to this package, relative to the directory that
504 # configure is in, which we can look for to find out if srcdir is correct.
505 ac_unique_file
=Makefile.
in
507 # Find the source files, if location was not specified.
508 if test -z "$srcdir"; then
509 ac_srcdir_defaulted
=yes
510 # Try the directory containing this script, then its parent.
512 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
513 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
515 if test ! -r $srcdir/$ac_unique_file; then
519 ac_srcdir_defaulted
=no
521 if test ! -r $srcdir/$ac_unique_file; then
522 if test "$ac_srcdir_defaulted" = yes; then
523 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
525 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
528 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
530 # Prefer explicitly selected file to automatically selected ones.
531 if test -z "$CONFIG_SITE"; then
532 if test "x$prefix" != xNONE
; then
533 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
535 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
538 for ac_site_file
in $CONFIG_SITE; do
539 if test -r "$ac_site_file"; then
540 echo "loading site script $ac_site_file"
545 if test -r "$cache_file"; then
546 echo "loading cache $cache_file"
549 echo "creating cache $cache_file"
554 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
555 ac_cpp
='$CPP $CPPFLAGS'
556 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
557 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
558 cross_compiling
=$ac_cv_prog_cc_cross
562 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
563 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
564 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
571 ac_n
= ac_c
='\c' ac_t
=
577 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
578 if test -f $ac_dir/install-sh; then
580 ac_install_sh
="$ac_aux_dir/install-sh -c"
582 elif test -f $ac_dir/install.sh
; then
584 ac_install_sh
="$ac_aux_dir/install.sh -c"
588 if test -z "$ac_aux_dir"; then
589 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
591 ac_config_guess
=$ac_aux_dir/config.guess
592 ac_config_sub
=$ac_aux_dir/config.sub
593 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
596 # Do some error checking and defaulting for the host and target type.
598 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
601 # 1. You are not allowed to specify --host, --target, and nonopt at the
603 # 2. Host defaults to nonopt.
604 # 3. If nonopt is not specified, then host defaults to the current host,
605 # as determined by config.guess.
606 # 4. Target and build default to nonopt.
607 # 5. If nonopt is not specified, then target and build default to host.
609 # The aliases save the names the user supplied, while $host etc.
610 # will get canonicalized.
611 case $host---$target---$nonopt in
612 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
613 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
617 # Make sure we can run config.sub.
618 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
619 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
622 echo $ac_n "checking host system type""... $ac_c" 1>&6
623 echo "configure:624: checking host system type" >&5
626 case "$host_alias" in
630 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
631 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
633 *) host_alias
=$nonopt ;;
637 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
638 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
639 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
640 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
641 echo "$ac_t""$host" 1>&6
643 echo $ac_n "checking target system type""... $ac_c" 1>&6
644 echo "configure:645: checking target system type" >&5
647 case "$target_alias" in
650 NONE
) target_alias
=$host_alias ;;
651 *) target_alias
=$nonopt ;;
655 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
656 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
657 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
658 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
659 echo "$ac_t""$target" 1>&6
661 echo $ac_n "checking build system type""... $ac_c" 1>&6
662 echo "configure:663: checking build system type" >&5
665 case "$build_alias" in
668 NONE
) build_alias
=$host_alias ;;
669 *) build_alias
=$nonopt ;;
673 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
674 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
675 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
676 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
677 echo "$ac_t""$build" 1>&6
679 test "$host_alias" != "$target_alias" &&
680 test "$program_prefix$program_suffix$program_transform_name" = \
682 program_prefix
=${target_alias}-
685 # Extract the first word of "gcc", so it can be a program name with args.
686 set dummy gcc
; ac_word
=$2
687 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
688 echo "configure:689: checking for $ac_word" >&5
689 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
690 echo $ac_n "(cached) $ac_c" 1>&6
692 if test -n "$CC"; then
693 ac_cv_prog_CC
="$CC" # Let the user override the test.
695 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
697 for ac_dir
in $ac_dummy; do
698 test -z "$ac_dir" && ac_dir
=.
699 if test -f $ac_dir/$ac_word; then
708 if test -n "$CC"; then
709 echo "$ac_t""$CC" 1>&6
711 echo "$ac_t""no" 1>&6
714 if test -z "$CC"; then
715 # Extract the first word of "cc", so it can be a program name with args.
716 set dummy cc
; ac_word
=$2
717 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
718 echo "configure:719: checking for $ac_word" >&5
719 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
720 echo $ac_n "(cached) $ac_c" 1>&6
722 if test -n "$CC"; then
723 ac_cv_prog_CC
="$CC" # Let the user override the test.
725 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
728 for ac_dir
in $ac_dummy; do
729 test -z "$ac_dir" && ac_dir
=.
730 if test -f $ac_dir/$ac_word; then
731 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
740 if test $ac_prog_rejected = yes; then
741 # We found a bogon in the path, so make sure we never use it.
742 set dummy
$ac_cv_prog_CC
744 if test $# -gt 0; then
745 # We chose a different compiler from the bogus one.
746 # However, it has the same basename, so the bogon will be chosen
747 # first if we set CC to just the basename; use the full file name.
749 set dummy
"$ac_dir/$ac_word" "$@"
757 if test -n "$CC"; then
758 echo "$ac_t""$CC" 1>&6
760 echo "$ac_t""no" 1>&6
763 if test -z "$CC"; then
766 # Extract the first word of "cl", so it can be a program name with args.
767 set dummy cl
; ac_word
=$2
768 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
769 echo "configure:770: checking for $ac_word" >&5
770 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
771 echo $ac_n "(cached) $ac_c" 1>&6
773 if test -n "$CC"; then
774 ac_cv_prog_CC
="$CC" # Let the user override the test.
776 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
778 for ac_dir
in $ac_dummy; do
779 test -z "$ac_dir" && ac_dir
=.
780 if test -f $ac_dir/$ac_word; then
789 if test -n "$CC"; then
790 echo "$ac_t""$CC" 1>&6
792 echo "$ac_t""no" 1>&6
797 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
800 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
801 echo "configure:802: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
804 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
805 ac_cpp
='$CPP $CPPFLAGS'
806 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
807 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
808 cross_compiling
=$ac_cv_prog_cc_cross
810 cat > conftest.
$ac_ext << EOF
812 #line 813 "configure"
813 #include "confdefs.h"
817 if { (eval echo configure
:818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
818 ac_cv_prog_cc_works
=yes
819 # If we can't run a trivial program, we are probably using a cross compiler.
820 if (.
/conftest
; exit) 2>/dev
/null
; then
821 ac_cv_prog_cc_cross
=no
823 ac_cv_prog_cc_cross
=yes
826 echo "configure: failed program was:" >&5
827 cat conftest.
$ac_ext >&5
828 ac_cv_prog_cc_works
=no
832 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
833 ac_cpp
='$CPP $CPPFLAGS'
834 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
835 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
836 cross_compiling
=$ac_cv_prog_cc_cross
838 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
839 if test $ac_cv_prog_cc_works = no
; then
840 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
842 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
843 echo "configure:844: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
844 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
845 cross_compiling
=$ac_cv_prog_cc_cross
847 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
848 echo "configure:849: checking whether we are using GNU C" >&5
849 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
850 echo $ac_n "(cached) $ac_c" 1>&6
852 cat > conftest.c
<<EOF
857 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:858: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
864 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
866 if test $ac_cv_prog_gcc = yes; then
872 ac_test_CFLAGS
="${CFLAGS+set}"
873 ac_save_CFLAGS
="$CFLAGS"
875 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
876 echo "configure:877: checking whether ${CC-cc} accepts -g" >&5
877 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
878 echo $ac_n "(cached) $ac_c" 1>&6
880 echo 'void f(){}' > conftest.c
881 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
890 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
891 if test "$ac_test_CFLAGS" = set; then
892 CFLAGS
="$ac_save_CFLAGS"
893 elif test $ac_cv_prog_cc_g = yes; then
894 if test "$GCC" = yes; then
900 if test "$GCC" = yes; then
907 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
909 # Extract the first word of "$ac_prog", so it can be a program name with args.
910 set dummy
$ac_prog; ac_word
=$2
911 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
912 echo "configure:913: checking for $ac_word" >&5
913 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
914 echo $ac_n "(cached) $ac_c" 1>&6
916 if test -n "$CXX"; then
917 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
919 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
921 for ac_dir
in $ac_dummy; do
922 test -z "$ac_dir" && ac_dir
=.
923 if test -f $ac_dir/$ac_word; then
924 ac_cv_prog_CXX
="$ac_prog"
931 CXX
="$ac_cv_prog_CXX"
932 if test -n "$CXX"; then
933 echo "$ac_t""$CXX" 1>&6
935 echo "$ac_t""no" 1>&6
938 test -n "$CXX" && break
940 test -n "$CXX" || CXX
="gcc"
943 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
944 echo "configure:945: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
947 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
948 ac_cpp
='$CXXCPP $CPPFLAGS'
949 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
950 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
951 cross_compiling
=$ac_cv_prog_cxx_cross
953 cat > conftest.
$ac_ext << EOF
955 #line 956 "configure"
956 #include "confdefs.h"
958 int main(){return(0);}
960 if { (eval echo configure
:961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
961 ac_cv_prog_cxx_works
=yes
962 # If we can't run a trivial program, we are probably using a cross compiler.
963 if (.
/conftest
; exit) 2>/dev
/null
; then
964 ac_cv_prog_cxx_cross
=no
966 ac_cv_prog_cxx_cross
=yes
969 echo "configure: failed program was:" >&5
970 cat conftest.
$ac_ext >&5
971 ac_cv_prog_cxx_works
=no
975 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
976 ac_cpp
='$CPP $CPPFLAGS'
977 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
978 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
979 cross_compiling
=$ac_cv_prog_cc_cross
981 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
982 if test $ac_cv_prog_cxx_works = no
; then
983 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
985 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
986 echo "configure:987: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
987 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
988 cross_compiling
=$ac_cv_prog_cxx_cross
990 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
991 echo "configure:992: checking whether we are using GNU C++" >&5
992 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
993 echo $ac_n "(cached) $ac_c" 1>&6
995 cat > conftest.C
<<EOF
1000 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:1001: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
1007 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1009 if test $ac_cv_prog_gxx = yes; then
1015 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
1016 ac_save_CXXFLAGS
="$CXXFLAGS"
1018 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1019 echo "configure:1020: checking whether ${CXX-g++} accepts -g" >&5
1020 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1021 echo $ac_n "(cached) $ac_c" 1>&6
1023 echo 'void f(){}' > conftest.cc
1024 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1025 ac_cv_prog_cxx_g
=yes
1033 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1034 if test "$ac_test_CXXFLAGS" = set; then
1035 CXXFLAGS
="$ac_save_CXXFLAGS"
1036 elif test $ac_cv_prog_cxx_g = yes; then
1037 if test "$GXX" = yes; then
1043 if test "$GXX" = yes; then
1051 if test "x$wx_cv_path_samplesubdirs" = "x"; then
1052 { echo "configure: error: Please run configure from the top level directory." 1>&2; exit 1; }
1055 SAMPLES_SUBDIRS
=$wx_cv_path_samplesubdirs
1058 IF_GNU_MAKE
=$wx_cv_if_gnu_make
1059 PATH_IFS
=$wx_cv_path_ifs
1060 PROGRAM_EXT
=$wx_cv_program_ext
1061 WX_TARGET_LIBRARY
=$wx_cv_target_library
1062 WX_TARGET_LIBRARY_GL
=$wx_cv_target_library_gl
1063 USE_GUI
=$wx_cv_use_gui
1090 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
1092 # Extract the first word of "ranlib", so it can be a program name with args.
1093 set dummy ranlib
; ac_word
=$2
1094 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1095 echo "configure:1096: checking for $ac_word" >&5
1096 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1097 echo $ac_n "(cached) $ac_c" 1>&6
1099 if test -n "$RANLIB"; then
1100 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1102 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1104 for ac_dir
in $ac_dummy; do
1105 test -z "$ac_dir" && ac_dir
=.
1106 if test -f $ac_dir/$ac_word; then
1107 ac_cv_prog_RANLIB
="ranlib"
1112 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
1115 RANLIB
="$ac_cv_prog_RANLIB"
1116 if test -n "$RANLIB"; then
1117 echo "$ac_t""$RANLIB" 1>&6
1119 echo "$ac_t""no" 1>&6
1122 # Find a good install program. We prefer a C program (faster),
1123 # so one script is as good as another. But avoid the broken or
1124 # incompatible versions:
1125 # SysV /etc/install, /usr/sbin/install
1126 # SunOS /usr/etc/install
1127 # IRIX /sbin/install
1129 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1130 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1131 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1132 # ./install, which can be erroneously created by make from ./install.sh.
1133 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1134 echo "configure:1135: checking for a BSD compatible install" >&5
1135 if test -z "$INSTALL"; then
1136 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1137 echo $ac_n "(cached) $ac_c" 1>&6
1139 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
1140 for ac_dir
in $PATH; do
1141 # Account for people who put trailing slashes in PATH elements.
1143 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
1145 # OSF1 and SCO ODT 3.0 have their own names for install.
1146 # Don't use installbsd from OSF since it installs stuff as root
1148 for ac_prog
in ginstall scoinst
install; do
1149 if test -f $ac_dir/$ac_prog; then
1150 if test $ac_prog = install &&
1151 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
1152 # AIX install. It has an incompatible calling convention.
1155 ac_cv_path_install
="$ac_dir/$ac_prog -c"
1166 if test "${ac_cv_path_install+set}" = set; then
1167 INSTALL
="$ac_cv_path_install"
1169 # As a last resort, use the slow shell script. We don't cache a
1170 # path for INSTALL within a source directory, because that will
1171 # break other packages using the cache if that directory is
1172 # removed, or if the path is relative.
1173 INSTALL
="$ac_install_sh"
1176 echo "$ac_t""$INSTALL" 1>&6
1178 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1179 # It thinks the first close brace ends the variable substitution.
1180 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1182 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
1184 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1186 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1187 echo "configure:1188: checking whether ln -s works" >&5
1188 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1189 echo $ac_n "(cached) $ac_c" 1>&6
1192 if ln -s X conftestdata
2>/dev
/null
1195 ac_cv_prog_LN_S
="ln -s"
1200 LN_S
="$ac_cv_prog_LN_S"
1201 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1202 echo "$ac_t""yes" 1>&6
1204 echo "$ac_t""no" 1>&6
1208 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
1209 echo "configure:1210: checking whether ${MAKE-make} sets \${MAKE}" >&5
1210 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
1211 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
1212 echo $ac_n "(cached) $ac_c" 1>&6
1214 cat > conftestmake
<<\EOF
1216 @
echo 'ac_maketemp="${MAKE}"'
1218 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1219 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
1220 if test -n "$ac_maketemp"; then
1221 eval ac_cv_prog_make_
${ac_make}_set
=yes
1223 eval ac_cv_prog_make_
${ac_make}_set
=no
1227 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1228 echo "$ac_t""yes" 1>&6
1231 echo "$ac_t""no" 1>&6
1232 SET_MAKE
="MAKE=${MAKE-make}"
1237 if test "$build" != "$host" ; then
1239 STRIP
=$host_alias-strip
1241 # Extract the first word of "ar", so it can be a program name with args.
1242 set dummy
ar; ac_word
=$2
1243 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1244 echo "configure:1245: checking for $ac_word" >&5
1245 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1246 echo $ac_n "(cached) $ac_c" 1>&6
1248 if test -n "$AR"; then
1249 ac_cv_prog_AR
="$AR" # Let the user override the test.
1251 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1253 for ac_dir
in $ac_dummy; do
1254 test -z "$ac_dir" && ac_dir
=.
1255 if test -f $ac_dir/$ac_word; then
1261 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
1265 if test -n "$AR"; then
1266 echo "$ac_t""$AR" 1>&6
1268 echo "$ac_t""no" 1>&6
1271 # Extract the first word of "strip", so it can be a program name with args.
1272 set dummy strip
; ac_word
=$2
1273 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1274 echo "configure:1275: checking for $ac_word" >&5
1275 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
1276 echo $ac_n "(cached) $ac_c" 1>&6
1278 if test -n "$STRIP"; then
1279 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1281 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1283 for ac_dir
in $ac_dummy; do
1284 test -z "$ac_dir" && ac_dir
=.
1285 if test -f $ac_dir/$ac_word; then
1286 ac_cv_prog_STRIP
="strip"
1291 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
1294 STRIP
="$ac_cv_prog_STRIP"
1295 if test -n "$STRIP"; then
1296 echo "$ac_t""$STRIP" 1>&6
1298 echo "$ac_t""no" 1>&6
1307 *) INSTALL_DIR
="$INSTALL -d"
1314 echo $ac_n "checking if make is GNU make""... $ac_c" 1>&6
1315 echo "configure:1316: checking if make is GNU make" >&5
1316 if eval "test \"`echo '$''{'wx_cv_prog_makeisgnu'+set}'`\" = set"; then
1317 echo $ac_n "(cached) $ac_c" 1>&6
1320 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
1321 egrep -s GNU
> /dev
/null
); then
1322 bakefile_cv_prog_makeisgnu
="yes"
1324 bakefile_cv_prog_makeisgnu
="no"
1329 echo "$ac_t""$wx_cv_prog_makeisgnu" 1>&6
1331 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
1346 *-*-cygwin* | *-*-mingw32* )
1349 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
1379 *-*-cygwin* | *-*-mingw32* )
1384 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
1398 SHARED_LD_CC
="\$(CC) -shared -o"
1399 SHARED_LD_CXX
="\$(CXX) -shared -o"
1401 if test "x$GCC" = "xyes"; then
1407 if test "x$GCC" = "xyes"; then
1408 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
1409 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
1411 LDFLAGS
="$LDFLAGS -L/usr/lib"
1413 SHARED_LD_CC
="${CC} -b -o"
1414 SHARED_LD_CXX
="${CXX} -b -o"
1420 if test "x$GCC" != "xyes"; then
1421 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
1422 echo "configure:1423: checking for Intel compiler" >&5
1423 if eval "test \"`echo '$''{'bakefile_cv_prog_icc'+set}'`\" = set"; then
1424 echo $ac_n "(cached) $ac_c" 1>&6
1427 cat > conftest.
$ac_ext <<EOF
1428 #line 1429 "configure"
1429 #include "confdefs.h"
1433 #ifndef __INTEL_COMPILER
1439 if { (eval echo configure
:1440: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1441 bakefile_cv_prog_icc
=yes
1443 echo "configure: failed program was:" >&5
1444 cat conftest.
$ac_ext >&5
1446 bakefile_cv_prog_icc
=no
1453 echo "$ac_t""$bakefile_cv_prog_icc" 1>&6
1454 if test "$bakefile_cv_prog_icc" = "yes"; then
1461 if test "x$GCC" != xyes
; then
1462 SHARED_LD_CC
="${CC} -G -o"
1463 SHARED_LD_CXX
="${CXX} -G -o"
1469 CFLAGS
="$CFLAGS -fno-common"
1470 CXXFLAGS
="$CXXFLAGS -fno-common"
1473 cat <<EOF >shared-ld-sh
1475 #-----------------------------------------------------------------------------
1476 #-- Name: distrib/mac/shared-ld-sh
1477 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
1478 #-- Author: Gilles Depeyrot
1479 #-- Copyright: (c) 2002 Gilles Depeyrot
1480 #-- Licence: any use permitted
1481 #-----------------------------------------------------------------------------
1487 while test \${#} -gt 0; do
1494 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
1495 # collect these options and values
1496 args="\${args} \${1} \${2}"
1500 -l*|-L*|-flat_namespace)
1501 # collect these options
1502 args="\${args} \${1}"
1506 # skip these options
1510 echo "shared-ld: unhandled option '\${1}'"
1515 # collect object files
1516 objects="\${objects} \${1}"
1520 echo "shared-ld: unhandled argument '\${1}'"
1529 # Link one module containing all the others
1531 if test \${verbose} = 1; then
1532 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
1534 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
1536 if test \${status} != 0; then
1541 # Link the shared library from the single module created
1543 if test \${verbose} = 1; then
1544 echo "cc -dynamiclib master.\$\$.o \${args}"
1546 c++ -dynamiclib master.\$\$.o \${args}
1548 if test \${status} != 0; then
1553 # Remove intermediate module
1559 chmod +x shared
-ld-sh
1561 SHARED_LD_CC
="`pwd`/shared-ld-sh -undefined suppress -flat_namespace -o"
1562 SHARED_LD_CXX
="$SHARED_LD_CC"
1563 PIC_FLAG
="-dynamic -fPIC"
1567 if test "x$GCC" != "xyes"; then
1568 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
1569 set dummy makeC
++SharedLib
; ac_word
=$2
1570 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1571 echo "configure:1572: checking for $ac_word" >&5
1572 if eval "test \"`echo '$''{'ac_cv_prog_AIX_CXX_LD'+set}'`\" = set"; then
1573 echo $ac_n "(cached) $ac_c" 1>&6
1575 if test -n "$AIX_CXX_LD"; then
1576 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
1578 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1580 for ac_dir
in $ac_dummy; do
1581 test -z "$ac_dir" && ac_dir
=.
1582 if test -f $ac_dir/$ac_word; then
1583 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
1588 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
1591 AIX_CXX_LD
="$ac_cv_prog_AIX_CXX_LD"
1592 if test -n "$AIX_CXX_LD"; then
1593 echo "$ac_t""$AIX_CXX_LD" 1>&6
1595 echo "$ac_t""no" 1>&6
1598 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
1599 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
1604 SHARED_LD_CC
="${LD} -shared -o"
1605 SHARED_LD_CXX
="${LD} -shared -o"
1609 if test "x$GCC" != "xyes"; then
1614 *-*-cygwin* | *-*-mingw32* )
1618 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
1626 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
1643 SONAME_FLAG
="-Wl,-soname,"
1672 if test "x$GCC" = "xyes"; then
1683 *-*-cygwin* | *-*-mingw32* )
1684 if test "$build" != "$host" ; then
1685 RESCOMP
=$host_alias-windres
1687 # Extract the first word of "windres", so it can be a program name with args.
1688 set dummy windres
; ac_word
=$2
1689 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1690 echo "configure:1691: checking for $ac_word" >&5
1691 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
1692 echo $ac_n "(cached) $ac_c" 1>&6
1694 if test -n "$RESCOMP"; then
1695 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
1697 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1699 for ac_dir
in $ac_dummy; do
1700 test -z "$ac_dir" && ac_dir
=.
1701 if test -f $ac_dir/$ac_word; then
1702 ac_cv_prog_RESCOMP
="windres"
1707 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
1710 RESCOMP
="$ac_cv_prog_RESCOMP"
1711 if test -n "$RESCOMP"; then
1712 echo "$ac_t""$RESCOMP" 1>&6
1714 echo "$ac_t""no" 1>&6
1721 # Extract the first word of "Rez", so it can be a program name with args.
1722 set dummy Rez
; ac_word
=$2
1723 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1724 echo "configure:1725: checking for $ac_word" >&5
1725 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
1726 echo $ac_n "(cached) $ac_c" 1>&6
1728 if test -n "$RESCOMP"; then
1729 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
1731 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1733 for ac_dir
in $ac_dummy; do
1734 test -z "$ac_dir" && ac_dir
=.
1735 if test -f $ac_dir/$ac_word; then
1736 ac_cv_prog_RESCOMP
="Rez"
1741 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
1744 RESCOMP
="$ac_cv_prog_RESCOMP"
1745 if test -n "$RESCOMP"; then
1746 echo "$ac_t""$RESCOMP" 1>&6
1748 echo "$ac_t""no" 1>&6
1751 # Extract the first word of "SetFile", so it can be a program name with args.
1752 set dummy SetFile
; ac_word
=$2
1753 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1754 echo "configure:1755: checking for $ac_word" >&5
1755 if eval "test \"`echo '$''{'ac_cv_prog_SETFILE'+set}'`\" = set"; then
1756 echo $ac_n "(cached) $ac_c" 1>&6
1758 if test -n "$SETFILE"; then
1759 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
1761 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1763 for ac_dir
in $ac_dummy; do
1764 test -z "$ac_dir" && ac_dir
=.
1765 if test -f $ac_dir/$ac_word; then
1766 ac_cv_prog_SETFILE
="SetFile"
1771 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
1774 SETFILE
="$ac_cv_prog_SETFILE"
1775 if test -n "$SETFILE"; then
1776 echo "$ac_t""$SETFILE" 1>&6
1778 echo "$ac_t""no" 1>&6
1790 COND_PLATFORM_WIN321
="#"
1791 if test "x$PLATFORM_WIN32" = "x1" ; then
1792 COND_PLATFORM_WIN321
=
1795 COND_PLATFORM_WIN320
="#"
1796 if test "x$PLATFORM_WIN32" = "x0" ; then
1797 COND_PLATFORM_WIN320
=
1800 COND_DEPS_TYPEGCC
="#"
1801 if test "x$DEPS_TYPE" = "xgcc" ; then
1805 COND_WXUSE_ZLIBBUILTIN
="#"
1806 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
1807 COND_WXUSE_ZLIBBUILTIN
=
1811 if test "x$UNICODE" = "x1" ; then
1816 if test "x$BUILD" = "xdebug" ; then
1820 COND_WXUSE_LIBJPEGBUILTIN
="#"
1821 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
1822 COND_WXUSE_LIBJPEGBUILTIN
=
1825 COND_WXUSE_ODBCBUILTIN
="#"
1826 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
1827 COND_WXUSE_ODBCBUILTIN
=
1830 COND_WXUSE_LIBPNGBUILTIN
="#"
1831 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
1832 COND_WXUSE_LIBPNGBUILTIN
=
1835 COND_MONOLITHIC0
="#"
1836 if test "x$MONOLITHIC" = "x0" ; then
1841 if test "x$WXUNIV" = "x1" ; then
1845 COND_PLATFORM_MAC1
="#"
1846 if test "x$PLATFORM_MAC" = "x1" ; then
1851 if test "x$TOOLKIT" = "xMAC" ; then
1855 COND_MONOLITHIC1
="#"
1856 if test "x$MONOLITHIC" = "x1" ; then
1860 COND_WXUSE_LIBTIFFBUILTIN
="#"
1861 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
1862 COND_WXUSE_LIBTIFFBUILTIN
=
1866 if test "x$USE_GUI" = "x0" ; then
1871 if test "x$USE_GUI" = "x1" ; then
1875 COND_WXUSE_REGEXBUILTIN
="#"
1876 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
1877 COND_WXUSE_REGEXBUILTIN
=
1885 cat > confcache
<<\EOF
1886 # This file is a shell script that caches the results of configure
1887 # tests run on this system so they can be shared between configure
1888 # scripts and configure runs. It is not useful on other systems.
1889 # If it contains results you don't want to keep, you may remove or edit it.
1891 # By default, configure uses ./config.cache as the cache file,
1892 # creating it if it does not exist already. You can give configure
1893 # the --cache-file=FILE option to use a different cache file; that is
1894 # what configure does when it calls configure scripts in
1895 # subdirectories, so they share the cache.
1896 # Giving --cache-file=/dev/null disables caching, for debugging configure.
1897 # config.status only pays attention to the cache file if you give it the
1898 # --recheck option to rerun configure.
1901 # The following way of writing the cache mishandles newlines in values,
1902 # but we know of no workaround that is simple, portable, and efficient.
1903 # So, don't put newlines in cache variables' values.
1904 # Ultrix sh set writes to stderr and can't be redirected directly,
1905 # and sets the high bit in the cache file unless we assign to the vars.
1907 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1909 # `set' does not quote correctly, so add quotes (double-quote substitution
1910 # turns \\\\ into \\, and sed turns \\ into \).
1912 -e "s/'/'\\\\''/g" \
1913 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1916 # `set' quotes correctly as required by POSIX, so do not add quotes.
1917 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1920 if cmp -s $cache_file confcache
; then
1923 if test -w $cache_file; then
1924 echo "updating cache $cache_file"
1925 cat confcache
> $cache_file
1927 echo "not updating unwritable cache $cache_file"
1932 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1934 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
1935 # Let make expand exec_prefix.
1936 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
1938 # Any assignment to VPATH causes Sun make to only execute
1939 # the first set of double-colon rules, so remove it if not needed.
1940 # If there is a colon in the path, we need to keep it.
1941 if test "x$srcdir" = x.
; then
1942 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
1945 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1947 # Transform confdefs.h into DEFS.
1948 # Protect against shell expansion while executing Makefile rules.
1949 # Protect against Makefile macro expansion.
1950 cat > conftest.defs
<<\EOF
1951 s
%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
1952 s
%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
1957 DEFS=`sed -f conftest.defs confdefs.h
| tr '\012' ' '`
1961 # Without the "./", some shells look in PATH for config.status.
1962 : ${CONFIG_STATUS=./config.status}
1964 echo creating $CONFIG_STATUS
1965 rm -f $CONFIG_STATUS
1966 cat > $CONFIG_STATUS <<EOF
1968 # Generated automatically by configure.
1969 # Run this file to recreate the current configuration.
1970 # This directory was configured as follows,
1971 # on host `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`:
1973 # $0 $ac_configure_args
1975 # Compiler output produced by configure, useful for debugging
1976 # configure, is in ./config.log if it exists.
1978 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1981 case "\$ac_option" in
1982 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1983 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1984 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1985 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1986 echo "$CONFIG_STATUS generated by autoconf version 2.13"
1988 -help | --help | --hel | --he | --h)
1989 echo "\$ac_cs_usage"; exit 0 ;;
1990 *) echo "\$ac_cs_usage"; exit 1 ;;
1994 ac_given_srcdir=$srcdir
1995 ac_given_INSTALL="$INSTALL"
1997 trap 'rm -fr `echo "
2035 mobile/wxedit/Makefile
2036 mobile/styles/Makefile
2066 html/printing/Makefile
2067 html/helpview/Makefile
2070 html/virtual/Makefile
2071 html/widget/Makefile
2073 opengl/cube/Makefile
2074 opengl/penguin/Makefile
2075 opengl/isosurf/Makefile
2076 " | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
2078 cat >> $CONFIG_STATUS <<EOF
2080 # Protect against being on the right side of a sed subst in config.status.
2081 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
2082 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
2086 s%@CFLAGS@%$CFLAGS%g
2087 s%@CPPFLAGS@%$CPPFLAGS%g
2088 s%@CXXFLAGS@%$CXXFLAGS%g
2089 s%@FFLAGS@%$FFLAGS%g
2091 s%@LDFLAGS@%$LDFLAGS%g
2093 s%@exec_prefix@%$exec_prefix%g
2094 s%@prefix@%$prefix%g
2095 s%@program_transform_name@%$program_transform_name%g
2096 s%@bindir@%$bindir%g
2097 s%@sbindir@%$sbindir%g
2098 s%@libexecdir@%$libexecdir%g
2099 s%@datadir@%$datadir%g
2100 s%@sysconfdir@%$sysconfdir%g
2101 s%@sharedstatedir@%$sharedstatedir%g
2102 s%@localstatedir@%$localstatedir%g
2103 s%@libdir@%$libdir%g
2104 s%@includedir@%$includedir%g
2105 s%@oldincludedir@%$oldincludedir%g
2106 s%@infodir@%$infodir%g
2107 s%@mandir@%$mandir%g
2109 s%@host_alias@%$host_alias%g
2110 s%@host_cpu@%$host_cpu%g
2111 s%@host_vendor@%$host_vendor%g
2112 s%@host_os@%$host_os%g
2113 s%@target@%$target%g
2114 s%@target_alias@%$target_alias%g
2115 s%@target_cpu@%$target_cpu%g
2116 s%@target_vendor@%$target_vendor%g
2117 s%@target_os@%$target_os%g
2119 s%@build_alias@%$build_alias%g
2120 s%@build_cpu@%$build_cpu%g
2121 s%@build_vendor@%$build_vendor%g
2122 s%@build_os@%$build_os%g
2125 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
2126 s%@top_builddir@%$top_builddir%g
2127 s%@IF_GNU_MAKE@%$IF_GNU_MAKE%g
2128 s%@PATH_IFS@%$PATH_IFS%g
2129 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
2130 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
2131 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
2132 s%@wxUSE_ZLIB@%$wxUSE_ZLIB%g
2133 s%@wxUSE_REGEX@%$wxUSE_REGEX%g
2134 s%@wxUSE_ODBC@%$wxUSE_ODBC%g
2135 s%@wxUSE_LIBJPEG@%$wxUSE_LIBJPEG%g
2136 s%@wxUSE_LIBPNG@%$wxUSE_LIBPNG%g
2137 s%@wxUSE_LIBTIFF@%$wxUSE_LIBTIFF%g
2138 s%@TOOLKIT@%$TOOLKIT%g
2139 s%@TOOLKIT_LOWERCASE@%$TOOLKIT_LOWERCASE%g
2140 s%@TOOLKIT_VERSION@%$TOOLKIT_VERSION%g
2141 s%@EXTRALIBS@%$EXTRALIBS%g
2142 s%@WXUNIV@%$WXUNIV%g
2143 s%@UNICODE@%$UNICODE%g
2145 s%@SHARED@%$SHARED%g
2146 s%@USE_GUI@%$USE_GUI%g
2147 s%@MONOLITHIC@%$MONOLITHIC%g
2148 s%@SAMPLES_RPATH_FLAG@%$SAMPLES_RPATH_FLAG%g
2149 s%@RANLIB@%$RANLIB%g
2150 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
2151 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
2152 s%@INSTALL_DATA@%$INSTALL_DATA%g
2154 s%@SET_MAKE@%$SET_MAKE%g
2155 s%@MAKE_SET@%$MAKE_SET%g
2158 s%@INSTALL_DIR@%$INSTALL_DIR%g
2159 s%@PLATFORM_UNIX@%$PLATFORM_UNIX%g
2160 s%@PLATFORM_WIN32@%$PLATFORM_WIN32%g
2161 s%@PLATFORM_MSDOS@%$PLATFORM_MSDOS%g
2162 s%@PLATFORM_MAC@%$PLATFORM_MAC%g
2163 s%@PLATFORM_MACOSX@%$PLATFORM_MACOSX%g
2164 s%@SO_SUFFIX@%$SO_SUFFIX%g
2165 s%@EXEEXT@%$EXEEXT%g
2166 s%@DLLPREFIX@%$DLLPREFIX%g
2167 s%@AIX_CXX_LD@%$AIX_CXX_LD%g
2168 s%@SHARED_LD_CC@%$SHARED_LD_CC%g
2169 s%@SHARED_LD_CXX@%$SHARED_LD_CXX%g
2170 s%@PIC_FLAG@%$PIC_FLAG%g
2171 s%@USE_SOVERSION@%$USE_SOVERSION%g
2172 s%@USE_SOVERLINUX@%$USE_SOVERLINUX%g
2173 s%@USE_SOVERSOLARIS@%$USE_SOVERSOLARIS%g
2174 s%@USE_MACVERSION@%$USE_MACVERSION%g
2175 s%@USE_SOSYMLINKS@%$USE_SOSYMLINKS%g
2176 s%@SONAME_FLAG@%$SONAME_FLAG%g
2177 s%@DEPS_TYPE@%$DEPS_TYPE%g
2178 s%@RESCOMP@%$RESCOMP%g
2179 s%@SETFILE@%$SETFILE%g
2180 s%@COND_PLATFORM_WIN321@%$COND_PLATFORM_WIN321%g
2181 s%@COND_PLATFORM_WIN320@%$COND_PLATFORM_WIN320%g
2182 s%@COND_DEPS_TYPEGCC@%$COND_DEPS_TYPEGCC%g
2183 s%@COND_WXUSE_ZLIBBUILTIN@%$COND_WXUSE_ZLIBBUILTIN%g
2184 s%@COND_UNICODE1@%$COND_UNICODE1%g
2185 s%@COND_BUILDDEBUG@%$COND_BUILDDEBUG%g
2186 s%@COND_WXUSE_LIBJPEGBUILTIN@%$COND_WXUSE_LIBJPEGBUILTIN%g
2187 s%@COND_WXUSE_ODBCBUILTIN@%$COND_WXUSE_ODBCBUILTIN%g
2188 s%@COND_WXUSE_LIBPNGBUILTIN@%$COND_WXUSE_LIBPNGBUILTIN%g
2189 s%@COND_MONOLITHIC0@%$COND_MONOLITHIC0%g
2190 s%@COND_WXUNIV1@%$COND_WXUNIV1%g
2191 s%@COND_PLATFORM_MAC1@%$COND_PLATFORM_MAC1%g
2192 s%@COND_TOOLKITMAC@%$COND_TOOLKITMAC%g
2193 s%@COND_MONOLITHIC1@%$COND_MONOLITHIC1%g
2194 s%@COND_WXUSE_LIBTIFFBUILTIN@%$COND_WXUSE_LIBTIFFBUILTIN%g
2195 s%@COND_USE_GUI0@%$COND_USE_GUI0%g
2196 s%@COND_USE_GUI1@%$COND_USE_GUI1%g
2197 s%@COND_WXUSE_REGEXBUILTIN@%$COND_WXUSE_REGEXBUILTIN%g
2202 cat >> $CONFIG_STATUS <<\EOF
2204 # Split the substitutions into bite-sized pieces for seds with
2205 # small command number limits, like on Digital OSF/1 and HP-UX.
2206 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
2207 ac_file=1 # Number of current file.
2208 ac_beg=1 # First line for current file.
2209 ac_end=$ac_max_sed_cmds # Line after last line for current file.
2212 while $ac_more_lines; do
2213 if test $ac_beg -gt 1; then
2214 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
2216 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
2218 if test ! -s conftest.s$ac_file; then
2220 rm -f conftest.s$ac_file
2222 if test -z "$ac_sed_cmds"; then
2223 ac_sed_cmds="sed -f conftest.s$ac_file"
2225 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
2227 ac_file=`expr $ac_file + 1`
2229 ac_end=`expr $ac_end + $ac_max_sed_cmds`
2232 if test -z "$ac_sed_cmds"; then
2237 cat >> $CONFIG_STATUS <<EOF
2239 CONFIG_FILES=\${CONFIG_FILES-"Makefile
2276 mobile/wxedit/Makefile
2277 mobile/styles/Makefile
2307 html/printing/Makefile
2308 html/helpview/Makefile
2311 html/virtual/Makefile
2312 html/widget/Makefile
2314 opengl/cube/Makefile
2315 opengl/penguin/Makefile
2316 opengl/isosurf/Makefile
2319 cat >> $CONFIG_STATUS <<\EOF
2320 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
2321 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2323 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
2324 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
2325 *) ac_file_in="${ac_file}.in" ;;
2328 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
2330 # Remove last slash and all that follows it. Not all systems have dirname.
2331 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
2332 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2333 # The file is in a subdirectory.
2334 test ! -d "$ac_dir" && mkdir "$ac_dir"
2335 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
2336 # A "../" for each directory in $ac_dir_suffix.
2337 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
2339 ac_dir_suffix= ac_dots=
2342 case "$ac_given_srcdir" in
2344 if test -z "$ac_dots"; then top_srcdir=.
2345 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
2346 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
2348 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
2349 top_srcdir="$ac_dots$ac_given_srcdir" ;;
2352 case "$ac_given_INSTALL" in
2353 [/$]*) INSTALL="$ac_given_INSTALL" ;;
2354 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
2357 echo creating "$ac_file"
2359 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
2361 *Makefile*) ac_comsub="1i\\
2362 # $configure_input" ;;
2366 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2368 s%@configure_input@%$configure_input%g
2369 s%@srcdir@%$srcdir%g
2370 s%@top_srcdir@%$top_srcdir%g
2371 s%@INSTALL@%$INSTALL%g
2372 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
2377 cat >> $CONFIG_STATUS <<EOF
2380 cat >> $CONFIG_STATUS <<\EOF
2384 chmod +x $CONFIG_STATUS
2385 rm -fr confdefs* $ac_clean_files
2386 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1