3 # Guess values for system-dependent variables and create Makefiles. 
   4 # Generated automatically using autoconf version 2.12  
   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   --with-x                use the X Window System" 
  21 **--with-motif            use Motif/Lesstif" 
  23 **--with-shared           create shared libraries" 
  25 **--with-optimise         create optimised code" 
  27 **--with-debug_flag       create code with WXDEBUG define set to 1" 
  29 **--with-debug_info       create code with debuging information" 
  31 **--with-debug_gdb        create code with extra GDB debuging information" 
  33 **--with-mem_traing       create code with memory tracing" 
  35 **--with-dmalloc          use dmalloc memory debug library (www.letters.com/dmalloc/)" 
  37 **--with-profile          create code with profiling information" 
  39 **--with_apple_ieee       use the Apple IEEE codec" 
  41 **--with-zlib             use zlib for LZW comression" 
  43 **--with-libpng           use libpng (PNG image format)" 
  45 **--with-odbc             use iODBC and wxODBC classes" 
  47 **--with-opengl           use OpenGL (or Mesa)" 
  49 **--with-gauge            use wxGauge class" 
  51 **--with-combobox         use wxComboBox class" 
  53 **--with-scrollbar        use wxScrollbar class" 
  55 **--with-listctrl         use wxListCtrl class" 
  57 **--with-treectrl         use wxTreeCtrl class" 
  59 **--with-grid             use wxGrid class" 
  61 **--with-tab_dialog       use wxTabDia class" 
  63 **--with-notebook         use wxNotebook class" 
  65 **--with-timedate         use wxTime and wxDate classes" 
  67 **--with-fraction         use wxFraction class" 
  69 **--with-log              use logging system" 
  71 **--with-intl             use internationalization system" 
  73 **--with-config           use wxConfig class" 
  75 **--with-streams          use wxStream etc classes" 
  77 **--with-serial           use class serialization" 
  79 **--with-file             use wxFile class" 
  81 **--with-textfile         use wxTextFile class" 
  83 **--with-afmfonts         use Adobe Font Metric Font table" 
  85 **--with-PS-normalized    use normalized PS fonts" 
  87 **--with-postscript       use wxPostscriptDC device context" 
  89 **--with-unicode          compile wxString with Unicode support" 
  91 **--with-wcsrtombs        use wcsrtombs instead of (buggy in GNU libc5) wcstombs" 
  93 **--with-wxresources      use wxWindows's resources" 
  95 **--with-prologio         use Prolog IO library" 
  97 **--with-rpc              use Prolog's remote procedure calls" 
  99 **--with-ipc              use interprocess communication (wxSocket etc.)" 
 101 **--with-resources        use X resources for saving information" 
 103 **--with-clipboard        use wxClipboard classes" 
 105 **--with-dnd              use Drag'n'Drop classes" 
 107 **--with-constraints      use layout-constraints system" 
 109 **--with-mdi              use multiple document interface architecture" 
 111 **--with-docview          use document view architecture" 
 113 **--with-printarch        use printing architecture" 
 115 **--with-help             use help (using external browser at present)" 
 117 **--with-gtk-prefix=PFX       Prefix where GTK is installed" 
 119 **--with-gtk-exec-prefix=PFX  Exec prefix where GTK is installed" 
 121 **--without-threads       Force disabling threads" 
 123 # Initialize some variables set by options. 
 124 # The variables have the same names as the options, with 
 125 # dashes changed to underlines. 
 127 cache_file
=.
/config.cache
 
 136 program_transform_name
=s
,x
,x
, 
 144 bindir
='${exec_prefix}/bin' 
 145 sbindir
='${exec_prefix}/sbin' 
 146 libexecdir
='${exec_prefix}/libexec' 
 147 datadir
='${prefix}/share' 
 148 sysconfdir
='${prefix}/etc' 
 149 sharedstatedir
='${prefix}/com' 
 150 localstatedir
='${prefix}/var' 
 151 libdir
='${exec_prefix}/lib' 
 152 includedir
='${prefix}/include' 
 153 oldincludedir
='/usr/include' 
 154 infodir
='${prefix}/info' 
 155 mandir
='${prefix}/man' 
 157 # Initialize some other variables. 
 160 # Maximum number of lines to put in a shell here document. 
 167   # If the previous option needs an argument, assign it. 
 168   if test -n "$ac_prev"; then 
 169     eval "$ac_prev=\$ac_option" 
 175   -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; 
 179   # Accept the important Cygnus configure options, so we can diagnose typos. 
 183   -bindir | --bindir | --bindi | --bind | --bin | --bi) 
 185   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 
 186     bindir
="$ac_optarg" ;; 
 188   -build | --build | --buil | --bui | --bu) 
 190   -build=* | --build=* | --buil=* | --bui=* | --bu=*) 
 191     build
="$ac_optarg" ;; 
 193   -cache-file | --cache-file | --cache-fil | --cache-fi \
 
 194   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 
 195     ac_prev
=cache_file 
;; 
 196   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 
 197   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 
 198     cache_file
="$ac_optarg" ;; 
 200   -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 
 202   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
 
 204     datadir
="$ac_optarg" ;; 
 206   -disable-* | --disable-*) 
 207     ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'` 
 208     # Reject names that are not valid shell variable names. 
 209     if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then 
 210       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } 
 212     ac_feature
=`echo $ac_feature| sed 's/-/_/g'` 
 213     eval "enable_${ac_feature}=no" ;; 
 215   -enable-* | --enable-*) 
 216     ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` 
 217     # Reject names that are not valid shell variable names. 
 218     if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then 
 219       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } 
 221     ac_feature
=`echo $ac_feature| sed 's/-/_/g'` 
 226     eval "enable_${ac_feature}='$ac_optarg'" ;; 
 228   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 
 229   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 
 230   | --exec | --exe | --ex) 
 231     ac_prev
=exec_prefix 
;; 
 232   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 
 233   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 
 234   | --exec=* | --exe=* | --ex=*) 
 235     exec_prefix
="$ac_optarg" ;; 
 237   -gas | --gas | --ga | --g) 
 238     # Obsolete; use --with-gas. 
 241   -help | --help | --hel | --he) 
 242     # Omit some internal or obsolete options to make the list less imposing. 
 243     # This message is too long to be a string in the A/UX 3.1 sh. 
 245 Usage: configure [options] [host] 
 246 Options: [defaults in brackets after descriptions] 
 248   --cache-file=FILE       cache test results in FILE 
 249   --help                  print this message 
 250   --no-create             do not create output files 
 251   --quiet, --silent       do not print \`checking...' messages 
 252   --version               print the version of autoconf that created configure 
 253 Directory and file names: 
 254   --prefix=PREFIX         install architecture-independent files in PREFIX 
 256   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX 
 258   --bindir=DIR            user executables in DIR [EPREFIX/bin] 
 259   --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin] 
 260   --libexecdir=DIR        program executables in DIR [EPREFIX/libexec] 
 261   --datadir=DIR           read-only architecture-independent data in DIR 
 263   --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc] 
 264   --sharedstatedir=DIR    modifiable architecture-independent data in DIR 
 266   --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var] 
 267   --libdir=DIR            object code libraries in DIR [EPREFIX/lib] 
 268   --includedir=DIR        C header files in DIR [PREFIX/include] 
 269   --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include] 
 270   --infodir=DIR           info documentation in DIR [PREFIX/info] 
 271   --mandir=DIR            man documentation in DIR [PREFIX/man] 
 272   --srcdir=DIR            find the sources in DIR [configure dir or ..] 
 273   --program-prefix=PREFIX prepend PREFIX to installed program names 
 274   --program-suffix=SUFFIX append SUFFIX to installed program names 
 275   --program-transform-name=PROGRAM 
 276                           run sed PROGRAM on installed program names 
 280   --build=BUILD           configure for building on BUILD [BUILD=HOST] 
 281   --host=HOST             configure for HOST [guessed] 
 282   --target=TARGET         configure for TARGET [TARGET=HOST] 
 283 Features and packages: 
 284   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no) 
 285   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes] 
 286   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes] 
 287   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no) 
 288   --x-includes=DIR        X include files are in DIR 
 289   --x-libraries=DIR       X library files are in DIR 
 291     if test -n "$ac_help"; then 
 292       echo "--enable and --with options recognized:$ac_help" 
 296   -host | --host | --hos | --ho) 
 298   -host=* | --host=* | --hos=* | --ho=*) 
 301   -includedir | --includedir | --includedi | --included | --include \
 
 302   | --includ | --inclu | --incl | --inc) 
 303     ac_prev
=includedir 
;; 
 304   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 
 305   | --includ=* | --inclu=* | --incl=* | --inc=*) 
 306     includedir
="$ac_optarg" ;; 
 308   -infodir | --infodir | --infodi | --infod | --info | --inf) 
 310   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 
 311     infodir
="$ac_optarg" ;; 
 313   -libdir | --libdir | --libdi | --libd) 
 315   -libdir=* | --libdir=* | --libdi=* | --libd=*) 
 316     libdir
="$ac_optarg" ;; 
 318   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 
 319   | --libexe | --libex | --libe) 
 320     ac_prev
=libexecdir 
;; 
 321   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 
 322   | --libexe=* | --libex=* | --libe=*) 
 323     libexecdir
="$ac_optarg" ;; 
 325   -localstatedir | --localstatedir | --localstatedi | --localstated \
 
 326   | --localstate | --localstat | --localsta | --localst \
 
 327   | --locals | --local | --loca | --loc | --lo) 
 328     ac_prev
=localstatedir 
;; 
 329   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 
 330   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
 
 331   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 
 332     localstatedir
="$ac_optarg" ;; 
 334   -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 
 336   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 
 337     mandir
="$ac_optarg" ;; 
 340     # Obsolete; use --without-fp. 
 343   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
 347   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
 348   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 
 351   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 
 352   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 
 353   | --oldin | --oldi | --old | --ol | --o) 
 354     ac_prev
=oldincludedir 
;; 
 355   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 
 356   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 
 357   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 
 358     oldincludedir
="$ac_optarg" ;; 
 360   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 
 362   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 
 363     prefix
="$ac_optarg" ;; 
 365   -program-prefix | --program-prefix | --program-prefi | --program-pref \
 
 366   | --program-pre | --program-pr | --program-p) 
 367     ac_prev
=program_prefix 
;; 
 368   -program-prefix=* | --program-prefix=* | --program-prefi=* \
 
 369   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 
 370     program_prefix
="$ac_optarg" ;; 
 372   -program-suffix | --program-suffix | --program-suffi | --program-suff \
 
 373   | --program-suf | --program-su | --program-s) 
 374     ac_prev
=program_suffix 
;; 
 375   -program-suffix=* | --program-suffix=* | --program-suffi=* \
 
 376   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 
 377     program_suffix
="$ac_optarg" ;; 
 379   -program-transform-name | --program-transform-name \
 
 380   | --program-transform-nam | --program-transform-na \
 
 381   | --program-transform-n | --program-transform- \
 
 382   | --program-transform | --program-transfor \
 
 383   | --program-transfo | --program-transf \
 
 384   | --program-trans | --program-tran \
 
 385   | --progr-tra | --program-tr | --program-t) 
 386     ac_prev
=program_transform_name 
;; 
 387   -program-transform-name=* | --program-transform-name=* \
 
 388   | --program-transform-nam=* | --program-transform-na=* \
 
 389   | --program-transform-n=* | --program-transform-=* \
 
 390   | --program-transform=* | --program-transfor=* \
 
 391   | --program-transfo=* | --program-transf=* \
 
 392   | --program-trans=* | --program-tran=* \
 
 393   | --progr-tra=* | --program-tr=* | --program-t=*) 
 394     program_transform_name
="$ac_optarg" ;; 
 396   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
 397   | -silent | --silent | --silen | --sile | --sil) 
 400   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 
 402   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 
 404     sbindir
="$ac_optarg" ;; 
 406   -sharedstatedir | --sharedstatedir | --sharedstatedi \
 
 407   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 
 408   | --sharedst | --shareds | --shared | --share | --shar \
 
 410     ac_prev
=sharedstatedir 
;; 
 411   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 
 412   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 
 413   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 
 415     sharedstatedir
="$ac_optarg" ;; 
 417   -site | --site | --sit) 
 419   -site=* | --site=* | --sit=*) 
 422   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 
 424   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 
 425     srcdir
="$ac_optarg" ;; 
 427   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 
 428   | --syscon | --sysco | --sysc | --sys | --sy) 
 429     ac_prev
=sysconfdir 
;; 
 430   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 
 431   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 
 432     sysconfdir
="$ac_optarg" ;; 
 434   -target | --target | --targe | --targ | --tar | --ta | --t) 
 436   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 
 437     target
="$ac_optarg" ;; 
 439   -v | -verbose | --verbose | --verbos | --verbo | --verb) 
 442   -version | --version | --versio | --versi | --vers) 
 443     echo "configure generated by autoconf version 2.12" 
 447     ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` 
 448     # Reject names that are not valid shell variable names. 
 449     if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then 
 450       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } 
 452     ac_package
=`echo $ac_package| sed 's/-/_/g'` 
 457     eval "with_${ac_package}='$ac_optarg'" ;; 
 459   -without-* | --without-*) 
 460     ac_package
=`echo $ac_option|sed -e 's/-*without-//'` 
 461     # Reject names that are not valid shell variable names. 
 462     if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then 
 463       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } 
 465     ac_package
=`echo $ac_package| sed 's/-/_/g'` 
 466     eval "with_${ac_package}=no" ;; 
 469     # Obsolete; use --with-x. 
 472   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 
 473   | --x-incl | --x-inc | --x-in | --x-i) 
 474     ac_prev
=x_includes 
;; 
 475   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 
 476   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 
 477     x_includes
="$ac_optarg" ;; 
 479   -x-libraries | --x-libraries | --x-librarie | --x-librari \
 
 480   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 
 481     ac_prev
=x_libraries 
;; 
 482   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 
 483   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 
 484     x_libraries
="$ac_optarg" ;; 
 486   -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } 
 490     if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then 
 491       echo "configure: warning: $ac_option: invalid host type" 1>&2 
 493     if test "x$nonopt" != xNONE
; then 
 494       { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } 
 502 if test -n "$ac_prev"; then 
 503   { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } 
 506 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 
 508 # File descriptor usage: 
 511 # 2 errors and warnings 
 512 # 3 some systems may open it to /dev/tty 
 513 # 4 used on the Kubota Titan 
 514 # 6 checking for... messages and results 
 515 # 5 compiler messages saved in config.log 
 516 if test "$silent" = yes; then 
 524 This file contains any messages produced by compilers while 
 525 running configure, to aid debugging if configure makes a mistake. 
 528 # Strip out --no-create and --no-recursion so they do not pile up. 
 529 # Also quote any args containing shell metacharacters. 
 534   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
 535   | --no-cr | --no-c) ;; 
 536   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
 537   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; 
 538   *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) 
 539   ac_configure_args
="$ac_configure_args '$ac_arg'" ;; 
 540   *) ac_configure_args
="$ac_configure_args $ac_arg" ;; 
 545 # Only set these to C if already set.  These must not be set unconditionally 
 546 # because not all systems understand e.g. LANG=C (notably SCO). 
 547 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! 
 548 # Non-C LC_CTYPE values break the ctype check. 
 549 if test "${LANG+set}"   = set; then LANG
=C
;   export LANG
;   fi 
 550 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi 
 551 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi 
 552 if test "${LC_CTYPE+set}"    = set; then LC_CTYPE
=C
;    export LC_CTYPE
;    fi 
 554 # confdefs.h avoids OS command line length limits that DEFS can exceed. 
 555 rm -rf conftest
* confdefs.h
 
 556 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 
 559 # A filename unique to this package, relative to the directory that 
 560 # configure is in, which we can look for to find out if srcdir is correct. 
 561 ac_unique_file
=configure.
in 
 563 # Find the source files, if location was not specified. 
 564 if test -z "$srcdir"; then 
 565   ac_srcdir_defaulted
=yes 
 566   # Try the directory containing this script, then its parent. 
 568   ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` 
 569   test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
 
 571   if test ! -r $srcdir/$ac_unique_file; then 
 575   ac_srcdir_defaulted
=no
 
 577 if test ! -r $srcdir/$ac_unique_file; then 
 578   if test "$ac_srcdir_defaulted" = yes; then 
 579     { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } 
 581     { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } 
 584 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` 
 586 # Prefer explicitly selected file to automatically selected ones. 
 587 if test -z "$CONFIG_SITE"; then 
 588   if test "x$prefix" != xNONE
; then 
 589     CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site" 
 591     CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 
 594 for ac_site_file 
in $CONFIG_SITE; do 
 595   if test -r "$ac_site_file"; then 
 596     echo "loading site script $ac_site_file" 
 601 if test -r "$cache_file"; then 
 602   echo "loading cache $cache_file" 
 605   echo "creating cache $cache_file" 
 610 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 
 611 ac_cpp
='$CPP $CPPFLAGS' 
 612 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 
 613 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 
 614 cross_compiling
=$ac_cv_prog_cc_cross 
 616 if (echo "testing\c"; echo 1,2,3) | grep c 
>/dev
/null
; then 
 617   # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. 
 618   if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn 
>/dev
/null
; then 
 625   ac_n
= ac_c
='\c' ac_t
= 
 633 if test "x$OS" = "x"; then 
 635   { echo "configure: error: "The system variable OS has not been 
set" 
 636                "please 
set is everytime befor compiling on this system
" 
 637                "A good example 
for this system would be
:" 
 638                "setenv OSTYPE 
$UNAME        for csh as a SHELL
" 
 639                "EXPORT OSTYPE
=$UNAME        for sh as SHELL
" 
 640                "please 
set this and restart again.
" 
 650     /usr/Motif1.2/include     \ 
 664     /usr/local/X11R6/include  \ 
 665     /usr/local/X11R5/include  \ 
 666     /usr/local/X11R4/include  \ 
 668     /usr/local/include/X11R6  \ 
 669     /usr/local/include/X11R5  \ 
 670     /usr/local/include/X11R4  \ 
 674     /usr/local/X11/include    \ 
 675     /usr/local/include/X11    \ 
 679     /usr/XFree86/include/X11  \ 
 683     /usr/unsupported/include  \ 
 684     /usr/athena/include       \ 
 685     /usr/local/x11r5/include  \ 
 686     /usr/lpp/Xamples/include  \ 
 688     /usr/local/include/gtk    \ 
 689     /usr/local/include/Xm     \ 
 690     /usr/local/include/qt     \ 
 691     /usr/X11R6/include/Xm     \ 
 692     /usr/X11/include/Xm       \ 
 695     /usr/openwin/include      \ 
 696     /usr/openwin/share/include \ 
 699 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` \ 
 704 # Extract the first word of "gcc", so it can be a program name with args. 
 705 set dummy gcc
; ac_word
=$2 
 706 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
 707 echo "configure:708: checking for $ac_word" >&5 
 708 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 
 709   echo $ac_n "(cached) $ac_c" 1>&6 
 711   if test -n "$CC"; then 
 712   ac_cv_prog_CC
="$CC" # Let the user override the test. 
 714   IFS
="${IFS=   }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:" 
 715   for ac_dir 
in $PATH; do 
 716     test -z "$ac_dir" && ac_dir
=.
 
 717     if test -f $ac_dir/$ac_word; then 
 726 if test -n "$CC"; then 
 727   echo "$ac_t""$CC" 1>&6 
 729   echo "$ac_t""no" 1>&6 
 732 if test -z "$CC"; then 
 733   # Extract the first word of "cc", so it can be a program name with args. 
 734 set dummy cc
; ac_word
=$2 
 735 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
 736 echo "configure:737: checking for $ac_word" >&5 
 737 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 
 738   echo $ac_n "(cached) $ac_c" 1>&6 
 740   if test -n "$CC"; then 
 741   ac_cv_prog_CC
="$CC" # Let the user override the test. 
 743   IFS
="${IFS=   }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:" 
 745   for ac_dir 
in $PATH; do 
 746     test -z "$ac_dir" && ac_dir
=.
 
 747     if test -f $ac_dir/$ac_word; then 
 748       if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then 
 757 if test $ac_prog_rejected = yes; then 
 758   # We found a bogon in the path, so make sure we never use it. 
 759   set dummy 
$ac_cv_prog_CC 
 761   if test $# -gt 0; then 
 762     # We chose a different compiler from the bogus one. 
 763     # However, it has the same basename, so the bogon will be chosen 
 764     # first if we set CC to just the basename; use the full file name. 
 766     set dummy 
"$ac_dir/$ac_word" "$@" 
 774 if test -n "$CC"; then 
 775   echo "$ac_t""$CC" 1>&6 
 777   echo "$ac_t""no" 1>&6 
 780   test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } 
 783 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 
 784 echo "configure:785: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 
 787 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 
 788 ac_cpp
='$CPP $CPPFLAGS' 
 789 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 
 790 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 
 791 cross_compiling
=$ac_cv_prog_cc_cross 
 793 cat > conftest.
$ac_ext <<EOF 
 794 #line 795 "configure" 
 795 #include "confdefs.h" 
 798 if { (eval echo configure
:799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then 
 799   ac_cv_prog_cc_works
=yes 
 800   # If we can't run a trivial program, we are probably using a cross compiler. 
 801   if (.
/conftest
; exit) 2>/dev
/null
; then 
 802     ac_cv_prog_cc_cross
=no
 
 804     ac_cv_prog_cc_cross
=yes 
 807   echo "configure: failed program was:" >&5 
 808   cat conftest.
$ac_ext >&5 
 809   ac_cv_prog_cc_works
=no
 
 813 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 
 814 if test $ac_cv_prog_cc_works = no
; then 
 815   { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } 
 817 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 
 818 echo "configure:819: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 
 819 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 
 820 cross_compiling
=$ac_cv_prog_cc_cross 
 822 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 
 823 echo "configure:824: checking whether we are using GNU C" >&5 
 824 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 
 825   echo $ac_n "(cached) $ac_c" 1>&6 
 827   cat > conftest.c 
<<EOF 
 832 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:833: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null 
2>&1; then 
 839 echo "$ac_t""$ac_cv_prog_gcc" 1>&6 
 841 if test $ac_cv_prog_gcc = yes; then 
 843   ac_test_CFLAGS
="${CFLAGS+set}" 
 844   ac_save_CFLAGS
="$CFLAGS" 
 846   echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 
 847 echo "configure:848: checking whether ${CC-cc} accepts -g" >&5 
 848 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 
 849   echo $ac_n "(cached) $ac_c" 1>&6 
 851   echo 'void f(){}' > conftest.c
 
 852 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then 
 861 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 
 862   if test "$ac_test_CFLAGS" = set; then 
 863     CFLAGS
="$ac_save_CFLAGS" 
 864   elif test $ac_cv_prog_cc_g = yes; then 
 871   test "${CFLAGS+set}" = set || CFLAGS
="-g" 
 875 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'` 
 877 if test "x$CC" != xcc
; then 
 878   echo $ac_n "checking whether $CC and cc understand -c and -o together""... $ac_c" 1>&6 
 879 echo "configure:880: checking whether $CC and cc understand -c and -o together" >&5 
 881   echo $ac_n "checking whether cc understands -c and -o together""... $ac_c" 1>&6 
 882 echo "configure:883: checking whether cc understands -c and -o together" >&5 
 884 set dummy 
$CC; ac_cc
="`echo $2 | 
 885                        sed -e 's/[^a-zA-Z0-9_]/_/g' -e 's/^[0-9]/_/'`" 
 886 if eval "test \"`echo '$''{'ac_cv_prog_cc_${ac_cc}_c_o'+set}'`\" = set"; then 
 887   echo $ac_n "(cached) $ac_c" 1>&6 
 889   echo 'foo(){}' > conftest.c
 
 890 # Make sure it works both with $CC and with simple cc. 
 891 # We do the test twice because some compilers refuse to overwrite an 
 892 # existing .o file with -o, though they will create one. 
 893 ac_try
='${CC-cc} -c conftest.c -o conftest.o 1>&5' 
 894 if { (eval echo configure
:895: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } && 
 895    test -f conftest.o 
&& { (eval echo configure
:896: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; 
 897   eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes 
 898   if test "x$CC" != xcc
; then 
 899     # Test first that cc exists at all. 
 900     if { ac_try
='cc -c conftest.c 1>&5'; { (eval echo configure
:901: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then 
 901       ac_try
='cc -c conftest.c -o conftest.o 1>&5' 
 902       if { (eval echo configure
:903: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } && 
 903          test -f conftest.o 
&& { (eval echo configure
:904: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; 
 908         # cc exists but doesn't like -o. 
 909         eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
 
 914   eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
 
 919 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then 
 920   echo "$ac_t""yes" 1>&6 
 922   echo "$ac_t""no" 1>&6 
 923   cat >> confdefs.h 
<<\EOF
 
 924 #define NO_MINUS_C_MINUS_O 1 
 929 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 
 930 echo "configure:931: checking how to run the C preprocessor" >&5 
 931 # On Suns, sometimes $CPP names a directory. 
 932 if test -n "$CPP" && test -d "$CPP"; then 
 935 if test -z "$CPP"; then 
 936 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then 
 937   echo $ac_n "(cached) $ac_c" 1>&6 
 939     # This must be in double quotes, not single quotes, because CPP may get 
 940   # substituted into the Makefile and "${CC-cc}" will confuse make. 
 942   # On the NeXT, cc -E runs the code through the compiler's parser, 
 943   # not just through cpp. 
 944   cat > conftest.
$ac_ext <<EOF 
 945 #line 946 "configure" 
 946 #include "confdefs.h" 
 950 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
 951 { (eval echo configure
:952: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
 952 ac_err
=`grep -v '^ *+' conftest.out` 
 953 if test -z "$ac_err"; then 
 957   echo "configure: failed program was:" >&5 
 958   cat conftest.
$ac_ext >&5 
 960   CPP
="${CC-cc} -E -traditional-cpp" 
 961   cat > conftest.
$ac_ext <<EOF 
 962 #line 963 "configure" 
 963 #include "confdefs.h" 
 967 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
 968 { (eval echo configure
:969: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
 969 ac_err
=`grep -v '^ *+' conftest.out` 
 970 if test -z "$ac_err"; then 
 974   echo "configure: failed program was:" >&5 
 975   cat conftest.
$ac_ext >&5 
 982   ac_cv_prog_CPP
="$CPP" 
 984   CPP
="$ac_cv_prog_CPP" 
 986   ac_cv_prog_CPP
="$CPP" 
 988 echo "$ac_t""$CPP" 1>&6 
 990 if test $ac_cv_prog_gcc = yes; then 
 991     echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 
 992 echo "configure:993: checking whether ${CC-cc} needs -traditional" >&5 
 993 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then 
 994   echo $ac_n "(cached) $ac_c" 1>&6 
 996     ac_pattern
="Autoconf.*'x'" 
 997   cat > conftest.
$ac_ext <<EOF 
 998 #line 999 "configure" 
 999 #include "confdefs.h" 
1003 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
1004   egrep "$ac_pattern" >/dev
/null 
2>&1; then 
1006   ac_cv_prog_gcc_traditional
=yes 
1009   ac_cv_prog_gcc_traditional
=no
 
1014   if test $ac_cv_prog_gcc_traditional = no
; then 
1015     cat > conftest.
$ac_ext <<EOF 
1016 #line 1017 "configure" 
1017 #include "confdefs.h" 
1021 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
1022   egrep "$ac_pattern" >/dev
/null 
2>&1; then 
1024   ac_cv_prog_gcc_traditional
=yes 
1031 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6 
1032   if test $ac_cv_prog_gcc_traditional = yes; then 
1033     CC
="$CC -traditional" 
1040 for ac_prog 
in $CCC c
++ g
++ gcc CC cxx cc
++ 
1042 # Extract the first word of "$ac_prog", so it can be a program name with args. 
1043 set dummy 
$ac_prog; ac_word
=$2 
1044 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
1045 echo "configure:1046: checking for $ac_word" >&5 
1046 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then 
1047   echo $ac_n "(cached) $ac_c" 1>&6 
1049   if test -n "$CXX"; then 
1050   ac_cv_prog_CXX
="$CXX" # Let the user override the test. 
1052   IFS
="${IFS=   }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:" 
1053   for ac_dir 
in $PATH; do 
1054     test -z "$ac_dir" && ac_dir
=.
 
1055     if test -f $ac_dir/$ac_word; then 
1056       ac_cv_prog_CXX
="$ac_prog" 
1063 CXX
="$ac_cv_prog_CXX" 
1064 if test -n "$CXX"; then 
1065   echo "$ac_t""$CXX" 1>&6 
1067   echo "$ac_t""no" 1>&6 
1070 test -n "$CXX" && break 
1072 test -n "$CXX" || CXX
="gcc" 
1075 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 
1076 echo "configure:1077: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 
1079 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 
1080 ac_cpp
='$CXXCPP $CPPFLAGS' 
1081 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 
1082 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 
1083 cross_compiling
=$ac_cv_prog_cxx_cross 
1085 cat > conftest.
$ac_ext <<EOF 
1086 #line 1087 "configure" 
1087 #include "confdefs.h" 
1090 if { (eval echo configure
:1091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then 
1091   ac_cv_prog_cxx_works
=yes 
1092   # If we can't run a trivial program, we are probably using a cross compiler. 
1093   if (.
/conftest
; exit) 2>/dev
/null
; then 
1094     ac_cv_prog_cxx_cross
=no
 
1096     ac_cv_prog_cxx_cross
=yes 
1099   echo "configure: failed program was:" >&5 
1100   cat conftest.
$ac_ext >&5 
1101   ac_cv_prog_cxx_works
=no
 
1105 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 
1106 ac_cpp
='$CPP $CPPFLAGS' 
1107 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 
1108 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 
1109 cross_compiling
=$ac_cv_prog_cc_cross 
1111 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6 
1112 if test $ac_cv_prog_cxx_works = no
; then 
1113   { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; } 
1115 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 
1116 echo "configure:1117: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 
1117 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 
1118 cross_compiling
=$ac_cv_prog_cxx_cross 
1120 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 
1121 echo "configure:1122: checking whether we are using GNU C++" >&5 
1122 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then 
1123   echo $ac_n "(cached) $ac_c" 1>&6 
1125   cat > conftest.C 
<<EOF 
1130 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:1131: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null 
2>&1; then 
1137 echo "$ac_t""$ac_cv_prog_gxx" 1>&6 
1139 if test $ac_cv_prog_gxx = yes; then 
1141   ac_test_CXXFLAGS
="${CXXFLAGS+set}" 
1142   ac_save_CXXFLAGS
="$CXXFLAGS" 
1144   echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 
1145 echo "configure:1146: checking whether ${CXX-g++} accepts -g" >&5 
1146 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then 
1147   echo $ac_n "(cached) $ac_c" 1>&6 
1149   echo 'void f(){}' > conftest.cc
 
1150 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then 
1151   ac_cv_prog_cxx_g
=yes 
1159 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6 
1160   if test "$ac_test_CXXFLAGS" = set; then 
1161     CXXFLAGS
="$ac_save_CXXFLAGS" 
1162   elif test $ac_cv_prog_cxx_g = yes; then 
1169   test "${CXXFLAGS+set}" = set || CXXFLAGS
="-g" 
1172 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6 
1173 echo "configure:1174: checking how to run the C++ preprocessor" >&5 
1174 if test -z "$CXXCPP"; then 
1175 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then 
1176   echo $ac_n "(cached) $ac_c" 1>&6 
1179 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 
1180 ac_cpp
='$CXXCPP $CPPFLAGS' 
1181 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 
1182 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 
1183 cross_compiling
=$ac_cv_prog_cxx_cross 
1184   CXXCPP
="${CXX-g++} -E" 
1185   cat > conftest.
$ac_ext <<EOF 
1186 #line 1187 "configure" 
1187 #include "confdefs.h" 
1190 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
1191 { (eval echo configure
:1192: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
1192 ac_err
=`grep -v '^ *+' conftest.out` 
1193 if test -z "$ac_err"; then 
1197   echo "configure: failed program was:" >&5 
1198   cat conftest.
$ac_ext >&5 
1203   ac_cv_prog_CXXCPP
="$CXXCPP" 
1205 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 
1206 ac_cpp
='$CPP $CPPFLAGS' 
1207 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 
1208 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 
1209 cross_compiling
=$ac_cv_prog_cc_cross 
1212 CXXCPP
="$ac_cv_prog_CXXCPP" 
1213 echo "$ac_t""$CXXCPP" 1>&6 
1216 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'` 
1220 # Extract the first word of "ranlib", so it can be a program name with args. 
1221 set dummy ranlib
; ac_word
=$2 
1222 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
1223 echo "configure:1224: checking for $ac_word" >&5 
1224 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 
1225   echo $ac_n "(cached) $ac_c" 1>&6 
1227   if test -n "$RANLIB"; then 
1228   ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test. 
1230   IFS
="${IFS=   }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:" 
1231   for ac_dir 
in $PATH; do 
1232     test -z "$ac_dir" && ac_dir
=.
 
1233     if test -f $ac_dir/$ac_word; then 
1234       ac_cv_prog_RANLIB
="ranlib" 
1239   test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":" 
1242 RANLIB
="$ac_cv_prog_RANLIB" 
1243 if test -n "$RANLIB"; then 
1244   echo "$ac_t""$RANLIB" 1>&6 
1246   echo "$ac_t""no" 1>&6 
1250 # Extract the first word of "ar", so it can be a program name with args. 
1251 set dummy 
ar; ac_word
=$2 
1252 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
1253 echo "configure:1254: checking for $ac_word" >&5 
1254 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then 
1255   echo $ac_n "(cached) $ac_c" 1>&6 
1257   if test -n "$AR"; then 
1258   ac_cv_prog_AR
="$AR" # Let the user override the test. 
1260   IFS
="${IFS=   }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:" 
1261   for ac_dir 
in $PATH; do 
1262     test -z "$ac_dir" && ac_dir
=.
 
1263     if test -f $ac_dir/$ac_word; then 
1269   test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar" 
1273 if test -n "$AR"; then 
1274   echo "$ac_t""$AR" 1>&6 
1276   echo "$ac_t""no" 1>&6 
1281 for ac_dir 
in $srcdir $srcdir/.. 
$srcdir/..
/..
; do 
1282   if test -f $ac_dir/install-sh; then 
1284     ac_install_sh
="$ac_aux_dir/install-sh -c" 
1286   elif test -f $ac_dir/install.sh
; then 
1288     ac_install_sh
="$ac_aux_dir/install.sh -c" 
1292 if test -z "$ac_aux_dir"; then 
1293   { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } 
1295 ac_config_guess
=$ac_aux_dir/config.guess
 
1296 ac_config_sub
=$ac_aux_dir/config.sub
 
1297 ac_configure
=$ac_aux_dir/configure 
# This should be Cygnus configure. 
1299 # Find a good install program.  We prefer a C program (faster), 
1300 # so one script is as good as another.  But avoid the broken or 
1301 # incompatible versions: 
1302 # SysV /etc/install, /usr/sbin/install 
1303 # SunOS /usr/etc/install 
1304 # IRIX /sbin/install 
1306 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 
1307 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 
1308 # ./install, which can be erroneously created by make from ./install.sh. 
1309 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 
1310 echo "configure:1311: checking for a BSD compatible install" >&5 
1311 if test -z "$INSTALL"; then 
1312 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 
1313   echo $ac_n "(cached) $ac_c" 1>&6 
1315     IFS
="${IFS=         }"; ac_save_IFS
="$IFS"; IFS
="${IFS}:" 
1316   for ac_dir 
in $PATH; do 
1317     # Account for people who put trailing slashes in PATH elements. 
1319     /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;; 
1321       # OSF1 and SCO ODT 3.0 have their own names for install. 
1322       for ac_prog 
in ginstall installbsd scoinst 
install; do 
1323         if test -f $ac_dir/$ac_prog; then 
1324           if test $ac_prog = install && 
1325             grep dspmsg 
$ac_dir/$ac_prog >/dev
/null 
2>&1; then 
1326             # AIX install.  It has an incompatible calling convention. 
1327             # OSF/1 installbsd also uses dspmsg, but is usable. 
1330             ac_cv_path_install
="$ac_dir/$ac_prog -c" 
1341   if test "${ac_cv_path_install+set}" = set; then 
1342     INSTALL
="$ac_cv_path_install" 
1344     # As a last resort, use the slow shell script.  We don't cache a 
1345     # path for INSTALL within a source directory, because that will 
1346     # break other packages using the cache if that directory is 
1347     # removed, or if the path is relative. 
1348     INSTALL
="$ac_install_sh" 
1351 echo "$ac_t""$INSTALL" 1>&6 
1353 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 
1354 # It thinks the first close brace ends the variable substitution. 
1355 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}' 
1357 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644' 
1360 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 
1361 echo "configure:1362: checking whether ln -s works" >&5 
1362 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 
1363   echo $ac_n "(cached) $ac_c" 1>&6 
1366 if ln -s X conftestdata 
2>/dev
/null
 
1369   ac_cv_prog_LN_S
="ln -s" 
1374 LN_S
="$ac_cv_prog_LN_S" 
1375 if test "$ac_cv_prog_LN_S" = "ln -s"; then 
1376   echo "$ac_t""yes" 1>&6 
1378   echo "$ac_t""no" 1>&6 
1382 for ac_prog 
in mawk gawk nawk 
awk 
1384 # Extract the first word of "$ac_prog", so it can be a program name with args. 
1385 set dummy 
$ac_prog; ac_word
=$2 
1386 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
1387 echo "configure:1388: checking for $ac_word" >&5 
1388 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then 
1389   echo $ac_n "(cached) $ac_c" 1>&6 
1391   if test -n "$AWK"; then 
1392   ac_cv_prog_AWK
="$AWK" # Let the user override the test. 
1394   IFS
="${IFS=   }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:" 
1395   for ac_dir 
in $PATH; do 
1396     test -z "$ac_dir" && ac_dir
=.
 
1397     if test -f $ac_dir/$ac_word; then 
1398       ac_cv_prog_AWK
="$ac_prog" 
1405 AWK
="$ac_cv_prog_AWK" 
1406 if test -n "$AWK"; then 
1407   echo "$ac_t""$AWK" 1>&6 
1409   echo "$ac_t""no" 1>&6 
1412 test -n "$AWK" && break 
1416 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6 
1417 echo "configure:1418: checking "make for VPATH support
"" >&5 
1418 cat - << EOF > confMake 
1424 if test ! -d sub 
; then 
1427 echo dummy 
> sub
/file 
1428 ${MAKE-make} -f confMake VPATH
=sub 
2> config.log 
> /dev
/null
 
1430 rm -f sub
/file check final_file confMake
 
1432 if test "$RESULT" = 0; then 
1433   echo "$ac_t""yes" 1>&6 
1435   echo "$ac_t""no" 1>&6 
1436   { echo "configure: error: You need a make-utility that is able to use the variable 
1438 If your version of make does not support VPATH correctly" 1>&2; exit 1; }  
1442 # If we find X, set shell vars x_includes and x_libraries to the 
1443 # paths, otherwise set no_x=yes. 
1444 # Uses ac_ vars as temps to allow command line to override cache and checks. 
1445 # --without-x overrides everything else, but does not touch the cache. 
1446 echo $ac_n "checking for X""... $ac_c" 1>&6 
1447 echo "configure:1448: checking for X" >&5 
1449 # Check whether --with-x or --without-x was given. 
1450 if test "${with_x+set}" = set; then 
1455 # $have_x is `yes', `no', `disabled', or empty when we do not yet know. 
1456 if test "x$with_x" = xno
; then 
1457   # The user explicitly disabled X. 
1460   if test "x$x_includes" != xNONE 
&& test "x$x_libraries" != xNONE
; then 
1461     # Both variables are already set. 
1464 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then 
1465   echo $ac_n "(cached) $ac_c" 1>&6 
1467   # One or both of the vars are not set, and there is no cached value. 
1468 ac_x_includes
=NO ac_x_libraries
=NO
 
1470 if mkdir conftestdir
; then 
1472   # Make sure to not put "make" in the Imakefile rules, since we grep it out. 
1473   cat > Imakefile 
<<'EOF' 
1475         @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"' 
1477   if (xmkmf
) >/dev
/null 
2>/dev
/null 
&& test -f Makefile
; then 
1478     # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 
1479     eval `${MAKE-make} acfindx 2>/dev/null | grep -v make` 
1480     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. 
1481     for ac_extension 
in a so sl
; do 
1482       if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension && 
1483         test -f $ac_im_libdir/libX11.
$ac_extension; then 
1484         ac_im_usrlibdir
=$ac_im_libdir; break 
1487     # Screen out bogus values from the imake configuration.  They are 
1488     # bogus both because they are the default anyway, and because 
1489     # using them would break gcc on systems where it needs fixed includes. 
1490     case "$ac_im_incroot" in 
1492         *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;; 
1494     case "$ac_im_usrlibdir" in 
1496         *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;; 
1503 if test "$ac_x_includes" = NO
; then 
1504   # Guess where to find include files, by looking for this one X11 .h file. 
1505   test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
 
1507   # First, try using that file with no special directory specified. 
1508 cat > conftest.
$ac_ext <<EOF 
1509 #line 1510 "configure" 
1510 #include "confdefs.h" 
1511 #include <$x_direct_test_include> 
1513 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
1514 { (eval echo configure
:1515: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
1515 ac_err
=`grep -v '^ *+' conftest.out` 
1516 if test -z "$ac_err"; then 
1518   # We can compile using X headers with no special include directory. 
1522   echo "configure: failed program was:" >&5 
1523   cat conftest.
$ac_ext >&5 
1525   # Look for the header file in a standard set of common directories. 
1526 # Check X11 before X11Rn because it is often a symlink to the current release. 
1529     /usr
/X
11R
6/include        \
 
1530     /usr
/X
11R
5/include        \
 
1531     /usr
/X
11R
4/include        \
 
1534     /usr
/include
/X11R6        \
 
1535     /usr
/include
/X11R5        \
 
1536     /usr
/include
/X11R4        \
 
1538     /usr
/local
/X
11/include    \
 
1539     /usr
/local
/X
11R
6/include  \
 
1540     /usr
/local
/X
11R
5/include  \
 
1541     /usr
/local
/X
11R
4/include  \
 
1543     /usr
/local
/include
/X11    \
 
1544     /usr
/local
/include
/X11R6  \
 
1545     /usr
/local
/include
/X11R5  \
 
1546     /usr
/local
/include
/X11R4  \
 
1550     /usr
/XFree
86/include
/X11  \
 
1553     /usr
/local
/include        \
 
1554     /usr
/unsupported
/include  \
 
1555     /usr
/athena
/include       \
 
1556     /usr
/local
/x
11r
5/include  \
 
1557     /usr
/lpp
/Xamples
/include  \
 
1559     /usr
/openwin
/include      \
 
1560     /usr
/openwin
/share
/include \
 
1563     if test -r "$ac_dir/$x_direct_test_include"; then 
1564       ac_x_includes
=$ac_dir 
1570 fi # $ac_x_includes = NO 
1572 if test "$ac_x_libraries" = NO
; then 
1573   # Check for the libraries. 
1575   test -z "$x_direct_test_library" && x_direct_test_library
=Xt
 
1576   test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
 
1578   # See if we find them without any special options. 
1579   # Don't add to $LIBS permanently. 
1580   ac_save_LIBS
="$LIBS" 
1581   LIBS
="-l$x_direct_test_library $LIBS" 
1582 cat > conftest.
$ac_ext <<EOF 
1583 #line 1584 "configure" 
1584 #include "confdefs.h" 
1587 ${x_direct_test_function}() 
1590 if { (eval echo configure
:1591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then 
1592   LIBS
="$ac_save_LIBS" 
1593 # We can link X programs with no special library path. 
1596   echo "configure: failed program was:" >&5 
1597   cat conftest.
$ac_ext >&5 
1599   LIBS
="$ac_save_LIBS" 
1600 # First see if replacing the include by lib works. 
1601 # Check X11 before X11Rn because it is often a symlink to the current release. 
1602 for ac_dir 
in `echo "$ac_x_includes" | sed s/include/lib/` \
 
1613     /usr
/local
/X
11/lib    \
 
1614     /usr
/local
/X
11R
6/lib  \
 
1615     /usr
/local
/X
11R
5/lib  \
 
1616     /usr
/local
/X
11R
4/lib  \
 
1618     /usr
/local
/lib
/X11    \
 
1619     /usr
/local
/lib
/X11R6  \
 
1620     /usr
/local
/lib
/X11R5  \
 
1621     /usr
/local
/lib
/X11R4  \
 
1625     /usr
/XFree
86/lib
/X11  \
 
1629     /usr
/unsupported
/lib  \
 
1631     /usr
/local
/x
11r
5/lib  \
 
1632     /usr
/lpp
/Xamples
/lib  \
 
1636     /usr
/openwin
/share
/lib \
 
1639   for ac_extension 
in a so sl
; do 
1640     if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then 
1641       ac_x_libraries
=$ac_dir 
1648 fi # $ac_x_libraries = NO 
1650 if test "$ac_x_includes" = NO 
|| test "$ac_x_libraries" = NO
; then 
1651   # Didn't find X anywhere.  Cache the known absence of X. 
1652   ac_cv_have_x
="have_x=no" 
1654   # Record where we found X for the cache. 
1655   ac_cv_have_x
="have_x=yes \ 
1656                 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries" 
1660   eval "$ac_cv_have_x" 
1663 if test "$have_x" != yes; then 
1664   echo "$ac_t""$have_x" 1>&6 
1667   # If each of the values was on the command line, it overrides each guess. 
1668   test "x$x_includes" = xNONE 
&& x_includes
=$ac_x_includes 
1669   test "x$x_libraries" = xNONE 
&& x_libraries
=$ac_x_libraries 
1670   # Update the cache value to reflect the command line values. 
1671   ac_cv_have_x
="have_x=yes \ 
1672                 ac_x_includes=$x_includes ac_x_libraries=$x_libraries" 
1673   echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6 
1676 if test "$no_x" = yes; then 
1677   # Not all programs may use this symbol, but it does not hurt to define it. 
1678   cat >> confdefs.h 
<<\EOF
 
1679 #define X_DISPLAY_MISSING 1 
1682   X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
= 
1684   if test -n "$x_includes"; then 
1685     X_CFLAGS
="$X_CFLAGS -I$x_includes" 
1688   # It would also be nice to do this for all -L options, not just this one. 
1689   if test -n "$x_libraries"; then 
1690     X_LIBS
="$X_LIBS -L$x_libraries" 
1691     # For Solaris; some versions of Sun CC require a space after -R and 
1692     # others require no space.  Words are not sufficient . . . . 
1693     case "`(uname -sr) 2>/dev/null`" in 
1695       echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 
1696 echo "configure:1697: checking whether -R must be followed by a space" >&5 
1697       ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries" 
1698       cat > conftest.
$ac_ext <<EOF 
1699 #line 1700 "configure" 
1700 #include "confdefs.h" 
1706 if { (eval echo configure
:1707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then 
1710   echo "configure: failed program was:" >&5 
1711   cat conftest.
$ac_ext >&5 
1716       if test $ac_R_nospace = yes; then 
1717         echo "$ac_t""no" 1>&6 
1718         X_LIBS
="$X_LIBS -R$x_libraries" 
1720         LIBS
="$ac_xsave_LIBS -R $x_libraries" 
1721         cat > conftest.
$ac_ext <<EOF 
1722 #line 1723 "configure" 
1723 #include "confdefs.h" 
1729 if { (eval echo configure
:1730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then 
1733   echo "configure: failed program was:" >&5 
1734   cat conftest.
$ac_ext >&5 
1739         if test $ac_R_space = yes; then 
1740           echo "$ac_t""yes" 1>&6 
1741           X_LIBS
="$X_LIBS -R $x_libraries" 
1743           echo "$ac_t""neither works" 1>&6 
1746       LIBS
="$ac_xsave_LIBS" 
1750   # Check for system-dependent libraries X programs must link with. 
1751   # Do this before checking for the system-independent R6 libraries 
1752   # (-lICE), since we may need -lsocket or whatever for X linking. 
1754   if test "$ISC" = yes; then 
1755     X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet" 
1757     # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X 
1758     # libraries were built with DECnet support.  And karl@cs.umb.edu says 
1759     # the Alpha needs dnet_stub (dnet does not exist). 
1760     echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 
1761 echo "configure:1762: checking for dnet_ntoa in -ldnet" >&5 
1762 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` 
1763 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
1764   echo $ac_n "(cached) $ac_c" 1>&6 
1766   ac_save_LIBS
="$LIBS" 
1768 cat > conftest.
$ac_ext <<EOF 
1769 #line 1770 "configure" 
1770 #include "confdefs.h" 
1771 /* Override any gcc2 internal prototype to avoid an error.  */ 
1772 /* We use char because int might match the return type of a gcc2 
1773     builtin and then its argument prototype would still apply.  */ 
1780 if { (eval echo configure
:1781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then 
1782   eval "ac_cv_lib_$ac_lib_var=yes" 
1784   echo "configure: failed program was:" >&5 
1785   cat conftest.
$ac_ext >&5 
1787   eval "ac_cv_lib_$ac_lib_var=no" 
1790 LIBS
="$ac_save_LIBS" 
1793 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 
1794   echo "$ac_t""yes" 1>&6 
1795   X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet" 
1797   echo "$ac_t""no" 1>&6 
1800     if test $ac_cv_lib_dnet_dnet_ntoa = no
; then 
1801       echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 
1802 echo "configure:1803: checking for dnet_ntoa in -ldnet_stub" >&5 
1803 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` 
1804 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
1805   echo $ac_n "(cached) $ac_c" 1>&6 
1807   ac_save_LIBS
="$LIBS" 
1808 LIBS
="-ldnet_stub  $LIBS" 
1809 cat > conftest.
$ac_ext <<EOF 
1810 #line 1811 "configure" 
1811 #include "confdefs.h" 
1812 /* Override any gcc2 internal prototype to avoid an error.  */ 
1813 /* We use char because int might match the return type of a gcc2 
1814     builtin and then its argument prototype would still apply.  */ 
1821 if { (eval echo configure
:1822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then 
1823   eval "ac_cv_lib_$ac_lib_var=yes" 
1825   echo "configure: failed program was:" >&5 
1826   cat conftest.
$ac_ext >&5 
1828   eval "ac_cv_lib_$ac_lib_var=no" 
1831 LIBS
="$ac_save_LIBS" 
1834 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 
1835   echo "$ac_t""yes" 1>&6 
1836   X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub" 
1838   echo "$ac_t""no" 1>&6 
1843     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT, 
1844     # to get the SysV transport functions. 
1845     # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) 
1847     # The nsl library prevents programs from opening the X display 
1848     # on Irix 5.2, according to dickey@clark.net. 
1849     echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 
1850 echo "configure:1851: checking for gethostbyname" >&5 
1851 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then 
1852   echo $ac_n "(cached) $ac_c" 1>&6 
1854   cat > conftest.
$ac_ext <<EOF 
1855 #line 1856 "configure" 
1856 #include "confdefs.h" 
1857 /* System header to define __stub macros and hopefully few prototypes, 
1858     which can conflict with char gethostbyname(); below.  */ 
1860 /* Override any gcc2 internal prototype to avoid an error.  */ 
1861 /* We use char because int might match the return type of a gcc2 
1862     builtin and then its argument prototype would still apply.  */ 
1863 char gethostbyname(); 
1867 /* The GNU C library defines this for functions which it implements 
1868     to always fail with ENOSYS.  Some functions are actually named 
1869     something starting with __ and the normal name is an alias.  */ 
1870 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) 
1878 if { (eval echo configure
:1879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then 
1880   eval "ac_cv_func_gethostbyname=yes" 
1882   echo "configure: failed program was:" >&5 
1883   cat conftest.
$ac_ext >&5 
1885   eval "ac_cv_func_gethostbyname=no" 
1890 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then 
1891   echo "$ac_t""yes" 1>&6 
1894   echo "$ac_t""no" 1>&6 
1897     if test $ac_cv_func_gethostbyname = no
; then 
1898       echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 
1899 echo "configure:1900: checking for gethostbyname in -lnsl" >&5 
1900 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` 
1901 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
1902   echo $ac_n "(cached) $ac_c" 1>&6 
1904   ac_save_LIBS
="$LIBS" 
1906 cat > conftest.
$ac_ext <<EOF 
1907 #line 1908 "configure" 
1908 #include "confdefs.h" 
1909 /* Override any gcc2 internal prototype to avoid an error.  */ 
1910 /* We use char because int might match the return type of a gcc2 
1911     builtin and then its argument prototype would still apply.  */ 
1912 char gethostbyname(); 
1918 if { (eval echo configure
:1919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then 
1920   eval "ac_cv_lib_$ac_lib_var=yes" 
1922   echo "configure: failed program was:" >&5 
1923   cat conftest.
$ac_ext >&5 
1925   eval "ac_cv_lib_$ac_lib_var=no" 
1928 LIBS
="$ac_save_LIBS" 
1931 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 
1932   echo "$ac_t""yes" 1>&6 
1933   X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl" 
1935   echo "$ac_t""no" 1>&6 
1940     # lieder@skyler.mavd.honeywell.com says without -lsocket, 
1941     # socket/setsockopt and other routines are undefined under SCO ODT 
1942     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary 
1943     # on later versions), says simon@lia.di.epfl.ch: it contains 
1944     # gethostby* variants that don't use the nameserver (or something). 
1945     # -lsocket must be given before -lnsl if both are needed. 
1946     # We assume that if connect needs -lnsl, so does gethostbyname. 
1947     echo $ac_n "checking for connect""... $ac_c" 1>&6 
1948 echo "configure:1949: checking for connect" >&5 
1949 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then 
1950   echo $ac_n "(cached) $ac_c" 1>&6 
1952   cat > conftest.
$ac_ext <<EOF 
1953 #line 1954 "configure" 
1954 #include "confdefs.h" 
1955 /* System header to define __stub macros and hopefully few prototypes, 
1956     which can conflict with char connect(); below.  */ 
1958 /* Override any gcc2 internal prototype to avoid an error.  */ 
1959 /* We use char because int might match the return type of a gcc2 
1960     builtin and then its argument prototype would still apply.  */ 
1965 /* The GNU C library defines this for functions which it implements 
1966     to always fail with ENOSYS.  Some functions are actually named 
1967     something starting with __ and the normal name is an alias.  */ 
1968 #if defined (__stub_connect) || defined (__stub___connect) 
1976 if { (eval echo configure
:1977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then 
1978   eval "ac_cv_func_connect=yes" 
1980   echo "configure: failed program was:" >&5 
1981   cat conftest.
$ac_ext >&5 
1983   eval "ac_cv_func_connect=no" 
1988 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then 
1989   echo "$ac_t""yes" 1>&6 
1992   echo "$ac_t""no" 1>&6 
1995     if test $ac_cv_func_connect = no
; then 
1996       echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 
1997 echo "configure:1998: checking for connect in -lsocket" >&5 
1998 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'` 
1999 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
2000   echo $ac_n "(cached) $ac_c" 1>&6 
2002   ac_save_LIBS
="$LIBS" 
2003 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS" 
2004 cat > conftest.
$ac_ext <<EOF 
2005 #line 2006 "configure" 
2006 #include "confdefs.h" 
2007 /* Override any gcc2 internal prototype to avoid an error.  */ 
2008 /* We use char because int might match the return type of a gcc2 
2009     builtin and then its argument prototype would still apply.  */ 
2016 if { (eval echo configure
:2017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then 
2018   eval "ac_cv_lib_$ac_lib_var=yes" 
2020   echo "configure: failed program was:" >&5 
2021   cat conftest.
$ac_ext >&5 
2023   eval "ac_cv_lib_$ac_lib_var=no" 
2026 LIBS
="$ac_save_LIBS" 
2029 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 
2030   echo "$ac_t""yes" 1>&6 
2031   X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS" 
2033   echo "$ac_t""no" 1>&6 
2038     # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. 
2039     echo $ac_n "checking for remove""... $ac_c" 1>&6 
2040 echo "configure:2041: checking for remove" >&5 
2041 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then 
2042   echo $ac_n "(cached) $ac_c" 1>&6 
2044   cat > conftest.
$ac_ext <<EOF 
2045 #line 2046 "configure" 
2046 #include "confdefs.h" 
2047 /* System header to define __stub macros and hopefully few prototypes, 
2048     which can conflict with char remove(); below.  */ 
2050 /* Override any gcc2 internal prototype to avoid an error.  */ 
2051 /* We use char because int might match the return type of a gcc2 
2052     builtin and then its argument prototype would still apply.  */ 
2057 /* The GNU C library defines this for functions which it implements 
2058     to always fail with ENOSYS.  Some functions are actually named 
2059     something starting with __ and the normal name is an alias.  */ 
2060 #if defined (__stub_remove) || defined (__stub___remove) 
2068 if { (eval echo configure
:2069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then 
2070   eval "ac_cv_func_remove=yes" 
2072   echo "configure: failed program was:" >&5 
2073   cat conftest.
$ac_ext >&5 
2075   eval "ac_cv_func_remove=no" 
2080 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then 
2081   echo "$ac_t""yes" 1>&6 
2084   echo "$ac_t""no" 1>&6 
2087     if test $ac_cv_func_remove = no
; then 
2088       echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 
2089 echo "configure:2090: checking for remove in -lposix" >&5 
2090 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'` 
2091 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
2092   echo $ac_n "(cached) $ac_c" 1>&6 
2094   ac_save_LIBS
="$LIBS" 
2095 LIBS
="-lposix  $LIBS" 
2096 cat > conftest.
$ac_ext <<EOF 
2097 #line 2098 "configure" 
2098 #include "confdefs.h" 
2099 /* Override any gcc2 internal prototype to avoid an error.  */ 
2100 /* We use char because int might match the return type of a gcc2 
2101     builtin and then its argument prototype would still apply.  */ 
2108 if { (eval echo configure
:2109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then 
2110   eval "ac_cv_lib_$ac_lib_var=yes" 
2112   echo "configure: failed program was:" >&5 
2113   cat conftest.
$ac_ext >&5 
2115   eval "ac_cv_lib_$ac_lib_var=no" 
2118 LIBS
="$ac_save_LIBS" 
2121 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 
2122   echo "$ac_t""yes" 1>&6 
2123   X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix" 
2125   echo "$ac_t""no" 1>&6 
2130     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. 
2131     echo $ac_n "checking for shmat""... $ac_c" 1>&6 
2132 echo "configure:2133: checking for shmat" >&5 
2133 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then 
2134   echo $ac_n "(cached) $ac_c" 1>&6 
2136   cat > conftest.
$ac_ext <<EOF 
2137 #line 2138 "configure" 
2138 #include "confdefs.h" 
2139 /* System header to define __stub macros and hopefully few prototypes, 
2140     which can conflict with char shmat(); below.  */ 
2142 /* Override any gcc2 internal prototype to avoid an error.  */ 
2143 /* We use char because int might match the return type of a gcc2 
2144     builtin and then its argument prototype would still apply.  */ 
2149 /* The GNU C library defines this for functions which it implements 
2150     to always fail with ENOSYS.  Some functions are actually named 
2151     something starting with __ and the normal name is an alias.  */ 
2152 #if defined (__stub_shmat) || defined (__stub___shmat) 
2160 if { (eval echo configure
:2161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then 
2162   eval "ac_cv_func_shmat=yes" 
2164   echo "configure: failed program was:" >&5 
2165   cat conftest.
$ac_ext >&5 
2167   eval "ac_cv_func_shmat=no" 
2172 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then 
2173   echo "$ac_t""yes" 1>&6 
2176   echo "$ac_t""no" 1>&6 
2179     if test $ac_cv_func_shmat = no
; then 
2180       echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 
2181 echo "configure:2182: checking for shmat in -lipc" >&5 
2182 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` 
2183 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
2184   echo $ac_n "(cached) $ac_c" 1>&6 
2186   ac_save_LIBS
="$LIBS" 
2188 cat > conftest.
$ac_ext <<EOF 
2189 #line 2190 "configure" 
2190 #include "confdefs.h" 
2191 /* Override any gcc2 internal prototype to avoid an error.  */ 
2192 /* We use char because int might match the return type of a gcc2 
2193     builtin and then its argument prototype would still apply.  */ 
2200 if { (eval echo configure
:2201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then 
2202   eval "ac_cv_lib_$ac_lib_var=yes" 
2204   echo "configure: failed program was:" >&5 
2205   cat conftest.
$ac_ext >&5 
2207   eval "ac_cv_lib_$ac_lib_var=no" 
2210 LIBS
="$ac_save_LIBS" 
2213 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 
2214   echo "$ac_t""yes" 1>&6 
2215   X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc" 
2217   echo "$ac_t""no" 1>&6 
2223   # Check for libraries that X11R6 Xt/Xaw programs need. 
2224   ac_save_LDFLAGS
="$LDFLAGS" 
2225   test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries" 
2226   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to 
2227   # check for ICE first), but we must link in the order -lSM -lICE or 
2228   # we get undefined symbols.  So assume we have SM if we have ICE. 
2229   # These have to be linked with before -lX11, unlike the other 
2230   # libraries we check for below, so use a different variable. 
2231   #  --interran@uluru.Stanford.EDU, kb@cs.umb.edu. 
2232   echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 
2233 echo "configure:2234: checking for IceConnectionNumber in -lICE" >&5 
2234 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` 
2235 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
2236   echo $ac_n "(cached) $ac_c" 1>&6 
2238   ac_save_LIBS
="$LIBS" 
2240 cat > conftest.
$ac_ext <<EOF 
2241 #line 2242 "configure" 
2242 #include "confdefs.h" 
2243 /* Override any gcc2 internal prototype to avoid an error.  */ 
2244 /* We use char because int might match the return type of a gcc2 
2245     builtin and then its argument prototype would still apply.  */ 
2246 char IceConnectionNumber(); 
2249 IceConnectionNumber() 
2252 if { (eval echo configure
:2253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then 
2254   eval "ac_cv_lib_$ac_lib_var=yes" 
2256   echo "configure: failed program was:" >&5 
2257   cat conftest.
$ac_ext >&5 
2259   eval "ac_cv_lib_$ac_lib_var=no" 
2262 LIBS
="$ac_save_LIBS" 
2265 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 
2266   echo "$ac_t""yes" 1>&6 
2267   X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE" 
2269   echo "$ac_t""no" 1>&6 
2272   LDFLAGS
="$ac_save_LDFLAGS" 
2278 for ac_hdr 
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
 
2280 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 
2281 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 
2282 echo "configure:2283: checking for $ac_hdr that defines DIR" >&5 
2283 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then 
2284   echo $ac_n "(cached) $ac_c" 1>&6 
2286   cat > conftest.
$ac_ext <<EOF 
2287 #line 2288 "configure" 
2288 #include "confdefs.h" 
2289 #include <sys/types.h> 
2295 if { (eval echo configure
:2296: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
2297   eval "ac_cv_header_dirent_$ac_safe=yes" 
2299   echo "configure: failed program was:" >&5 
2300   cat conftest.
$ac_ext >&5 
2302   eval "ac_cv_header_dirent_$ac_safe=no" 
2306 if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then 
2307   echo "$ac_t""yes" 1>&6 
2308     ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 
2309   cat >> confdefs.h 
<<EOF 
2310 #define $ac_tr_hdr 1 
2312  ac_header_dirent
=$ac_hdr; break 
2314   echo "$ac_t""no" 1>&6 
2317 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 
2318 if test $ac_header_dirent = dirent.h
; then 
2319 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 
2320 echo "configure:2321: checking for opendir in -ldir" >&5 
2321 ac_lib_var
=`echo dir'_'opendir | sed 'y%./+-%__p_%'` 
2322 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
2323   echo $ac_n "(cached) $ac_c" 1>&6 
2325   ac_save_LIBS
="$LIBS" 
2327 cat > conftest.
$ac_ext <<EOF 
2328 #line 2329 "configure" 
2329 #include "confdefs.h" 
2330 /* Override any gcc2 internal prototype to avoid an error.  */ 
2331 /* We use char because int might match the return type of a gcc2 
2332     builtin and then its argument prototype would still apply.  */ 
2339 if { (eval echo configure
:2340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then 
2341   eval "ac_cv_lib_$ac_lib_var=yes" 
2343   echo "configure: failed program was:" >&5 
2344   cat conftest.
$ac_ext >&5 
2346   eval "ac_cv_lib_$ac_lib_var=no" 
2349 LIBS
="$ac_save_LIBS" 
2352 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 
2353   echo "$ac_t""yes" 1>&6 
2356   echo "$ac_t""no" 1>&6 
2360 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 
2361 echo "configure:2362: checking for opendir in -lx" >&5 
2362 ac_lib_var
=`echo x'_'opendir | sed 'y%./+-%__p_%'` 
2363 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
2364   echo $ac_n "(cached) $ac_c" 1>&6 
2366   ac_save_LIBS
="$LIBS" 
2368 cat > conftest.
$ac_ext <<EOF 
2369 #line 2370 "configure" 
2370 #include "confdefs.h" 
2371 /* Override any gcc2 internal prototype to avoid an error.  */ 
2372 /* We use char because int might match the return type of a gcc2 
2373     builtin and then its argument prototype would still apply.  */ 
2380 if { (eval echo configure
:2381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then 
2382   eval "ac_cv_lib_$ac_lib_var=yes" 
2384   echo "configure: failed program was:" >&5 
2385   cat conftest.
$ac_ext >&5 
2387   eval "ac_cv_lib_$ac_lib_var=no" 
2390 LIBS
="$ac_save_LIBS" 
2393 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 
2394   echo "$ac_t""yes" 1>&6 
2397   echo "$ac_t""no" 1>&6 
2402 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 
2403 echo "configure:2404: checking for ANSI C header files" >&5 
2404 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 
2405   echo $ac_n "(cached) $ac_c" 1>&6 
2407   cat > conftest.
$ac_ext <<EOF 
2408 #line 2409 "configure" 
2409 #include "confdefs.h" 
2415 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
2416 { (eval echo configure
:2417: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
2417 ac_err
=`grep -v '^ *+' conftest.out` 
2418 if test -z "$ac_err"; then 
2420   ac_cv_header_stdc
=yes 
2423   echo "configure: failed program was:" >&5 
2424   cat conftest.
$ac_ext >&5 
2426   ac_cv_header_stdc
=no
 
2430 if test $ac_cv_header_stdc = yes; then 
2431   # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 
2432 cat > conftest.
$ac_ext <<EOF 
2433 #line 2434 "configure" 
2434 #include "confdefs.h" 
2437 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
2438   egrep "memchr" >/dev
/null 
2>&1; then 
2442   ac_cv_header_stdc
=no
 
2448 if test $ac_cv_header_stdc = yes; then 
2449   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 
2450 cat > conftest.
$ac_ext <<EOF 
2451 #line 2452 "configure" 
2452 #include "confdefs.h" 
2455 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
2456   egrep "free" >/dev
/null 
2>&1; then 
2460   ac_cv_header_stdc
=no
 
2466 if test $ac_cv_header_stdc = yes; then 
2467   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 
2468 if test "$cross_compiling" = yes; then 
2471   cat > conftest.
$ac_ext <<EOF 
2472 #line 2473 "configure" 
2473 #include "confdefs.h" 
2475 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 
2476 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 
2477 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 
2478 int main () { int i; for (i = 0; i < 256; i++) 
2479 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); 
2483 if { (eval echo configure
:2484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest 
&& (.
/conftest
; exit) 2>/dev
/null
 
2487   echo "configure: failed program was:" >&5 
2488   cat conftest.
$ac_ext >&5 
2490   ac_cv_header_stdc
=no
 
2498 echo "$ac_t""$ac_cv_header_stdc" 1>&6 
2499 if test $ac_cv_header_stdc = yes; then 
2500   cat >> confdefs.h 
<<\EOF
 
2501 #define STDC_HEADERS 1 
2506 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 
2507 echo "configure:2508: checking for sys/wait.h that is POSIX.1 compatible" >&5 
2508 if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then 
2509   echo $ac_n "(cached) $ac_c" 1>&6 
2511   cat > conftest.
$ac_ext <<EOF 
2512 #line 2513 "configure" 
2513 #include "confdefs.h" 
2514 #include <sys/types.h> 
2515 #include <sys/wait.h> 
2517 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) 
2520 #define WIFEXITED(stat_val) (((stat_val) & 255) == 0) 
2525 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; 
2528 if { (eval echo configure
:2529: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
2530   ac_cv_header_sys_wait_h
=yes 
2532   echo "configure: failed program was:" >&5 
2533   cat conftest.
$ac_ext >&5 
2535   ac_cv_header_sys_wait_h
=no
 
2540 echo "$ac_t""$ac_cv_header_sys_wait_h" 1>&6 
2541 if test $ac_cv_header_sys_wait_h = yes; then 
2542   cat >> confdefs.h 
<<\EOF
 
2543 #define HAVE_SYS_WAIT_H 1 
2548 for ac_hdr 
in fcntl.h
 
2550 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 
2551 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 
2552 echo "configure:2553: checking for $ac_hdr" >&5 
2553 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 
2554   echo $ac_n "(cached) $ac_c" 1>&6 
2556   cat > conftest.
$ac_ext <<EOF 
2557 #line 2558 "configure" 
2558 #include "confdefs.h" 
2561 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
2562 { (eval echo configure
:2563: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
2563 ac_err
=`grep -v '^ *+' conftest.out` 
2564 if test -z "$ac_err"; then 
2566   eval "ac_cv_header_$ac_safe=yes" 
2569   echo "configure: failed program was:" >&5 
2570   cat conftest.
$ac_ext >&5 
2572   eval "ac_cv_header_$ac_safe=no" 
2576 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 
2577   echo "$ac_t""yes" 1>&6 
2578     ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 
2579   cat >> confdefs.h 
<<EOF 
2580 #define $ac_tr_hdr 1 
2584   echo "$ac_t""no" 1>&6 
2588 for ac_hdr 
in limits.h
 
2590 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 
2591 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 
2592 echo "configure:2593: checking for $ac_hdr" >&5 
2593 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 
2594   echo $ac_n "(cached) $ac_c" 1>&6 
2596   cat > conftest.
$ac_ext <<EOF 
2597 #line 2598 "configure" 
2598 #include "confdefs.h" 
2601 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
2602 { (eval echo configure
:2603: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
2603 ac_err
=`grep -v '^ *+' conftest.out` 
2604 if test -z "$ac_err"; then 
2606   eval "ac_cv_header_$ac_safe=yes" 
2609   echo "configure: failed program was:" >&5 
2610   cat conftest.
$ac_ext >&5 
2612   eval "ac_cv_header_$ac_safe=no" 
2616 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 
2617   echo "$ac_t""yes" 1>&6 
2618     ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 
2619   cat >> confdefs.h 
<<EOF 
2620 #define $ac_tr_hdr 1 
2624   echo "$ac_t""no" 1>&6 
2628 for ac_hdr 
in sys
/file.h
 
2630 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 
2631 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 
2632 echo "configure:2633: checking for $ac_hdr" >&5 
2633 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 
2634   echo $ac_n "(cached) $ac_c" 1>&6 
2636   cat > conftest.
$ac_ext <<EOF 
2637 #line 2638 "configure" 
2638 #include "confdefs.h" 
2641 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
2642 { (eval echo configure
:2643: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
2643 ac_err
=`grep -v '^ *+' conftest.out` 
2644 if test -z "$ac_err"; then 
2646   eval "ac_cv_header_$ac_safe=yes" 
2649   echo "configure: failed program was:" >&5 
2650   cat conftest.
$ac_ext >&5 
2652   eval "ac_cv_header_$ac_safe=no" 
2656 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 
2657   echo "$ac_t""yes" 1>&6 
2658     ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 
2659   cat >> confdefs.h 
<<EOF 
2660 #define $ac_tr_hdr 1 
2664   echo "$ac_t""no" 1>&6 
2668 for ac_hdr 
in sys
/time.h
 
2670 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 
2671 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 
2672 echo "configure:2673: checking for $ac_hdr" >&5 
2673 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 
2674   echo $ac_n "(cached) $ac_c" 1>&6 
2676   cat > conftest.
$ac_ext <<EOF 
2677 #line 2678 "configure" 
2678 #include "confdefs.h" 
2681 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
2682 { (eval echo configure
:2683: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
2683 ac_err
=`grep -v '^ *+' conftest.out` 
2684 if test -z "$ac_err"; then 
2686   eval "ac_cv_header_$ac_safe=yes" 
2689   echo "configure: failed program was:" >&5 
2690   cat conftest.
$ac_ext >&5 
2692   eval "ac_cv_header_$ac_safe=no" 
2696 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 
2697   echo "$ac_t""yes" 1>&6 
2698     ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 
2699   cat >> confdefs.h 
<<EOF 
2700 #define $ac_tr_hdr 1 
2704   echo "$ac_t""no" 1>&6 
2708 for ac_hdr 
in unistd.h
 
2710 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 
2711 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 
2712 echo "configure:2713: checking for $ac_hdr" >&5 
2713 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 
2714   echo $ac_n "(cached) $ac_c" 1>&6 
2716   cat > conftest.
$ac_ext <<EOF 
2717 #line 2718 "configure" 
2718 #include "confdefs.h" 
2721 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
2722 { (eval echo configure
:2723: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
2723 ac_err
=`grep -v '^ *+' conftest.out` 
2724 if test -z "$ac_err"; then 
2726   eval "ac_cv_header_$ac_safe=yes" 
2729   echo "configure: failed program was:" >&5 
2730   cat conftest.
$ac_ext >&5 
2732   eval "ac_cv_header_$ac_safe=no" 
2736 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 
2737   echo "$ac_t""yes" 1>&6 
2738     ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 
2739   cat >> confdefs.h 
<<EOF 
2740 #define $ac_tr_hdr 1 
2744   echo "$ac_t""no" 1>&6 
2748 for ac_hdr 
in fnmatch.h
 
2750 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 
2751 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 
2752 echo "configure:2753: checking for $ac_hdr" >&5 
2753 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 
2754   echo $ac_n "(cached) $ac_c" 1>&6 
2756   cat > conftest.
$ac_ext <<EOF 
2757 #line 2758 "configure" 
2758 #include "confdefs.h" 
2761 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
2762 { (eval echo configure
:2763: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
2763 ac_err
=`grep -v '^ *+' conftest.out` 
2764 if test -z "$ac_err"; then 
2766   eval "ac_cv_header_$ac_safe=yes" 
2769   echo "configure: failed program was:" >&5 
2770   cat conftest.
$ac_ext >&5 
2772   eval "ac_cv_header_$ac_safe=no" 
2776 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 
2777   echo "$ac_t""yes" 1>&6 
2778     ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 
2779   cat >> confdefs.h 
<<EOF 
2780 #define $ac_tr_hdr 1 
2784   echo "$ac_t""no" 1>&6 
2788 for ac_hdr 
in linux
/joystick.h
 
2790 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 
2791 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 
2792 echo "configure:2793: checking for $ac_hdr" >&5 
2793 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 
2794   echo $ac_n "(cached) $ac_c" 1>&6 
2796   cat > conftest.
$ac_ext <<EOF 
2797 #line 2798 "configure" 
2798 #include "confdefs.h" 
2801 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
2802 { (eval echo configure
:2803: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
2803 ac_err
=`grep -v '^ *+' conftest.out` 
2804 if test -z "$ac_err"; then 
2806   eval "ac_cv_header_$ac_safe=yes" 
2809   echo "configure: failed program was:" >&5 
2810   cat conftest.
$ac_ext >&5 
2812   eval "ac_cv_header_$ac_safe=no" 
2816 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 
2817   echo "$ac_t""yes" 1>&6 
2818     ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 
2819   cat >> confdefs.h 
<<EOF 
2820 #define $ac_tr_hdr 1 
2824   echo "$ac_t""no" 1>&6 
2829 if test "$ac_cv_header_linux_joystick_h" = "yes"; then 
2830   GTK_JOYSTICK
="gtk/joystick.cpp" 
2834 echo $ac_n "checking for vprintf""... $ac_c" 1>&6 
2835 echo "configure:2836: checking for vprintf" >&5 
2836 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then 
2837   echo $ac_n "(cached) $ac_c" 1>&6 
2839   cat > conftest.
$ac_ext <<EOF 
2840 #line 2841 "configure" 
2841 #include "confdefs.h" 
2842 /* System header to define __stub macros and hopefully few prototypes, 
2843     which can conflict with char vprintf(); below.  */ 
2845 /* Override any gcc2 internal prototype to avoid an error.  */ 
2846 /* We use char because int might match the return type of a gcc2 
2847     builtin and then its argument prototype would still apply.  */ 
2852 /* The GNU C library defines this for functions which it implements 
2853     to always fail with ENOSYS.  Some functions are actually named 
2854     something starting with __ and the normal name is an alias.  */ 
2855 #if defined (__stub_vprintf) || defined (__stub___vprintf) 
2863 if { (eval echo configure
:2864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then 
2865   eval "ac_cv_func_vprintf=yes" 
2867   echo "configure: failed program was:" >&5 
2868   cat conftest.
$ac_ext >&5 
2870   eval "ac_cv_func_vprintf=no" 
2875 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then 
2876   echo "$ac_t""yes" 1>&6 
2877   cat >> confdefs.h 
<<\EOF
 
2878 #define HAVE_VPRINTF 1 
2882   echo "$ac_t""no" 1>&6 
2885 if test "$ac_cv_func_vprintf" != yes; then 
2886 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 
2887 echo "configure:2888: checking for _doprnt" >&5 
2888 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then 
2889   echo $ac_n "(cached) $ac_c" 1>&6 
2891   cat > conftest.
$ac_ext <<EOF 
2892 #line 2893 "configure" 
2893 #include "confdefs.h" 
2894 /* System header to define __stub macros and hopefully few prototypes, 
2895     which can conflict with char _doprnt(); below.  */ 
2897 /* Override any gcc2 internal prototype to avoid an error.  */ 
2898 /* We use char because int might match the return type of a gcc2 
2899     builtin and then its argument prototype would still apply.  */ 
2904 /* The GNU C library defines this for functions which it implements 
2905     to always fail with ENOSYS.  Some functions are actually named 
2906     something starting with __ and the normal name is an alias.  */ 
2907 #if defined (__stub__doprnt) || defined (__stub____doprnt) 
2915 if { (eval echo configure
:2916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then 
2917   eval "ac_cv_func__doprnt=yes" 
2919   echo "configure: failed program was:" >&5 
2920   cat conftest.
$ac_ext >&5 
2922   eval "ac_cv_func__doprnt=no" 
2927 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then 
2928   echo "$ac_t""yes" 1>&6 
2929   cat >> confdefs.h 
<<\EOF
 
2930 #define HAVE_DOPRNT 1 
2934   echo "$ac_t""no" 1>&6 
2939 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6 
2940 echo "configure:2941: checking for vsnprintf" >&5 
2941 if eval "test \"`echo '$''{'ac_cv_func_vsnprintf'+set}'`\" = set"; then 
2942   echo $ac_n "(cached) $ac_c" 1>&6 
2944   cat > conftest.
$ac_ext <<EOF 
2945 #line 2946 "configure" 
2946 #include "confdefs.h" 
2947 /* System header to define __stub macros and hopefully few prototypes, 
2948     which can conflict with char vsnprintf(); below.  */ 
2950 /* Override any gcc2 internal prototype to avoid an error.  */ 
2951 /* We use char because int might match the return type of a gcc2 
2952     builtin and then its argument prototype would still apply.  */ 
2957 /* The GNU C library defines this for functions which it implements 
2958     to always fail with ENOSYS.  Some functions are actually named 
2959     something starting with __ and the normal name is an alias.  */ 
2960 #if defined (__stub_vsnprintf) || defined (__stub___vsnprintf) 
2968 if { (eval echo configure
:2969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then 
2970   eval "ac_cv_func_vsnprintf=yes" 
2972   echo "configure: failed program was:" >&5 
2973   cat conftest.
$ac_ext >&5 
2975   eval "ac_cv_func_vsnprintf=no" 
2980 if eval "test \"`echo '$ac_cv_func_'vsnprintf`\" = yes"; then 
2981   echo "$ac_t""yes" 1>&6 
2984   echo "$ac_t""no" 1>&6 
2990 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 
2991 ac_cpp
='$CXXCPP $CPPFLAGS' 
2992 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 
2993 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 
2994 cross_compiling
=$ac_cv_prog_cxx_cross 
2996 for ac_hdr 
in iostream
 
2998 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 
2999 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 
3000 echo "configure:3001: checking for $ac_hdr" >&5 
3001 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 
3002   echo $ac_n "(cached) $ac_c" 1>&6 
3004   cat > conftest.
$ac_ext <<EOF 
3005 #line 3006 "configure" 
3006 #include "confdefs.h" 
3009 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
3010 { (eval echo configure
:3011: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
3011 ac_err
=`grep -v '^ *+' conftest.out` 
3012 if test -z "$ac_err"; then 
3014   eval "ac_cv_header_$ac_safe=yes" 
3017   echo "configure: failed program was:" >&5 
3018   cat conftest.
$ac_ext >&5 
3020   eval "ac_cv_header_$ac_safe=no" 
3024 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 
3025   echo "$ac_t""yes" 1>&6 
3026     ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 
3027   cat >> confdefs.h 
<<EOF 
3028 #define $ac_tr_hdr 1 
3032   echo "$ac_t""no" 1>&6 
3036 if test "x$HAVE_IOSTREAM" = "x" ; then 
3037   cat >> confdefs.h 
<<\EOF
 
3038 #define wxUSE_IOSTREAMH 1 
3043 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 
3044 ac_cpp
='$CPP $CPPFLAGS' 
3045 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 
3046 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 
3047 cross_compiling
=$ac_cv_prog_cc_cross 
3050 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 
3051 echo "configure:3052: checking for uid_t in sys/types.h" >&5 
3052 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then 
3053   echo $ac_n "(cached) $ac_c" 1>&6 
3055   cat > conftest.
$ac_ext <<EOF 
3056 #line 3057 "configure" 
3057 #include "confdefs.h" 
3058 #include <sys/types.h> 
3060 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
3061   egrep "uid_t" >/dev
/null 
2>&1; then 
3063   ac_cv_type_uid_t
=yes 
3072 echo "$ac_t""$ac_cv_type_uid_t" 1>&6 
3073 if test $ac_cv_type_uid_t = no
; then 
3074   cat >> confdefs.h 
<<\EOF
 
3078   cat >> confdefs.h 
<<\EOF
 
3084 echo $ac_n "checking type of array argument to getgroups""... $ac_c" 1>&6 
3085 echo "configure:3086: checking type of array argument to getgroups" >&5 
3086 if eval "test \"`echo '$''{'ac_cv_type_getgroups'+set}'`\" = set"; then 
3087   echo $ac_n "(cached) $ac_c" 1>&6 
3089   if test "$cross_compiling" = yes; then 
3090   ac_cv_type_getgroups
=cross
 
3092   cat > conftest.
$ac_ext <<EOF 
3093 #line 3094 "configure" 
3094 #include "confdefs.h" 
3096 /* Thanks to Mike Rendell for this test.  */ 
3097 #include <sys/types.h> 
3100 #define MAX(x, y) ((x) > (y) ? (x) : (y)) 
3105   union { gid_t gval; long lval; }  val; 
3108   for (i = 0; i < NGID; i++) 
3109     gidset[i] = val.gval; 
3110   n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1, 
3112   /* Exit non-zero if getgroups seems to require an array of ints.  This 
3113      happens when gid_t is short but getgroups modifies an array of ints.  */ 
3114   exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0); 
3118 if { (eval echo configure
:3119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest 
&& (.
/conftest
; exit) 2>/dev
/null
 
3120     ac_cv_type_getgroups
=gid_t
 
3122   echo "configure: failed program was:" >&5 
3123   cat conftest.
$ac_ext >&5 
3125   ac_cv_type_getgroups
=int
 
3130 if test $ac_cv_type_getgroups = cross
; then 
3131         cat > conftest.
$ac_ext <<EOF 
3132 #line 3133 "configure" 
3133 #include "confdefs.h" 
3136 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
3137   egrep "getgroups.*int.*gid_t" >/dev
/null 
2>&1; then 
3139   ac_cv_type_getgroups
=gid_t
 
3142   ac_cv_type_getgroups
=int
 
3149 echo "$ac_t""$ac_cv_type_getgroups" 1>&6 
3150 cat >> confdefs.h 
<<EOF 
3151 #define GETGROUPS_T $ac_cv_type_getgroups 
3155 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 
3156 echo "configure:3157: checking for mode_t" >&5 
3157 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then 
3158   echo $ac_n "(cached) $ac_c" 1>&6 
3160   cat > conftest.
$ac_ext <<EOF 
3161 #line 3162 "configure" 
3162 #include "confdefs.h" 
3163 #include <sys/types.h> 
3169 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
3170   egrep "mode_t[^a-zA-Z_0-9]" >/dev
/null 
2>&1; then 
3172   ac_cv_type_mode_t
=yes 
3175   ac_cv_type_mode_t
=no
 
3180 echo "$ac_t""$ac_cv_type_mode_t" 1>&6 
3181 if test $ac_cv_type_mode_t = no
; then 
3182   cat >> confdefs.h 
<<\EOF
 
3188 echo $ac_n "checking for off_t""... $ac_c" 1>&6 
3189 echo "configure:3190: checking for off_t" >&5 
3190 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then 
3191   echo $ac_n "(cached) $ac_c" 1>&6 
3193   cat > conftest.
$ac_ext <<EOF 
3194 #line 3195 "configure" 
3195 #include "confdefs.h" 
3196 #include <sys/types.h> 
3202 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
3203   egrep "off_t[^a-zA-Z_0-9]" >/dev
/null 
2>&1; then 
3205   ac_cv_type_off_t
=yes 
3213 echo "$ac_t""$ac_cv_type_off_t" 1>&6 
3214 if test $ac_cv_type_off_t = no
; then 
3215   cat >> confdefs.h 
<<\EOF
 
3221 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 
3222 echo "configure:3223: checking for pid_t" >&5 
3223 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then 
3224   echo $ac_n "(cached) $ac_c" 1>&6 
3226   cat > conftest.
$ac_ext <<EOF 
3227 #line 3228 "configure" 
3228 #include "confdefs.h" 
3229 #include <sys/types.h> 
3235 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
3236   egrep "pid_t[^a-zA-Z_0-9]" >/dev
/null 
2>&1; then 
3238   ac_cv_type_pid_t
=yes 
3246 echo "$ac_t""$ac_cv_type_pid_t" 1>&6 
3247 if test $ac_cv_type_pid_t = no
; then 
3248   cat >> confdefs.h 
<<\EOF
 
3254 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 
3255 echo "configure:3256: checking return type of signal handlers" >&5 
3256 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then 
3257   echo $ac_n "(cached) $ac_c" 1>&6 
3259   cat > conftest.
$ac_ext <<EOF 
3260 #line 3261 "configure" 
3261 #include "confdefs.h" 
3262 #include <sys/types.h> 
3268 extern "C" void (*signal (int, void (*)(int)))(int); 
3270 void (*signal ()) (); 
3277 if { (eval echo configure
:3278: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
3279   ac_cv_type_signal
=void
 
3281   echo "configure: failed program was:" >&5 
3282   cat conftest.
$ac_ext >&5 
3284   ac_cv_type_signal
=int
 
3289 echo "$ac_t""$ac_cv_type_signal" 1>&6 
3290 cat >> confdefs.h 
<<EOF 
3291 #define RETSIGTYPE $ac_cv_type_signal 
3295 echo $ac_n "checking for size_t""... $ac_c" 1>&6 
3296 echo "configure:3297: checking for size_t" >&5 
3297 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 
3298   echo $ac_n "(cached) $ac_c" 1>&6 
3300   cat > conftest.
$ac_ext <<EOF 
3301 #line 3302 "configure" 
3302 #include "confdefs.h" 
3303 #include <sys/types.h> 
3309 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
3310   egrep "size_t[^a-zA-Z_0-9]" >/dev
/null 
2>&1; then 
3312   ac_cv_type_size_t
=yes 
3315   ac_cv_type_size_t
=no
 
3320 echo "$ac_t""$ac_cv_type_size_t" 1>&6 
3321 if test $ac_cv_type_size_t = no
; then 
3322   cat >> confdefs.h 
<<\EOF
 
3323 #define size_t unsigned 
3328 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 
3329 echo "configure:3330: checking for uid_t in sys/types.h" >&5 
3330 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then 
3331   echo $ac_n "(cached) $ac_c" 1>&6 
3333   cat > conftest.
$ac_ext <<EOF 
3334 #line 3335 "configure" 
3335 #include "confdefs.h" 
3336 #include <sys/types.h> 
3338 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
3339   egrep "uid_t" >/dev
/null 
2>&1; then 
3341   ac_cv_type_uid_t
=yes 
3350 echo "$ac_t""$ac_cv_type_uid_t" 1>&6 
3351 if test $ac_cv_type_uid_t = no
; then 
3352   cat >> confdefs.h 
<<\EOF
 
3356   cat >> confdefs.h 
<<\EOF
 
3364 echo $ac_n "checking whether stat file-mode macros are broken""... $ac_c" 1>&6 
3365 echo "configure:3366: checking whether stat file-mode macros are broken" >&5 
3366 if eval "test \"`echo '$''{'ac_cv_header_stat_broken'+set}'`\" = set"; then 
3367   echo $ac_n "(cached) $ac_c" 1>&6 
3369   cat > conftest.
$ac_ext <<EOF 
3370 #line 3371 "configure" 
3371 #include "confdefs.h" 
3372 #include <sys/types.h> 
3373 #include <sys/stat.h> 
3375 #if defined(S_ISBLK) && defined(S_IFDIR) 
3376 # if S_ISBLK (S_IFDIR) 
3381 #if defined(S_ISBLK) && defined(S_IFCHR) 
3382 # if S_ISBLK (S_IFCHR) 
3387 #if defined(S_ISLNK) && defined(S_IFREG) 
3388 # if S_ISLNK (S_IFREG) 
3393 #if defined(S_ISSOCK) && defined(S_IFREG) 
3394 # if S_ISSOCK (S_IFREG) 
3400 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
3401   egrep "You lose" >/dev
/null 
2>&1; then 
3403   ac_cv_header_stat_broken
=yes 
3406   ac_cv_header_stat_broken
=no
 
3412 echo "$ac_t""$ac_cv_header_stat_broken" 1>&6 
3413 if test $ac_cv_header_stat_broken = yes; then 
3414   cat >> confdefs.h 
<<\EOF
 
3415 #define STAT_MACROS_BROKEN 1 
3420 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 
3421 echo "configure:3422: checking whether time.h and sys/time.h may both be included" >&5 
3422 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 
3423   echo $ac_n "(cached) $ac_c" 1>&6 
3425   cat > conftest.
$ac_ext <<EOF 
3426 #line 3427 "configure" 
3427 #include "confdefs.h" 
3428 #include <sys/types.h> 
3429 #include <sys/time.h> 
3435 if { (eval echo configure
:3436: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
3437   ac_cv_header_time
=yes 
3439   echo "configure: failed program was:" >&5 
3440   cat conftest.
$ac_ext >&5 
3442   ac_cv_header_time
=no
 
3447 echo "$ac_t""$ac_cv_header_time" 1>&6 
3448 if test $ac_cv_header_time = yes; then 
3449   cat >> confdefs.h 
<<\EOF
 
3450 #define TIME_WITH_SYS_TIME 1 
3455 echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6 
3456 echo "configure:3457: checking for st_blksize in struct stat" >&5 
3457 if eval "test \"`echo '$''{'ac_cv_struct_st_blksize'+set}'`\" = set"; then 
3458   echo $ac_n "(cached) $ac_c" 1>&6 
3460   cat > conftest.
$ac_ext <<EOF 
3461 #line 3462 "configure" 
3462 #include "confdefs.h" 
3463 #include <sys/types.h> 
3464 #include <sys/stat.h> 
3466 struct stat s; s.st_blksize; 
3469 if { (eval echo configure
:3470: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
3471   ac_cv_struct_st_blksize
=yes 
3473   echo "configure: failed program was:" >&5 
3474   cat conftest.
$ac_ext >&5 
3476   ac_cv_struct_st_blksize
=no
 
3481 echo "$ac_t""$ac_cv_struct_st_blksize" 1>&6 
3482 if test $ac_cv_struct_st_blksize = yes; then 
3483   cat >> confdefs.h 
<<\EOF
 
3484 #define HAVE_ST_BLKSIZE 1 
3489 echo $ac_n "checking for st_blocks in struct stat""... $ac_c" 1>&6 
3490 echo "configure:3491: checking for st_blocks in struct stat" >&5 
3491 if eval "test \"`echo '$''{'ac_cv_struct_st_blocks'+set}'`\" = set"; then 
3492   echo $ac_n "(cached) $ac_c" 1>&6 
3494   cat > conftest.
$ac_ext <<EOF 
3495 #line 3496 "configure" 
3496 #include "confdefs.h" 
3497 #include <sys/types.h> 
3498 #include <sys/stat.h> 
3500 struct stat s; s.st_blocks; 
3503 if { (eval echo configure
:3504: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
3505   ac_cv_struct_st_blocks
=yes 
3507   echo "configure: failed program was:" >&5 
3508   cat conftest.
$ac_ext >&5 
3510   ac_cv_struct_st_blocks
=no
 
3515 echo "$ac_t""$ac_cv_struct_st_blocks" 1>&6 
3516 if test $ac_cv_struct_st_blocks = yes; then 
3517   cat >> confdefs.h 
<<\EOF
 
3518 #define HAVE_ST_BLOCKS 1 
3522   LIBOBJS
="$LIBOBJS fileblocks.o" 
3525 echo $ac_n "checking for st_rdev in struct stat""... $ac_c" 1>&6 
3526 echo "configure:3527: checking for st_rdev in struct stat" >&5 
3527 if eval "test \"`echo '$''{'ac_cv_struct_st_rdev'+set}'`\" = set"; then 
3528   echo $ac_n "(cached) $ac_c" 1>&6 
3530   cat > conftest.
$ac_ext <<EOF 
3531 #line 3532 "configure" 
3532 #include "confdefs.h" 
3533 #include <sys/types.h> 
3534 #include <sys/stat.h> 
3536 struct stat s; s.st_rdev; 
3539 if { (eval echo configure
:3540: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
3541   ac_cv_struct_st_rdev
=yes 
3543   echo "configure: failed program was:" >&5 
3544   cat conftest.
$ac_ext >&5 
3546   ac_cv_struct_st_rdev
=no
 
3551 echo "$ac_t""$ac_cv_struct_st_rdev" 1>&6 
3552 if test $ac_cv_struct_st_rdev = yes; then 
3553   cat >> confdefs.h 
<<\EOF
 
3554 #define HAVE_ST_RDEV 1 
3559 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 
3560 echo "configure:3561: checking whether struct tm is in sys/time.h or time.h" >&5 
3561 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then 
3562   echo $ac_n "(cached) $ac_c" 1>&6 
3564   cat > conftest.
$ac_ext <<EOF 
3565 #line 3566 "configure" 
3566 #include "confdefs.h" 
3567 #include <sys/types.h> 
3570 struct tm *tp; tp->tm_sec; 
3573 if { (eval echo configure
:3574: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
3575   ac_cv_struct_tm
=time.h
 
3577   echo "configure: failed program was:" >&5 
3578   cat conftest.
$ac_ext >&5 
3580   ac_cv_struct_tm
=sys
/time.h
 
3585 echo "$ac_t""$ac_cv_struct_tm" 1>&6 
3586 if test $ac_cv_struct_tm = sys
/time.h
; then 
3587   cat >> confdefs.h 
<<\EOF
 
3588 #define TM_IN_SYS_TIME 1 
3593 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 
3594 echo "configure:3595: checking for tm_zone in struct tm" >&5 
3595 if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then 
3596   echo $ac_n "(cached) $ac_c" 1>&6 
3598   cat > conftest.
$ac_ext <<EOF 
3599 #line 3600 "configure" 
3600 #include "confdefs.h" 
3601 #include <sys/types.h> 
3602 #include <$ac_cv_struct_tm> 
3604 struct tm tm; tm.tm_zone; 
3607 if { (eval echo configure
:3608: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
3609   ac_cv_struct_tm_zone
=yes 
3611   echo "configure: failed program was:" >&5 
3612   cat conftest.
$ac_ext >&5 
3614   ac_cv_struct_tm_zone
=no
 
3619 echo "$ac_t""$ac_cv_struct_tm_zone" 1>&6 
3620 if test "$ac_cv_struct_tm_zone" = yes; then 
3621   cat >> confdefs.h 
<<\EOF
 
3622 #define HAVE_TM_ZONE 1 
3626   echo $ac_n "checking for tzname""... $ac_c" 1>&6 
3627 echo "configure:3628: checking for tzname" >&5 
3628 if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then 
3629   echo $ac_n "(cached) $ac_c" 1>&6 
3631   cat > conftest.
$ac_ext <<EOF 
3632 #line 3633 "configure" 
3633 #include "confdefs.h" 
3635 #ifndef tzname /* For SGI.  */ 
3636 extern char *tzname[]; /* RS6000 and others reject char **tzname.  */ 
3642 if { (eval echo configure
:3643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then 
3644   ac_cv_var_tzname
=yes 
3646   echo "configure: failed program was:" >&5 
3647   cat conftest.
$ac_ext >&5 
3654 echo "$ac_t""$ac_cv_var_tzname" 1>&6 
3655   if test $ac_cv_var_tzname = yes; then 
3656     cat >> confdefs.h 
<<\EOF
 
3657 #define HAVE_TZNAME 1 
3665 echo $ac_n "checking for working const""... $ac_c" 1>&6 
3666 echo "configure:3667: checking for working const" >&5 
3667 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 
3668   echo $ac_n "(cached) $ac_c" 1>&6 
3670   cat > conftest.
$ac_ext <<EOF 
3671 #line 3672 "configure" 
3672 #include "confdefs.h" 
3676 /* Ultrix mips cc rejects this.  */ 
3677 typedef int charset[2]; const charset x; 
3678 /* SunOS 4.1.1 cc rejects this.  */ 
3679 char const *const *ccp; 
3681 /* NEC SVR4.0.2 mips cc rejects this.  */ 
3682 struct point {int x, y;}; 
3683 static struct point const zero = {0,0}; 
3684 /* AIX XL C 1.02.0.0 rejects this. 
3685    It does not let you subtract one const X* pointer from another in an arm 
3686    of an if-expression whose if-part is not a constant expression */ 
3687 const char *g = "string"; 
3688 ccp = &g + (g ? g-g : 0); 
3689 /* HPUX 7.0 cc rejects these. */ 
3692 ccp = (char const *const *) p; 
3693 { /* SCO 3.2v4 cc rejects this.  */ 
3695   char const *s = 0 ? (char *) 0 : (char const *) 0; 
3699 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */ 
3701   const int *foo = &x[0]; 
3704 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 
3705   typedef const int *iptr; 
3709 { /* AIX XL C 1.02.0.0 rejects this saying 
3710      "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 
3711   struct s { int j; const int *ap[3]; }; 
3712   struct s *b; b->j = 5; 
3714 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 
3720 if { (eval echo configure
:3721: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
3724   echo "configure: failed program was:" >&5 
3725   cat conftest.
$ac_ext >&5 
3732 echo "$ac_t""$ac_cv_c_const" 1>&6 
3733 if test $ac_cv_c_const = no
; then 
3734   cat >> confdefs.h 
<<\EOF
 
3740 echo $ac_n "checking for inline""... $ac_c" 1>&6 
3741 echo "configure:3742: checking for inline" >&5 
3742 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then 
3743   echo $ac_n "(cached) $ac_c" 1>&6 
3746 for ac_kw 
in inline __inline__ __inline
; do 
3747   cat > conftest.
$ac_ext <<EOF 
3748 #line 3749 "configure" 
3749 #include "confdefs.h" 
3755 if { (eval echo configure
:3756: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
3757   ac_cv_c_inline
=$ac_kw; break 
3759   echo "configure: failed program was:" >&5 
3760   cat conftest.
$ac_ext >&5 
3767 echo "$ac_t""$ac_cv_c_inline" 1>&6 
3768 case "$ac_cv_c_inline" in 
3770   no
) cat >> confdefs.h 
<<\EOF
 
3774   *)  cat >> confdefs.h 
<<EOF 
3775 #define inline $ac_cv_c_inline 
3780 echo $ac_n "checking whether char is unsigned""... $ac_c" 1>&6 
3781 echo "configure:3782: checking whether char is unsigned" >&5 
3782 if eval "test \"`echo '$''{'ac_cv_c_char_unsigned'+set}'`\" = set"; then 
3783   echo $ac_n "(cached) $ac_c" 1>&6 
3785   if test "$GCC" = yes; then 
3786   # GCC predefines this symbol on systems where it applies. 
3787 cat > conftest.
$ac_ext <<EOF 
3788 #line 3789 "configure" 
3789 #include "confdefs.h" 
3790 #ifdef __CHAR_UNSIGNED__ 
3795 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
3796   egrep "yes" >/dev
/null 
2>&1; then 
3798   ac_cv_c_char_unsigned
=yes 
3801   ac_cv_c_char_unsigned
=no
 
3806 if test "$cross_compiling" = yes; then 
3807     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } 
3809   cat > conftest.
$ac_ext <<EOF 
3810 #line 3811 "configure" 
3811 #include "confdefs.h" 
3812 /* volatile prevents gcc2 from optimizing the test away on sparcs.  */ 
3813 #if !defined(__STDC__) || __STDC__ != 1 
3817   volatile char c = 255; exit(c < 0); 
3820 if { (eval echo configure
:3821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest 
&& (.
/conftest
; exit) 2>/dev
/null
 
3822   ac_cv_c_char_unsigned
=yes 
3824   echo "configure: failed program was:" >&5 
3825   cat conftest.
$ac_ext >&5 
3827   ac_cv_c_char_unsigned
=no
 
3835 echo "$ac_t""$ac_cv_c_char_unsigned" 1>&6 
3836 if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then 
3837   cat >> confdefs.h 
<<\EOF
 
3838 #define __CHAR_UNSIGNED__ 1 
3843 echo $ac_n "checking for long double""... $ac_c" 1>&6 
3844 echo "configure:3845: checking for long double" >&5 
3845 if eval "test \"`echo '$''{'ac_cv_c_long_double'+set}'`\" = set"; then 
3846   echo $ac_n "(cached) $ac_c" 1>&6 
3848   if test "$GCC" = yes; then 
3849   ac_cv_c_long_double
=yes 
3851 if test "$cross_compiling" = yes; then 
3852     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } 
3854   cat > conftest.
$ac_ext <<EOF 
3855 #line 3856 "configure" 
3856 #include "confdefs.h" 
3858 /* The Stardent Vistra knows sizeof(long double), but does not support it.  */ 
3859 long double foo = 0.0; 
3860 /* On Ultrix 4.3 cc, long double is 4 and double is 8.  */ 
3861 exit(sizeof(long double) < sizeof(double)); } 
3863 if { (eval echo configure
:3864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest 
&& (.
/conftest
; exit) 2>/dev
/null
 
3865   ac_cv_c_long_double
=yes 
3867   echo "configure: failed program was:" >&5 
3868   cat conftest.
$ac_ext >&5 
3870   ac_cv_c_long_double
=no
 
3878 echo "$ac_t""$ac_cv_c_long_double" 1>&6 
3879 if test $ac_cv_c_long_double = yes; then 
3880   cat >> confdefs.h 
<<\EOF
 
3881 #define HAVE_LONG_DOUBLE 1 
3887 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 
3888 echo "configure:3889: checking whether byte ordering is bigendian" >&5 
3889 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then 
3890   echo $ac_n "(cached) $ac_c" 1>&6 
3892   ac_cv_c_bigendian
=unknown
 
3893 # See if sys/param.h defines the BYTE_ORDER macro. 
3894 cat > conftest.
$ac_ext <<EOF 
3895 #line 3896 "configure" 
3896 #include "confdefs.h" 
3897 #include <sys/types.h> 
3898 #include <sys/param.h> 
3901 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN 
3906 if { (eval echo configure
:3907: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
3908   # It does; now see whether it defined to BIG_ENDIAN or not. 
3909 cat > conftest.
$ac_ext <<EOF 
3910 #line 3911 "configure" 
3911 #include "confdefs.h" 
3912 #include <sys/types.h> 
3913 #include <sys/param.h> 
3916 #if BYTE_ORDER != BIG_ENDIAN 
3921 if { (eval echo configure
:3922: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
3923   ac_cv_c_bigendian
=yes 
3925   echo "configure: failed program was:" >&5 
3926   cat conftest.
$ac_ext >&5 
3928   ac_cv_c_bigendian
=no
 
3932   echo "configure: failed program was:" >&5 
3933   cat conftest.
$ac_ext >&5 
3936 if test $ac_cv_c_bigendian = unknown
; then 
3937 if test "$cross_compiling" = yes; then 
3938     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } 
3940   cat > conftest.
$ac_ext <<EOF 
3941 #line 3942 "configure" 
3942 #include "confdefs.h" 
3944   /* Are we little or big endian?  From Harbison&Steele.  */ 
3948     char c[sizeof (long)]; 
3951   exit (u.c[sizeof (long) - 1] == 1); 
3954 if { (eval echo configure
:3955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest 
&& (.
/conftest
; exit) 2>/dev
/null
 
3956   ac_cv_c_bigendian
=no
 
3958   echo "configure: failed program was:" >&5 
3959   cat conftest.
$ac_ext >&5 
3961   ac_cv_c_bigendian
=yes 
3969 echo "$ac_t""$ac_cv_c_bigendian" 1>&6 
3970 if test $ac_cv_c_bigendian = yes; then 
3971   cat >> confdefs.h 
<<\EOF
 
3972 #define WORDS_BIGENDIAN 1 
3978 echo $ac_n "checking size of int *""... $ac_c" 1>&6 
3979 echo "configure:3980: checking size of int *" >&5 
3980 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then 
3981   echo $ac_n "(cached) $ac_c" 1>&6 
3983   if test "$cross_compiling" = yes; then 
3984     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } 
3986   cat > conftest.
$ac_ext <<EOF 
3987 #line 3988 "configure" 
3988 #include "confdefs.h" 
3992   FILE *f=fopen("conftestval", "w"); 
3994   fprintf(f, "%d\n", sizeof(int *)); 
3998 if { (eval echo configure
:3999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest 
&& (.
/conftest
; exit) 2>/dev
/null
 
4000   ac_cv_sizeof_int_p
=`cat conftestval` 
4002   echo "configure: failed program was:" >&5 
4003   cat conftest.
$ac_ext >&5 
4005   ac_cv_sizeof_int_p
=0 
4011 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6 
4012 cat >> confdefs.h 
<<EOF 
4013 #define SIZEOF_INT_P $ac_cv_sizeof_int_p 
4017 echo $ac_n "checking size of int""... $ac_c" 1>&6 
4018 echo "configure:4019: checking size of int" >&5 
4019 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then 
4020   echo $ac_n "(cached) $ac_c" 1>&6 
4022   if test "$cross_compiling" = yes; then 
4023     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } 
4025   cat > conftest.
$ac_ext <<EOF 
4026 #line 4027 "configure" 
4027 #include "confdefs.h" 
4031   FILE *f=fopen("conftestval", "w"); 
4033   fprintf(f, "%d\n", sizeof(int)); 
4037 if { (eval echo configure
:4038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest 
&& (.
/conftest
; exit) 2>/dev
/null
 
4039   ac_cv_sizeof_int
=`cat conftestval` 
4041   echo "configure: failed program was:" >&5 
4042   cat conftest.
$ac_ext >&5 
4050 echo "$ac_t""$ac_cv_sizeof_int" 1>&6 
4051 cat >> confdefs.h 
<<EOF 
4052 #define SIZEOF_INT $ac_cv_sizeof_int 
4056 echo $ac_n "checking size of long""... $ac_c" 1>&6 
4057 echo "configure:4058: checking size of long" >&5 
4058 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then 
4059   echo $ac_n "(cached) $ac_c" 1>&6 
4061   if test "$cross_compiling" = yes; then 
4062     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } 
4064   cat > conftest.
$ac_ext <<EOF 
4065 #line 4066 "configure" 
4066 #include "confdefs.h" 
4070   FILE *f=fopen("conftestval", "w"); 
4072   fprintf(f, "%d\n", sizeof(long)); 
4076 if { (eval echo configure
:4077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest 
&& (.
/conftest
; exit) 2>/dev
/null
 
4078   ac_cv_sizeof_long
=`cat conftestval` 
4080   echo "configure: failed program was:" >&5 
4081   cat conftest.
$ac_ext >&5 
4089 echo "$ac_t""$ac_cv_sizeof_long" 1>&6 
4090 cat >> confdefs.h 
<<EOF 
4091 #define SIZEOF_LONG $ac_cv_sizeof_long 
4099 echo $ac_n "checking for long file names""... $ac_c" 1>&6 
4100 echo "configure:4101: checking for long file names" >&5 
4101 if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then 
4102   echo $ac_n "(cached) $ac_c" 1>&6 
4104   ac_cv_sys_long_file_names
=yes 
4105 # Test for long file names in all the places we know might matter: 
4106 #      .                the current directory, where building will happen 
4107 #      $prefix/lib      where we will be installing things 
4108 #      $exec_prefix/lib likewise 
4109 # eval it to expand exec_prefix. 
4110 #      $TMPDIR          if set, where it might want to write temporary files 
4111 # if $TMPDIR is not set: 
4112 #      /tmp             where it might want to write temporary files 
4115 if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then 
4116   ac_tmpdirs
="$TMPDIR" 
4118   ac_tmpdirs
='/tmp /var/tmp /usr/tmp' 
4120 for ac_dir 
in  . 
$ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do 
4121   test -d $ac_dir || continue 
4122   test -w $ac_dir || continue # It is less confusing to not echo anything here. 
4123   (echo 1 > $ac_dir/conftest9012345
) 2>/dev
/null
 
4124   (echo 2 > $ac_dir/conftest9012346
) 2>/dev
/null
 
4125   val
=`cat $ac_dir/conftest9012345 2>/dev/null` 
4126   if test ! -f $ac_dir/conftest9012345 
|| test "$val" != 1; then 
4127     ac_cv_sys_long_file_names
=no
 
4128     rm -f $ac_dir/conftest9012345 
$ac_dir/conftest9012346 
2>/dev
/null
 
4131   rm -f $ac_dir/conftest9012345 
$ac_dir/conftest9012346 
2>/dev
/null
 
4135 echo "$ac_t""$ac_cv_sys_long_file_names" 1>&6 
4136 if test $ac_cv_sys_long_file_names = yes; then 
4137   cat >> confdefs.h 
<<\EOF
 
4138 #define HAVE_LONG_FILE_NAMES 1 
4146 for ac_prog 
in 'bison -y' byacc
 
4148 # Extract the first word of "$ac_prog", so it can be a program name with args. 
4149 set dummy 
$ac_prog; ac_word
=$2 
4150 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
4151 echo "configure:4152: checking for $ac_word" >&5 
4152 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then 
4153   echo $ac_n "(cached) $ac_c" 1>&6 
4155   if test -n "$YACC"; then 
4156   ac_cv_prog_YACC
="$YACC" # Let the user override the test. 
4158   IFS
="${IFS=   }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:" 
4159   for ac_dir 
in $PATH; do 
4160     test -z "$ac_dir" && ac_dir
=.
 
4161     if test -f $ac_dir/$ac_word; then 
4162       ac_cv_prog_YACC
="$ac_prog" 
4169 YACC
="$ac_cv_prog_YACC" 
4170 if test -n "$YACC"; then 
4171   echo "$ac_t""$YACC" 1>&6 
4173   echo "$ac_t""no" 1>&6 
4176 test -n "$YACC" && break 
4178 test -n "$YACC" || YACC
="yacc" 
4181 # Extract the first word of "flex", so it can be a program name with args. 
4182 set dummy flex
; ac_word
=$2 
4183 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
4184 echo "configure:4185: checking for $ac_word" >&5 
4185 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then 
4186   echo $ac_n "(cached) $ac_c" 1>&6 
4188   if test -n "$LEX"; then 
4189   ac_cv_prog_LEX
="$LEX" # Let the user override the test. 
4191   IFS
="${IFS=   }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:" 
4192   for ac_dir 
in $PATH; do 
4193     test -z "$ac_dir" && ac_dir
=.
 
4194     if test -f $ac_dir/$ac_word; then 
4195       ac_cv_prog_LEX
="flex" 
4200   test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex" 
4203 LEX
="$ac_cv_prog_LEX" 
4204 if test -n "$LEX"; then 
4205   echo "$ac_t""$LEX" 1>&6 
4207   echo "$ac_t""no" 1>&6 
4210 if test -z "$LEXLIB" 
4216   echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6 
4217 echo "configure:4218: checking for yywrap in -l$ac_lib" >&5 
4218 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'` 
4219 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
4220   echo $ac_n "(cached) $ac_c" 1>&6 
4222   ac_save_LIBS
="$LIBS" 
4223 LIBS
="-l$ac_lib  $LIBS" 
4224 cat > conftest.
$ac_ext <<EOF 
4225 #line 4226 "configure" 
4226 #include "confdefs.h" 
4227 /* Override any gcc2 internal prototype to avoid an error.  */ 
4228 /* We use char because int might match the return type of a gcc2 
4229     builtin and then its argument prototype would still apply.  */ 
4236 if { (eval echo configure
:4237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then 
4238   eval "ac_cv_lib_$ac_lib_var=yes" 
4240   echo "configure: failed program was:" >&5 
4241   cat conftest.
$ac_ext >&5 
4243   eval "ac_cv_lib_$ac_lib_var=no" 
4246 LIBS
="$ac_save_LIBS" 
4249 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 
4250   echo "$ac_t""yes" 1>&6 
4253   echo "$ac_t""no" 1>&6 
4258 echo $ac_n "checking lex output file root""... $ac_c" 1>&6 
4259 echo "configure:4260: checking lex output file root" >&5 
4260 if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then 
4261   echo $ac_n "(cached) $ac_c" 1>&6 
4263   # The minimal lex program is just a single line: %%.  But some broken lexes 
4264 # (Solaris, I think it was) want two %% lines, so accommodate them. 
4267 if test -f lex.yy.c
; then 
4268   ac_cv_prog_lex_root
=lex.yy
 
4269 elif test -f lexyy.c
; then 
4270   ac_cv_prog_lex_root
=lexyy
 
4272   { echo "configure: error: cannot find output from $LEX; giving up" 1>&2; exit 1; } 
4276 echo "$ac_t""$ac_cv_prog_lex_root" 1>&6 
4277 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root 
4279 echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6 
4280 echo "configure:4281: checking whether yytext is a pointer" >&5 
4281 if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then 
4282   echo $ac_n "(cached) $ac_c" 1>&6 
4284   # POSIX says lex can declare yytext either as a pointer or an array; the 
4285 # default is implementation-dependent. Figure out which it is, since 
4286 # not all implementations provide the %pointer and %array declarations. 
4287 ac_cv_prog_lex_yytext_pointer
=no
 
4288 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
 
4289 ac_save_LIBS
="$LIBS" 
4290 LIBS
="$LIBS $LEXLIB" 
4291 cat > conftest.
$ac_ext <<EOF 
4292 #line 4293 "configure" 
4293 #include "confdefs.h" 
4294 `cat $LEX_OUTPUT_ROOT.c` 
4299 if { (eval echo configure
:4300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then 
4301   ac_cv_prog_lex_yytext_pointer
=yes 
4303   echo "configure: failed program was:" >&5 
4304   cat conftest.
$ac_ext >&5 
4307 LIBS
="$ac_save_LIBS" 
4308 rm -f "${LEX_OUTPUT_ROOT}.c" 
4312 echo "$ac_t""$ac_cv_prog_lex_yytext_pointer" 1>&6 
4313 if test $ac_cv_prog_lex_yytext_pointer = yes; then 
4314   cat >> confdefs.h 
<<\EOF
 
4315 #define YYTEXT_POINTER 1 
4322 CHECK_INCLUDE
="-I/usr/include $X_CFLAGS" 
4323 CHECK_LIB
="-L/lib -L/usr/lib $X_LIBS" 
4327 # Make sure we can run config.sub. 
4328 if $ac_config_sub sun4 
>/dev
/null 
2>&1; then : 
4329 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } 
4332 echo $ac_n "checking host system type""... $ac_c" 1>&6 
4333 echo "configure:4334: checking host system type" >&5 
4336 case "$host_alias" in 
4340     if host_alias
=`$ac_config_guess`; then : 
4341     else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } 
4343   *) host_alias
=$nonopt ;; 
4347 host=`$ac_config_sub $host_alias` 
4348 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 
4349 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 
4350 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 
4351 echo "$ac_t""$host" 1>&6 
4354 configuration
=$host_alias 
4377 cat >> confdefs.h 
<<\EOF
 
4381 case "${canonical}" in 
4384     cat >> confdefs.h 
<<\EOF
 
4391     cat >> confdefs.h 
<<\EOF
 
4396     if test "x$TMP" = "xalpha" 
4399       cat >> confdefs.h 
<<\EOF
 
4405   *-*-irix5* | *-*-irix6* )  
4408     cat >> confdefs.h 
<<\EOF
 
4412     cat >> confdefs.h 
<<\EOF
 
4421     cat >> confdefs.h 
<<\EOF
 
4425     cat >> confdefs.h 
<<\EOF
 
4426 #define __SOLARIS__ 1 
4429     cat >> confdefs.h 
<<\EOF
 
4438     cat >> confdefs.h 
<<\EOF
 
4442     cat >> confdefs.h 
<<\EOF
 
4446     cat >> confdefs.h 
<<\EOF
 
4451   *-*-freebsd* | *-*-netbsd*) 
4454     cat >> confdefs.h 
<<\EOF
 
4455 #define __FREEBSD__ 1 
4458     cat >> confdefs.h 
<<\EOF
 
4466     cat >> confdefs.h 
<<\EOF
 
4470     cat >> confdefs.h 
<<\EOF
 
4478     cat >> confdefs.h 
<<\EOF
 
4482     cat >> confdefs.h 
<<\EOF
 
4490     cat >> confdefs.h 
<<\EOF
 
4494     cat >> confdefs.h 
<<\EOF
 
4503     cat >> confdefs.h 
<<\EOF
 
4507     cat >> confdefs.h 
<<\EOF
 
4511     cat >> confdefs.h 
<<\EOF
 
4517     { echo "configure: error: I don't know your system type." 1>&2; exit 1; } 
4522 rm -f ${OSTYPE}.system.cache.tmp
 
4523 touch ${OSTYPE}.system.cache.tmp
 
4524 touch ${OSTYPE}.system.cache
 
4529 DEFAULT_wxUSE_MOTIF
=0 
4531 DEFAULT_wxUSE_THREADS
=1 
4533 DEFAULT_wxUSE_SHARED
=1 
4534 DEFAULT_wxUSE_OPTIMISE
=1 
4535 DEFAULT_wxUSE_PROFILE
=0 
4536 DEFAULT_wxUSE_DEBUG_FLAG
=0 
4537 DEFAULT_wxUSE_DEBUG_INFO
=0 
4538 DEFAULT_wxUSE_MEM_TRACING
=0 
4539 DEFAULT_wxUSE_DMALLOC
=0 
4540 DEFAULT_wxUSE_APPLE_IEEE
=1 
4541 DEFAULT_wxUSE_IOSTREAMH
=1 
4543 DEFAULT_wxUSE_ZLIB
=1 
4544 DEFAULT_wxUSE_LIBPNG
=1 
4545 DEFAULT_wxUSE_ODBC
=0 
4547 DEFAULT_wxUSE_COMBOBOX
=1 
4548 DEFAULT_wxUSE_GAUGE
=1 
4549 DEFAULT_wxUSE_SCROLLBAR
=1 
4550 DEFAULT_wxUSE_LISTCTRL
=1 
4551 DEFAULT_wxUSE_TREECTRL
=1 
4552 DEFAULT_wxUSE_GRID
=1 
4553 DEFAULT_wxUSE_TAB_DIALOG
=1 
4554 DEFAULT_wxUSE_NOTEBOOK
=1 
4556 DEFAULT_wxUSE_TIMEDATE
=1 
4557 DEFAULT_wxUSE_FRACTION
=1 
4559 DEFAULT_wxUSE_INTL
=1 
4560 DEFAULT_wxUSE_CONFIG
=1 
4561 DEFAULT_wxUSE_STREAMS
=1 
4562 DEFAULT_wxUSE_SERIAL
=1 
4563 DEFAULT_wxUSE_FILE
=1 
4564 DEFAULT_wxUSE_TEXTFILE
=1 
4566 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=1 
4567 DEFAULT_WX_NORMALIZED_PS_FONTS
=1 
4568 DEFAULT_wxUSE_POSTSCRIPT
=1 
4571 DEFAULT_wxUSE_RESOURCES
=1 
4572 DEFAULT_wxUSE_CONSTRAINTS
=1 
4573 DEFAULT_wxUSE_CLIPBOARD
=1 
4576 DEFAULT_wxUSE_MDI_ARCHITECTURE
=1 
4577 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=1 
4578 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=1 
4580 DEFAULT_wxUSE_PROLOGIO
=1 
4581 DEFAULT_wxUSE_WX_RESOURCES
=1 
4584 DEFAULT_wxUSE_OPENGL
=0 
4585 DEFAULT_wxUSE_METAFILE
=0 
4586 DEFAULT_wxUSE_WXGRAPH
=0 
4587 DEFAULT_wxUSE_WXTREE
=0 
4588 DEFAULT_wxUSE_HELP
=1 
4590 DEFAULT_wxUSE_UNICODE
=1 
4591 DEFAULT_wxUSE_WCSRTOMBS
=0 
4595 echo $ac_n "checking "for gtk
"""... $ac_c" 1>&6 
4596 echo "configure:4597: checking "for gtk
"" >&5 
4597 # Check whether --with-gtk or --without-gtk was given. 
4598 if test "${with_gtk+set}" = set; then 
4600   if test "x$with_gtk" = xyes
; then 
4601   ac_cv_use_gtk
='wxUSE_GTK="1"' 
4603   ac_cv_use_gtk
='wxUSE_GTK="0"' 
4607   LINE
=`grep "wxUSE_GTK" ${OSTYPE}.system.cache` 
4608   if test "x$LINE" != x 
; then 
4609     eval "DEFAULT_$LINE" 
4611   ac_cv_use_gtk
='wxUSE_GTK='$DEFAULT_wxUSE_GTK 
4615 eval "$ac_cv_use_gtk" 
4616 echo $ac_cv_use_gtk >> ${OSTYPE}.system.cache.tmp
 
4617 if test "$wxUSE_GTK" = 1; then 
4618   echo "$ac_t""yes" 1>&6 
4620   echo "$ac_t""no" 1>&6 
4625 echo $ac_n "checking "for qt
"""... $ac_c" 1>&6 
4626 echo "configure:4627: checking "for qt
"" >&5 
4627 # Check whether --with-qt or --without-qt was given. 
4628 if test "${with_qt+set}" = set; then 
4630   if test "x$with_qt" = xyes
; then 
4631   ac_cv_use_qt
='wxUSE_QT="1"' 
4633   ac_cv_use_qt
='wxUSE_QT="0"' 
4637   LINE
=`grep "wxUSE_QT" ${OSTYPE}.system.cache` 
4638   if test "x$LINE" != x 
; then 
4639     eval "DEFAULT_$LINE" 
4641   ac_cv_use_qt
='wxUSE_QT='$DEFAULT_wxUSE_QT 
4645 eval "$ac_cv_use_qt" 
4646 echo $ac_cv_use_qt >> ${OSTYPE}.system.cache.tmp
 
4647 if test "$wxUSE_QT" = 1; then 
4648   echo "$ac_t""yes" 1>&6 
4650   echo "$ac_t""no" 1>&6 
4655 echo $ac_n "checking "for motif
"""... $ac_c" 1>&6 
4656 echo "configure:4657: checking "for motif
"" >&5 
4657 # Check whether --with-motif or --without-motif was given. 
4658 if test "${with_motif+set}" = set; then 
4659   withval
="$with_motif" 
4660   if test "x$with_motif" = xyes
; then 
4661   ac_cv_use_motif
='wxUSE_MOTIF="1"' 
4663   ac_cv_use_motif
='wxUSE_MOTIF="0"' 
4667   LINE
=`grep "wxUSE_MOTIF" ${OSTYPE}.system.cache` 
4668   if test "x$LINE" != x 
; then 
4669     eval "DEFAULT_$LINE" 
4671   ac_cv_use_motif
='wxUSE_MOTIF='$DEFAULT_wxUSE_MOTIF 
4675 eval "$ac_cv_use_motif" 
4676 echo $ac_cv_use_motif >> ${OSTYPE}.system.cache.tmp
 
4677 if test "$wxUSE_MOTIF" = 1; then 
4678   echo "$ac_t""yes" 1>&6 
4680   echo "$ac_t""no" 1>&6 
4686 echo $ac_n "checking "for shared
"""... $ac_c" 1>&6 
4687 echo "configure:4688: checking "for shared
"" >&5 
4688 # Check whether --with-shared or --without-shared was given. 
4689 if test "${with_shared+set}" = set; then 
4690   withval
="$with_shared" 
4691   if test "x$with_shared" = xyes
; then 
4692   ac_cv_use_shared
='wxUSE_SHARED="1"' 
4694   ac_cv_use_shared
='wxUSE_SHARED="0"' 
4698   LINE
=`grep "wxUSE_SHARED" ${OSTYPE}.system.cache` 
4699   if test "x$LINE" != x 
; then 
4700     eval "DEFAULT_$LINE" 
4702   ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED 
4706 eval "$ac_cv_use_shared" 
4707 echo $ac_cv_use_shared >> ${OSTYPE}.system.cache.tmp
 
4708 if test "$wxUSE_SHARED" = 1; then 
4709   echo "$ac_t""yes" 1>&6 
4711   echo "$ac_t""no" 1>&6 
4716 echo $ac_n "checking "for optimise
"""... $ac_c" 1>&6 
4717 echo "configure:4718: checking "for optimise
"" >&5 
4718 # Check whether --with-optimise or --without-optimise was given. 
4719 if test "${with_optimise+set}" = set; then 
4720   withval
="$with_optimise" 
4721   if test "x$with_optimise" = xyes
; then 
4722   ac_cv_use_optimise
='wxUSE_OPTIMISE="1"' 
4724   ac_cv_use_optimise
='wxUSE_OPTIMISE="0"' 
4728   LINE
=`grep "wxUSE_OPTIMISE" ${OSTYPE}.system.cache` 
4729   if test "x$LINE" != x 
; then 
4730     eval "DEFAULT_$LINE" 
4732   ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE 
4736 eval "$ac_cv_use_optimise" 
4737 echo $ac_cv_use_optimise >> ${OSTYPE}.system.cache.tmp
 
4738 if test "$wxUSE_OPTIMISE" = 1; then 
4739   echo "$ac_t""yes" 1>&6 
4741   echo "$ac_t""no" 1>&6 
4746 echo $ac_n "checking "for debug_flag
"""... $ac_c" 1>&6 
4747 echo "configure:4748: checking "for debug_flag
"" >&5 
4748 # Check whether --with-debug_flag or --without-debug_flag was given. 
4749 if test "${with_debug_flag+set}" = set; then 
4750   withval
="$with_debug_flag" 
4751   if test "x$with_debug_flag" = xyes
; then 
4752   ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG="1"' 
4754   ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG="0"' 
4758   LINE
=`grep "wxUSE_DEBUG_FLAG" ${OSTYPE}.system.cache` 
4759   if test "x$LINE" != x 
; then 
4760     eval "DEFAULT_$LINE" 
4762   ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG 
4766 eval "$ac_cv_use_debug_flag" 
4767 echo $ac_cv_use_debug_flag >> ${OSTYPE}.system.cache.tmp
 
4768 if test "$wxUSE_DEBUG_FLAG" = 1; then 
4769   echo "$ac_t""yes" 1>&6 
4771   echo "$ac_t""no" 1>&6 
4776 echo $ac_n "checking "for debug_info
"""... $ac_c" 1>&6 
4777 echo "configure:4778: checking "for debug_info
"" >&5 
4778 # Check whether --with-debug_info or --without-debug_info was given. 
4779 if test "${with_debug_info+set}" = set; then 
4780   withval
="$with_debug_info" 
4781   if test "x$with_debug_info" = xyes
; then 
4782   ac_cv_use_debug_info
='wxUSE_DEBUG_INFO="1"' 
4784   ac_cv_use_debug_info
='wxUSE_DEBUG_INFO="0"' 
4788   LINE
=`grep "wxUSE_DEBUG_INFO" ${OSTYPE}.system.cache` 
4789   if test "x$LINE" != x 
; then 
4790     eval "DEFAULT_$LINE" 
4792   ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO 
4796 eval "$ac_cv_use_debug_info" 
4797 echo $ac_cv_use_debug_info >> ${OSTYPE}.system.cache.tmp
 
4798 if test "$wxUSE_DEBUG_INFO" = 1; then 
4799   echo "$ac_t""yes" 1>&6 
4801   echo "$ac_t""no" 1>&6 
4806 echo $ac_n "checking "for debug_gdb
"""... $ac_c" 1>&6 
4807 echo "configure:4808: checking "for debug_gdb
"" >&5 
4808 # Check whether --with-debug_gdb or --without-debug_gdb was given. 
4809 if test "${with_debug_gdb+set}" = set; then 
4810   withval
="$with_debug_gdb" 
4811   if test "x$with_debug_gdb" = xyes
; then 
4812   ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB="1"' 
4814   ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB="0"' 
4818   LINE
=`grep "wxUSE_DEBUG_GDB" ${OSTYPE}.system.cache` 
4819   if test "x$LINE" != x 
; then 
4820     eval "DEFAULT_$LINE" 
4822   ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB 
4826 eval "$ac_cv_use_debug_gdb" 
4827 echo $ac_cv_use_debug_gdb >> ${OSTYPE}.system.cache.tmp
 
4828 if test "$wxUSE_DEBUG_GDB" = 1; then 
4829   echo "$ac_t""yes" 1>&6 
4831   echo "$ac_t""no" 1>&6 
4836 echo $ac_n "checking "for mem_tracing
"""... $ac_c" 1>&6 
4837 echo "configure:4838: checking "for mem_tracing
"" >&5 
4838 # Check whether --with-mem_tracing or --without-mem_tracing was given. 
4839 if test "${with_mem_tracing+set}" = set; then 
4840   withval
="$with_mem_tracing" 
4841   if test "x$with_mem_tracing" = xyes
; then 
4842   ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING="1"' 
4844   ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING="0"' 
4848   LINE
=`grep "wxUSE_MEM_TRACING" ${OSTYPE}.system.cache` 
4849   if test "x$LINE" != x 
; then 
4850     eval "DEFAULT_$LINE" 
4852   ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING 
4856 eval "$ac_cv_use_mem_tracing" 
4857 echo $ac_cv_use_mem_tracing >> ${OSTYPE}.system.cache.tmp
 
4858 if test "$wxUSE_MEM_TRACING" = 1; then 
4859   echo "$ac_t""yes" 1>&6 
4861   echo "$ac_t""no" 1>&6 
4866 echo $ac_n "checking "for dmalloc
"""... $ac_c" 1>&6 
4867 echo "configure:4868: checking "for dmalloc
"" >&5 
4868 # Check whether --with-dmalloc or --without-dmalloc was given. 
4869 if test "${with_dmalloc+set}" = set; then 
4870   withval
="$with_dmalloc" 
4871   if test "x$with_dmalloc" = xyes
; then 
4872   ac_cv_use_dmalloc
='wxUSE_DMALLOC="1"' 
4874   ac_cv_use_dmalloc
='wxUSE_DMALLOC="0"' 
4878   LINE
=`grep "wxUSE_DMALLOC" ${OSTYPE}.system.cache` 
4879   if test "x$LINE" != x 
; then 
4880     eval "DEFAULT_$LINE" 
4882   ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC 
4886 eval "$ac_cv_use_dmalloc" 
4887 echo $ac_cv_use_dmalloc >> ${OSTYPE}.system.cache.tmp
 
4888 if test "$wxUSE_DMALLOC" = 1; then 
4889   echo "$ac_t""yes" 1>&6 
4891   echo "$ac_t""no" 1>&6 
4896 echo $ac_n "checking "for profile
"""... $ac_c" 1>&6 
4897 echo "configure:4898: checking "for profile
"" >&5 
4898 # Check whether --with-profile or --without-profile was given. 
4899 if test "${with_profile+set}" = set; then 
4900   withval
="$with_profile" 
4901   if test "x$with_profile" = xyes
; then 
4902   ac_cv_use_profile
='wxUSE_PROFILE="1"' 
4904   ac_cv_use_profile
='wxUSE_PROFILE="0"' 
4908   LINE
=`grep "wxUSE_PROFILE" ${OSTYPE}.system.cache` 
4909   if test "x$LINE" != x 
; then 
4910     eval "DEFAULT_$LINE" 
4912   ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE 
4916 eval "$ac_cv_use_profile" 
4917 echo $ac_cv_use_profile >> ${OSTYPE}.system.cache.tmp
 
4918 if test "$wxUSE_PROFILE" = 1; then 
4919   echo "$ac_t""yes" 1>&6 
4921   echo "$ac_t""no" 1>&6 
4926 echo $ac_n "checking "for apple_ieee
"""... $ac_c" 1>&6 
4927 echo "configure:4928: checking "for apple_ieee
"" >&5 
4928 # Check whether --with-apple_ieee or --without-apple_ieee was given. 
4929 if test "${with_apple_ieee+set}" = set; then 
4930   withval
="$with_apple_ieee" 
4931   if test "x$with_apple_ieee" = xyes
; then 
4932   ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE="1"' 
4934   ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE="0"' 
4938   LINE
=`grep "wxUSE_APPLE_IEEE" ${OSTYPE}.system.cache` 
4939   if test "x$LINE" != x 
; then 
4940     eval "DEFAULT_$LINE" 
4942   ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE 
4946 eval "$ac_cv_use_apple_ieee" 
4947 echo $ac_cv_use_apple_ieee >> ${OSTYPE}.system.cache.tmp
 
4948 if test "$wxUSE_APPLE_IEEE" = 1; then 
4949   echo "$ac_t""yes" 1>&6 
4951   echo "$ac_t""no" 1>&6 
4957 echo $ac_n "checking "for zlib
"""... $ac_c" 1>&6 
4958 echo "configure:4959: checking "for zlib
"" >&5 
4959 # Check whether --with-zlib or --without-zlib was given. 
4960 if test "${with_zlib+set}" = set; then 
4961   withval
="$with_zlib" 
4962   if test "x$with_zlib" = xyes
; then 
4963   ac_cv_use_zlib
='wxUSE_ZLIB="1"' 
4965   ac_cv_use_zlib
='wxUSE_ZLIB="0"' 
4969   LINE
=`grep "wxUSE_ZLIB" ${OSTYPE}.system.cache` 
4970   if test "x$LINE" != x 
; then 
4971     eval "DEFAULT_$LINE" 
4973   ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB 
4977 eval "$ac_cv_use_zlib" 
4978 echo $ac_cv_use_zlib >> ${OSTYPE}.system.cache.tmp
 
4979 if test "$wxUSE_ZLIB" = 1; then 
4980   echo "$ac_t""yes" 1>&6 
4982   echo "$ac_t""no" 1>&6 
4987 echo $ac_n "checking "for libpng
"""... $ac_c" 1>&6 
4988 echo "configure:4989: checking "for libpng
"" >&5 
4989 # Check whether --with-libpng or --without-libpng was given. 
4990 if test "${with_libpng+set}" = set; then 
4991   withval
="$with_libpng" 
4992   if test "x$with_libpng" = xyes
; then 
4993   ac_cv_use_libpng
='wxUSE_LIBPNG="1"' 
4995   ac_cv_use_libpng
='wxUSE_LIBPNG="0"' 
4999   LINE
=`grep "wxUSE_LIBPNG" ${OSTYPE}.system.cache` 
5000   if test "x$LINE" != x 
; then 
5001     eval "DEFAULT_$LINE" 
5003   ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG 
5007 eval "$ac_cv_use_libpng" 
5008 echo $ac_cv_use_libpng >> ${OSTYPE}.system.cache.tmp
 
5009 if test "$wxUSE_LIBPNG" = 1; then 
5010   echo "$ac_t""yes" 1>&6 
5012   echo "$ac_t""no" 1>&6 
5017 echo $ac_n "checking "for odbc
"""... $ac_c" 1>&6 
5018 echo "configure:5019: checking "for odbc
"" >&5 
5019 # Check whether --with-odbc or --without-odbc was given. 
5020 if test "${with_odbc+set}" = set; then 
5021   withval
="$with_odbc" 
5022   if test "x$with_odbc" = xyes
; then 
5023   ac_cv_use_odbc
='wxUSE_ODBC="1"' 
5025   ac_cv_use_odbc
='wxUSE_ODBC="0"' 
5029   LINE
=`grep "wxUSE_ODBC" ${OSTYPE}.system.cache` 
5030   if test "x$LINE" != x 
; then 
5031     eval "DEFAULT_$LINE" 
5033   ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC 
5037 eval "$ac_cv_use_odbc" 
5038 echo $ac_cv_use_odbc >> ${OSTYPE}.system.cache.tmp
 
5039 if test "$wxUSE_ODBC" = 1; then 
5040   echo "$ac_t""yes" 1>&6 
5042   echo "$ac_t""no" 1>&6 
5047 echo $ac_n "checking "for opengl
"""... $ac_c" 1>&6 
5048 echo "configure:5049: checking "for opengl
"" >&5 
5049 # Check whether --with-opengl or --without-opengl was given. 
5050 if test "${with_opengl+set}" = set; then 
5051   withval
="$with_opengl" 
5052   if test "x$with_opengl" = xyes
; then 
5053   ac_cv_use_opengl
='wxUSE_OPENGL="1"' 
5055   ac_cv_use_opengl
='wxUSE_OPENGL="0"' 
5059   LINE
=`grep "wxUSE_OPENGL" ${OSTYPE}.system.cache` 
5060   if test "x$LINE" != x 
; then 
5061     eval "DEFAULT_$LINE" 
5063   ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL 
5067 eval "$ac_cv_use_opengl" 
5068 echo $ac_cv_use_opengl >> ${OSTYPE}.system.cache.tmp
 
5069 if test "$wxUSE_OPENGL" = 1; then 
5070   echo "$ac_t""yes" 1>&6 
5072   echo "$ac_t""no" 1>&6 
5078 echo $ac_n "checking "for gauge
"""... $ac_c" 1>&6 
5079 echo "configure:5080: checking "for gauge
"" >&5 
5080 # Check whether --with-gauge or --without-gauge was given. 
5081 if test "${with_gauge+set}" = set; then 
5082   withval
="$with_gauge" 
5083   if test "x$with_gauge" = xyes
; then 
5084   ac_cv_use_gauge
='wxUSE_GAUGE="1"' 
5086   ac_cv_use_gauge
='wxUSE_GAUGE="0"' 
5090   LINE
=`grep "wxUSE_GAUGE" ${OSTYPE}.system.cache` 
5091   if test "x$LINE" != x 
; then 
5092     eval "DEFAULT_$LINE" 
5094   ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE 
5098 eval "$ac_cv_use_gauge" 
5099 echo $ac_cv_use_gauge >> ${OSTYPE}.system.cache.tmp
 
5100 if test "$wxUSE_GAUGE" = 1; then 
5101   echo "$ac_t""yes" 1>&6 
5103   echo "$ac_t""no" 1>&6 
5108 echo $ac_n "checking "for combobox
"""... $ac_c" 1>&6 
5109 echo "configure:5110: checking "for combobox
"" >&5 
5110 # Check whether --with-combobox or --without-combobox was given. 
5111 if test "${with_combobox+set}" = set; then 
5112   withval
="$with_combobox" 
5113   if test "x$with_combobox" = xyes
; then 
5114   ac_cv_use_combobox
='wxUSE_COMBOBOX="1"' 
5116   ac_cv_use_combobox
='wxUSE_COMBOBOX="0"' 
5120   LINE
=`grep "wxUSE_COMBOBOX" ${OSTYPE}.system.cache` 
5121   if test "x$LINE" != x 
; then 
5122     eval "DEFAULT_$LINE" 
5124   ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX 
5128 eval "$ac_cv_use_combobox" 
5129 echo $ac_cv_use_combobox >> ${OSTYPE}.system.cache.tmp
 
5130 if test "$wxUSE_COMBOBOX" = 1; then 
5131   echo "$ac_t""yes" 1>&6 
5133   echo "$ac_t""no" 1>&6 
5138 echo $ac_n "checking "for scrollbar
"""... $ac_c" 1>&6 
5139 echo "configure:5140: checking "for scrollbar
"" >&5 
5140 # Check whether --with-scrollbar or --without-scrollbar was given. 
5141 if test "${with_scrollbar+set}" = set; then 
5142   withval
="$with_scrollbar" 
5143   if test "x$with_scrollbar" = xyes
; then 
5144   ac_cv_use_scrollbar
='wxUSE_SCROLLBAR="1"' 
5146   ac_cv_use_scrollbar
='wxUSE_SCROLLBAR="0"' 
5150   LINE
=`grep "wxUSE_SCROLLBAR" ${OSTYPE}.system.cache` 
5151   if test "x$LINE" != x 
; then 
5152     eval "DEFAULT_$LINE" 
5154   ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR 
5158 eval "$ac_cv_use_scrollbar" 
5159 echo $ac_cv_use_scrollbar >> ${OSTYPE}.system.cache.tmp
 
5160 if test "$wxUSE_SCROLLBAR" = 1; then 
5161   echo "$ac_t""yes" 1>&6 
5163   echo "$ac_t""no" 1>&6 
5168 echo $ac_n "checking "for listctrl
"""... $ac_c" 1>&6 
5169 echo "configure:5170: checking "for listctrl
"" >&5 
5170 # Check whether --with-listctrl or --without-listctrl was given. 
5171 if test "${with_listctrl+set}" = set; then 
5172   withval
="$with_listctrl" 
5173   if test "x$with_listctrl" = xyes
; then 
5174   ac_cv_use_listctrl
='wxUSE_LISTCTRL="1"' 
5176   ac_cv_use_listctrl
='wxUSE_LISTCTRL="0"' 
5180   LINE
=`grep "wxUSE_LISTCTRL" ${OSTYPE}.system.cache` 
5181   if test "x$LINE" != x 
; then 
5182     eval "DEFAULT_$LINE" 
5184   ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL 
5188 eval "$ac_cv_use_listctrl" 
5189 echo $ac_cv_use_listctrl >> ${OSTYPE}.system.cache.tmp
 
5190 if test "$wxUSE_LISTCTRL" = 1; then 
5191   echo "$ac_t""yes" 1>&6 
5193   echo "$ac_t""no" 1>&6 
5198 echo $ac_n "checking "for treectrl
"""... $ac_c" 1>&6 
5199 echo "configure:5200: checking "for treectrl
"" >&5 
5200 # Check whether --with-treectrl or --without-treectrl was given. 
5201 if test "${with_treectrl+set}" = set; then 
5202   withval
="$with_treectrl" 
5203   if test "x$with_treectrl" = xyes
; then 
5204   ac_cv_use_treectrl
='wxUSE_TREECTRL="1"' 
5206   ac_cv_use_treectrl
='wxUSE_TREECTRL="0"' 
5210   LINE
=`grep "wxUSE_TREECTRL" ${OSTYPE}.system.cache` 
5211   if test "x$LINE" != x 
; then 
5212     eval "DEFAULT_$LINE" 
5214   ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL 
5218 eval "$ac_cv_use_treectrl" 
5219 echo $ac_cv_use_treectrl >> ${OSTYPE}.system.cache.tmp
 
5220 if test "$wxUSE_TREECTRL" = 1; then 
5221   echo "$ac_t""yes" 1>&6 
5223   echo "$ac_t""no" 1>&6 
5228 echo $ac_n "checking "for grid
"""... $ac_c" 1>&6 
5229 echo "configure:5230: checking "for grid
"" >&5 
5230 # Check whether --with-grid or --without-grid was given. 
5231 if test "${with_grid+set}" = set; then 
5232   withval
="$with_grid" 
5233   if test "x$with_grid" = xyes
; then 
5234   ac_cv_use_grid
='wxUSE_GRID="1"' 
5236   ac_cv_use_grid
='wxUSE_GRID="0"' 
5240   LINE
=`grep "wxUSE_GRID" ${OSTYPE}.system.cache` 
5241   if test "x$LINE" != x 
; then 
5242     eval "DEFAULT_$LINE" 
5244   ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID 
5248 eval "$ac_cv_use_grid" 
5249 echo $ac_cv_use_grid >> ${OSTYPE}.system.cache.tmp
 
5250 if test "$wxUSE_GRID" = 1; then 
5251   echo "$ac_t""yes" 1>&6 
5253   echo "$ac_t""no" 1>&6 
5258 echo $ac_n "checking "for tab_dialog
"""... $ac_c" 1>&6 
5259 echo "configure:5260: checking "for tab_dialog
"" >&5 
5260 # Check whether --with-tab_dialog or --without-tab_dialog was given. 
5261 if test "${with_tab_dialog+set}" = set; then 
5262   withval
="$with_tab_dialog" 
5263   if test "x$with_tab_dialog" = xyes
; then 
5264   ac_cv_use_tab_dialog
='wxUSE_TAB_DIALOG="1"' 
5266   ac_cv_use_tab_dialog
='wxUSE_TAB_DIALOG="0"' 
5270   LINE
=`grep "wxUSE_TAB_DIALOG" ${OSTYPE}.system.cache` 
5271   if test "x$LINE" != x 
; then 
5272     eval "DEFAULT_$LINE" 
5274   ac_cv_use_tab_dialog
='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG 
5278 eval "$ac_cv_use_tab_dialog" 
5279 echo $ac_cv_use_tab_dialog >> ${OSTYPE}.system.cache.tmp
 
5280 if test "$wxUSE_TAB_DIALOG" = 1; then 
5281   echo "$ac_t""yes" 1>&6 
5283   echo "$ac_t""no" 1>&6 
5288 echo $ac_n "checking "for notebook
"""... $ac_c" 1>&6 
5289 echo "configure:5290: checking "for notebook
"" >&5 
5290 # Check whether --with-notebook or --without-notebook was given. 
5291 if test "${with_notebook+set}" = set; then 
5292   withval
="$with_notebook" 
5293   if test "x$with_notebook" = xyes
; then 
5294   ac_cv_use_notebook
='wxUSE_NOTEBOOK="1"' 
5296   ac_cv_use_notebook
='wxUSE_NOTEBOOK="0"' 
5300   LINE
=`grep "wxUSE_NOTEBOOK" ${OSTYPE}.system.cache` 
5301   if test "x$LINE" != x 
; then 
5302     eval "DEFAULT_$LINE" 
5304   ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK 
5308 eval "$ac_cv_use_notebook" 
5309 echo $ac_cv_use_notebook >> ${OSTYPE}.system.cache.tmp
 
5310 if test "$wxUSE_NOTEBOOK" = 1; then 
5311   echo "$ac_t""yes" 1>&6 
5313   echo "$ac_t""no" 1>&6 
5319 echo $ac_n "checking "for timedate
"""... $ac_c" 1>&6 
5320 echo "configure:5321: checking "for timedate
"" >&5 
5321 # Check whether --with-timedate or --without-timedate was given. 
5322 if test "${with_timedate+set}" = set; then 
5323   withval
="$with_timedate" 
5324   if test "x$with_timedate" = xyes
; then 
5325   ac_cv_use_timedate
='wxUSE_TIMEDATE="1"' 
5327   ac_cv_use_timedate
='wxUSE_TIMEDATE="0"' 
5331   LINE
=`grep "wxUSE_TIMEDATE" ${OSTYPE}.system.cache` 
5332   if test "x$LINE" != x 
; then 
5333     eval "DEFAULT_$LINE" 
5335   ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE 
5339 eval "$ac_cv_use_timedate" 
5340 echo $ac_cv_use_timedate >> ${OSTYPE}.system.cache.tmp
 
5341 if test "$wxUSE_TIMEDATE" = 1; then 
5342   echo "$ac_t""yes" 1>&6 
5344   echo "$ac_t""no" 1>&6 
5349 echo $ac_n "checking "for fraction
"""... $ac_c" 1>&6 
5350 echo "configure:5351: checking "for fraction
"" >&5 
5351 # Check whether --with-fraction or --without-fraction was given. 
5352 if test "${with_fraction+set}" = set; then 
5353   withval
="$with_fraction" 
5354   if test "x$with_fraction" = xyes
; then 
5355   ac_cv_use_fraction
='wxUSE_FRACTION="1"' 
5357   ac_cv_use_fraction
='wxUSE_FRACTION="0"' 
5361   LINE
=`grep "wxUSE_FRACTION" ${OSTYPE}.system.cache` 
5362   if test "x$LINE" != x 
; then 
5363     eval "DEFAULT_$LINE" 
5365   ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION 
5369 eval "$ac_cv_use_fraction" 
5370 echo $ac_cv_use_fraction >> ${OSTYPE}.system.cache.tmp
 
5371 if test "$wxUSE_FRACTION" = 1; then 
5372   echo "$ac_t""yes" 1>&6 
5374   echo "$ac_t""no" 1>&6 
5379 echo $ac_n "checking "for log
"""... $ac_c" 1>&6 
5380 echo "configure:5381: checking "for log
"" >&5 
5381 # Check whether --with-log or --without-log was given. 
5382 if test "${with_log+set}" = set; then 
5384   if test "x$with_log" = xyes
; then 
5385   ac_cv_use_log
='wxUSE_LOG="1"' 
5387   ac_cv_use_log
='wxUSE_LOG="0"' 
5391   LINE
=`grep "wxUSE_LOG" ${OSTYPE}.system.cache` 
5392   if test "x$LINE" != x 
; then 
5393     eval "DEFAULT_$LINE" 
5395   ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG 
5399 eval "$ac_cv_use_log" 
5400 echo $ac_cv_use_log >> ${OSTYPE}.system.cache.tmp
 
5401 if test "$wxUSE_LOG" = 1; then 
5402   echo "$ac_t""yes" 1>&6 
5404   echo "$ac_t""no" 1>&6 
5409 echo $ac_n "checking "for intl
"""... $ac_c" 1>&6 
5410 echo "configure:5411: checking "for intl
"" >&5 
5411 # Check whether --with-intl or --without-intl was given. 
5412 if test "${with_intl+set}" = set; then 
5413   withval
="$with_intl" 
5414   if test "x$with_intl" = xyes
; then 
5415   ac_cv_use_intl
='wxUSE_INTL="1"' 
5417   ac_cv_use_intl
='wxUSE_INTL="0"' 
5421   LINE
=`grep "wxUSE_INTL" ${OSTYPE}.system.cache` 
5422   if test "x$LINE" != x 
; then 
5423     eval "DEFAULT_$LINE" 
5425   ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL 
5429 eval "$ac_cv_use_intl" 
5430 echo $ac_cv_use_intl >> ${OSTYPE}.system.cache.tmp
 
5431 if test "$wxUSE_INTL" = 1; then 
5432   echo "$ac_t""yes" 1>&6 
5434   echo "$ac_t""no" 1>&6 
5439 echo $ac_n "checking "for config
"""... $ac_c" 1>&6 
5440 echo "configure:5441: checking "for config
"" >&5 
5441 # Check whether --with-config or --without-config was given. 
5442 if test "${with_config+set}" = set; then 
5443   withval
="$with_config" 
5444   if test "x$with_config" = xyes
; then 
5445   ac_cv_use_config
='wxUSE_CONFIG="1"' 
5447   ac_cv_use_config
='wxUSE_CONFIG="0"' 
5451   LINE
=`grep "wxUSE_CONFIG" ${OSTYPE}.system.cache` 
5452   if test "x$LINE" != x 
; then 
5453     eval "DEFAULT_$LINE" 
5455   ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG 
5459 eval "$ac_cv_use_config" 
5460 echo $ac_cv_use_config >> ${OSTYPE}.system.cache.tmp
 
5461 if test "$wxUSE_CONFIG" = 1; then 
5462   echo "$ac_t""yes" 1>&6 
5464   echo "$ac_t""no" 1>&6 
5469 echo $ac_n "checking "for streams
"""... $ac_c" 1>&6 
5470 echo "configure:5471: checking "for streams
"" >&5 
5471 # Check whether --with-streams or --without-streams was given. 
5472 if test "${with_streams+set}" = set; then 
5473   withval
="$with_streams" 
5474   if test "x$with_streams" = xyes
; then 
5475   ac_cv_use_streams
='wxUSE_STREAMS="1"' 
5477   ac_cv_use_streams
='wxUSE_STREAMS="0"' 
5481   LINE
=`grep "wxUSE_STREAMS" ${OSTYPE}.system.cache` 
5482   if test "x$LINE" != x 
; then 
5483     eval "DEFAULT_$LINE" 
5485   ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS 
5489 eval "$ac_cv_use_streams" 
5490 echo $ac_cv_use_streams >> ${OSTYPE}.system.cache.tmp
 
5491 if test "$wxUSE_STREAMS" = 1; then 
5492   echo "$ac_t""yes" 1>&6 
5494   echo "$ac_t""no" 1>&6 
5499 echo $ac_n "checking "for serial
"""... $ac_c" 1>&6 
5500 echo "configure:5501: checking "for serial
"" >&5 
5501 # Check whether --with-serial or --without-serial was given. 
5502 if test "${with_serial+set}" = set; then 
5503   withval
="$with_serial" 
5504   if test "x$with_serial" = xyes
; then 
5505   ac_cv_use_serial
='wxUSE_SERIAL="1"' 
5507   ac_cv_use_serial
='wxUSE_SERIAL="0"' 
5511   LINE
=`grep "wxUSE_SERIAL" ${OSTYPE}.system.cache` 
5512   if test "x$LINE" != x 
; then 
5513     eval "DEFAULT_$LINE" 
5515   ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL 
5519 eval "$ac_cv_use_serial" 
5520 echo $ac_cv_use_serial >> ${OSTYPE}.system.cache.tmp
 
5521 if test "$wxUSE_SERIAL" = 1; then 
5522   echo "$ac_t""yes" 1>&6 
5524   echo "$ac_t""no" 1>&6 
5529 echo $ac_n "checking "for file"""... $ac_c" 1>&6 
5530 echo "configure:5531: checking "for file"" >&5 
5531 # Check whether --with-file or --without-file was given. 
5532 if test "${with_file+set}" = set; then 
5533   withval
="$with_file" 
5534   if test "x$with_file" = xyes
; then 
5535   ac_cv_use_file
='wxUSE_FILE="1"' 
5537   ac_cv_use_file
='wxUSE_FILE="0"' 
5541   LINE
=`grep "wxUSE_FILE" ${OSTYPE}.system.cache` 
5542   if test "x$LINE" != x 
; then 
5543     eval "DEFAULT_$LINE" 
5545   ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE 
5549 eval "$ac_cv_use_file" 
5550 echo $ac_cv_use_file >> ${OSTYPE}.system.cache.tmp
 
5551 if test "$wxUSE_FILE" = 1; then 
5552   echo "$ac_t""yes" 1>&6 
5554   echo "$ac_t""no" 1>&6 
5559 echo $ac_n "checking "for textfile
"""... $ac_c" 1>&6 
5560 echo "configure:5561: checking "for textfile
"" >&5 
5561 # Check whether --with-textfile or --without-textfile was given. 
5562 if test "${with_textfile+set}" = set; then 
5563   withval
="$with_textfile" 
5564   if test "x$with_textfile" = xyes
; then 
5565   ac_cv_use_textfile
='wxUSE_TEXTFILE="1"' 
5567   ac_cv_use_textfile
='wxUSE_TEXTFILE="0"' 
5571   LINE
=`grep "wxUSE_TEXTFILE" ${OSTYPE}.system.cache` 
5572   if test "x$LINE" != x 
; then 
5573     eval "DEFAULT_$LINE" 
5575   ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE 
5579 eval "$ac_cv_use_textfile" 
5580 echo $ac_cv_use_textfile >> ${OSTYPE}.system.cache.tmp
 
5581 if test "$wxUSE_TEXTFILE" = 1; then 
5582   echo "$ac_t""yes" 1>&6 
5584   echo "$ac_t""no" 1>&6 
5590 echo $ac_n "checking "for afmfonts
"""... $ac_c" 1>&6 
5591 echo "configure:5592: checking "for afmfonts
"" >&5 
5592 # Check whether --with-afmfonts or --without-afmfonts was given. 
5593 if test "${with_afmfonts+set}" = set; then 
5594   withval
="$with_afmfonts" 
5595   if test "x$with_afmfonts" = xyes
; then 
5596   ac_cv_use_afmfonts
='wxUSE_AFM_FOR_POSTSCRIPT="1"' 
5598   ac_cv_use_afmfonts
='wxUSE_AFM_FOR_POSTSCRIPT="0"' 
5602   LINE
=`grep "wxUSE_AFM_FOR_POSTSCRIPT" ${OSTYPE}.system.cache` 
5603   if test "x$LINE" != x 
; then 
5604     eval "DEFAULT_$LINE" 
5606   ac_cv_use_afmfonts
='wxUSE_AFM_FOR_POSTSCRIPT='$DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT 
5610 eval "$ac_cv_use_afmfonts" 
5611 echo $ac_cv_use_afmfonts >> ${OSTYPE}.system.cache.tmp
 
5612 if test "$wxUSE_AFM_FOR_POSTSCRIPT" = 1; then 
5613   echo "$ac_t""yes" 1>&6 
5615   echo "$ac_t""no" 1>&6 
5620 echo $ac_n "checking "for normalized
"""... $ac_c" 1>&6 
5621 echo "configure:5622: checking "for normalized
"" >&5 
5622 # Check whether --with-normalized or --without-normalized was given. 
5623 if test "${with_normalized+set}" = set; then 
5624   withval
="$with_normalized" 
5625   if test "x$with_normalized" = xyes
; then 
5626   ac_cv_use_normalized
='WX_NORMALIZED_PS_FONTS="1"' 
5628   ac_cv_use_normalized
='WX_NORMALIZED_PS_FONTS="0"' 
5632   LINE
=`grep "WX_NORMALIZED_PS_FONTS" ${OSTYPE}.system.cache` 
5633   if test "x$LINE" != x 
; then 
5634     eval "DEFAULT_$LINE" 
5636   ac_cv_use_normalized
='WX_NORMALIZED_PS_FONTS='$DEFAULT_WX_NORMALIZED_PS_FONTS 
5640 eval "$ac_cv_use_normalized" 
5641 echo $ac_cv_use_normalized >> ${OSTYPE}.system.cache.tmp
 
5642 if test "$WX_NORMALIZED_PS_FONTS" = 1; then 
5643   echo "$ac_t""yes" 1>&6 
5645   echo "$ac_t""no" 1>&6 
5650 echo $ac_n "checking "for postscript
"""... $ac_c" 1>&6 
5651 echo "configure:5652: checking "for postscript
"" >&5 
5652 # Check whether --with-postscript or --without-postscript was given. 
5653 if test "${with_postscript+set}" = set; then 
5654   withval
="$with_postscript" 
5655   if test "x$with_postscript" = xyes
; then 
5656   ac_cv_use_postscript
='wxUSE_POSTSCRIPT="1"' 
5658   ac_cv_use_postscript
='wxUSE_POSTSCRIPT="0"' 
5662   LINE
=`grep "wxUSE_POSTSCRIPT" ${OSTYPE}.system.cache` 
5663   if test "x$LINE" != x 
; then 
5664     eval "DEFAULT_$LINE" 
5666   ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT 
5670 eval "$ac_cv_use_postscript" 
5671 echo $ac_cv_use_postscript >> ${OSTYPE}.system.cache.tmp
 
5672 if test "$wxUSE_POSTSCRIPT" = 1; then 
5673   echo "$ac_t""yes" 1>&6 
5675   echo "$ac_t""no" 1>&6 
5681 echo $ac_n "checking "for unicode
"""... $ac_c" 1>&6 
5682 echo "configure:5683: checking "for unicode
"" >&5 
5683 # Check whether --with-unicode or --without-unicode was given. 
5684 if test "${with_unicode+set}" = set; then 
5685   withval
="$with_unicode" 
5686   if test "x$with_unicode" = xyes
; then 
5687   ac_cv_use_unicode
='wxUSE_UNICODE="1"' 
5689   ac_cv_use_unicode
='wxUSE_UNICODE="0"' 
5693   LINE
=`grep "wxUSE_UNICODE" ${OSTYPE}.system.cache` 
5694   if test "x$LINE" != x 
; then 
5695     eval "DEFAULT_$LINE" 
5697   ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE 
5701 eval "$ac_cv_use_unicode" 
5702 echo $ac_cv_use_unicode >> ${OSTYPE}.system.cache.tmp
 
5703 if test "$wxUSE_UNICODE" = 1; then 
5704   echo "$ac_t""yes" 1>&6 
5706   echo "$ac_t""no" 1>&6 
5711 echo $ac_n "checking "for wcsrtombs
"""... $ac_c" 1>&6 
5712 echo "configure:5713: checking "for wcsrtombs
"" >&5 
5713 # Check whether --with-wcsrtombs or --without-wcsrtombs was given. 
5714 if test "${with_wcsrtombs+set}" = set; then 
5715   withval
="$with_wcsrtombs" 
5716   if test "x$with_wcsrtombs" = xyes
; then 
5717   ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS="1"' 
5719   ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS="0"' 
5723   LINE
=`grep "wxUSE_WCSRTOMBS" ${OSTYPE}.system.cache` 
5724   if test "x$LINE" != x 
; then 
5725     eval "DEFAULT_$LINE" 
5727   ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS 
5731 eval "$ac_cv_use_wcsrtombs" 
5732 echo $ac_cv_use_wcsrtombs >> ${OSTYPE}.system.cache.tmp
 
5733 if test "$wxUSE_WCSRTOMBS" = 1; then 
5734   echo "$ac_t""yes" 1>&6 
5736   echo "$ac_t""no" 1>&6 
5742 echo $ac_n "checking "for wxresources
"""... $ac_c" 1>&6 
5743 echo "configure:5744: checking "for wxresources
"" >&5 
5744 # Check whether --with-wxresources or --without-wxresources was given. 
5745 if test "${with_wxresources+set}" = set; then 
5746   withval
="$with_wxresources" 
5747   if test "x$with_wxresources" = xyes
; then 
5748   ac_cv_use_wxresources
='wxUSE_WX_RESOURCES="1"' 
5750   ac_cv_use_wxresources
='wxUSE_WX_RESOURCES="0"' 
5754   LINE
=`grep "wxUSE_WX_RESOURCES" ${OSTYPE}.system.cache` 
5755   if test "x$LINE" != x 
; then 
5756     eval "DEFAULT_$LINE" 
5758   ac_cv_use_wxresources
='wxUSE_WX_RESOURCES='$DEFAULT_wxUSE_WX_RESOURCES 
5762 eval "$ac_cv_use_wxresources" 
5763 echo $ac_cv_use_wxresources >> ${OSTYPE}.system.cache.tmp
 
5764 if test "$wxUSE_WX_RESOURCES" = 1; then 
5765   echo "$ac_t""yes" 1>&6 
5767   echo "$ac_t""no" 1>&6 
5772 echo $ac_n "checking "for prologio
"""... $ac_c" 1>&6 
5773 echo "configure:5774: checking "for prologio
"" >&5 
5774 # Check whether --with-prologio or --without-prologio was given. 
5775 if test "${with_prologio+set}" = set; then 
5776   withval
="$with_prologio" 
5777   if test "x$with_prologio" = xyes
; then 
5778   ac_cv_use_prologio
='wxUSE_PROLOGIO="1"' 
5780   ac_cv_use_prologio
='wxUSE_PROLOGIO="0"' 
5784   LINE
=`grep "wxUSE_PROLOGIO" ${OSTYPE}.system.cache` 
5785   if test "x$LINE" != x 
; then 
5786     eval "DEFAULT_$LINE" 
5788   ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO 
5792 eval "$ac_cv_use_prologio" 
5793 echo $ac_cv_use_prologio >> ${OSTYPE}.system.cache.tmp
 
5794 if test "$wxUSE_PROLOGIO" = 1; then 
5795   echo "$ac_t""yes" 1>&6 
5797   echo "$ac_t""no" 1>&6 
5802 echo $ac_n "checking "for RPC
"""... $ac_c" 1>&6 
5803 echo "configure:5804: checking "for RPC
"" >&5 
5804 # Check whether --with-rpc or --without-rpc was given. 
5805 if test "${with_rpc+set}" = set; then 
5807   if test "x$with_rpc" = xyes
; then 
5808   ac_cv_use_rpc
='wxUSE_RPC="1"' 
5810   ac_cv_use_rpc
='wxUSE_RPC="0"' 
5814   LINE
=`grep "wxUSE_RPC" ${OSTYPE}.system.cache` 
5815   if test "x$LINE" != x 
; then 
5816     eval "DEFAULT_$LINE" 
5818   ac_cv_use_rpc
='wxUSE_RPC='$DEFAULT_wxUSE_RPC 
5822 eval "$ac_cv_use_rpc" 
5823 echo $ac_cv_use_rpc >> ${OSTYPE}.system.cache.tmp
 
5824 if test "$wxUSE_RPC" = 1; then 
5825   echo "$ac_t""yes" 1>&6 
5827   echo "$ac_t""no" 1>&6 
5833 echo $ac_n "checking "for IPC
"""... $ac_c" 1>&6 
5834 echo "configure:5835: checking "for IPC
"" >&5 
5835 # Check whether --with-ipc or --without-ipc was given. 
5836 if test "${with_ipc+set}" = set; then 
5838   if test "x$with_ipc" = xyes
; then 
5839   ac_cv_use_ipc
='wxUSE_IPC="1"' 
5841   ac_cv_use_ipc
='wxUSE_IPC="0"' 
5845   LINE
=`grep "wxUSE_IPC" ${OSTYPE}.system.cache` 
5846   if test "x$LINE" != x 
; then 
5847     eval "DEFAULT_$LINE" 
5849   ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC 
5853 eval "$ac_cv_use_ipc" 
5854 echo $ac_cv_use_ipc >> ${OSTYPE}.system.cache.tmp
 
5855 if test "$wxUSE_IPC" = 1; then 
5856   echo "$ac_t""yes" 1>&6 
5858   echo "$ac_t""no" 1>&6 
5863 echo $ac_n "checking "for resources
"""... $ac_c" 1>&6 
5864 echo "configure:5865: checking "for resources
"" >&5 
5865 # Check whether --with-resources or --without-resources was given. 
5866 if test "${with_resources+set}" = set; then 
5867   withval
="$with_resources" 
5868   if test "x$with_resources" = xyes
; then 
5869   ac_cv_use_resources
='wxUSE_RESOURCES="1"' 
5871   ac_cv_use_resources
='wxUSE_RESOURCES="0"' 
5875   LINE
=`grep "wxUSE_RESOURCES" ${OSTYPE}.system.cache` 
5876   if test "x$LINE" != x 
; then 
5877     eval "DEFAULT_$LINE" 
5879   ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES 
5883 eval "$ac_cv_use_resources" 
5884 echo $ac_cv_use_resources >> ${OSTYPE}.system.cache.tmp
 
5885 if test "$wxUSE_RESOURCES" = 1; then 
5886   echo "$ac_t""yes" 1>&6 
5888   echo "$ac_t""no" 1>&6 
5893 echo $ac_n "checking "for clipboard
"""... $ac_c" 1>&6 
5894 echo "configure:5895: checking "for clipboard
"" >&5 
5895 # Check whether --with-clipboard or --without-clipboard was given. 
5896 if test "${with_clipboard+set}" = set; then 
5897   withval
="$with_clipboard" 
5898   if test "x$with_clipboard" = xyes
; then 
5899   ac_cv_use_clipboard
='wxUSE_CLIPBOARD="1"' 
5901   ac_cv_use_clipboard
='wxUSE_CLIPBOARD="0"' 
5905   LINE
=`grep "wxUSE_CLIPBOARD" ${OSTYPE}.system.cache` 
5906   if test "x$LINE" != x 
; then 
5907     eval "DEFAULT_$LINE" 
5909   ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD 
5913 eval "$ac_cv_use_clipboard" 
5914 echo $ac_cv_use_clipboard >> ${OSTYPE}.system.cache.tmp
 
5915 if test "$wxUSE_CLIPBOARD" = 1; then 
5916   echo "$ac_t""yes" 1>&6 
5918   echo "$ac_t""no" 1>&6 
5923 echo $ac_n "checking "for dnd
"""... $ac_c" 1>&6 
5924 echo "configure:5925: checking "for dnd
"" >&5 
5925 # Check whether --with-dnd or --without-dnd was given. 
5926 if test "${with_dnd+set}" = set; then 
5928   if test "x$with_dnd" = xyes
; then 
5929   ac_cv_use_dnd
='wxUSE_DND="1"' 
5931   ac_cv_use_dnd
='wxUSE_DND="0"' 
5935   LINE
=`grep "wxUSE_DND" ${OSTYPE}.system.cache` 
5936   if test "x$LINE" != x 
; then 
5937     eval "DEFAULT_$LINE" 
5939   ac_cv_use_dnd
='wxUSE_DND='$DEFAULT_wxUSE_DND 
5943 eval "$ac_cv_use_dnd" 
5944 echo $ac_cv_use_dnd >> ${OSTYPE}.system.cache.tmp
 
5945 if test "$wxUSE_DND" = 1; then 
5946   echo "$ac_t""yes" 1>&6 
5948   echo "$ac_t""no" 1>&6 
5953 echo $ac_n "checking "for constrains
"""... $ac_c" 1>&6 
5954 echo "configure:5955: checking "for constrains
"" >&5 
5955 # Check whether --with-constraints or --without-constraints was given. 
5956 if test "${with_constraints+set}" = set; then 
5957   withval
="$with_constraints" 
5958   if test "x$with_constraints" = xyes
; then 
5959   ac_cv_use_constraints
='wxUSE_CONSTRAINTS="1"' 
5961   ac_cv_use_constraints
='wxUSE_CONSTRAINTS="0"' 
5965   LINE
=`grep "wxUSE_CONSTRAINTS" ${OSTYPE}.system.cache` 
5966   if test "x$LINE" != x 
; then 
5967     eval "DEFAULT_$LINE" 
5969   ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS 
5973 eval "$ac_cv_use_constraints" 
5974 echo $ac_cv_use_constraints >> ${OSTYPE}.system.cache.tmp
 
5975 if test "$wxUSE_CONSTRAINTS" = 1; then 
5976   echo "$ac_t""yes" 1>&6 
5978   echo "$ac_t""no" 1>&6 
5984 echo $ac_n "checking "for mdi
"""... $ac_c" 1>&6 
5985 echo "configure:5986: checking "for mdi
"" >&5 
5986 # Check whether --with-mdi or --without-mdi was given. 
5987 if test "${with_mdi+set}" = set; then 
5989   if test "x$with_mdi" = xyes
; then 
5990   ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE="1"' 
5992   ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE="0"' 
5996   LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${OSTYPE}.system.cache` 
5997   if test "x$LINE" != x 
; then 
5998     eval "DEFAULT_$LINE" 
6000   ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE 
6004 eval "$ac_cv_use_mdi" 
6005 echo $ac_cv_use_mdi >> ${OSTYPE}.system.cache.tmp
 
6006 if test "$wxUSE_MDI_ARCHITECTURE" = 1; then 
6007   echo "$ac_t""yes" 1>&6 
6009   echo "$ac_t""no" 1>&6 
6014 echo $ac_n "checking "for docview
"""... $ac_c" 1>&6 
6015 echo "configure:6016: checking "for docview
"" >&5 
6016 # Check whether --with-docview or --without-docview was given. 
6017 if test "${with_docview+set}" = set; then 
6018   withval
="$with_docview" 
6019   if test "x$with_docview" = xyes
; then 
6020   ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE="1"' 
6022   ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE="0"' 
6026   LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${OSTYPE}.system.cache` 
6027   if test "x$LINE" != x 
; then 
6028     eval "DEFAULT_$LINE" 
6030   ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE 
6034 eval "$ac_cv_use_docview" 
6035 echo $ac_cv_use_docview >> ${OSTYPE}.system.cache.tmp
 
6036 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = 1; then 
6037   echo "$ac_t""yes" 1>&6 
6039   echo "$ac_t""no" 1>&6 
6044 echo $ac_n "checking "for printarch
"""... $ac_c" 1>&6 
6045 echo "configure:6046: checking "for printarch
"" >&5 
6046 # Check whether --with-printarch or --without-printarch was given. 
6047 if test "${with_printarch+set}" = set; then 
6048   withval
="$with_printarch" 
6049   if test "x$with_printarch" = xyes
; then 
6050   ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE="1"' 
6052   ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE="0"' 
6056   LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${OSTYPE}.system.cache` 
6057   if test "x$LINE" != x 
; then 
6058     eval "DEFAULT_$LINE" 
6060   ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE 
6064 eval "$ac_cv_use_printarch" 
6065 echo $ac_cv_use_printarch >> ${OSTYPE}.system.cache.tmp
 
6066 if test "$wxUSE_PRINTING_ARCHITECTURE" = 1; then 
6067   echo "$ac_t""yes" 1>&6 
6069   echo "$ac_t""no" 1>&6 
6074 echo $ac_n "checking "for help"""... $ac_c" 1>&6 
6075 echo "configure:6076: checking "for help"" >&5 
6076 # Check whether --with-help or --without-help was given. 
6077 if test "${with_help+set}" = set; then 
6078   withval
="$with_help" 
6079   if test "x$with_help" = xyes
; then 
6080   ac_cv_use_help
='wxUSE_HELP="1"' 
6082   ac_cv_use_help
='wxUSE_HELP="0"' 
6086   LINE
=`grep "wxUSE_HELP" ${OSTYPE}.system.cache` 
6087   if test "x$LINE" != x 
; then 
6088     eval "DEFAULT_$LINE" 
6090   ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP 
6094 eval "$ac_cv_use_help" 
6095 echo $ac_cv_use_help >> ${OSTYPE}.system.cache.tmp
 
6096 if test "$wxUSE_HELP" = 1; then 
6097   echo "$ac_t""yes" 1>&6 
6099   echo "$ac_t""no" 1>&6 
6104 if test "$wxUSE_UNIX" = 1 ; then 
6105   cat >> confdefs.h 
<<\EOF
 
6123 if test "$wxUSE_GTK" = 1; then 
6124   # Check whether --with-gtk-prefix or --without-gtk-prefix was given. 
6125 if test "${with_gtk_prefix+set}" = set; then 
6126   withval
="$with_gtk_prefix" 
6127   gtk_config_prefix
="$withval" 
6129   gtk_config_prefix
="" 
6132 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given. 
6133 if test "${with_gtk_exec_prefix+set}" = set; then 
6134   withval
="$with_gtk_exec_prefix" 
6135   gtk_config_exec_prefix
="$withval" 
6137   gtk_config_exec_prefix
="" 
6141   if test x
$gtk_config_exec_prefix != x 
; then 
6142      gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix" 
6143      if test x
${GTK_CONFIG+set} != xset 
; then 
6144         GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config 
6147   if test x
$gtk_config_prefix != x 
; then 
6148      gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix" 
6149      if test x
${GTK_CONFIG+set} != xset 
; then 
6150         GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config 
6154   # Extract the first word of "gtk-config", so it can be a program name with args. 
6155 set dummy gtk
-config; ac_word
=$2 
6156 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
6157 echo "configure:6158: checking for $ac_word" >&5 
6158 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then 
6159   echo $ac_n "(cached) $ac_c" 1>&6 
6161   case "$GTK_CONFIG" in 
6163   ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path. 
6166   IFS
="${IFS=   }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:" 
6167   for ac_dir 
in $PATH; do 
6168     test -z "$ac_dir" && ac_dir
=.
 
6169     if test -f $ac_dir/$ac_word; then 
6170       ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word" 
6175   test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no" 
6179 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG" 
6180 if test -n "$GTK_CONFIG"; then 
6181   echo "$ac_t""$GTK_CONFIG" 1>&6 
6183   echo "$ac_t""no" 1>&6 
6186   min_gtk_version
=1.0.4 
6187   echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6 
6188 echo "configure:6189: checking for GTK - version >= $min_gtk_version" >&5 
6190   if test "$GTK_CONFIG" != "no" ; then 
6191     GTK_CFLAGS
=`$GTK_CONFIG --cflags` 
6192     GTK_LIBS
=`$GTK_CONFIG --libs` 
6193     ac_save_CFLAGS
="$CFLAGS" 
6194     ac_save_LIBS
="$LIBS" 
6195     CFLAGS
="$CFLAGS $GTK_CFLAGS" 
6196     LIBS
="$LIBS $GTK_LIBS" 
6197     if test "$cross_compiling" = yes; then 
6198   echo $ac_n "cross compiling; assumed OK... $ac_c" 
6200   cat > conftest.
$ac_ext <<EOF 
6201 #line 6202 "configure" 
6202 #include "confdefs.h" 
6204 #include <gtk/gtk.h> 
6210   int major, minor, micro; 
6212   if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) { 
6213      printf("%s, bad version string\n", "$min_gtk_version"); 
6217    return !((gtk_major_version > major) || 
6218             ((gtk_major_version == major) && (gtk_minor_version > minor)) || 
6219             ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro))); 
6223 if { (eval echo configure
:6224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest 
&& (.
/conftest
; exit) 2>/dev
/null
 
6227   echo "configure: failed program was:" >&5 
6228   cat conftest.
$ac_ext >&5 
6235      CFLAGS
="$ac_save_CFLAGS" 
6236      LIBS
="$ac_save_LIBS" 
6240   if test "x$no_gtk" = x 
; then 
6241      echo "$ac_t""yes" 1>&6 
6243        GUI_TK_INCLUDE
="$GTK_CFLAGS" 
6244        GUI_TK_LIBRARY
="$GTK_LIBS" 
6247      echo "$ac_t""no" 1>&6 
6250      { echo "configure: error: Is gtk-config in path and GTK+ is version 1.0.4?" 1>&2; exit 1; } 
6256   TOOLKIT_DEF
=__WXGTK__
 
6257   WX_LINK
=-lwx_gtk_1_0 
6258   MAKEINCLUDE
=..
/gtk.inc
 
6261 if test "$wxUSE_QT" = 1; then 
6262    echo $ac_n "checking for Qt includes""... $ac_c" 1>&6 
6263 echo "configure:6264: checking for Qt includes" >&5 
6266 for ac_dir 
in $SEARCH_INCLUDE; 
6268     if test -f "$ac_dir/qapp.h"; then 
6269       ac_find_includes
=$ac_dir 
6274    if test "$ac_find_includes" != "" ; then 
6275      echo "$ac_t""found $ac_find_includes" 1>&6 
6276      echo $ac_n "checking for Qt library""... $ac_c" 1>&6 
6277 echo "configure:6278: checking for Qt library" >&5 
6280 for ac_dir 
in $SEARCH_LIB; 
6282     for ac_extension 
in a so sl
; do 
6283       if test -f "$ac_dir/libqt.$ac_extension"; then 
6284         ac_find_libraries
=$ac_dir 
6290      if test "$ac_find_libraries" != "" ; then 
6292   ac_path_to_include
=$ac_find_includes 
6293   echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
 
6295   if test $result = 0; then 
6296     ac_path_to_include
="" 
6298     ac_path_to_include
="-I$ac_find_includes"     
6302   echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
 
6304   if test $result = 0; then 
6307     ac_path_to_link
="-L$ac_find_libraries"     
6310        CHECK_LINK
="$CHECK_INCLUDE $ac_path_to_link" 
6311        CHECK_INCLUDE
="$CHECK_INCLUDE $ac_path_to_include" 
6312        echo "$ac_t""found Qt at $ac_find_libraries" 1>&6 
6314        { echo "configure: error: no" 1>&2; exit 1; } 
6317      { echo "configure: error: no" 1>&2; exit 1; } 
6319   GUI_TK_LINK
="-lX11 -lqt -lm" 
6321   TOOLKIT_DEF
=__WXQT__
 
6323   MAKEINCLUDE
=..
/qt.inc
 
6326 if test "$wxUSE_MOTIF" = 1; then 
6327    echo $ac_n "checking for Motif/Lesstif includes""... $ac_c" 1>&6 
6328 echo "configure:6329: checking for Motif/Lesstif includes" >&5 
6331 for ac_dir 
in $SEARCH_INCLUDE; 
6333     if test -f "$ac_dir/Xm.h"; then 
6334       ac_find_includes
=$ac_dir 
6339    if test "$ac_find_includes" != "" ; then 
6340      echo "$ac_t""found $ac_find_includes" 1>&6 
6341      echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6 
6342 echo "configure:6343: checking for Motif/Lesstif library" >&5 
6345 for ac_dir 
in $SEARCH_LIB; 
6347     for ac_extension 
in a so sl
; do 
6348       if test -f "$ac_dir/libXm.$ac_extension"; then 
6349         ac_find_libraries
=$ac_dir 
6355      if test "$ac_find_libraries" != "" ; then 
6357   ac_path_to_include
=$ac_find_includes 
6358   echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
 
6360   if test $result = 0; then 
6361     ac_path_to_include
="" 
6363     ac_path_to_include
="-I$ac_find_includes"     
6367   echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
 
6369   if test $result = 0; then 
6372     ac_path_to_link
="-L$ac_find_libraries"     
6375        CHECK_LINK
="$CHECK_LIB $ac_path_to_link" 
6376        CHECK_INCLUDE
="$CHECK_INCLUDE $ac_path_to_include" 
6377        echo "$ac_t""found at $ac_find_libraries" 1>&6 
6378        echo $ac_n "checking for Xt library""... $ac_c" 1>&6 
6379 echo "configure:6380: checking for Xt library" >&5 
6382 for ac_dir 
in $SEARCH_LIB; 
6384     for ac_extension 
in a so sl
; do 
6385       if test -f "$ac_dir/libXt.$ac_extension"; then 
6386         ac_find_libraries
=$ac_dir 
6392        if test "$ac_find_libraries" != "" ; then 
6394   echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
 
6396   if test $result = 0; then 
6399     ac_path_to_link
="-L$ac_find_libraries"     
6402          CHECK_LINK
="$CHECK_LIB $ac_path_to_link" 
6403          echo "$ac_t""found at $ac_find_libraries" 1>&6 
6404          echo $ac_n "checking for Xpm library""... $ac_c" 1>&6 
6405 echo "configure:6406: checking for Xpm library" >&5 
6408 for ac_dir 
in $SEARCH_LIB; 
6410     for ac_extension 
in a so sl
; do 
6411       if test -f "$ac_dir/libXpm.$ac_extension"; then 
6412         ac_find_libraries
=$ac_dir 
6418          if test "$ac_find_libraries" != "" ; then 
6420   echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
 
6422   if test $result = 0; then 
6425     ac_path_to_link
="-L$ac_find_libraries"     
6428            CHECK_LINK
="$CHECK_LIB $ac_path_to_link" 
6429            echo "$ac_t""found at $ac_find_libraries" 1>&6 
6431            { echo "configure: error: no" 1>&2; exit 1; } 
6434          { echo "configure: error: no" 1>&2; exit 1; } 
6437        { echo "configure: error: no" 1>&2; exit 1; } 
6440      { echo "configure: error: no" 1>&2; exit 1; } 
6443   GUI_TK_LINK
="-lXm -lXmu -lXt -lXpm -lX11 -lm" 
6444   GUI_TK_LINK
="$CHECK_LINK $GUI_TK_LINK" 
6446   TOOLKIT_DEF
="__WXMOTIF__ -D__LINUX__ -D__UNIX__" 
6448   MAKEINCLUDE
=..
/motif.inc
 
6451 if test "$TOOLKIT" = ""; then 
6452   { echo "configure: error: You must specify a toolkit: --with-gtk --with-qt --with-motif" 1>&2; exit 1; }  
6468 if test "$wxUSE_DEBUG_GDB" = 1 ; then 
6473   if test "$wxUSE_DEBUG_INFO" = 1 ; then 
6480 if test "$wxUSE_DEBUG_FLAG" = 1 ; then 
6481   cat >> confdefs.h 
<<EOF 
6482 #define WXDEBUG $wxUSE_DEBUG_FLAG 
6485   WXDEBUG_DEFINE
="-D__WXDEBUG__" 
6488   WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS" 
6492 if test "$wxUSE_MEM_TRACING" = 1 ; then 
6493   cat >> confdefs.h 
<<EOF 
6494 #define wxUSE_MEMORY_TRACING $wxUSE_MEM_TRACING 
6497   cat >> confdefs.h 
<<EOF 
6498 #define wxUSE_GLOBAL_MEMORY_OPERATORS $wxUSE_MEM_TRACING 
6504 if test "$wxUSE_DMALLOC" = 1 ; then 
6505   EXTRA_LINK
="$EXTRA_LINK -ldmalloc" 
6510 if test "$wxUSE_PROFILE" = 1 ; then 
6515 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" ` 
6516 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" ` 
6517 if test "$wxUSE_OPTIMISE" = 0 ; then 
6520   if test "$GCC" = yes ; then 
6522     case "${canonical}" in 
6524         OPTIMISE
="${OPTIMISE} " 
6534 if test "$wxUSE_APPLE_IEEE" = 1 ; then 
6535   APPLE_IEEE
="APPLE_IEEE" 
6536   cat >> confdefs.h 
<<EOF 
6537 #define wxUSE_APPLE_IEEE $wxUSE_APPLE_IEEE 
6542 wxUSE_IOSTREAMH
=$DEFAULT_wxUSE_IOSTREAMH 
6543 cat >> confdefs.h 
<<EOF 
6544 #define wxUSE_IOSTREAMH $wxUSE_IOSTREAMH 
6549 if test "$wxUSE_ZLIB" = 1 ; then 
6550   cat >> confdefs.h 
<<EOF 
6551 #define wxUSE_ZLIB $wxUSE_ZLIB 
6556 if test "$wxUSE_LIBPNG" = 1 ; then 
6557   cat >> confdefs.h 
<<EOF 
6558 #define wxUSE_LIBPNG $wxUSE_LIBPNG 
6564 if test "$wxUSE_ODBC" = 1 ; then 
6565   cat >> confdefs.h 
<<EOF 
6566 #define wxUSE_ODBC $wxUSE_ODBC 
6569   IODBC_C_SRC
="\$(IODBC_C_SRC)" 
6574 if test "$wxUSE_GAUGE" = 1 ; then 
6575   cat >> confdefs.h 
<<EOF 
6576 #define wxUSE_GAUGE $wxUSE_GAUGE 
6581 if test "$wxUSE_COMBOBOX" = 1 ; then 
6582   cat >> confdefs.h 
<<EOF 
6583 #define wxUSE_COMBOBOX $wxUSE_COMBOBOX 
6588 if test "$wxUSE_SCROLLBAR" = 1 ; then 
6589   cat >> confdefs.h 
<<EOF 
6590 #define wxUSE_SCROLLBAR $wxUSE_SCROLLBAR 
6595 if test "$wxUSE_LISTCTRL" = 1 ; then 
6596   cat >> confdefs.h 
<<EOF 
6597 #define wxUSE_LISTCTRL $wxUSE_LISTCTRL 
6602 if test "$wxUSE_TREECTRL" = 1 ; then 
6603   cat >> confdefs.h 
<<EOF 
6604 #define wxUSE_TREECTRL $wxUSE_TREECTRL 
6609 if test "$wxUSE_GRID" = 1 ; then 
6610   cat >> confdefs.h 
<<EOF 
6611 #define wxUSE_GRID $wxUSE_GRID 
6616 if test "$wxUSE_TAB_DIALOG" = 1 ; then 
6617   cat >> confdefs.h 
<<EOF 
6618 #define wxUSE_TAB_DIALOG $wxUSE_TAB_DIALOG 
6623 if test "$wxUSE_NOTEBOOK" = 1 ; then 
6624   cat >> confdefs.h 
<<EOF 
6625 #define wxUSE_NOTEBOOK $wxUSE_NOTEBOOK 
6631 if test "$wxUSE_CONFIG" = 1 ; then 
6632   cat >> confdefs.h 
<<EOF 
6633 #define wxUSE_CONFIG $wxUSE_CONFIG 
6638 if test "$wxUSE_TIMEDATE" = 1 ; then 
6639   cat >> confdefs.h 
<<EOF 
6640 #define wxUSE_TIMEDATE $wxUSE_TIMEDATE 
6645 if test "$wxUSE_FRACTION" = 1 ; then 
6646   cat >> confdefs.h 
<<EOF 
6647 #define wxUSE_FRACTION $wxUSE_FRACTION 
6652 if test "$wxUSE_LOG" = 1 ; then 
6653   cat >> confdefs.h 
<<EOF 
6654 #define wxUSE_LOG $wxUSE_LOG 
6659 if test "$wxUSE_INTL" = 1 ; then 
6660   cat >> confdefs.h 
<<EOF 
6661 #define wxUSE_INTL $wxUSE_INTL 
6666 if test "$wxUSE_STREAMS" = 1 ; then 
6667   cat >> confdefs.h 
<<EOF 
6668 #define wxUSE_STREAMS $wxUSE_STREAMS 
6673 if test "$wxUSE_SERIAL" = 1 ; then 
6674   cat >> confdefs.h 
<<EOF 
6675 #define wxUSE_SERIAL $wxUSE_SERIAL 
6680 if test "$wxUSE_FILE" = 1 ; then 
6681   cat >> confdefs.h 
<<EOF 
6682 #define wxUSE_FILE $wxUSE_FILE 
6687 if test "$wxUSE_TEXTFILE" = 1 ; then 
6688   cat >> confdefs.h 
<<EOF 
6689 #define wxUSE_TEXTFILE $wxUSE_TEXTFILE 
6695 if test "$wxUSE_RPC" = 1 ; then 
6696   cat >> confdefs.h 
<<EOF 
6697 #define wxUSE_RPC $wxUSE_RPC 
6702 if test "$wxUSE_WX_RESOURCES" = 1 ; then 
6703   cat >> confdefs.h 
<<EOF 
6704 #define wxUSE_WX_RESOURCES $wxUSE_WX_RESOURCES 
6709 if test "$wxUSE_PROLOGIO" = 1 ; then 
6710   cat >> confdefs.h 
<<EOF 
6711 #define wxUSE_PROLOGIO 1 
6717 if test "$wxUSE_POSTSCRIPT" = 1 ; then 
6718   cat >> confdefs.h 
<<EOF 
6719 #define wxUSE_POSTSCRIPT 1 
6724 cat >> confdefs.h 
<<EOF 
6725 #define wxUSE_AFM_FOR_POSTSCRIPT $wxUSE_AFM_FOR_POSTSCRIPT 
6729 cat >> confdefs.h 
<<EOF 
6730 #define WX_NORMALIZED_PS_FONTS $WX_NORMALIZED_PS_FONTS 
6735 if test "$wxUSE_MDI_ARCHITECTURE" = 1 ; then 
6736   cat >> confdefs.h 
<<EOF 
6737 #define wxUSE_MDI_ARCHITECTURE $wxUSE_MDI_ARCHITECTURE 
6742 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = 1 ; then 
6743   cat >> confdefs.h 
<<EOF 
6744 #define wxUSE_DOC_VIEW_ARCHITECTURE $wxUSE_DOC_VIEW_ARCHITECTURE 
6749 if test "$wxUSE_PRINTING_ARCHITECTURE" = 1 ; then 
6750   cat >> confdefs.h 
<<EOF 
6751 #define wxUSE_PRINTING_ARCHITECTURE $wxUSE_PRINTING_ARCHITECTURE 
6757 if test "$wxUSE_UNICODE" = 1 ; then 
6758   cat >> confdefs.h 
<<EOF 
6759 #define wxUSE_UNICODE 1 
6764 if test "$wxUSE_WCSRTOMBS" = 1 ; then 
6765   cat >> confdefs.h 
<<EOF 
6766 #define wxUSE_WCSRTOMBS 1 
6772 if test "$wxUSE_IPC" = 1 ; then 
6773   cat >> confdefs.h 
<<EOF 
6779 if test "$wxUSE_RESOURCES" = 1 ; then 
6780   cat >> confdefs.h 
<<EOF 
6781 #define wxUSE_RESOURCES $wxUSE_RESOURCES 
6786 if test "$wxUSE_CLIPBOARD" = 1 ; then 
6787   cat >> confdefs.h 
<<EOF 
6788 #define wxUSE_CLIPBOARD $wxUSE_CLIPBOARD 
6793 if test "$wxUSE_DND" = 1 ; then 
6794   cat >> confdefs.h 
<<EOF 
6795 #define wxUSE_DND $wxUSE_DND 
6800 if test "$wxUSE_CONSTRAINTS" = 1 ; then 
6801   cat >> confdefs.h 
<<EOF 
6802 #define wxUSE_CONSTRAINTS $wxUSE_CONSTRAINTS 
6809 if test "$wxUSE_METAFILE" = 1 ; then 
6811   cat >> confdefs.h 
<<EOF 
6812 #define wxUSE_METAFILE $wxUSE_METAFILE 
6819 if test "$wxUSE_HELP" = 1 ; then 
6821   cat >> confdefs.h 
<<EOF 
6822 #define wxUSE_HELP $wxUSE_HELP 
6829 if test "$wxUSE_WXGRAPH" = 1 ; then 
6831   cat >> confdefs.h 
<<EOF 
6832 #define wxUSE_WXGRAPH $wxUSE_WXGRAPH 
6839 if test "$wxUSE_WXTREE" = 1 ; then 
6841   cat >> confdefs.h 
<<EOF 
6842 #define wxUSE_WXTREE $wxUSE_WXTREE 
6849 if test "$wxUSE_OPENGL" = 1 ; then 
6854 echo $ac_n "checking for main in -ldl""... $ac_c" 1>&6 
6855 echo "configure:6856: checking for main in -ldl" >&5 
6856 ac_lib_var
=`echo dl'_'main | sed 'y%./+-%__p_%'` 
6857 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
6858   echo $ac_n "(cached) $ac_c" 1>&6 
6860   ac_save_LIBS
="$LIBS" 
6862 cat > conftest.
$ac_ext <<EOF 
6863 #line 6864 "configure" 
6864 #include "confdefs.h" 
6870 if { (eval echo configure
:6871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then 
6872   eval "ac_cv_lib_$ac_lib_var=yes" 
6874   echo "configure: failed program was:" >&5 
6875   cat conftest.
$ac_ext >&5 
6877   eval "ac_cv_lib_$ac_lib_var=no" 
6880 LIBS
="$ac_save_LIBS" 
6883 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 
6884   echo "$ac_t""yes" 1>&6 
6887   echo "$ac_t""no" 1>&6 
6896 UNIX_THREAD
="gtk/threadno.cpp" 
6899 echo $ac_n "checking "for threads
"""... $ac_c" 1>&6 
6900 echo "configure:6901: checking "for threads
"" >&5 
6901 # Check whether --with-threads or --without-threads was given. 
6902 if test "${with_threads+set}" = set; then 
6903   withval
="$with_threads" 
6904   if test "x$with_threads" = xyes
; then 
6905   ac_cv_use_threads
='wxUSE_THREADS="1"' 
6907   ac_cv_use_threads
='wxUSE_THREADS="0"' 
6911   LINE
=`grep "wxUSE_THREADS" ${OSTYPE}.system.cache` 
6912   if test "x$LINE" != x 
; then 
6913     eval "DEFAULT_$LINE" 
6915   ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS 
6919 eval "$ac_cv_use_threads" 
6920 echo $ac_cv_use_threads >> ${OSTYPE}.system.cache.tmp
 
6921 if test "$wxUSE_THREADS" = 1; then 
6922   echo "$ac_t""yes" 1>&6 
6924   echo "$ac_t""no" 1>&6 
6929 if test "$wxUSE_THREADS" = "1"; then 
6930   UNIX_THREAD
="gtk/threadno.cpp" 
6933   echo $ac_n "checking for pthread_create in -lpthread-0.7""... $ac_c" 1>&6 
6934 echo "configure:6935: checking for pthread_create in -lpthread-0.7" >&5 
6935 ac_lib_var
=`echo pthread-0.7'_'pthread_create | sed 'y%./+-%__p_%'` 
6936 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
6937   echo $ac_n "(cached) $ac_c" 1>&6 
6939   ac_save_LIBS
="$LIBS" 
6940 LIBS
="-lpthread-0.7  $LIBS" 
6941 cat > conftest.
$ac_ext <<EOF 
6942 #line 6943 "configure" 
6943 #include "confdefs.h" 
6944 /* Override any gcc2 internal prototype to avoid an error.  */ 
6945 /* We use char because int might match the return type of a gcc2 
6946     builtin and then its argument prototype would still apply.  */ 
6947 char pthread_create(); 
6953 if { (eval echo configure
:6954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then 
6955   eval "ac_cv_lib_$ac_lib_var=yes" 
6957   echo "configure: failed program was:" >&5 
6958   cat conftest.
$ac_ext >&5 
6960   eval "ac_cv_lib_$ac_lib_var=no" 
6963 LIBS
="$ac_save_LIBS" 
6966 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 
6967   echo "$ac_t""yes" 1>&6 
6969      UNIX_THREAD
="gtk/threadpsx.cpp" 
6970      THREADS_LINK
="-lpthread-0.7" 
6973   echo "$ac_t""no" 1>&6 
6975     ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'` 
6976 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6 
6977 echo "configure:6978: checking for sys/prctl.h" >&5 
6978 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 
6979   echo $ac_n "(cached) $ac_c" 1>&6 
6981   cat > conftest.
$ac_ext <<EOF 
6982 #line 6983 "configure" 
6983 #include "confdefs.h" 
6984 #include <sys/prctl.h> 
6986 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
6987 { (eval echo configure
:6988: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
6988 ac_err
=`grep -v '^ *+' conftest.out` 
6989 if test -z "$ac_err"; then 
6991   eval "ac_cv_header_$ac_safe=yes" 
6994   echo "configure: failed program was:" >&5 
6995   cat conftest.
$ac_ext >&5 
6997   eval "ac_cv_header_$ac_safe=no" 
7001 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 
7002   echo "$ac_t""yes" 1>&6 
7004         UNIX_THREAD
="gtk/threadsgi.cpp" 
7007   echo "$ac_t""no" 1>&6 
7012     echo $ac_n "checking for pthread_setcanceltype in -lpthread""... $ac_c" 1>&6 
7013 echo "configure:7014: checking for pthread_setcanceltype in -lpthread" >&5 
7014 ac_lib_var
=`echo pthread'_'pthread_setcanceltype | sed 'y%./+-%__p_%'` 
7015 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
7016   echo $ac_n "(cached) $ac_c" 1>&6 
7018   ac_save_LIBS
="$LIBS" 
7019 LIBS
="-lpthread  $LIBS" 
7020 cat > conftest.
$ac_ext <<EOF 
7021 #line 7022 "configure" 
7022 #include "confdefs.h" 
7023 /* Override any gcc2 internal prototype to avoid an error.  */ 
7024 /* We use char because int might match the return type of a gcc2 
7025     builtin and then its argument prototype would still apply.  */ 
7026 char pthread_setcanceltype(); 
7029 pthread_setcanceltype() 
7032 if { (eval echo configure
:7033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then 
7034   eval "ac_cv_lib_$ac_lib_var=yes" 
7036   echo "configure: failed program was:" >&5 
7037   cat conftest.
$ac_ext >&5 
7039   eval "ac_cv_lib_$ac_lib_var=no" 
7042 LIBS
="$ac_save_LIBS" 
7045 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 
7046   echo "$ac_t""yes" 1>&6 
7048        UNIX_THREAD
="gtk/threadpsx.cpp" 
7049        THREADS_LINK
="-lpthread" 
7052   echo "$ac_t""no" 1>&6 
7058   echo $ac_n "checking for pthread_setcanceltype in -lpthreads""... $ac_c" 1>&6 
7059 echo "configure:7060: checking for pthread_setcanceltype in -lpthreads" >&5 
7060 ac_lib_var
=`echo pthreads'_'pthread_setcanceltype | sed 'y%./+-%__p_%'` 
7061 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
7062   echo $ac_n "(cached) $ac_c" 1>&6 
7064   ac_save_LIBS
="$LIBS" 
7065 LIBS
="-lpthreads  $LIBS" 
7066 cat > conftest.
$ac_ext <<EOF 
7067 #line 7068 "configure" 
7068 #include "confdefs.h" 
7069 /* Override any gcc2 internal prototype to avoid an error.  */ 
7070 /* We use char because int might match the return type of a gcc2 
7071     builtin and then its argument prototype would still apply.  */ 
7072 char pthread_setcanceltype(); 
7075 pthread_setcanceltype() 
7078 if { (eval echo configure
:7079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then 
7080   eval "ac_cv_lib_$ac_lib_var=yes" 
7082   echo "configure: failed program was:" >&5 
7083   cat conftest.
$ac_ext >&5 
7085   eval "ac_cv_lib_$ac_lib_var=no" 
7088 LIBS
="$ac_save_LIBS" 
7091 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 
7092   echo "$ac_t""yes" 1>&6 
7094      UNIX_THREAD
="gtk/threadpsx.cpp" 
7095      THREADS_LINK
="-lpthreads" 
7098   echo "$ac_t""no" 1>&6 
7103 if test "$wxUSE_MOTIF" = "1"; then 
7104   UNIX_THREAD
="motif/thread.cpp" 
7107 if test -z "$UNIX_THREAD"; then 
7113 cat >> confdefs.h 
<<\EOF
 
7114 #define wxUSE_THREADS 1 
7124 if test "$wxUSE_OPENGL" = 1; then 
7125     echo $ac_n "checking for OpenGL includes""... $ac_c" 1>&6 
7126 echo "configure:7127: checking for OpenGL includes" >&5 
7129 for ac_dir 
in $SEARCH_INCLUDE; 
7131     if test -f "$ac_dir/GL/gl.h"; then 
7132       ac_find_includes
=$ac_dir 
7137   if test "$ac_find_includes" != "" ; then 
7138     OPENGL_INCLUDE
="-I$ac_find_includes" 
7139     echo "$ac_t""found $ac_find_includes" 1>&6 
7140         echo $ac_n "checking for OpenGL library""... $ac_c" 1>&6 
7141 echo "configure:7142: checking for OpenGL library" >&5 
7144 for ac_dir 
in $SEARCH_LIB; 
7146     for ac_extension 
in a so sl
; do 
7147       if test -f "$ac_dir/libGL.$ac_extension"; then 
7148         ac_find_libraries
=$ac_dir 
7154     if test "$ac_find_libraries" != "" ; then 
7156   ac_path_to_include
=$ac_find_includes 
7157   echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
 
7159   if test $result = 0; then 
7160     ac_path_to_include
="" 
7162     ac_path_to_include
="-I$ac_find_includes"     
7166   echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
 
7168   if test $result = 0; then 
7171     ac_path_to_link
="-L$ac_find_libraries"     
7174       CHECK_LINK
="$CHECK_INCLUDE $ac_path_to_link" 
7175       CHECK_INCLUDE
="$CHECK_INCLUDE $ac_path_to_include" 
7176       OPENGL_LIBRARY
="$ac_path_to_link" 
7177       OPENGL_INCLUDE
="$ac_path_to_include" 
7179       echo "$ac_t""found OpenGL at $ac_find_libraries" 1>&6 
7183 for ac_dir 
in $SEARCH_LIB; 
7185     for ac_extension 
in a so sl
; do 
7186       if test -f "$ac_dir/libMesaGL.$ac_extension"; then 
7187         ac_find_libraries
=$ac_dir 
7193       if test "$ac_find_libraries" != "" ; then 
7195   ac_path_to_include
=$ac_find_includes 
7196   echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
 
7198   if test $result = 0; then 
7199     ac_path_to_include
="" 
7201     ac_path_to_include
="-I$ac_find_includes"     
7205   echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
 
7207   if test $result = 0; then 
7210     ac_path_to_link
="-L$ac_find_libraries"     
7213         CHECK_LINK
="$CHECK_INCLUDE $ac_path_to_link" 
7214         CHECK_INCLUDE
="$CHECK_INCLUDE $ac_path_to_include" 
7215         OPENGL_LIBRARY
="$ac_path_to_link" 
7216         OPENGL_INCLUDE
="$ac_path_to_include" 
7217         OPENGL_LINK
="-lMesaGL" 
7218         echo "$ac_t""found MESA at $ac_find_libraries" 1>&6 
7220         { echo "configure: error: no" 1>&2; exit 1; } 
7224     { echo "configure: error: no" 1>&2; exit 1; } 
7229 wxUSE_GLX
=$wxUSE_OPENGL 
7230 if test "$wxUSE_OPENGL" != 1; then 
7237 cat >> confdefs.h 
<<EOF 
7238 #define wxUSE_GLX $wxUSE_GLX 
7249 case "${canonical}" in 
7252     if test "$GCC" != "yes" ; then 
7253       CXXFLAGS
="${CXXFLAGS} +a1 -z -Aa -D_HPUX_SOURCE" 
7254       CFLAGS
="${CFLAGS} -z -D_HPUX_SOURCE" 
7260     CREATE_SHARED
=sharedHpux
 
7265     CREATE_SHARED
=sharedLinux
 
7268   *-*-irix5* | *-*-irix6* )  
7269     # PICFLAGS can remain empty, as pic is the default 
7271     CREATE_SHARED
=sharedIrix
 
7272     cat >> confdefs.h 
<<\EOF
 
7279     if test "$GCC" != "yes" ; then 
7284     CREATE_SHARED
=sharedSolaris2
 
7285     cat >> confdefs.h 
<<\EOF
 
7292     if test "$GCC" != "yes" ; then 
7298     CREATE_SHARED
=sharedSunos4
 
7299     cat >> confdefs.h 
<<\EOF
 
7305   *-*-freebsd* | *-*-netbsd*) 
7307     CREATE_SHARED
=sharedBsd
 
7308     cat >> confdefs.h 
<<\EOF
 
7316     CREATE_SHARED
=sharedOSF
 
7320     if test "$GCC" != "yes" ; then 
7325     CREATE_SHARED
=sharedDgux
 
7326     cat >> confdefs.h 
<<\EOF
 
7333     if test "$GCC" != "yes" ; then 
7338     CREATE_SHARED
=sharedSysV
 
7339     cat >> confdefs.h 
<<\EOF
 
7346     if test "$GCC" != "yes" ; then 
7351     CREATE_SHARED
=sharedAIX
 
7352     cat >> confdefs.h 
<<\EOF
 
7363 if test "x$GCC" = xyes
; then 
7364   CFLAGS
="${CFLAGS} -Wall" 
7367 if test "x$GXX" = xyes
; then 
7368   if test "$wxUSE_MOTIF" = 1; then 
7369     CXXFLAGS
="${CXXFLAGS} -Wall -Wno-unused" 
7371     CXXFLAGS
="${CXXFLAGS} -Wall" 
7375 if test "$wxUSE_SHARED" != 1; then 
7385 echo $OS >> system.list
 
7389 cat > confcache 
<<\EOF
 
7390 # This file is a shell script that caches the results of configure 
7391 # tests run on this system so they can be shared between configure 
7392 # scripts and configure runs.  It is not useful on other systems. 
7393 # If it contains results you don't want to keep, you may remove or edit it. 
7395 # By default, configure uses ./config.cache as the cache file, 
7396 # creating it if it does not exist already.  You can give configure 
7397 # the --cache-file=FILE option to use a different cache file; that is 
7398 # what configure does when it calls configure scripts in 
7399 # subdirectories, so they share the cache. 
7400 # Giving --cache-file=/dev/null disables caching, for debugging configure. 
7401 # config.status only pays attention to the cache file if you give it the 
7402 # --recheck option to rerun configure. 
7405 # The following way of writing the cache mishandles newlines in values, 
7406 # but we know of no workaround that is simple, portable, and efficient. 
7407 # So, don't put newlines in cache variables' values. 
7408 # Ultrix sh set writes to stderr and can't be redirected directly, 
7409 # and sets the high bit in the cache file unless we assign to the vars. 
7411   case `(ac_space=' '; set) 2>&1` in 
7413     # `set' does not quote correctly, so add quotes (double-quote substitution 
7414     # turns \\\\ into \\, and sed turns \\ into \). 
7416       -e "s/'/'\\\\''/g" \
 
7417       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" 
7420     # `set' quotes correctly as required by POSIX, so do not add quotes. 
7421     sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' 
7424 if cmp -s $cache_file confcache
; then 
7427   if test -w $cache_file; then 
7428     echo "updating cache $cache_file" 
7429     cat confcache 
> $cache_file 
7431     echo "not updating unwritable cache $cache_file" 
7436 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 
7438 test "x$prefix" = xNONE 
&& prefix
=$ac_default_prefix 
7439 # Let make expand exec_prefix. 
7440 test "x$exec_prefix" = xNONE 
&& exec_prefix
='${prefix}' 
7442 # Any assignment to VPATH causes Sun make to only execute 
7443 # the first set of double-colon rules, so remove it if not needed. 
7444 # If there is a colon in the path, we need to keep it. 
7445 if test "x$srcdir" = x.
; then 
7446   ac_vpsub
='/^[         ]*VPATH[        ]*=[^:]*$/d' 
7449 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 
7451 DEFS
=-DHAVE_CONFIG_H 
7453 # Without the "./", some shells look in PATH for config.status. 
7454 : ${CONFIG_STATUS=./config.status} 
7456 echo creating 
$CONFIG_STATUS 
7457 rm -f $CONFIG_STATUS 
7458 cat > $CONFIG_STATUS <<EOF 
7460 # Generated automatically by configure. 
7461 # Run this file to recreate the current configuration. 
7462 # This directory was configured as follows, 
7463 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 
7465 # $0 $ac_configure_args 
7467 # Compiler output produced by configure, useful for debugging 
7468 # configure, is in ./config.log if it exists. 
7470 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" 
7473   case "\$ac_option" in 
7474   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 
7475     echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" 
7476     exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; 
7477   -version | --version | --versio | --versi | --vers | --ver | --ve | --v) 
7478     echo "$CONFIG_STATUS generated by autoconf version 2.12" 
7480   -help | --help | --hel | --he | --h) 
7481     echo "\$ac_cs_usage"; exit 0 ;; 
7482   *) echo "\$ac_cs_usage"; exit 1 ;; 
7486 ac_given_srcdir=$srcdir 
7487 ac_given_INSTALL="$INSTALL" 
7489 trap 'rm -fr `echo "./setup/substit ./wx-config:./wx-config.in ./include/wx/gtk/setup.h:./setup/setup.hin" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 
7491 cat >> $CONFIG_STATUS <<EOF 
7493 # Protect against being on the right side of a sed subst in config.status. 
7494 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; 
7495  s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF 
7498 s%@CFLAGS@%$CFLAGS%g 
7499 s%@CPPFLAGS@%$CPPFLAGS%g 
7500 s%@CXXFLAGS@%$CXXFLAGS%g 
7502 s%@LDFLAGS@%$LDFLAGS%g 
7504 s%@exec_prefix@%$exec_prefix%g 
7505 s%@prefix@%$prefix%g 
7506 s%@program_transform_name@%$program_transform_name%g 
7507 s%@bindir@%$bindir%g 
7508 s%@sbindir@%$sbindir%g 
7509 s%@libexecdir@%$libexecdir%g 
7510 s%@datadir@%$datadir%g 
7511 s%@sysconfdir@%$sysconfdir%g 
7512 s%@sharedstatedir@%$sharedstatedir%g 
7513 s%@localstatedir@%$localstatedir%g 
7514 s%@libdir@%$libdir%g 
7515 s%@includedir@%$includedir%g 
7516 s%@oldincludedir@%$oldincludedir%g 
7517 s%@infodir@%$infodir%g 
7518 s%@mandir@%$mandir%g 
7519 s%@WXBASEDIR@%$WXBASEDIR%g 
7523 s%@CXXCPP@%$CXXCPP%g 
7524 s%@RANLIB@%$RANLIB%g 
7526 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g 
7527 s%@INSTALL_DATA@%$INSTALL_DATA%g 
7530 s%@X_CFLAGS@%$X_CFLAGS%g 
7531 s%@X_PRE_LIBS@%$X_PRE_LIBS%g 
7532 s%@X_LIBS@%$X_LIBS%g 
7533 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g 
7534 s%@GTK_JOYSTICK@%$GTK_JOYSTICK%g 
7535 s%@LIBOBJS@%$LIBOBJS%g 
7538 s%@LEXLIB@%$LEXLIB%g 
7539 s%@LEX_OUTPUT_ROOT@%$LEX_OUTPUT_ROOT%g 
7541 s%@host_alias@%$host_alias%g 
7542 s%@host_cpu@%$host_cpu%g 
7543 s%@host_vendor@%$host_vendor%g 
7544 s%@host_os@%$host_os%g 
7545 s%@GTK_CONFIG@%$GTK_CONFIG%g 
7546 s%@GTK_CFLAGS@%$GTK_CFLAGS%g 
7547 s%@GTK_LIBS@%$GTK_LIBS%g 
7548 s%@GUI_TK_INCLUDE@%$GUI_TK_INCLUDE%g 
7549 s%@GUI_TK_LIBRARY@%$GUI_TK_LIBRARY%g 
7550 s%@GUI_TK_LINK@%$GUI_TK_LINK%g 
7551 s%@WX_LINK@%$WX_LINK%g 
7552 s%@TOOLKIT@%$TOOLKIT%g 
7553 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g 
7554 s%@MAKEINCLUDE@%$MAKEINCLUDE%g 
7555 s%@WXDEBUG@%$WXDEBUG%g 
7556 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g 
7557 s%@EXTRA_LINK@%$EXTRA_LINK%g 
7558 s%@PROFILE@%$PROFILE%g 
7559 s%@OPTIMISE@%$OPTIMISE%g 
7560 s%@IODBC_C_SRC@%$IODBC_C_SRC%g 
7561 s%@METAFILE@%$METAFILE%g 
7563 s%@WXGRAPH@%$WXGRAPH%g 
7564 s%@WXTREE@%$WXTREE%g 
7565 s%@DL_LIBRARY@%$DL_LIBRARY%g 
7566 s%@UNIX_THREAD@%$UNIX_THREAD%g 
7567 s%@THREADS_LINK@%$THREADS_LINK%g 
7568 s%@OPENGL_INCLUDE@%$OPENGL_INCLUDE%g 
7569 s%@OPENGL_LIBRARY@%$OPENGL_LIBRARY%g 
7570 s%@OPENGL_LINK@%$OPENGL_LINK%g 
7571 s%@GLCANVAS@%$GLCANVAS%g 
7573 s%@PICFLAGS@%$PICFLAGS%g 
7574 s%@CREATE_SHARED@%$CREATE_SHARED%g 
7579 cat >> $CONFIG_STATUS <<\EOF
 
7581 # Split the substitutions into bite-sized pieces for seds with 
7582 # small command number limits, like on Digital OSF/1 and HP-UX. 
7583 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script. 
7584 ac_file
=1 # Number of current file. 
7585 ac_beg
=1 # First line for current file. 
7586 ac_end
=$ac_max_sed_cmds # Line after last line for current file. 
7589 while $ac_more_lines; do 
7590   if test $ac_beg -gt 1; then 
7591     sed "1,${ac_beg}d; ${ac_end}q" conftest.subs 
> conftest.s
$ac_file 
7593     sed "${ac_end}q" conftest.subs 
> conftest.s
$ac_file 
7595   if test ! -s conftest.s
$ac_file; then 
7597     rm -f conftest.s
$ac_file 
7599     if test -z "$ac_sed_cmds"; then 
7600       ac_sed_cmds
="sed -f conftest.s$ac_file" 
7602       ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file" 
7604     ac_file
=`expr $ac_file + 1` 
7606     ac_end
=`expr $ac_end + $ac_max_sed_cmds` 
7609 if test -z "$ac_sed_cmds"; then 
7614 cat >> $CONFIG_STATUS <<EOF 
7616 CONFIG_FILES=\${CONFIG_FILES-"./setup/substit ./wx-config:./wx-config.in"} 
7618 cat >> $CONFIG_STATUS <<\EOF
 
7619 for ac_file 
in .. 
$CONFIG_FILES; do if test "x$ac_file" != x..
; then 
7620   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 
7622   *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'` 
7623        ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;; 
7624   *) ac_file_in
="${ac_file}.in" ;; 
7627   # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. 
7629   # Remove last slash and all that follows it.  Not all systems have dirname. 
7630   ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'` 
7631   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then 
7632     # The file is in a subdirectory. 
7633     test ! -d "$ac_dir" && mkdir "$ac_dir" 
7634     ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`" 
7635     # A "../" for each directory in $ac_dir_suffix. 
7636     ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` 
7638     ac_dir_suffix
= ac_dots
= 
7641   case "$ac_given_srcdir" in 
7643       if test -z "$ac_dots"; then top_srcdir
=.
 
7644       else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;; 
7645   /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;; 
7647     srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix" 
7648     top_srcdir
="$ac_dots$ac_given_srcdir" ;; 
7651   case "$ac_given_INSTALL" in 
7652   [/$
]*) INSTALL
="$ac_given_INSTALL" ;; 
7653   *) INSTALL
="$ac_dots$ac_given_INSTALL" ;; 
7656   echo creating 
"$ac_file" 
7658   configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." 
7660   *Makefile
*) ac_comsub
="1i\\ 
7661 # $configure_input" ;; 
7665   ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` 
7667 s%@configure_input@%$configure_input%g 
7668 s%@srcdir@%$srcdir%g 
7669 s%@top_srcdir@%$top_srcdir%g 
7670 s%@INSTALL@%$INSTALL%g 
7671 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file 
7675 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 
7676 # NAME is the cpp macro being defined and VALUE is the value it is being given. 
7678 # ac_d sets the value in "#define NAME VALUE" lines. 
7679 ac_dA
='s%^\([   ]*\)#\([        ]*define[       ][      ]*\)' 
7680 ac_dB
='\([      ][      ]*\)[^  ]*%\1#\2' 
7683 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE". 
7684 ac_uA
='s%^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)' 
7685 ac_uB
='\([      ]\)%\1#\2define\3' 
7688 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 
7689 ac_eA
='s%^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)' 
7690 ac_eB
='$%\1#\2define\3' 
7694 if test "${CONFIG_HEADERS+set}" != set; then 
7696 cat >> $CONFIG_STATUS <<EOF 
7697   CONFIG_HEADERS="./include/wx/gtk/setup.h:./setup/setup.hin" 
7699 cat >> $CONFIG_STATUS <<\EOF
 
7701 for ac_file 
in .. 
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then 
7702   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 
7704   *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'` 
7705        ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;; 
7706   *) ac_file_in
="${ac_file}.in" ;; 
7709   echo creating 
$ac_file 
7711   rm -f conftest.frag conftest.
in conftest.out
 
7712   ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` 
7713   cat $ac_file_inputs > conftest.
in 
7717 # Transform confdefs.h into a sed script conftest.vals that substitutes 
7718 # the proper values into config.h.in to produce config.h.  And first: 
7719 # Protect against being on the right side of a sed subst in config.status. 
7720 # Protect against being in an unquoted here document in config.status. 
7722 cat > conftest.hdr 
<<\EOF
 
7725 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp 
7729 sed -n -f conftest.hdr confdefs.h > conftest.vals 
7732 # This sed command replaces #undef with comments.  This is necessary, for 
7733 # example, in the case of _POSIX_SOURCE, which is predefined and required 
7734 # on some systems where configure will not decide to define it. 
7735 cat >> conftest.vals <<\EOF 
7736 s%^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */% 
7739 # Break up conftest.vals because some shells have a limit on 
7740 # the size of here documents, and old seds have small limits too. 
7745   ac_lines=`grep -c . conftest.vals
` 
7746   # grep -c gives empty output for an empty file on some AIX systems. 
7747   if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi 
7748   # Write a limited-size here document to conftest.frag. 
7749   echo '  cat > conftest.frag <<CEOF' >> $CONFIG_STATUS 
7750   sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS 
7752   sed -f conftest.frag conftest.in > conftest.out 
7754   mv conftest.out conftest.in 
7756   sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail 
7758   mv conftest.tail conftest.vals 
7762 cat >> $CONFIG_STATUS <<\EOF 
7763   rm -f conftest.frag conftest.h 
7764   echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h 
7765   cat conftest.in >> conftest.h 
7767   if cmp -s $ac_file conftest.h 2>/dev/null; then 
7768     echo "$ac_file is unchanged" 
7771     # Remove last slash and all that follows it.  Not all systems have dirname. 
7772       ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` 
7773       if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 
7774       # The file is in a subdirectory. 
7775       test ! -d "$ac_dir" && mkdir "$ac_dir" 
7778     mv conftest.h $ac_file 
7783 cat >> $CONFIG_STATUS <<EOF 
7786 cat >> $CONFIG_STATUS <<\EOF 
7787 ./setup/general/createall 
7790 chmod +x $CONFIG_STATUS 
7791 rm -fr confdefs* $ac_clean_files 
7792 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 
7796 mv ${OSTYPE}.system.cache.tmp ${OSTYPE}.system.cache