]>
Commit | Line | Data |
---|---|---|
a16d3c04 KB |
1 | #! /bin/sh |
2 | ||
3 | # From configure.in Id: configure.in | |
4 | ||
5 | ||
6 | ||
7 | ||
8 | ||
9 | ||
10 | ||
11 | ||
12 | ||
13 | ||
14 | ||
15 | ||
16 | ||
17 | ||
18 | ||
19 | ||
20 | ||
21 | ||
22 | ||
23 | ||
24 | ||
25 | ||
26 | ||
27 | ||
28 | ||
29 | ||
30 | ||
31 | ||
32 | ||
33 | ||
34 | ||
35 | ||
36 | ||
37 | ||
38 | ||
39 | ||
40 | ||
41 | ||
42 | ||
43 | # Guess values for system-dependent variables and create Makefiles. | |
f7a11f8c | 44 | # Generated automatically using autoconf version 2.14 |
a16d3c04 KB |
45 | # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. |
46 | # | |
47 | # This configure script is free software; the Free Software Foundation | |
48 | # gives unlimited permission to copy, distribute and modify it. | |
49 | ||
50 | # Defaults: | |
51 | ac_help= | |
52 | ac_default_prefix=/usr/local | |
53 | # Any additions from configure.in: | |
f7a11f8c RR |
54 | ac_help="$ac_help |
55 | --enable-gui use GUI classes" | |
a16d3c04 KB |
56 | ac_help="$ac_help |
57 | --with-gtk use GTK+" | |
58 | ac_help="$ac_help | |
59 | --with-motif use Motif/Lesstif" | |
60 | ac_help="$ac_help | |
61 | --with-wine use WINE" | |
62 | ac_help="$ac_help | |
63 | --with-cygwin use Cygwin for MS-Windows" | |
64 | ac_help="$ac_help | |
65 | --with-mingw use GCC Minimal MS-Windows" | |
66 | ac_help="$ac_help | |
67 | --with-gtk-prefix=PFX Prefix where GTK is installed" | |
68 | ac_help="$ac_help | |
69 | --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed" | |
70 | ac_help="$ac_help | |
71 | --with-dmalloc use dmalloc library (www.letters.com/dmalloc)" | |
72 | ac_help="$ac_help | |
73 | --with-zlib use zlib for LZW compression" | |
74 | ac_help="$ac_help | |
75 | --with-libpng use libpng (PNG image format)" | |
76 | ac_help="$ac_help | |
a16d3c04 KB |
77 | --with-libjpeg use libjpeg (JPEG file format)" |
78 | ac_help="$ac_help | |
79 | --with-opengl use OpenGL (or Mesa)" | |
80 | ac_help="$ac_help | |
81 | --with-odbc use the IODBC and wxODBC classes" | |
82 | ac_help="$ac_help | |
83 | --enable-shared create shared library code" | |
84 | ac_help="$ac_help | |
85 | --enable-optimise create optimised code" | |
86 | ac_help="$ac_help | |
87 | --enable-debug same as debug_flag and debug_info" | |
88 | ac_help="$ac_help | |
89 | --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)" | |
90 | ac_help="$ac_help | |
91 | --enable-debug_info create code with debugging information" | |
92 | ac_help="$ac_help | |
93 | --enable-debug_gdb create code with extra GDB debugging information" | |
94 | ac_help="$ac_help | |
95 | --enable-debug_cntxt use wxDebugContext" | |
96 | ac_help="$ac_help | |
97 | --enable-mem_tracing create code with memory tracing" | |
98 | ac_help="$ac_help | |
99 | --enable-profile create code with profiling information" | |
100 | ac_help="$ac_help | |
101 | --enable-no_rtti create code without RTTI information" | |
102 | ac_help="$ac_help | |
103 | --enable-no_exceptions create code without exceptions information" | |
104 | ac_help="$ac_help | |
105 | --enable-permissive compile code disregarding strict ANSI" | |
106 | ac_help="$ac_help | |
107 | --enable-no_deps create code without dependency information" | |
108 | ac_help="$ac_help | |
a16d3c04 KB |
109 | --enable-intl use internationalization system" |
110 | ac_help="$ac_help | |
111 | --enable-config use wxConfig (and derived) classes" | |
112 | ac_help="$ac_help | |
113 | --enable-sockets use socket/network classes" | |
114 | ac_help="$ac_help | |
1c8515f9 KB |
115 | --enable-dialupman use dialup network classes" |
116 | ac_help="$ac_help | |
a16d3c04 KB |
117 | --enable-ipc use interprocess communication (wxSocket etc.)" |
118 | ac_help="$ac_help | |
119 | --enable-apple_ieee use the Apple IEEE codec" | |
120 | ac_help="$ac_help | |
121 | --enable-timedate use date/time classes" | |
122 | ac_help="$ac_help | |
123 | --enable-wave use wxWave class" | |
124 | ac_help="$ac_help | |
125 | --enable-fraction use wxFraction class" | |
126 | ac_help="$ac_help | |
127 | --enable-dynlib use wxLibrary class for DLL loading" | |
128 | ac_help="$ac_help | |
129 | --enable-longlong use wxLongLong class" | |
130 | ac_help="$ac_help | |
131 | --enable-log use logging system" | |
132 | ac_help="$ac_help | |
133 | --enable-streams use wxStream etc classes" | |
134 | ac_help="$ac_help | |
135 | --enable-file use wxFile classes" | |
136 | ac_help="$ac_help | |
137 | --enable-textfile use wxTextFile classes" | |
138 | ac_help="$ac_help | |
139 | --enable-unicode compile wxString with Unicode support" | |
140 | ac_help="$ac_help | |
141 | --enable-wcsrtombs use wcsrtombs instead of buggy (GNU libc1/Linux libc5) wcstombs" | |
142 | ac_help="$ac_help | |
143 | --enable-wxprintfv use wxWindows implementation of vprintf()" | |
144 | ac_help="$ac_help | |
145 | --enable-joystick compile in joystick support (Linux only)" | |
146 | ac_help="$ac_help | |
147 | --enable-std_iostreams use standard C++ stream classes" | |
148 | ac_help="$ac_help | |
149 | --enable-fs_inet use virtual HTTP/FTP filesystems" | |
150 | ac_help="$ac_help | |
151 | --enable-fs_zip use virtual ZIP filesystems" | |
152 | ac_help="$ac_help | |
153 | --enable-zipstream use wxZipInputStream" | |
154 | ac_help="$ac_help | |
155 | --enable-threads use threads" | |
156 | ac_help="$ac_help | |
157 | --enable-serial use class serialization" | |
158 | ac_help="$ac_help | |
159 | --enable-docview use document view architecture" | |
160 | ac_help="$ac_help | |
161 | --enable-help use help (using external browser at present)" | |
162 | ac_help="$ac_help | |
163 | --enable-constraints use layout-constraints system" | |
164 | ac_help="$ac_help | |
165 | --enable-printarch use printing architecture" | |
166 | ac_help="$ac_help | |
167 | --enable-mdi use multiple document interface architecture" | |
168 | ac_help="$ac_help | |
169 | --enable-postscript use wxPostscriptDC device context (default for gtk+)" | |
170 | ac_help="$ac_help | |
171 | --enable-prologio use Prolog IO library" | |
172 | ac_help="$ac_help | |
173 | --enable-resources use wxWindows resources" | |
174 | ac_help="$ac_help | |
175 | --enable-xresources use X resources for save (default for gtk+)" | |
176 | ac_help="$ac_help | |
177 | --enable-clipboard use wxClipboard classes" | |
178 | ac_help="$ac_help | |
179 | --enable-dnd use Drag'n'Drop classes" | |
180 | ac_help="$ac_help | |
181 | --enable-wxtree make wxTree library" | |
182 | ac_help="$ac_help | |
183 | --enable-controls use all usual controls" | |
184 | ac_help="$ac_help | |
185 | --enable-accel use accelerators" | |
186 | ac_help="$ac_help | |
187 | --enable-caret use wxCaret class" | |
188 | ac_help="$ac_help | |
189 | --enable-bmpbutton use wxBitmapButton class" | |
190 | ac_help="$ac_help | |
191 | --enable-checkbox use wxCheckBox class" | |
192 | ac_help="$ac_help | |
193 | --enable-checklst use wxCheckListBox (listbox with checkboxes) class" | |
194 | ac_help="$ac_help | |
195 | --enable-choice use wxChoice class" | |
196 | ac_help="$ac_help | |
197 | --enable-combobox use wxComboBox classes" | |
198 | ac_help="$ac_help | |
199 | --enable-gauge use wxGauge class" | |
200 | ac_help="$ac_help | |
201 | --enable-grid use wxGrid class" | |
202 | ac_help="$ac_help | |
203 | --enable-imaglist use wxImageList class" | |
204 | ac_help="$ac_help | |
205 | --enable-listbox use wxListBox class" | |
206 | ac_help="$ac_help | |
207 | --enable-listctrl use wxListCtrl class" | |
208 | ac_help="$ac_help | |
209 | --enable-notebook use wxNotebook class" | |
210 | ac_help="$ac_help | |
211 | --enable-radiobox use wxRadioBox class" | |
212 | ac_help="$ac_help | |
213 | --enable-radiobtn use wxRadioButton class" | |
214 | ac_help="$ac_help | |
215 | --enable-sash use wxSashWindow class" | |
216 | ac_help="$ac_help | |
217 | --enable-scrollbar use wxScrollBar class and scrollable windows" | |
218 | ac_help="$ac_help | |
219 | --enable-slider use wxSlider class" | |
220 | ac_help="$ac_help | |
221 | --enable-spinbtn use wxSpinButton class" | |
222 | ac_help="$ac_help | |
223 | --enable-splitter use wxSplitterWindow class" | |
224 | ac_help="$ac_help | |
225 | --enable-statbmp use wxStaticBitmap class" | |
226 | ac_help="$ac_help | |
227 | --enable-statbox use wxStaticBox class" | |
228 | ac_help="$ac_help | |
229 | --enable-statline use wxStaticLine class" | |
230 | ac_help="$ac_help | |
231 | --enable-statusbar use wxStatusBar class" | |
232 | ac_help="$ac_help | |
233 | --enable-tabdialog use wxTabControl class" | |
234 | ac_help="$ac_help | |
235 | --enable-toolbar use wxToolBar class" | |
236 | ac_help="$ac_help | |
237 | --enable-treectrl use wxTreeCtrl class" | |
238 | ac_help="$ac_help | |
239 | --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)" | |
240 | ac_help="$ac_help | |
241 | --enable-dirdlg use wxDirDialog" | |
242 | ac_help="$ac_help | |
243 | --enable-textdlg use wxTextDialog" | |
244 | ac_help="$ac_help | |
245 | --enable-tipdlg use startup tips" | |
246 | ac_help="$ac_help | |
247 | --enable-progressdlg use wxProgressDialog" | |
248 | ac_help="$ac_help | |
249 | --enable-miniframe use wxMiniFrame class" | |
250 | ac_help="$ac_help | |
251 | --enable-html use wxHTML sub-library" | |
252 | ac_help="$ac_help | |
253 | --enable-tooltips use wxToolTip class" | |
254 | ac_help="$ac_help | |
255 | --enable-splines use spline drawing code" | |
256 | ac_help="$ac_help | |
257 | --enable-validators use wxValidator and derived classes" | |
258 | ac_help="$ac_help | |
259 | --enable-busyinfo use wxBusyInfo" | |
1c8515f9 KB |
260 | ac_help="$ac_help |
261 | --enable-gif use gif images (GIF file format)" | |
262 | ac_help="$ac_help | |
263 | --enable-pcx use pcx images (PCX file format)" | |
264 | ac_help="$ac_help | |
265 | --enable-pnm use pnm images (PNM file format)" | |
a16d3c04 KB |
266 | ac_help="$ac_help |
267 | --with-x use the X Window System" | |
268 | ||
269 | # Initialize some variables set by options. | |
270 | # The variables have the same names as the options, with | |
271 | # dashes changed to underlines. | |
272 | build=NONE | |
273 | cache_file=./config.cache | |
274 | exec_prefix=NONE | |
275 | host=NONE | |
276 | no_create= | |
277 | nonopt=NONE | |
278 | no_recursion= | |
279 | prefix=NONE | |
280 | program_prefix=NONE | |
281 | program_suffix=NONE | |
282 | program_transform_name=s,x,x, | |
283 | silent= | |
284 | site= | |
285 | srcdir= | |
286 | target=NONE | |
287 | verbose= | |
288 | x_includes=NONE | |
289 | x_libraries=NONE | |
290 | bindir='${exec_prefix}/bin' | |
291 | sbindir='${exec_prefix}/sbin' | |
292 | libexecdir='${exec_prefix}/libexec' | |
293 | datadir='${prefix}/share' | |
294 | sysconfdir='${prefix}/etc' | |
295 | sharedstatedir='${prefix}/com' | |
296 | localstatedir='${prefix}/var' | |
297 | libdir='${exec_prefix}/lib' | |
298 | includedir='${prefix}/include' | |
299 | oldincludedir='/usr/include' | |
300 | infodir='${prefix}/info' | |
301 | mandir='${prefix}/man' | |
302 | ||
303 | # Initialize some other variables. | |
304 | subdirs= | |
305 | MFLAGS= MAKEFLAGS= | |
fa3e4baf | 306 | SHELL=${CONFIG_SHELL-/bin/sh} |
a16d3c04 KB |
307 | # Maximum number of lines to put in a shell here document. |
308 | ac_max_here_lines=12 | |
309 | ||
310 | ac_prev= | |
311 | for ac_option | |
312 | do | |
313 | ||
314 | # If the previous option needs an argument, assign it. | |
315 | if test -n "$ac_prev"; then | |
316 | eval "$ac_prev=\$ac_option" | |
317 | ac_prev= | |
318 | continue | |
319 | fi | |
320 | ||
321 | case "$ac_option" in | |
322 | -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; | |
323 | *) ac_optarg= ;; | |
324 | esac | |
325 | ||
326 | # Accept the important Cygnus configure options, so we can diagnose typos. | |
327 | ||
328 | case "$ac_option" in | |
329 | ||
330 | -bindir | --bindir | --bindi | --bind | --bin | --bi) | |
331 | ac_prev=bindir ;; | |
332 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | |
333 | bindir="$ac_optarg" ;; | |
334 | ||
335 | -build | --build | --buil | --bui | --bu) | |
336 | ac_prev=build ;; | |
337 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) | |
338 | build="$ac_optarg" ;; | |
339 | ||
340 | -cache-file | --cache-file | --cache-fil | --cache-fi \ | |
341 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | |
342 | ac_prev=cache_file ;; | |
343 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | |
344 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | |
345 | cache_file="$ac_optarg" ;; | |
346 | ||
347 | -datadir | --datadir | --datadi | --datad | --data | --dat | --da) | |
348 | ac_prev=datadir ;; | |
349 | -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | |
350 | | --da=*) | |
351 | datadir="$ac_optarg" ;; | |
352 | ||
353 | -disable-* | --disable-*) | |
354 | ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` | |
355 | # Reject names that are not valid shell variable names. | |
356 | if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then | |
357 | { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } | |
358 | fi | |
359 | ac_feature=`echo $ac_feature| sed 's/-/_/g'` | |
360 | eval "enable_${ac_feature}=no" ;; | |
361 | ||
362 | -enable-* | --enable-*) | |
363 | ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` | |
364 | # Reject names that are not valid shell variable names. | |
365 | if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then | |
366 | { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } | |
367 | fi | |
368 | ac_feature=`echo $ac_feature| sed 's/-/_/g'` | |
369 | case "$ac_option" in | |
370 | *=*) ;; | |
371 | *) ac_optarg=yes ;; | |
372 | esac | |
373 | eval "enable_${ac_feature}='$ac_optarg'" ;; | |
374 | ||
375 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | |
376 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | |
377 | | --exec | --exe | --ex) | |
378 | ac_prev=exec_prefix ;; | |
379 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | |
380 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | |
381 | | --exec=* | --exe=* | --ex=*) | |
382 | exec_prefix="$ac_optarg" ;; | |
383 | ||
384 | -gas | --gas | --ga | --g) | |
385 | # Obsolete; use --with-gas. | |
386 | with_gas=yes ;; | |
387 | ||
388 | -help | --help | --hel | --he) | |
389 | # Omit some internal or obsolete options to make the list less imposing. | |
390 | # This message is too long to be a string in the A/UX 3.1 sh. | |
391 | cat << EOF | |
392 | Usage: configure [options] [host] | |
393 | Options: [defaults in brackets after descriptions] | |
394 | Configuration: | |
395 | --cache-file=FILE cache test results in FILE | |
396 | --help print this message | |
397 | --no-create do not create output files | |
398 | --quiet, --silent do not print \`checking...' messages | |
399 | --version print the version of autoconf that created configure | |
400 | Directory and file names: | |
401 | --prefix=PREFIX install architecture-independent files in PREFIX | |
402 | [$ac_default_prefix] | |
403 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | |
404 | [same as prefix] | |
405 | --bindir=DIR user executables in DIR [EPREFIX/bin] | |
406 | --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] | |
407 | --libexecdir=DIR program executables in DIR [EPREFIX/libexec] | |
408 | --datadir=DIR read-only architecture-independent data in DIR | |
409 | [PREFIX/share] | |
410 | --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] | |
411 | --sharedstatedir=DIR modifiable architecture-independent data in DIR | |
412 | [PREFIX/com] | |
413 | --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] | |
414 | --libdir=DIR object code libraries in DIR [EPREFIX/lib] | |
415 | --includedir=DIR C header files in DIR [PREFIX/include] | |
416 | --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] | |
417 | --infodir=DIR info documentation in DIR [PREFIX/info] | |
418 | --mandir=DIR man documentation in DIR [PREFIX/man] | |
419 | --srcdir=DIR find the sources in DIR [configure dir or ..] | |
420 | --program-prefix=PREFIX prepend PREFIX to installed program names | |
421 | --program-suffix=SUFFIX append SUFFIX to installed program names | |
422 | --program-transform-name=PROGRAM | |
423 | run sed PROGRAM on installed program names | |
424 | EOF | |
425 | cat << EOF | |
426 | Host type: | |
427 | --build=BUILD configure for building on BUILD [BUILD=HOST] | |
428 | --host=HOST configure for HOST [guessed] | |
429 | --target=TARGET configure for TARGET [TARGET=HOST] | |
430 | Features and packages: | |
431 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | |
432 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | |
433 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | |
434 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | |
435 | --x-includes=DIR X include files are in DIR | |
436 | --x-libraries=DIR X library files are in DIR | |
437 | EOF | |
438 | if test -n "$ac_help"; then | |
439 | echo "--enable and --with options recognized:$ac_help" | |
440 | fi | |
441 | exit 0 ;; | |
442 | ||
443 | -host | --host | --hos | --ho) | |
444 | ac_prev=host ;; | |
445 | -host=* | --host=* | --hos=* | --ho=*) | |
446 | host="$ac_optarg" ;; | |
447 | ||
448 | -includedir | --includedir | --includedi | --included | --include \ | |
449 | | --includ | --inclu | --incl | --inc) | |
450 | ac_prev=includedir ;; | |
451 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | |
452 | | --includ=* | --inclu=* | --incl=* | --inc=*) | |
453 | includedir="$ac_optarg" ;; | |
454 | ||
455 | -infodir | --infodir | --infodi | --infod | --info | --inf) | |
456 | ac_prev=infodir ;; | |
457 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | |
458 | infodir="$ac_optarg" ;; | |
459 | ||
460 | -libdir | --libdir | --libdi | --libd) | |
461 | ac_prev=libdir ;; | |
462 | -libdir=* | --libdir=* | --libdi=* | --libd=*) | |
463 | libdir="$ac_optarg" ;; | |
464 | ||
465 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | |
466 | | --libexe | --libex | --libe) | |
467 | ac_prev=libexecdir ;; | |
468 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | |
469 | | --libexe=* | --libex=* | --libe=*) | |
470 | libexecdir="$ac_optarg" ;; | |
471 | ||
472 | -localstatedir | --localstatedir | --localstatedi | --localstated \ | |
473 | | --localstate | --localstat | --localsta | --localst \ | |
474 | | --locals | --local | --loca | --loc | --lo) | |
475 | ac_prev=localstatedir ;; | |
476 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | |
477 | | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | |
478 | | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) | |
479 | localstatedir="$ac_optarg" ;; | |
480 | ||
481 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | |
482 | ac_prev=mandir ;; | |
483 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | |
484 | mandir="$ac_optarg" ;; | |
485 | ||
486 | -nfp | --nfp | --nf) | |
487 | # Obsolete; use --without-fp. | |
488 | with_fp=no ;; | |
489 | ||
490 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | |
491 | | --no-cr | --no-c) | |
492 | no_create=yes ;; | |
493 | ||
494 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | |
495 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | |
496 | no_recursion=yes ;; | |
497 | ||
498 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | |
499 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | |
500 | | --oldin | --oldi | --old | --ol | --o) | |
501 | ac_prev=oldincludedir ;; | |
502 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | |
503 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | |
504 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | |
505 | oldincludedir="$ac_optarg" ;; | |
506 | ||
507 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | |
508 | ac_prev=prefix ;; | |
509 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | |
510 | prefix="$ac_optarg" ;; | |
511 | ||
512 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ | |
513 | | --program-pre | --program-pr | --program-p) | |
514 | ac_prev=program_prefix ;; | |
515 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ | |
516 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | |
517 | program_prefix="$ac_optarg" ;; | |
518 | ||
519 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ | |
520 | | --program-suf | --program-su | --program-s) | |
521 | ac_prev=program_suffix ;; | |
522 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ | |
523 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | |
524 | program_suffix="$ac_optarg" ;; | |
525 | ||
526 | -program-transform-name | --program-transform-name \ | |
527 | | --program-transform-nam | --program-transform-na \ | |
528 | | --program-transform-n | --program-transform- \ | |
529 | | --program-transform | --program-transfor \ | |
530 | | --program-transfo | --program-transf \ | |
531 | | --program-trans | --program-tran \ | |
532 | | --progr-tra | --program-tr | --program-t) | |
533 | ac_prev=program_transform_name ;; | |
534 | -program-transform-name=* | --program-transform-name=* \ | |
535 | | --program-transform-nam=* | --program-transform-na=* \ | |
536 | | --program-transform-n=* | --program-transform-=* \ | |
537 | | --program-transform=* | --program-transfor=* \ | |
538 | | --program-transfo=* | --program-transf=* \ | |
539 | | --program-trans=* | --program-tran=* \ | |
540 | | --progr-tra=* | --program-tr=* | --program-t=*) | |
541 | program_transform_name="$ac_optarg" ;; | |
542 | ||
543 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
544 | | -silent | --silent | --silen | --sile | --sil) | |
545 | silent=yes ;; | |
546 | ||
547 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | |
548 | ac_prev=sbindir ;; | |
549 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | |
550 | | --sbi=* | --sb=*) | |
551 | sbindir="$ac_optarg" ;; | |
552 | ||
553 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ | |
554 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | |
555 | | --sharedst | --shareds | --shared | --share | --shar \ | |
556 | | --sha | --sh) | |
557 | ac_prev=sharedstatedir ;; | |
558 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | |
559 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | |
560 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | |
561 | | --sha=* | --sh=*) | |
562 | sharedstatedir="$ac_optarg" ;; | |
563 | ||
564 | -site | --site | --sit) | |
565 | ac_prev=site ;; | |
566 | -site=* | --site=* | --sit=*) | |
567 | site="$ac_optarg" ;; | |
568 | ||
569 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | |
570 | ac_prev=srcdir ;; | |
571 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | |
572 | srcdir="$ac_optarg" ;; | |
573 | ||
574 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | |
575 | | --syscon | --sysco | --sysc | --sys | --sy) | |
576 | ac_prev=sysconfdir ;; | |
577 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | |
578 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | |
579 | sysconfdir="$ac_optarg" ;; | |
580 | ||
581 | -target | --target | --targe | --targ | --tar | --ta | --t) | |
582 | ac_prev=target ;; | |
583 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | |
584 | target="$ac_optarg" ;; | |
585 | ||
586 | -v | -verbose | --verbose | --verbos | --verbo | --verb) | |
587 | verbose=yes ;; | |
588 | ||
589 | -version | --version | --versio | --versi | --vers) | |
f7a11f8c | 590 | echo "configure generated by autoconf version 2.14" |
a16d3c04 KB |
591 | exit 0 ;; |
592 | ||
593 | -with-* | --with-*) | |
594 | ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` | |
595 | # Reject names that are not valid shell variable names. | |
596 | if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then | |
597 | { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } | |
598 | fi | |
599 | ac_package=`echo $ac_package| sed 's/-/_/g'` | |
600 | case "$ac_option" in | |
601 | *=*) ;; | |
602 | *) ac_optarg=yes ;; | |
603 | esac | |
604 | eval "with_${ac_package}='$ac_optarg'" ;; | |
605 | ||
606 | -without-* | --without-*) | |
607 | ac_package=`echo $ac_option|sed -e 's/-*without-//'` | |
608 | # Reject names that are not valid shell variable names. | |
609 | if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then | |
610 | { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } | |
611 | fi | |
612 | ac_package=`echo $ac_package| sed 's/-/_/g'` | |
613 | eval "with_${ac_package}=no" ;; | |
614 | ||
615 | --x) | |
616 | # Obsolete; use --with-x. | |
617 | with_x=yes ;; | |
618 | ||
619 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | |
620 | | --x-incl | --x-inc | --x-in | --x-i) | |
621 | ac_prev=x_includes ;; | |
622 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | |
623 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | |
624 | x_includes="$ac_optarg" ;; | |
625 | ||
626 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ | |
627 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | |
628 | ac_prev=x_libraries ;; | |
629 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | |
630 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | |
631 | x_libraries="$ac_optarg" ;; | |
632 | ||
633 | -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } | |
634 | ;; | |
635 | ||
636 | *) | |
637 | if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then | |
638 | echo "configure: warning: $ac_option: invalid host type" 1>&2 | |
639 | fi | |
640 | if test "x$nonopt" != xNONE; then | |
641 | { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } | |
642 | fi | |
643 | nonopt="$ac_option" | |
644 | ;; | |
645 | ||
646 | esac | |
647 | done | |
648 | ||
649 | if test -n "$ac_prev"; then | |
650 | { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } | |
651 | fi | |
652 | ||
653 | trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 | |
654 | ||
655 | # File descriptor usage: | |
656 | # 0 standard input | |
657 | # 1 file creation | |
658 | # 2 errors and warnings | |
659 | # 3 some systems may open it to /dev/tty | |
660 | # 4 used on the Kubota Titan | |
661 | # 6 checking for... messages and results | |
662 | # 5 compiler messages saved in config.log | |
663 | if test "$silent" = yes; then | |
664 | exec 6>/dev/null | |
665 | else | |
666 | exec 6>&1 | |
667 | fi | |
668 | exec 5>./config.log | |
669 | ||
670 | echo "\ | |
671 | This file contains any messages produced by compilers while | |
672 | running configure, to aid debugging if configure makes a mistake. | |
673 | " 1>&5 | |
674 | ||
675 | # Strip out --no-create and --no-recursion so they do not pile up. | |
676 | # Also quote any args containing shell metacharacters. | |
677 | ac_configure_args= | |
678 | for ac_arg | |
679 | do | |
680 | case "$ac_arg" in | |
681 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | |
682 | | --no-cr | --no-c) ;; | |
683 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | |
684 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; | |
685 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) | |
686 | ac_configure_args="$ac_configure_args '$ac_arg'" ;; | |
687 | *) ac_configure_args="$ac_configure_args $ac_arg" ;; | |
688 | esac | |
689 | done | |
690 | ||
691 | # NLS nuisances. | |
692 | # Only set these to C if already set. These must not be set unconditionally | |
693 | # because not all systems understand e.g. LANG=C (notably SCO). | |
694 | # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! | |
695 | # Non-C LC_CTYPE values break the ctype check. | |
696 | if test "${LANG+set}" = set; then LANG=C; export LANG; fi | |
697 | if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi | |
698 | if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi | |
699 | if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi | |
700 | ||
701 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | |
702 | rm -rf conftest* confdefs.h | |
703 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. | |
704 | echo > confdefs.h | |
705 | ||
706 | # A filename unique to this package, relative to the directory that | |
707 | # configure is in, which we can look for to find out if srcdir is correct. | |
708 | ac_unique_file=wx-config.in | |
709 | ||
710 | # Find the source files, if location was not specified. | |
711 | if test -z "$srcdir"; then | |
712 | ac_srcdir_defaulted=yes | |
713 | # Try the directory containing this script, then its parent. | |
714 | ac_prog=$0 | |
715 | ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` | |
716 | test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. | |
717 | srcdir=$ac_confdir | |
718 | if test ! -r $srcdir/$ac_unique_file; then | |
719 | srcdir=.. | |
720 | fi | |
721 | else | |
722 | ac_srcdir_defaulted=no | |
723 | fi | |
724 | if test ! -r $srcdir/$ac_unique_file; then | |
725 | if test "$ac_srcdir_defaulted" = yes; then | |
726 | { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } | |
727 | else | |
728 | { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } | |
729 | fi | |
730 | fi | |
731 | srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` | |
732 | ||
733 | # Prefer explicitly selected file to automatically selected ones. | |
734 | if test -z "$CONFIG_SITE"; then | |
735 | if test "x$prefix" != xNONE; then | |
736 | CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" | |
737 | else | |
738 | CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" | |
739 | fi | |
740 | fi | |
741 | for ac_site_file in $CONFIG_SITE; do | |
742 | if test -r "$ac_site_file"; then | |
743 | echo "loading site script $ac_site_file" | |
744 | . "$ac_site_file" | |
745 | fi | |
746 | done | |
747 | ||
748 | if test -r "$cache_file"; then | |
749 | echo "loading cache $cache_file" | |
750 | . $cache_file | |
751 | else | |
752 | echo "creating cache $cache_file" | |
753 | > $cache_file | |
754 | fi | |
755 | ||
756 | ac_ext=c | |
757 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
758 | ac_cpp='$CPP $CPPFLAGS' | |
759 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | |
fa3e4baf | 760 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
a16d3c04 KB |
761 | cross_compiling=$ac_cv_prog_cc_cross |
762 | ||
fa3e4baf KB |
763 | ac_exeext= |
764 | ac_objext=o | |
a16d3c04 KB |
765 | if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then |
766 | # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. | |
767 | if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then | |
768 | ac_n= ac_c=' | |
769 | ' ac_t=' ' | |
770 | else | |
771 | ac_n=-n ac_c= ac_t= | |
772 | fi | |
773 | else | |
774 | ac_n= ac_c='\c' ac_t= | |
775 | fi | |
776 | ||
777 | ||
778 | ||
779 | ac_aux_dir= | |
780 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do | |
781 | if test -f $ac_dir/install-sh; then | |
782 | ac_aux_dir=$ac_dir | |
783 | ac_install_sh="$ac_aux_dir/install-sh -c" | |
784 | break | |
785 | elif test -f $ac_dir/install.sh; then | |
786 | ac_aux_dir=$ac_dir | |
787 | ac_install_sh="$ac_aux_dir/install.sh -c" | |
788 | break | |
789 | fi | |
790 | done | |
791 | if test -z "$ac_aux_dir"; then | |
792 | { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } | |
793 | fi | |
794 | ac_config_guess=$ac_aux_dir/config.guess | |
795 | ac_config_sub=$ac_aux_dir/config.sub | |
796 | ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. | |
797 | ||
798 | ||
799 | # Do some error checking and defaulting for the host and target type. | |
800 | # The inputs are: | |
801 | # configure --host=HOST --target=TARGET --build=BUILD NONOPT | |
802 | # | |
803 | # The rules are: | |
804 | # 1. You are not allowed to specify --host, --target, and nonopt at the | |
805 | # same time. | |
806 | # 2. Host defaults to nonopt. | |
807 | # 3. If nonopt is not specified, then host defaults to the current host, | |
808 | # as determined by config.guess. | |
809 | # 4. Target and build default to nonopt. | |
810 | # 5. If nonopt is not specified, then target and build default to host. | |
811 | ||
812 | # The aliases save the names the user supplied, while $host etc. | |
813 | # will get canonicalized. | |
814 | case $host---$target---$nonopt in | |
815 | NONE---*---* | *---NONE---* | *---*---NONE) ;; | |
816 | *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;; | |
817 | esac | |
818 | ||
819 | ||
820 | # Make sure we can run config.sub. | |
fa3e4baf | 821 | if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : |
a16d3c04 KB |
822 | else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } |
823 | fi | |
824 | ||
825 | echo $ac_n "checking host system type""... $ac_c" 1>&6 | |
fa3e4baf | 826 | echo "configure:827: checking host system type" >&5 |
a16d3c04 KB |
827 | |
828 | host_alias=$host | |
829 | case "$host_alias" in | |
830 | NONE) | |
831 | case $nonopt in | |
832 | NONE) | |
fa3e4baf | 833 | if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then : |
a16d3c04 KB |
834 | else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } |
835 | fi ;; | |
836 | *) host_alias=$nonopt ;; | |
837 | esac ;; | |
838 | esac | |
839 | ||
fa3e4baf | 840 | host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias` |
a16d3c04 KB |
841 | host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
842 | host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | |
843 | host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | |
844 | echo "$ac_t""$host" 1>&6 | |
845 | ||
846 | echo $ac_n "checking target system type""... $ac_c" 1>&6 | |
fa3e4baf | 847 | echo "configure:848: checking target system type" >&5 |
a16d3c04 KB |
848 | |
849 | target_alias=$target | |
850 | case "$target_alias" in | |
851 | NONE) | |
852 | case $nonopt in | |
853 | NONE) target_alias=$host_alias ;; | |
854 | *) target_alias=$nonopt ;; | |
855 | esac ;; | |
856 | esac | |
857 | ||
fa3e4baf | 858 | target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` |
a16d3c04 KB |
859 | target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
860 | target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | |
861 | target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | |
862 | echo "$ac_t""$target" 1>&6 | |
863 | ||
864 | echo $ac_n "checking build system type""... $ac_c" 1>&6 | |
fa3e4baf | 865 | echo "configure:866: checking build system type" >&5 |
a16d3c04 KB |
866 | |
867 | build_alias=$build | |
868 | case "$build_alias" in | |
869 | NONE) | |
870 | case $nonopt in | |
871 | NONE) build_alias=$host_alias ;; | |
872 | *) build_alias=$nonopt ;; | |
873 | esac ;; | |
874 | esac | |
875 | ||
fa3e4baf | 876 | build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` |
a16d3c04 KB |
877 | build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
878 | build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | |
879 | build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | |
880 | echo "$ac_t""$build" 1>&6 | |
881 | ||
882 | test "$host_alias" != "$target_alias" && | |
883 | test "$program_prefix$program_suffix$program_transform_name" = \ | |
884 | NONENONEs,x,x, && | |
885 | program_prefix=${target_alias}- | |
886 | ||
887 | ||
888 | ||
889 | WX_MAJOR_VERSION_NUMBER=2 | |
890 | WX_MINOR_VERSION_NUMBER=1 | |
891 | WX_RELEASE_NUMBER=0 | |
892 | ||
893 | WX_INTERFACE_AGE=0 | |
894 | WX_BINARY_AGE=0 | |
895 | ||
896 | WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER | |
897 | ||
898 | WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER | |
899 | WX_CURRENT=`expr $WX_RELEASE_NUMBER - $WX_INTERFACE_AGE` | |
900 | WX_REVISION=$WX_INTERFACE_AGE | |
901 | WX_AGE=`expr $WX_BINARY_AGE - $WX_INTERFACE_AGE` | |
902 | ||
903 | ||
904 | USE_UNIX=1 | |
905 | USE_LINUX= | |
906 | USE_SGI= | |
907 | USE_HPUX= | |
908 | USE_SYSV= | |
909 | USE_SVR4= | |
910 | USE_AIX= | |
911 | USE_SUN= | |
912 | USE_SOLARIS= | |
913 | USE_SUNOS= | |
914 | USE_ALPHA= | |
915 | USE_OSF= | |
916 | USE_BSD= | |
917 | USE_FREEBSD= | |
918 | USE_VMS= | |
919 | USE_ULTRIX= | |
920 | USE_CYGWIN= | |
921 | USE_MINGW= | |
922 | USE_DATA_GENERAL= | |
923 | ||
924 | ALL_TOOLKITS="CYGWIN GTK MINGW MOTIF WINE" | |
925 | ||
926 | DEFAULT_wxUSE_GTK=0 | |
927 | DEFAULT_wxUSE_MOTIF=0 | |
928 | DEFAULT_wxUSE_MSW=0 | |
929 | DEFAULT_wxUSE_WINE=0 | |
930 | ||
931 | DEFAULT_DEFAULT_wxUSE_GTK=0 | |
932 | DEFAULT_DEFAULT_wxUSE_MOTIF=0 | |
933 | DEFAULT_DEFAULT_wxUSE_MSW=0 | |
934 | DEFAULT_DEFAULT_wxUSE_WINE=0 | |
935 | ||
936 | case "${host}" in | |
937 | *-hp-hpux* ) | |
938 | USE_HPUX=1 | |
939 | DEFAULT_DEFAULT_wxUSE_MOTIF=1 | |
940 | cat >> confdefs.h <<\EOF | |
941 | #define __HPUX__ 1 | |
942 | EOF | |
943 | ||
944 | ;; | |
945 | *-*-linux* ) | |
946 | USE_LINUX=1 | |
947 | cat >> confdefs.h <<\EOF | |
948 | #define __LINUX__ 1 | |
949 | EOF | |
950 | ||
951 | TMP=`uname -m` | |
952 | if test "x$TMP" = "xalpha"; then | |
953 | USE_ALPHA=1 | |
954 | cat >> confdefs.h <<\EOF | |
955 | #define __ALPHA__ 1 | |
956 | EOF | |
957 | ||
958 | fi | |
959 | DEFAULT_DEFAULT_wxUSE_GTK=1 | |
960 | ;; | |
961 | *-*-irix5* | *-*-irix6* ) | |
962 | USE_SGI=1 | |
963 | USE_SVR4=1 | |
964 | cat >> confdefs.h <<\EOF | |
965 | #define __SGI__ 1 | |
966 | EOF | |
967 | ||
968 | cat >> confdefs.h <<\EOF | |
969 | #define __SVR4__ 1 | |
970 | EOF | |
971 | ||
972 | DEFAULT_DEFAULT_wxUSE_MOTIF=1 | |
973 | ;; | |
974 | *-*-solaris2* ) | |
975 | USE_SUN=1 | |
976 | USE_SOLARIS=1 | |
977 | USE_SVR4=1 | |
978 | cat >> confdefs.h <<\EOF | |
979 | #define __SUN__ 1 | |
980 | EOF | |
981 | ||
982 | cat >> confdefs.h <<\EOF | |
983 | #define __SOLARIS__ 1 | |
984 | EOF | |
985 | ||
986 | cat >> confdefs.h <<\EOF | |
987 | #define __SVR4__ 1 | |
988 | EOF | |
989 | ||
990 | DEFAULT_DEFAULT_wxUSE_MOTIF=1 | |
991 | ;; | |
992 | *-*-sunos4* ) | |
993 | USE_SUN=1 | |
994 | USE_SUNOS=1 | |
995 | USE_BSD=1 | |
996 | cat >> confdefs.h <<\EOF | |
997 | #define __SUN__ 1 | |
998 | EOF | |
999 | ||
1000 | cat >> confdefs.h <<\EOF | |
1001 | #define __SUNOS__ 1 | |
1002 | EOF | |
1003 | ||
1004 | cat >> confdefs.h <<\EOF | |
1005 | #define __BSD__ 1 | |
1006 | EOF | |
1007 | ||
1008 | DEFAULT_DEFAULT_wxUSE_MOTIF=1 | |
1009 | ;; | |
1010 | *-*-freebsd* | *-*-netbsd*) | |
1011 | USE_BSD=1 | |
1012 | USE_FREEBSD=1 | |
1013 | cat >> confdefs.h <<\EOF | |
1014 | #define __FREEBSD__ 1 | |
1015 | EOF | |
1016 | ||
1017 | cat >> confdefs.h <<\EOF | |
1018 | #define __BSD__ 1 | |
1019 | EOF | |
1020 | ||
1021 | DEFAULT_DEFAULT_wxUSE_GTK=1 | |
1022 | ;; | |
1023 | *-*-osf* ) | |
1024 | USE_ALPHA=1 | |
1025 | USE_OSF=1 | |
1026 | cat >> confdefs.h <<\EOF | |
1027 | #define __ALPHA__ 1 | |
1028 | EOF | |
1029 | ||
1030 | cat >> confdefs.h <<\EOF | |
1031 | #define __OSF__ 1 | |
1032 | EOF | |
1033 | ||
1034 | DEFAULT_DEFAULT_wxUSE_MOTIF=1 | |
1035 | ;; | |
1036 | *-*-dgux5* ) | |
1037 | USE_ALPHA=1 | |
1038 | USE_SVR4=1 | |
1039 | cat >> confdefs.h <<\EOF | |
1040 | #define __ALPHA__ 1 | |
1041 | EOF | |
1042 | ||
1043 | cat >> confdefs.h <<\EOF | |
1044 | #define __SVR4__ 1 | |
1045 | EOF | |
1046 | ||
1047 | DEFAULT_DEFAULT_wxUSE_MOTIF=1 | |
1048 | ;; | |
1049 | *-*-sysv5* ) | |
1050 | USE_SYSV=1 | |
1051 | USE_SVR4=1 | |
1052 | cat >> confdefs.h <<\EOF | |
1053 | #define __SYSV__ 1 | |
1054 | EOF | |
1055 | ||
1056 | cat >> confdefs.h <<\EOF | |
1057 | #define __SVR4__ 1 | |
1058 | EOF | |
1059 | ||
1060 | DEFAULT_DEFAULT_wxUSE_MOTIF=1 | |
1061 | ;; | |
1062 | *-*-aix* ) | |
1063 | USE_AIX=1 | |
1064 | USE_SYSV=1 | |
1065 | USE_SVR4=1 | |
1066 | cat >> confdefs.h <<\EOF | |
1067 | #define __AIX__ 1 | |
1068 | EOF | |
1069 | ||
1070 | cat >> confdefs.h <<\EOF | |
1071 | #define __SYSV__ 1 | |
1072 | EOF | |
1073 | ||
1074 | cat >> confdefs.h <<\EOF | |
1075 | #define __SVR4__ 1 | |
1076 | EOF | |
1077 | ||
1078 | DEFAULT_DEFAULT_wxUSE_MOTIF=1 | |
1079 | ;; | |
1080 | ||
1081 | *-*-cygwin32* ) | |
1082 | USE_UNIX=0 | |
1083 | cat >> confdefs.h <<\EOF | |
1084 | #define __WIN32__ 1 | |
1085 | EOF | |
1086 | ||
1087 | cat >> confdefs.h <<\EOF | |
1088 | #define __WIN95__ 1 | |
1089 | EOF | |
1090 | ||
1091 | cat >> confdefs.h <<\EOF | |
1092 | #define __WINDOWS__ 1 | |
1093 | EOF | |
1094 | ||
1095 | cat >> confdefs.h <<\EOF | |
1096 | #define __GNUWIN32__ 1 | |
1097 | EOF | |
1098 | ||
1099 | cat >> confdefs.h <<\EOF | |
1100 | #define STRICT 1 | |
1101 | EOF | |
1102 | ||
1103 | cat >> confdefs.h <<\EOF | |
1104 | #define WINVER 0x0400 | |
1105 | EOF | |
1106 | ||
1107 | DEFAULT_DEFAULT_wxUSE_MSW=1 | |
1108 | ;; | |
1109 | *-*-mingw32* ) | |
1110 | USE_UNIX=0 | |
1111 | cat >> confdefs.h <<\EOF | |
1112 | #define __WIN32__ 1 | |
1113 | EOF | |
1114 | ||
1115 | cat >> confdefs.h <<\EOF | |
1116 | #define __WIN95__ 1 | |
1117 | EOF | |
1118 | ||
1119 | cat >> confdefs.h <<\EOF | |
1120 | #define __WINDOWS__ 1 | |
1121 | EOF | |
1122 | ||
1123 | cat >> confdefs.h <<\EOF | |
1124 | #define __GNUWIN32__ 1 | |
1125 | EOF | |
1126 | ||
1127 | cat >> confdefs.h <<\EOF | |
1128 | #define STRICT 1 | |
1129 | EOF | |
1130 | ||
1131 | cat >> confdefs.h <<\EOF | |
1132 | #define WINVER 0x0400 | |
1133 | EOF | |
1134 | ||
1135 | DEFAULT_DEFAULT_wxUSE_MSW=1 | |
1136 | ;; | |
1137 | ||
1138 | *-pc-os2_emx ) | |
1139 | cat >> confdefs.h <<\EOF | |
1140 | #define __EMX__ 1 | |
1141 | EOF | |
1142 | ||
1143 | ;; | |
1144 | ||
1145 | *) | |
1146 | { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; } | |
1147 | esac | |
1148 | ||
1149 | if test "$USE_UNIX" = 1 ; then | |
1150 | wxUSE_UNIX=yes | |
1151 | cat >> confdefs.h <<\EOF | |
1152 | #define __UNIX__ 1 | |
1153 | EOF | |
1154 | ||
1155 | SRC_SUBDIRS="$SRC_SUBDIRS unix" | |
1156 | INCLUDE_SUBDIRS="$INCLUDE_SUBDIRS unix" | |
1157 | fi | |
1158 | ||
1159 | if test "$USE_LINUX" = 1; then | |
1160 | echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6 | |
fa3e4baf | 1161 | echo "configure:1162: checking for gettext in -lc" >&5 |
a16d3c04 KB |
1162 | ac_lib_var=`echo c'_'gettext | sed 'y%./+-%__p_%'` |
1163 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
1164 | echo $ac_n "(cached) $ac_c" 1>&6 | |
1165 | else | |
1166 | ac_save_LIBS="$LIBS" | |
1167 | LIBS="-lc $LIBS" | |
1168 | cat > conftest.$ac_ext <<EOF | |
fa3e4baf | 1169 | #line 1170 "configure" |
a16d3c04 KB |
1170 | #include "confdefs.h" |
1171 | /* Override any gcc2 internal prototype to avoid an error. */ | |
1172 | /* We use char because int might match the return type of a gcc2 | |
1173 | builtin and then its argument prototype would still apply. */ | |
1174 | char gettext(); | |
1175 | ||
1176 | int main() { | |
1177 | gettext() | |
1178 | ; return 0; } | |
1179 | EOF | |
fa3e4baf | 1180 | if { (eval echo configure:1181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
a16d3c04 KB |
1181 | rm -rf conftest* |
1182 | eval "ac_cv_lib_$ac_lib_var=yes" | |
1183 | else | |
1184 | echo "configure: failed program was:" >&5 | |
1185 | cat conftest.$ac_ext >&5 | |
1186 | rm -rf conftest* | |
1187 | eval "ac_cv_lib_$ac_lib_var=no" | |
1188 | fi | |
1189 | rm -f conftest* | |
1190 | LIBS="$ac_save_LIBS" | |
1191 | ||
1192 | fi | |
1193 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
1194 | echo "$ac_t""yes" 1>&6 | |
1195 | cat >> confdefs.h <<\EOF | |
1196 | #define wxHAVE_GLIBC2 1 | |
1197 | EOF | |
1198 | ||
1199 | else | |
1200 | echo "$ac_t""no" 1>&6 | |
1201 | fi | |
1202 | ||
1203 | fi | |
1204 | ||
1205 | ||
1206 | ||
1207 | ||
1208 | wx_arg_cache_file="configarg.cache" | |
1209 | echo "loading argument cache $wx_arg_cache_file" | |
1210 | rm -f ${wx_arg_cache_file}.tmp | |
1211 | touch ${wx_arg_cache_file}.tmp | |
1212 | touch ${wx_arg_cache_file} | |
1213 | ||
1214 | ||
1215 | DEBUG_CONFIGURE=0 | |
1216 | if test $DEBUG_CONFIGURE = 1; then | |
1217 | DEFAULT_wxUSE_THREADS=yes | |
1218 | ||
1219 | DEFAULT_wxUSE_SHARED=yes | |
1220 | DEFAULT_wxUSE_OPTIMISE=yes | |
1221 | DEFAULT_wxUSE_PROFILE=no | |
1222 | DEFAULT_wxUSE_NO_DEPS=no | |
1223 | DEFAULT_wxUSE_NO_RTTI=no | |
1224 | DEFAULT_wxUSE_NO_EXCEPTIONS=no | |
1225 | DEFAULT_wxUSE_PERMISSIVE=no | |
1226 | DEFAULT_wxUSE_DEBUG_FLAG=yes | |
1227 | DEFAULT_wxUSE_DEBUG_INFO=yes | |
1228 | DEFAULT_wxUSE_DEBUG_GDB=yes | |
1229 | DEFAULT_wxUSE_MEM_TRACING=no | |
1230 | DEFAULT_wxUSE_DEBUG_CONTEXT=no | |
1231 | DEFAULT_wxUSE_DMALLOC=no | |
1232 | DEFAULT_wxUSE_APPLE_IEEE=no | |
1233 | ||
1234 | DEFAULT_wxUSE_LOG=yes | |
1235 | ||
1236 | DEFAULT_wxUSE_GUI=yes | |
1237 | ||
1238 | DEFAULT_wxUSE_ZLIB=no | |
1239 | DEFAULT_wxUSE_LIBPNG=no | |
a16d3c04 KB |
1240 | DEFAULT_wxUSE_LIBJPEG=no |
1241 | DEFAULT_wxUSE_ODBC=no | |
1242 | ||
1243 | DEFAULT_wxUSE_STD_IOSTREAM=no | |
1244 | DEFAULT_wxUSE_FILE=no | |
1245 | DEFAULT_wxUSE_TEXTFILE=no | |
1246 | DEFAULT_wxUSE_TIMEDATE=no | |
1247 | DEFAULT_wxUSE_WAVE=no | |
1248 | DEFAULT_wxUSE_INTL=no | |
1249 | DEFAULT_wxUSE_CONFIG=no | |
1250 | DEFAULT_wxUSE_STREAMS=no | |
1251 | DEFAULT_wxUSE_SOCKETS=no | |
1c8515f9 | 1252 | DEFAULT_wxUSE_DIALUP_MANAGER=no |
a16d3c04 KB |
1253 | DEFAULT_wxUSE_SERIAL=no |
1254 | DEFAULT_wxUSE_JOYSTICK=no | |
1255 | DEFAULT_wxUSE_DYNLIB_CLASS=no | |
1256 | DEFAULT_wxUSE_LONGLONG=no | |
1257 | ||
1258 | DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no | |
1259 | DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no | |
1260 | DEFAULT_wxUSE_POSTSCRIPT=no | |
1261 | ||
1262 | DEFAULT_wxUSE_X_RESOURCES=no | |
1263 | DEFAULT_wxUSE_CLIPBOARD=no | |
1264 | DEFAULT_wxUSE_TOOLTIPS=no | |
1265 | DEFAULT_wxUSE_DRAG_AND_DROP=no | |
1266 | DEFAULT_wxUSE_SPLINES=no | |
1267 | ||
1268 | DEFAULT_wxUSE_MDI_ARCHITECTURE=no | |
1269 | DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no | |
1270 | DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no | |
1271 | ||
1272 | DEFAULT_wxUSE_PROLOGIO=no | |
1273 | DEFAULT_wxUSE_RESOURCES=no | |
1274 | DEFAULT_wxUSE_CONSTRAINTS=no | |
1275 | DEFAULT_wxUSE_IPC=no | |
1276 | DEFAULT_wxUSE_HELP=no | |
1277 | DEFAULT_wxUSE_WXTREE=no | |
1278 | DEFAULT_wxUSE_METAFILE=no | |
1279 | ||
1280 | DEFAULT_wxUSE_COMMONDLGS=no | |
1281 | DEFAULT_wxUSE_DIRDLG=no | |
1282 | DEFAULT_wxUSE_TEXTDLG=no | |
1283 | DEFAULT_wxUSE_STARTUP_TIPS=no | |
1284 | DEFAULT_wxUSE_PROGRESSDLG=no | |
1285 | DEFAULT_wxUSE_MINIFRAME=no | |
1286 | DEFAULT_wxUSE_HTML=no | |
1287 | DEFAULT_wxUSE_FS_INET=no | |
1288 | DEFAULT_wxUSE_FS_ZIP=no | |
1289 | DEFAULT_wxUSE_BUSYINFO=no | |
1290 | DEFAULT_wxUSE_ZIPSTREAM=no | |
1291 | DEFAULT_wxUSE_VALIDATORS=yes | |
1292 | ||
1293 | DEFAULT_wxUSE_ACCEL=no | |
1294 | DEFAULT_wxUSE_CARET=no | |
1295 | DEFAULT_wxUSE_BMPBUTTON=no | |
1296 | DEFAULT_wxUSE_CHECKBOX=no | |
1297 | DEFAULT_wxUSE_CHECKLST=no | |
1298 | DEFAULT_wxUSE_CHOICE=yes | |
1299 | DEFAULT_wxUSE_COMBOBOX=no | |
1300 | DEFAULT_wxUSE_GAUGE=no | |
1301 | DEFAULT_wxUSE_GRID=no | |
1302 | DEFAULT_wxUSE_IMAGLIST=no | |
1303 | DEFAULT_wxUSE_LISTBOX=no | |
1304 | DEFAULT_wxUSE_LISTCTRL=no | |
1305 | DEFAULT_wxUSE_NOTEBOOK=no | |
1306 | DEFAULT_wxUSE_RADIOBOX=no | |
1307 | DEFAULT_wxUSE_RADIOBTN=no | |
1308 | DEFAULT_wxUSE_SASH=no | |
1309 | DEFAULT_wxUSE_SCROLLBAR=no | |
1310 | DEFAULT_wxUSE_SLIDER=no | |
1311 | DEFAULT_wxUSE_SPINBTN=no | |
1312 | DEFAULT_wxUSE_SPLITTER=no | |
1313 | DEFAULT_wxUSE_STATBMP=no | |
1314 | DEFAULT_wxUSE_STATBOX=no | |
1315 | DEFAULT_wxUSE_STATLINE=no | |
1316 | DEFAULT_wxUSE_STATUSBAR=yes | |
1317 | DEFAULT_wxUSE_TABDIALOG=no | |
1318 | DEFAULT_wxUSE_TOOLBAR=no | |
1319 | DEFAULT_wxUSE_TREECTRL=no | |
1320 | ||
1321 | DEFAULT_wxUSE_UNICODE=no | |
1322 | DEFAULT_wxUSE_WCSRTOMBS=no | |
f7a11f8c | 1323 | |
1c8515f9 KB |
1324 | DEFAULT_wxUSE_GIF=no |
1325 | DEFAULT_wxUSE_PCX=no | |
1326 | DEFAULT_wxUSE_PNM=no | |
a16d3c04 KB |
1327 | else |
1328 | DEFAULT_wxUSE_THREADS=yes | |
1329 | ||
1330 | DEFAULT_wxUSE_SHARED=yes | |
1331 | DEFAULT_wxUSE_OPTIMISE=yes | |
1332 | DEFAULT_wxUSE_PROFILE=no | |
1333 | DEFAULT_wxUSE_NO_DEPS=no | |
1334 | DEFAULT_wxUSE_NO_RTTI=no | |
1335 | DEFAULT_wxUSE_NO_EXCEPTIONS=no | |
1336 | DEFAULT_wxUSE_PERMISSIVE=no | |
1337 | DEFAULT_wxUSE_DEBUG_FLAG=no | |
1338 | DEFAULT_wxUSE_DEBUG_INFO=no | |
1339 | DEFAULT_wxUSE_DEBUG_GDB=no | |
1340 | DEFAULT_wxUSE_MEM_TRACING=no | |
1341 | DEFAULT_wxUSE_DEBUG_CONTEXT=no | |
1342 | DEFAULT_wxUSE_DMALLOC=no | |
1343 | DEFAULT_wxUSE_APPLE_IEEE=yes | |
1344 | ||
1345 | DEFAULT_wxUSE_LOG=yes | |
1346 | ||
1347 | DEFAULT_wxUSE_GUI=yes | |
1348 | ||
1349 | DEFAULT_wxUSE_ZLIB=yes | |
1350 | DEFAULT_wxUSE_LIBPNG=yes | |
a16d3c04 KB |
1351 | DEFAULT_wxUSE_LIBJPEG=yes |
1352 | DEFAULT_wxUSE_ODBC=no | |
1353 | ||
1354 | DEFAULT_wxUSE_STD_IOSTREAM=no | |
1355 | DEFAULT_wxUSE_FILE=yes | |
1356 | DEFAULT_wxUSE_TEXTFILE=yes | |
1357 | DEFAULT_wxUSE_TIMEDATE=yes | |
1358 | DEFAULT_wxUSE_WAVE=no | |
1359 | DEFAULT_wxUSE_INTL=yes | |
1360 | DEFAULT_wxUSE_CONFIG=yes | |
1361 | DEFAULT_wxUSE_STREAMS=yes | |
1362 | DEFAULT_wxUSE_SOCKETS=yes | |
1c8515f9 | 1363 | DEFAULT_wxUSE_DIALUP_MANAGER=yes |
a16d3c04 KB |
1364 | DEFAULT_wxUSE_SERIAL=yes |
1365 | DEFAULT_wxUSE_JOYSTICK=yes | |
1366 | DEFAULT_wxUSE_DYNLIB_CLASS=yes | |
1367 | DEFAULT_wxUSE_LONGLONG=no | |
1368 | ||
1369 | DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes | |
1370 | DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes | |
1371 | DEFAULT_wxUSE_POSTSCRIPT=yes | |
1372 | ||
1373 | DEFAULT_wxUSE_X_RESOURCES=no | |
1374 | DEFAULT_wxUSE_CLIPBOARD=yes | |
1375 | DEFAULT_wxUSE_TOOLTIPS=yes | |
1376 | DEFAULT_wxUSE_DRAG_AND_DROP=yes | |
1377 | DEFAULT_wxUSE_SPLINES=yes | |
1378 | ||
1379 | DEFAULT_wxUSE_MDI_ARCHITECTURE=yes | |
1380 | DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes | |
1381 | DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes | |
1382 | ||
1383 | DEFAULT_wxUSE_PROLOGIO=yes | |
1384 | DEFAULT_wxUSE_RESOURCES=yes | |
1385 | DEFAULT_wxUSE_CONSTRAINTS=yes | |
1386 | DEFAULT_wxUSE_IPC=yes | |
1387 | DEFAULT_wxUSE_HELP=yes | |
1388 | DEFAULT_wxUSE_WXTREE=yes | |
1389 | DEFAULT_wxUSE_METAFILE=yes | |
1390 | ||
1391 | DEFAULT_wxUSE_COMMONDLGS=yes | |
1392 | DEFAULT_wxUSE_DIRDLG=yes | |
1393 | DEFAULT_wxUSE_TEXTDLG=yes | |
1394 | DEFAULT_wxUSE_STARTUP_TIPS=yes | |
1395 | DEFAULT_wxUSE_PROGRESSDLG=yes | |
1396 | DEFAULT_wxUSE_MINIFRAME=yes | |
1397 | DEFAULT_wxUSE_HTML=yes | |
1398 | DEFAULT_wxUSE_FS_INET=yes | |
1399 | DEFAULT_wxUSE_FS_ZIP=yes | |
1400 | DEFAULT_wxUSE_BUSYINFO=yes | |
1401 | DEFAULT_wxUSE_ZIPSTREAM=yes | |
1402 | DEFAULT_wxUSE_VALIDATORS=yes | |
1403 | ||
1404 | DEFAULT_wxUSE_ACCEL=yes | |
1405 | DEFAULT_wxUSE_CARET=yes | |
1406 | DEFAULT_wxUSE_BMPBUTTON=yes | |
1407 | DEFAULT_wxUSE_CHECKBOX=yes | |
1408 | DEFAULT_wxUSE_CHECKLST=yes | |
1409 | DEFAULT_wxUSE_CHOICE=yes | |
1410 | DEFAULT_wxUSE_COMBOBOX=yes | |
1411 | DEFAULT_wxUSE_GAUGE=yes | |
1412 | DEFAULT_wxUSE_GRID=yes | |
1413 | DEFAULT_wxUSE_IMAGLIST=yes | |
1414 | DEFAULT_wxUSE_LISTBOX=yes | |
1415 | DEFAULT_wxUSE_LISTCTRL=yes | |
1416 | DEFAULT_wxUSE_NOTEBOOK=yes | |
1417 | DEFAULT_wxUSE_RADIOBOX=yes | |
1418 | DEFAULT_wxUSE_RADIOBTN=yes | |
1419 | DEFAULT_wxUSE_SASH=yes | |
1420 | DEFAULT_wxUSE_SCROLLBAR=yes | |
1421 | DEFAULT_wxUSE_SLIDER=yes | |
1422 | DEFAULT_wxUSE_SPINBTN=yes | |
1423 | DEFAULT_wxUSE_SPLITTER=yes | |
1424 | DEFAULT_wxUSE_STATBMP=yes | |
1425 | DEFAULT_wxUSE_STATBOX=yes | |
1426 | DEFAULT_wxUSE_STATLINE=yes | |
1427 | DEFAULT_wxUSE_STATUSBAR=yes | |
1428 | DEFAULT_wxUSE_TABDIALOG=no | |
1429 | DEFAULT_wxUSE_TOOLBAR=yes | |
1430 | DEFAULT_wxUSE_TREECTRL=yes | |
1431 | ||
1432 | DEFAULT_wxUSE_UNICODE=no | |
1433 | DEFAULT_wxUSE_WCSRTOMBS=no | |
f7a11f8c | 1434 | |
1c8515f9 KB |
1435 | DEFAULT_wxUSE_GIF=yes |
1436 | DEFAULT_wxUSE_PCX=yes | |
1437 | DEFAULT_wxUSE_PNM=yes | |
a16d3c04 KB |
1438 | fi |
1439 | ||
1440 | ||
1441 | ||
1442 | for toolkit in `echo $ALL_TOOLKITS`; do | |
1443 | LINE=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}` | |
1444 | if test "x$LINE" != x ; then | |
1445 | has_toolkit_in_cache=1 | |
1446 | eval "DEFAULT_$LINE" | |
1447 | eval "CACHE_$toolkit=1" | |
1448 | fi | |
1449 | done | |
1450 | ||
f7a11f8c RR |
1451 | |
1452 | ||
1453 | echo $ac_n "checking "for --enable-gui"""... $ac_c" 1>&6 | |
1454 | echo "configure:1455: checking "for --enable-gui"" >&5 | |
1455 | no_cache=0 | |
1456 | # Check whether --enable-gui or --disable-gui was given. | |
1457 | if test "${enable_gui+set}" = set; then | |
1458 | enableval="$enable_gui" | |
1459 | ||
1460 | if test "$enableval" = yes; then | |
1461 | ac_cv_use_gui='wxUSE_GUI=yes' | |
1462 | else | |
1463 | ac_cv_use_gui='wxUSE_GUI=no' | |
1464 | fi | |
1465 | ||
1466 | else | |
1467 | ||
1468 | LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}` | |
1469 | if test "x$LINE" != x ; then | |
1470 | eval "DEFAULT_$LINE" | |
1471 | else | |
1472 | no_cache=1 | |
1473 | fi | |
1474 | ||
1475 | ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI | |
1476 | ||
1477 | fi | |
1478 | ||
1479 | ||
1480 | eval "$ac_cv_use_gui" | |
1481 | if test "$no_cache" != 1; then | |
1482 | echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp | |
1483 | fi | |
1484 | ||
1485 | if test "$wxUSE_GUI" = yes; then | |
1486 | echo "$ac_t""yes" 1>&6 | |
1487 | else | |
1488 | echo "$ac_t""no" 1>&6 | |
1489 | fi | |
1490 | ||
1491 | ||
1492 | if test "$wxUSE_GUI" = "no"; then | |
1493 | DEFAULT_wxUSE_ZLIB=no | |
1494 | DEFAULT_wxUSE_LIBPNG=no | |
1495 | DEFAULT_wxUSE_LIBJPEG=no | |
1496 | DEFAULT_wxUSE_SOCKETS=no | |
1497 | DEFAULT_wxUSE_JOYSTICK=no | |
1498 | DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no | |
1499 | DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no | |
1500 | DEFAULT_wxUSE_POSTSCRIPT=no | |
1501 | DEFAULT_wxUSE_X_RESOURCES=no | |
1502 | DEFAULT_wxUSE_CLIPBOARD=no | |
1503 | DEFAULT_wxUSE_TOOLTIPS=no | |
1504 | DEFAULT_wxUSE_DRAG_AND_DROP=no | |
1505 | DEFAULT_wxUSE_SPLINES=no | |
1506 | DEFAULT_wxUSE_MDI_ARCHITECTURE=no | |
1507 | DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no | |
1508 | DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no | |
1509 | DEFAULT_wxUSE_PROLOGIO=no | |
1510 | DEFAULT_wxUSE_RESOURCES=no | |
1511 | DEFAULT_wxUSE_CONSTRAINTS=no | |
1512 | DEFAULT_wxUSE_IPC=no | |
1513 | DEFAULT_wxUSE_HELP=no | |
1514 | DEFAULT_wxUSE_WXTREE=no | |
1515 | DEFAULT_wxUSE_METAFILE=no | |
1516 | DEFAULT_wxUSE_COMMONDLGS=no | |
1517 | DEFAULT_wxUSE_DIRDLG=no | |
1518 | DEFAULT_wxUSE_TEXTDLG=no | |
1519 | DEFAULT_wxUSE_STARTUP_TIPS=no | |
1520 | DEFAULT_wxUSE_PROGRESSDLG=no | |
1521 | DEFAULT_wxUSE_MINIFRAME=no | |
1522 | DEFAULT_wxUSE_HTML=no | |
1523 | DEFAULT_wxUSE_FS_INET=no | |
1524 | DEFAULT_wxUSE_FS_ZIP=no | |
1525 | DEFAULT_wxUSE_BUSYINFO=no | |
1526 | DEFAULT_wxUSE_ZIPSTREAM=no | |
1527 | DEFAULT_wxUSE_VALIDATORS=yes | |
1528 | DEFAULT_wxUSE_ACCEL=no | |
1529 | DEFAULT_wxUSE_CARET=no | |
1530 | DEFAULT_wxUSE_BMPBUTTON=no | |
1531 | DEFAULT_wxUSE_CHECKBOX=no | |
1532 | DEFAULT_wxUSE_CHECKLST=no | |
1533 | DEFAULT_wxUSE_CHOICE=yes | |
1534 | DEFAULT_wxUSE_COMBOBOX=no | |
1535 | DEFAULT_wxUSE_GAUGE=no | |
1536 | DEFAULT_wxUSE_GRID=no | |
1537 | DEFAULT_wxUSE_IMAGLIST=no | |
1538 | DEFAULT_wxUSE_LISTBOX=no | |
1539 | DEFAULT_wxUSE_LISTCTRL=no | |
1540 | DEFAULT_wxUSE_NOTEBOOK=no | |
1541 | DEFAULT_wxUSE_RADIOBOX=no | |
1542 | DEFAULT_wxUSE_RADIOBTN=no | |
1543 | DEFAULT_wxUSE_SASH=no | |
1544 | DEFAULT_wxUSE_SCROLLBAR=no | |
1545 | DEFAULT_wxUSE_SLIDER=no | |
1546 | DEFAULT_wxUSE_SPINBTN=no | |
1547 | DEFAULT_wxUSE_SPLITTER=no | |
1548 | DEFAULT_wxUSE_STATBMP=no | |
1549 | DEFAULT_wxUSE_STATBOX=no | |
1550 | DEFAULT_wxUSE_STATLINE=no | |
1551 | DEFAULT_wxUSE_STATUSBAR=yes | |
1552 | DEFAULT_wxUSE_TABDIALOG=no | |
1553 | DEFAULT_wxUSE_TOOLBAR=no | |
1554 | DEFAULT_wxUSE_TREECTRL=no | |
1555 | DEFAULT_wxUSE_GIF=no | |
1556 | DEFAULT_wxUSE_PCX=no | |
1557 | DEFAULT_wxUSE_PNM=no | |
1558 | fi | |
1559 | ||
a16d3c04 KB |
1560 | # Check whether --with-gtk or --without-gtk was given. |
1561 | if test "${with_gtk+set}" = set; then | |
1562 | withval="$with_gtk" | |
1563 | wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1 | |
1564 | fi | |
1565 | ||
1566 | # Check whether --with-motif or --without-motif was given. | |
1567 | if test "${with_motif+set}" = set; then | |
1568 | withval="$with_motif" | |
1569 | wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1 | |
1570 | fi | |
1571 | ||
1572 | # Check whether --with-wine or --without-wine was given. | |
1573 | if test "${with_wine+set}" = set; then | |
1574 | withval="$with_wine" | |
1575 | wxUSE_WINE="$withval" CACHE_WINE=1 TOOLKIT_GIVEN=1 | |
1576 | fi | |
1577 | ||
1578 | # Check whether --with-cygwin or --without-cygwin was given. | |
1579 | if test "${with_cygwin+set}" = set; then | |
1580 | withval="$with_cygwin" | |
1581 | wxUSE_CYGWIN="$withval" CACHE_CYGWIN=1 TOOLKIT_GIVEN=1 | |
1582 | fi | |
1583 | ||
1584 | # Check whether --with-mingw or --without-mingw was given. | |
1585 | if test "${with_mingw+set}" = set; then | |
1586 | withval="$with_mingw" | |
1587 | wxUSE_MINGW="$withval" CACHE_MINGW=1 TOOLKIT_GIVEN=1 | |
1588 | fi | |
1589 | ||
1590 | ||
1591 | # Check whether --with-gtk-prefix or --without-gtk-prefix was given. | |
1592 | if test "${with_gtk_prefix+set}" = set; then | |
1593 | withval="$with_gtk_prefix" | |
1594 | gtk_config_prefix="$withval" | |
1595 | else | |
1596 | gtk_config_prefix="" | |
1597 | fi | |
1598 | ||
1599 | # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given. | |
1600 | if test "${with_gtk_exec_prefix+set}" = set; then | |
1601 | withval="$with_gtk_exec_prefix" | |
1602 | gtk_config_exec_prefix="$withval" | |
1603 | else | |
1604 | gtk_config_exec_prefix="" | |
1605 | fi | |
1606 | ||
1607 | ||
1608 | ||
1609 | echo $ac_n "checking "for --with-dmalloc"""... $ac_c" 1>&6 | |
f7a11f8c | 1610 | echo "configure:1611: checking "for --with-dmalloc"" >&5 |
a16d3c04 KB |
1611 | no_cache=0 |
1612 | # Check whether --with-dmalloc or --without-dmalloc was given. | |
1613 | if test "${with_dmalloc+set}" = set; then | |
1614 | withval="$with_dmalloc" | |
1615 | ||
1616 | if test "$withval" = yes; then | |
1617 | ac_cv_use_dmalloc='wxUSE_DMALLOC=yes' | |
1618 | else | |
1619 | ac_cv_use_dmalloc='wxUSE_DMALLOC=no' | |
1620 | fi | |
1621 | ||
1622 | else | |
1623 | ||
1624 | LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}` | |
1625 | if test "x$LINE" != x ; then | |
1626 | eval "DEFAULT_$LINE" | |
1627 | else | |
1628 | no_cache=1 | |
1629 | fi | |
1630 | ||
1631 | ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC | |
1632 | ||
1633 | fi | |
1634 | ||
1635 | ||
1636 | eval "$ac_cv_use_dmalloc" | |
1637 | if test "$no_cache" != 1; then | |
1638 | echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp | |
1639 | fi | |
1640 | ||
1641 | if test "$wxUSE_DMALLOC" = yes; then | |
1642 | echo "$ac_t""yes" 1>&6 | |
1643 | else | |
1644 | echo "$ac_t""no" 1>&6 | |
1645 | fi | |
1646 | ||
1647 | ||
1648 | echo $ac_n "checking "for --with-zlib"""... $ac_c" 1>&6 | |
f7a11f8c | 1649 | echo "configure:1650: checking "for --with-zlib"" >&5 |
a16d3c04 KB |
1650 | no_cache=0 |
1651 | # Check whether --with-zlib or --without-zlib was given. | |
1652 | if test "${with_zlib+set}" = set; then | |
1653 | withval="$with_zlib" | |
1654 | ||
1655 | if test "$withval" = yes; then | |
1656 | ac_cv_use_zlib='wxUSE_ZLIB=yes' | |
1657 | else | |
1658 | ac_cv_use_zlib='wxUSE_ZLIB=no' | |
1659 | fi | |
1660 | ||
1661 | else | |
1662 | ||
1663 | LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}` | |
1664 | if test "x$LINE" != x ; then | |
1665 | eval "DEFAULT_$LINE" | |
1666 | else | |
1667 | no_cache=1 | |
1668 | fi | |
1669 | ||
1670 | ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB | |
1671 | ||
1672 | fi | |
1673 | ||
1674 | ||
1675 | eval "$ac_cv_use_zlib" | |
1676 | if test "$no_cache" != 1; then | |
1677 | echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp | |
1678 | fi | |
1679 | ||
1680 | if test "$wxUSE_ZLIB" = yes; then | |
1681 | echo "$ac_t""yes" 1>&6 | |
1682 | else | |
1683 | echo "$ac_t""no" 1>&6 | |
1684 | fi | |
1685 | ||
1686 | ||
1687 | echo $ac_n "checking "for --with-libpng"""... $ac_c" 1>&6 | |
f7a11f8c | 1688 | echo "configure:1689: checking "for --with-libpng"" >&5 |
a16d3c04 KB |
1689 | no_cache=0 |
1690 | # Check whether --with-libpng or --without-libpng was given. | |
1691 | if test "${with_libpng+set}" = set; then | |
1692 | withval="$with_libpng" | |
1693 | ||
1694 | if test "$withval" = yes; then | |
1695 | ac_cv_use_libpng='wxUSE_LIBPNG=yes' | |
1696 | else | |
1697 | ac_cv_use_libpng='wxUSE_LIBPNG=no' | |
1698 | fi | |
1699 | ||
1700 | else | |
1701 | ||
1702 | LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}` | |
1703 | if test "x$LINE" != x ; then | |
1704 | eval "DEFAULT_$LINE" | |
1705 | else | |
1706 | no_cache=1 | |
1707 | fi | |
1708 | ||
1709 | ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG | |
1710 | ||
1711 | fi | |
1712 | ||
1713 | ||
1714 | eval "$ac_cv_use_libpng" | |
1715 | if test "$no_cache" != 1; then | |
1716 | echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp | |
1717 | fi | |
1718 | ||
1719 | if test "$wxUSE_LIBPNG" = yes; then | |
1720 | echo "$ac_t""yes" 1>&6 | |
1721 | else | |
1722 | echo "$ac_t""no" 1>&6 | |
1723 | fi | |
1724 | ||
1725 | ||
a16d3c04 | 1726 | echo $ac_n "checking "for --with-libjpeg"""... $ac_c" 1>&6 |
f7a11f8c | 1727 | echo "configure:1728: checking "for --with-libjpeg"" >&5 |
a16d3c04 KB |
1728 | no_cache=0 |
1729 | # Check whether --with-libjpeg or --without-libjpeg was given. | |
1730 | if test "${with_libjpeg+set}" = set; then | |
1731 | withval="$with_libjpeg" | |
1732 | ||
1733 | if test "$withval" = yes; then | |
1734 | ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes' | |
1735 | else | |
1736 | ac_cv_use_libjpeg='wxUSE_LIBJPEG=no' | |
1737 | fi | |
1738 | ||
1739 | else | |
1740 | ||
1741 | LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}` | |
1742 | if test "x$LINE" != x ; then | |
1743 | eval "DEFAULT_$LINE" | |
1744 | else | |
1745 | no_cache=1 | |
1746 | fi | |
1747 | ||
1748 | ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG | |
1749 | ||
1750 | fi | |
1751 | ||
1752 | ||
1753 | eval "$ac_cv_use_libjpeg" | |
1754 | if test "$no_cache" != 1; then | |
1755 | echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp | |
1756 | fi | |
1757 | ||
1758 | if test "$wxUSE_LIBJPEG" = yes; then | |
1759 | echo "$ac_t""yes" 1>&6 | |
1760 | else | |
1761 | echo "$ac_t""no" 1>&6 | |
1762 | fi | |
1763 | ||
1764 | ||
1765 | echo $ac_n "checking "for --with-opengl"""... $ac_c" 1>&6 | |
f7a11f8c | 1766 | echo "configure:1767: checking "for --with-opengl"" >&5 |
a16d3c04 KB |
1767 | no_cache=0 |
1768 | # Check whether --with-opengl or --without-opengl was given. | |
1769 | if test "${with_opengl+set}" = set; then | |
1770 | withval="$with_opengl" | |
1771 | ||
1772 | if test "$withval" = yes; then | |
1773 | ac_cv_use_opengl='wxUSE_OPENGL=yes' | |
1774 | else | |
1775 | ac_cv_use_opengl='wxUSE_OPENGL=no' | |
1776 | fi | |
1777 | ||
1778 | else | |
1779 | ||
1780 | LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}` | |
1781 | if test "x$LINE" != x ; then | |
1782 | eval "DEFAULT_$LINE" | |
1783 | else | |
1784 | no_cache=1 | |
1785 | fi | |
1786 | ||
1787 | ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL | |
1788 | ||
1789 | fi | |
1790 | ||
1791 | ||
1792 | eval "$ac_cv_use_opengl" | |
1793 | if test "$no_cache" != 1; then | |
1794 | echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp | |
1795 | fi | |
1796 | ||
1797 | if test "$wxUSE_OPENGL" = yes; then | |
1798 | echo "$ac_t""yes" 1>&6 | |
1799 | else | |
1800 | echo "$ac_t""no" 1>&6 | |
1801 | fi | |
1802 | ||
1803 | ||
1804 | echo $ac_n "checking "for --with-odbc"""... $ac_c" 1>&6 | |
f7a11f8c | 1805 | echo "configure:1806: checking "for --with-odbc"" >&5 |
a16d3c04 KB |
1806 | no_cache=0 |
1807 | # Check whether --with-odbc or --without-odbc was given. | |
1808 | if test "${with_odbc+set}" = set; then | |
1809 | withval="$with_odbc" | |
1810 | ||
1811 | if test "$withval" = yes; then | |
1812 | ac_cv_use_odbc='wxUSE_ODBC=yes' | |
1813 | else | |
1814 | ac_cv_use_odbc='wxUSE_ODBC=no' | |
1815 | fi | |
1816 | ||
1817 | else | |
1818 | ||
1819 | LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}` | |
1820 | if test "x$LINE" != x ; then | |
1821 | eval "DEFAULT_$LINE" | |
1822 | else | |
1823 | no_cache=1 | |
1824 | fi | |
1825 | ||
1826 | ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC | |
1827 | ||
1828 | fi | |
1829 | ||
1830 | ||
1831 | eval "$ac_cv_use_odbc" | |
1832 | if test "$no_cache" != 1; then | |
1833 | echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp | |
1834 | fi | |
1835 | ||
1836 | if test "$wxUSE_ODBC" = yes; then | |
1837 | echo "$ac_t""yes" 1>&6 | |
1838 | else | |
1839 | echo "$ac_t""no" 1>&6 | |
1840 | fi | |
1841 | ||
1842 | ||
1843 | ||
1844 | ||
1845 | ||
1846 | echo $ac_n "checking "for --enable-shared"""... $ac_c" 1>&6 | |
f7a11f8c | 1847 | echo "configure:1848: checking "for --enable-shared"" >&5 |
a16d3c04 KB |
1848 | no_cache=0 |
1849 | # Check whether --enable-shared or --disable-shared was given. | |
1850 | if test "${enable_shared+set}" = set; then | |
1851 | enableval="$enable_shared" | |
1852 | ||
1853 | if test "$enableval" = yes; then | |
1854 | ac_cv_use_shared='wxUSE_SHARED=yes' | |
1855 | else | |
1856 | ac_cv_use_shared='wxUSE_SHARED=no' | |
1857 | fi | |
1858 | ||
1859 | else | |
1860 | ||
1861 | LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}` | |
1862 | if test "x$LINE" != x ; then | |
1863 | eval "DEFAULT_$LINE" | |
1864 | else | |
1865 | no_cache=1 | |
1866 | fi | |
1867 | ||
1868 | ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED | |
1869 | ||
1870 | fi | |
1871 | ||
1872 | ||
1873 | eval "$ac_cv_use_shared" | |
1874 | if test "$no_cache" != 1; then | |
1875 | echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp | |
1876 | fi | |
1877 | ||
1878 | if test "$wxUSE_SHARED" = yes; then | |
1879 | echo "$ac_t""yes" 1>&6 | |
1880 | else | |
1881 | echo "$ac_t""no" 1>&6 | |
1882 | fi | |
1883 | ||
1884 | ||
1885 | echo $ac_n "checking "for --enable-optimise"""... $ac_c" 1>&6 | |
f7a11f8c | 1886 | echo "configure:1887: checking "for --enable-optimise"" >&5 |
a16d3c04 KB |
1887 | no_cache=0 |
1888 | # Check whether --enable-optimise or --disable-optimise was given. | |
1889 | if test "${enable_optimise+set}" = set; then | |
1890 | enableval="$enable_optimise" | |
1891 | ||
1892 | if test "$enableval" = yes; then | |
1893 | ac_cv_use_optimise='wxUSE_OPTIMISE=yes' | |
1894 | else | |
1895 | ac_cv_use_optimise='wxUSE_OPTIMISE=no' | |
1896 | fi | |
1897 | ||
1898 | else | |
1899 | ||
1900 | LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}` | |
1901 | if test "x$LINE" != x ; then | |
1902 | eval "DEFAULT_$LINE" | |
1903 | else | |
1904 | no_cache=1 | |
1905 | fi | |
1906 | ||
1907 | ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE | |
1908 | ||
1909 | fi | |
1910 | ||
1911 | ||
1912 | eval "$ac_cv_use_optimise" | |
1913 | if test "$no_cache" != 1; then | |
1914 | echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp | |
1915 | fi | |
1916 | ||
1917 | if test "$wxUSE_OPTIMISE" = yes; then | |
1918 | echo "$ac_t""yes" 1>&6 | |
1919 | else | |
1920 | echo "$ac_t""no" 1>&6 | |
1921 | fi | |
1922 | ||
1923 | ||
1924 | echo $ac_n "checking "for --enable-debug"""... $ac_c" 1>&6 | |
f7a11f8c | 1925 | echo "configure:1926: checking "for --enable-debug"" >&5 |
a16d3c04 KB |
1926 | no_cache=0 |
1927 | # Check whether --enable-debug or --disable-debug was given. | |
1928 | if test "${enable_debug+set}" = set; then | |
1929 | enableval="$enable_debug" | |
1930 | ||
1931 | if test "$enableval" = yes; then | |
1932 | ac_cv_use_debug='wxUSE_DEBUG=yes' | |
1933 | else | |
1934 | ac_cv_use_debug='wxUSE_DEBUG=no' | |
1935 | fi | |
1936 | ||
1937 | else | |
1938 | ||
1939 | LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}` | |
1940 | if test "x$LINE" != x ; then | |
1941 | eval "DEFAULT_$LINE" | |
1942 | else | |
1943 | no_cache=1 | |
1944 | fi | |
1945 | ||
1946 | ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG | |
1947 | ||
1948 | fi | |
1949 | ||
1950 | ||
1951 | eval "$ac_cv_use_debug" | |
1952 | if test "$no_cache" != 1; then | |
1953 | echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp | |
1954 | fi | |
1955 | ||
1956 | if test "$wxUSE_DEBUG" = yes; then | |
1957 | echo "$ac_t""yes" 1>&6 | |
1958 | else | |
1959 | echo "$ac_t""no" 1>&6 | |
1960 | fi | |
1961 | ||
1962 | ||
1963 | if test "$wxUSE_DEBUG" = "yes"; then | |
1964 | DEFAULT_wxUSE_DEBUG_FLAG=yes | |
1965 | DEFAULT_wxUSE_DEBUG_INFO=yes | |
1966 | elif test "$wxUSE_DEBUG" = "no"; then | |
1967 | DEFAULT_wxUSE_DEBUG_FLAG=no | |
1968 | DEFAULT_wxUSE_DEBUG_INFO=no | |
1969 | fi | |
1970 | ||
1971 | ||
1972 | echo $ac_n "checking "for --enable-debug_flag"""... $ac_c" 1>&6 | |
f7a11f8c | 1973 | echo "configure:1974: checking "for --enable-debug_flag"" >&5 |
a16d3c04 KB |
1974 | no_cache=0 |
1975 | # Check whether --enable-debug_flag or --disable-debug_flag was given. | |
1976 | if test "${enable_debug_flag+set}" = set; then | |
1977 | enableval="$enable_debug_flag" | |
1978 | ||
1979 | if test "$enableval" = yes; then | |
1980 | ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes' | |
1981 | else | |
1982 | ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no' | |
1983 | fi | |
1984 | ||
1985 | else | |
1986 | ||
1987 | LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}` | |
1988 | if test "x$LINE" != x ; then | |
1989 | eval "DEFAULT_$LINE" | |
1990 | else | |
1991 | no_cache=1 | |
1992 | fi | |
1993 | ||
1994 | ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG | |
1995 | ||
1996 | fi | |
1997 | ||
1998 | ||
1999 | eval "$ac_cv_use_debug_flag" | |
2000 | if test "$no_cache" != 1; then | |
2001 | echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp | |
2002 | fi | |
2003 | ||
2004 | if test "$wxUSE_DEBUG_FLAG" = yes; then | |
2005 | echo "$ac_t""yes" 1>&6 | |
2006 | else | |
2007 | echo "$ac_t""no" 1>&6 | |
2008 | fi | |
2009 | ||
2010 | ||
2011 | echo $ac_n "checking "for --enable-debug_info"""... $ac_c" 1>&6 | |
f7a11f8c | 2012 | echo "configure:2013: checking "for --enable-debug_info"" >&5 |
a16d3c04 KB |
2013 | no_cache=0 |
2014 | # Check whether --enable-debug_info or --disable-debug_info was given. | |
2015 | if test "${enable_debug_info+set}" = set; then | |
2016 | enableval="$enable_debug_info" | |
2017 | ||
2018 | if test "$enableval" = yes; then | |
2019 | ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes' | |
2020 | else | |
2021 | ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no' | |
2022 | fi | |
2023 | ||
2024 | else | |
2025 | ||
2026 | LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}` | |
2027 | if test "x$LINE" != x ; then | |
2028 | eval "DEFAULT_$LINE" | |
2029 | else | |
2030 | no_cache=1 | |
2031 | fi | |
2032 | ||
2033 | ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO | |
2034 | ||
2035 | fi | |
2036 | ||
2037 | ||
2038 | eval "$ac_cv_use_debug_info" | |
2039 | if test "$no_cache" != 1; then | |
2040 | echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp | |
2041 | fi | |
2042 | ||
2043 | if test "$wxUSE_DEBUG_INFO" = yes; then | |
2044 | echo "$ac_t""yes" 1>&6 | |
2045 | else | |
2046 | echo "$ac_t""no" 1>&6 | |
2047 | fi | |
2048 | ||
2049 | ||
2050 | echo $ac_n "checking "for --enable-debug_gdb"""... $ac_c" 1>&6 | |
f7a11f8c | 2051 | echo "configure:2052: checking "for --enable-debug_gdb"" >&5 |
a16d3c04 KB |
2052 | no_cache=0 |
2053 | # Check whether --enable-debug_gdb or --disable-debug_gdb was given. | |
2054 | if test "${enable_debug_gdb+set}" = set; then | |
2055 | enableval="$enable_debug_gdb" | |
2056 | ||
2057 | if test "$enableval" = yes; then | |
2058 | ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes' | |
2059 | else | |
2060 | ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no' | |
2061 | fi | |
2062 | ||
2063 | else | |
2064 | ||
2065 | LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}` | |
2066 | if test "x$LINE" != x ; then | |
2067 | eval "DEFAULT_$LINE" | |
2068 | else | |
2069 | no_cache=1 | |
2070 | fi | |
2071 | ||
2072 | ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB | |
2073 | ||
2074 | fi | |
2075 | ||
2076 | ||
2077 | eval "$ac_cv_use_debug_gdb" | |
2078 | if test "$no_cache" != 1; then | |
2079 | echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp | |
2080 | fi | |
2081 | ||
2082 | if test "$wxUSE_DEBUG_GDB" = yes; then | |
2083 | echo "$ac_t""yes" 1>&6 | |
2084 | else | |
2085 | echo "$ac_t""no" 1>&6 | |
2086 | fi | |
2087 | ||
2088 | ||
2089 | echo $ac_n "checking "for --enable-debug_cntxt"""... $ac_c" 1>&6 | |
f7a11f8c | 2090 | echo "configure:2091: checking "for --enable-debug_cntxt"" >&5 |
a16d3c04 KB |
2091 | no_cache=0 |
2092 | # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given. | |
2093 | if test "${enable_debug_cntxt+set}" = set; then | |
2094 | enableval="$enable_debug_cntxt" | |
2095 | ||
2096 | if test "$enableval" = yes; then | |
2097 | ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes' | |
2098 | else | |
2099 | ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no' | |
2100 | fi | |
2101 | ||
2102 | else | |
2103 | ||
2104 | LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}` | |
2105 | if test "x$LINE" != x ; then | |
2106 | eval "DEFAULT_$LINE" | |
2107 | else | |
2108 | no_cache=1 | |
2109 | fi | |
2110 | ||
2111 | ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT | |
2112 | ||
2113 | fi | |
2114 | ||
2115 | ||
2116 | eval "$ac_cv_use_debug_cntxt" | |
2117 | if test "$no_cache" != 1; then | |
2118 | echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp | |
2119 | fi | |
2120 | ||
2121 | if test "$wxUSE_DEBUG_CONTEXT" = yes; then | |
2122 | echo "$ac_t""yes" 1>&6 | |
2123 | else | |
2124 | echo "$ac_t""no" 1>&6 | |
2125 | fi | |
2126 | ||
2127 | ||
2128 | echo $ac_n "checking "for --enable-mem_tracing"""... $ac_c" 1>&6 | |
f7a11f8c | 2129 | echo "configure:2130: checking "for --enable-mem_tracing"" >&5 |
a16d3c04 KB |
2130 | no_cache=0 |
2131 | # Check whether --enable-mem_tracing or --disable-mem_tracing was given. | |
2132 | if test "${enable_mem_tracing+set}" = set; then | |
2133 | enableval="$enable_mem_tracing" | |
2134 | ||
2135 | if test "$enableval" = yes; then | |
2136 | ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes' | |
2137 | else | |
2138 | ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no' | |
2139 | fi | |
2140 | ||
2141 | else | |
2142 | ||
2143 | LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}` | |
2144 | if test "x$LINE" != x ; then | |
2145 | eval "DEFAULT_$LINE" | |
2146 | else | |
2147 | no_cache=1 | |
2148 | fi | |
2149 | ||
2150 | ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING | |
2151 | ||
2152 | fi | |
2153 | ||
2154 | ||
2155 | eval "$ac_cv_use_mem_tracing" | |
2156 | if test "$no_cache" != 1; then | |
2157 | echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp | |
2158 | fi | |
2159 | ||
2160 | if test "$wxUSE_MEM_TRACING" = yes; then | |
2161 | echo "$ac_t""yes" 1>&6 | |
2162 | else | |
2163 | echo "$ac_t""no" 1>&6 | |
2164 | fi | |
2165 | ||
2166 | ||
2167 | echo $ac_n "checking "for --enable-profile"""... $ac_c" 1>&6 | |
f7a11f8c | 2168 | echo "configure:2169: checking "for --enable-profile"" >&5 |
a16d3c04 KB |
2169 | no_cache=0 |
2170 | # Check whether --enable-profile or --disable-profile was given. | |
2171 | if test "${enable_profile+set}" = set; then | |
2172 | enableval="$enable_profile" | |
2173 | ||
2174 | if test "$enableval" = yes; then | |
2175 | ac_cv_use_profile='wxUSE_PROFILE=yes' | |
2176 | else | |
2177 | ac_cv_use_profile='wxUSE_PROFILE=no' | |
2178 | fi | |
2179 | ||
2180 | else | |
2181 | ||
2182 | LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}` | |
2183 | if test "x$LINE" != x ; then | |
2184 | eval "DEFAULT_$LINE" | |
2185 | else | |
2186 | no_cache=1 | |
2187 | fi | |
2188 | ||
2189 | ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE | |
2190 | ||
2191 | fi | |
2192 | ||
2193 | ||
2194 | eval "$ac_cv_use_profile" | |
2195 | if test "$no_cache" != 1; then | |
2196 | echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp | |
2197 | fi | |
2198 | ||
2199 | if test "$wxUSE_PROFILE" = yes; then | |
2200 | echo "$ac_t""yes" 1>&6 | |
2201 | else | |
2202 | echo "$ac_t""no" 1>&6 | |
2203 | fi | |
2204 | ||
2205 | ||
2206 | echo $ac_n "checking "for --enable-no_rtti"""... $ac_c" 1>&6 | |
f7a11f8c | 2207 | echo "configure:2208: checking "for --enable-no_rtti"" >&5 |
a16d3c04 KB |
2208 | no_cache=0 |
2209 | # Check whether --enable-no_rtti or --disable-no_rtti was given. | |
2210 | if test "${enable_no_rtti+set}" = set; then | |
2211 | enableval="$enable_no_rtti" | |
2212 | ||
2213 | if test "$enableval" = yes; then | |
2214 | ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes' | |
2215 | else | |
2216 | ac_cv_use_no_rtti='wxUSE_NO_RTTI=no' | |
2217 | fi | |
2218 | ||
2219 | else | |
2220 | ||
2221 | LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}` | |
2222 | if test "x$LINE" != x ; then | |
2223 | eval "DEFAULT_$LINE" | |
2224 | else | |
2225 | no_cache=1 | |
2226 | fi | |
2227 | ||
2228 | ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI | |
2229 | ||
2230 | fi | |
2231 | ||
2232 | ||
2233 | eval "$ac_cv_use_no_rtti" | |
2234 | if test "$no_cache" != 1; then | |
2235 | echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp | |
2236 | fi | |
2237 | ||
2238 | if test "$wxUSE_NO_RTTI" = yes; then | |
2239 | echo "$ac_t""yes" 1>&6 | |
2240 | else | |
2241 | echo "$ac_t""no" 1>&6 | |
2242 | fi | |
2243 | ||
2244 | ||
2245 | echo $ac_n "checking "for --enable-no_exceptions"""... $ac_c" 1>&6 | |
f7a11f8c | 2246 | echo "configure:2247: checking "for --enable-no_exceptions"" >&5 |
a16d3c04 KB |
2247 | no_cache=0 |
2248 | # Check whether --enable-no_exceptions or --disable-no_exceptions was given. | |
2249 | if test "${enable_no_exceptions+set}" = set; then | |
2250 | enableval="$enable_no_exceptions" | |
2251 | ||
2252 | if test "$enableval" = yes; then | |
2253 | ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes' | |
2254 | else | |
2255 | ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no' | |
2256 | fi | |
2257 | ||
2258 | else | |
2259 | ||
2260 | LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}` | |
2261 | if test "x$LINE" != x ; then | |
2262 | eval "DEFAULT_$LINE" | |
2263 | else | |
2264 | no_cache=1 | |
2265 | fi | |
2266 | ||
2267 | ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS | |
2268 | ||
2269 | fi | |
2270 | ||
2271 | ||
2272 | eval "$ac_cv_use_no_exceptions" | |
2273 | if test "$no_cache" != 1; then | |
2274 | echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp | |
2275 | fi | |
2276 | ||
2277 | if test "$wxUSE_NO_EXCEPTIONS" = yes; then | |
2278 | echo "$ac_t""yes" 1>&6 | |
2279 | else | |
2280 | echo "$ac_t""no" 1>&6 | |
2281 | fi | |
2282 | ||
2283 | ||
2284 | echo $ac_n "checking "for --enable-permissive"""... $ac_c" 1>&6 | |
f7a11f8c | 2285 | echo "configure:2286: checking "for --enable-permissive"" >&5 |
a16d3c04 KB |
2286 | no_cache=0 |
2287 | # Check whether --enable-permissive or --disable-permissive was given. | |
2288 | if test "${enable_permissive+set}" = set; then | |
2289 | enableval="$enable_permissive" | |
2290 | ||
2291 | if test "$enableval" = yes; then | |
2292 | ac_cv_use_permissive='wxUSE_PERMISSIVE=yes' | |
2293 | else | |
2294 | ac_cv_use_permissive='wxUSE_PERMISSIVE=no' | |
2295 | fi | |
2296 | ||
2297 | else | |
2298 | ||
2299 | LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}` | |
2300 | if test "x$LINE" != x ; then | |
2301 | eval "DEFAULT_$LINE" | |
2302 | else | |
2303 | no_cache=1 | |
2304 | fi | |
2305 | ||
2306 | ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE | |
2307 | ||
2308 | fi | |
2309 | ||
2310 | ||
2311 | eval "$ac_cv_use_permissive" | |
2312 | if test "$no_cache" != 1; then | |
2313 | echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp | |
2314 | fi | |
2315 | ||
2316 | if test "$wxUSE_PERMISSIVE" = yes; then | |
2317 | echo "$ac_t""yes" 1>&6 | |
2318 | else | |
2319 | echo "$ac_t""no" 1>&6 | |
2320 | fi | |
2321 | ||
2322 | ||
2323 | echo $ac_n "checking "for --enable-no_deps"""... $ac_c" 1>&6 | |
f7a11f8c | 2324 | echo "configure:2325: checking "for --enable-no_deps"" >&5 |
a16d3c04 KB |
2325 | no_cache=0 |
2326 | # Check whether --enable-no_deps or --disable-no_deps was given. | |
2327 | if test "${enable_no_deps+set}" = set; then | |
2328 | enableval="$enable_no_deps" | |
2329 | ||
2330 | if test "$enableval" = yes; then | |
2331 | ac_cv_use_no_deps='wxUSE_NO_DEPS=yes' | |
2332 | else | |
2333 | ac_cv_use_no_deps='wxUSE_NO_DEPS=no' | |
2334 | fi | |
2335 | ||
2336 | else | |
2337 | ||
2338 | LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}` | |
2339 | if test "x$LINE" != x ; then | |
2340 | eval "DEFAULT_$LINE" | |
2341 | else | |
2342 | no_cache=1 | |
2343 | fi | |
2344 | ||
2345 | ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS | |
2346 | ||
2347 | fi | |
2348 | ||
2349 | ||
2350 | eval "$ac_cv_use_no_deps" | |
2351 | if test "$no_cache" != 1; then | |
2352 | echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp | |
2353 | fi | |
2354 | ||
2355 | if test "$wxUSE_NO_DEPS" = yes; then | |
2356 | echo "$ac_t""yes" 1>&6 | |
2357 | else | |
2358 | echo "$ac_t""no" 1>&6 | |
2359 | fi | |
2360 | ||
2361 | ||
2362 | ||
2363 | ||
a16d3c04 | 2364 | echo $ac_n "checking "for --enable-intl"""... $ac_c" 1>&6 |
f7a11f8c | 2365 | echo "configure:2366: checking "for --enable-intl"" >&5 |
a16d3c04 KB |
2366 | no_cache=0 |
2367 | # Check whether --enable-intl or --disable-intl was given. | |
2368 | if test "${enable_intl+set}" = set; then | |
2369 | enableval="$enable_intl" | |
2370 | ||
2371 | if test "$enableval" = yes; then | |
2372 | ac_cv_use_intl='wxUSE_INTL=yes' | |
2373 | else | |
2374 | ac_cv_use_intl='wxUSE_INTL=no' | |
2375 | fi | |
2376 | ||
2377 | else | |
2378 | ||
2379 | LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}` | |
2380 | if test "x$LINE" != x ; then | |
2381 | eval "DEFAULT_$LINE" | |
2382 | else | |
2383 | no_cache=1 | |
2384 | fi | |
2385 | ||
2386 | ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL | |
2387 | ||
2388 | fi | |
2389 | ||
2390 | ||
2391 | eval "$ac_cv_use_intl" | |
2392 | if test "$no_cache" != 1; then | |
2393 | echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp | |
2394 | fi | |
2395 | ||
2396 | if test "$wxUSE_INTL" = yes; then | |
2397 | echo "$ac_t""yes" 1>&6 | |
2398 | else | |
2399 | echo "$ac_t""no" 1>&6 | |
2400 | fi | |
2401 | ||
2402 | ||
2403 | echo $ac_n "checking "for --enable-config"""... $ac_c" 1>&6 | |
f7a11f8c | 2404 | echo "configure:2405: checking "for --enable-config"" >&5 |
a16d3c04 KB |
2405 | no_cache=0 |
2406 | # Check whether --enable-config or --disable-config was given. | |
2407 | if test "${enable_config+set}" = set; then | |
2408 | enableval="$enable_config" | |
2409 | ||
2410 | if test "$enableval" = yes; then | |
2411 | ac_cv_use_config='wxUSE_CONFIG=yes' | |
2412 | else | |
2413 | ac_cv_use_config='wxUSE_CONFIG=no' | |
2414 | fi | |
2415 | ||
2416 | else | |
2417 | ||
2418 | LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}` | |
2419 | if test "x$LINE" != x ; then | |
2420 | eval "DEFAULT_$LINE" | |
2421 | else | |
2422 | no_cache=1 | |
2423 | fi | |
2424 | ||
2425 | ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG | |
2426 | ||
2427 | fi | |
2428 | ||
2429 | ||
2430 | eval "$ac_cv_use_config" | |
2431 | if test "$no_cache" != 1; then | |
2432 | echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp | |
2433 | fi | |
2434 | ||
2435 | if test "$wxUSE_CONFIG" = yes; then | |
2436 | echo "$ac_t""yes" 1>&6 | |
2437 | else | |
2438 | echo "$ac_t""no" 1>&6 | |
2439 | fi | |
2440 | ||
2441 | ||
2442 | echo $ac_n "checking "for --enable-sockets"""... $ac_c" 1>&6 | |
f7a11f8c | 2443 | echo "configure:2444: checking "for --enable-sockets"" >&5 |
a16d3c04 KB |
2444 | no_cache=0 |
2445 | # Check whether --enable-sockets or --disable-sockets was given. | |
2446 | if test "${enable_sockets+set}" = set; then | |
2447 | enableval="$enable_sockets" | |
2448 | ||
2449 | if test "$enableval" = yes; then | |
2450 | ac_cv_use_sockets='wxUSE_SOCKETS=yes' | |
2451 | else | |
2452 | ac_cv_use_sockets='wxUSE_SOCKETS=no' | |
2453 | fi | |
2454 | ||
2455 | else | |
2456 | ||
2457 | LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}` | |
2458 | if test "x$LINE" != x ; then | |
2459 | eval "DEFAULT_$LINE" | |
2460 | else | |
2461 | no_cache=1 | |
2462 | fi | |
2463 | ||
2464 | ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS | |
2465 | ||
2466 | fi | |
2467 | ||
2468 | ||
2469 | eval "$ac_cv_use_sockets" | |
2470 | if test "$no_cache" != 1; then | |
2471 | echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp | |
2472 | fi | |
2473 | ||
2474 | if test "$wxUSE_SOCKETS" = yes; then | |
2475 | echo "$ac_t""yes" 1>&6 | |
2476 | else | |
2477 | echo "$ac_t""no" 1>&6 | |
2478 | fi | |
2479 | ||
2480 | ||
1c8515f9 | 2481 | echo $ac_n "checking "for --enable-dialupman"""... $ac_c" 1>&6 |
f7a11f8c | 2482 | echo "configure:2483: checking "for --enable-dialupman"" >&5 |
1c8515f9 KB |
2483 | no_cache=0 |
2484 | # Check whether --enable-dialupman or --disable-dialupman was given. | |
2485 | if test "${enable_dialupman+set}" = set; then | |
2486 | enableval="$enable_dialupman" | |
2487 | ||
2488 | if test "$enableval" = yes; then | |
2489 | ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes' | |
2490 | else | |
2491 | ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no' | |
2492 | fi | |
2493 | ||
2494 | else | |
2495 | ||
2496 | LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}` | |
2497 | if test "x$LINE" != x ; then | |
2498 | eval "DEFAULT_$LINE" | |
2499 | else | |
2500 | no_cache=1 | |
2501 | fi | |
2502 | ||
2503 | ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER | |
2504 | ||
2505 | fi | |
2506 | ||
2507 | ||
2508 | eval "$ac_cv_use_dialupman" | |
2509 | if test "$no_cache" != 1; then | |
2510 | echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp | |
2511 | fi | |
2512 | ||
2513 | if test "$wxUSE_DIALUP_MANAGER" = yes; then | |
2514 | echo "$ac_t""yes" 1>&6 | |
2515 | else | |
2516 | echo "$ac_t""no" 1>&6 | |
2517 | fi | |
2518 | ||
2519 | ||
a16d3c04 | 2520 | echo $ac_n "checking "for --enable-ipc"""... $ac_c" 1>&6 |
f7a11f8c | 2521 | echo "configure:2522: checking "for --enable-ipc"" >&5 |
a16d3c04 KB |
2522 | no_cache=0 |
2523 | # Check whether --enable-ipc or --disable-ipc was given. | |
2524 | if test "${enable_ipc+set}" = set; then | |
2525 | enableval="$enable_ipc" | |
2526 | ||
2527 | if test "$enableval" = yes; then | |
2528 | ac_cv_use_ipc='wxUSE_IPC=yes' | |
2529 | else | |
2530 | ac_cv_use_ipc='wxUSE_IPC=no' | |
2531 | fi | |
2532 | ||
2533 | else | |
2534 | ||
2535 | LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}` | |
2536 | if test "x$LINE" != x ; then | |
2537 | eval "DEFAULT_$LINE" | |
2538 | else | |
2539 | no_cache=1 | |
2540 | fi | |
2541 | ||
2542 | ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC | |
2543 | ||
2544 | fi | |
2545 | ||
2546 | ||
2547 | eval "$ac_cv_use_ipc" | |
2548 | if test "$no_cache" != 1; then | |
2549 | echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp | |
2550 | fi | |
2551 | ||
2552 | if test "$wxUSE_IPC" = yes; then | |
2553 | echo "$ac_t""yes" 1>&6 | |
2554 | else | |
2555 | echo "$ac_t""no" 1>&6 | |
2556 | fi | |
2557 | ||
2558 | ||
2559 | echo $ac_n "checking "for --enable-apple_ieee"""... $ac_c" 1>&6 | |
f7a11f8c | 2560 | echo "configure:2561: checking "for --enable-apple_ieee"" >&5 |
a16d3c04 KB |
2561 | no_cache=0 |
2562 | # Check whether --enable-apple_ieee or --disable-apple_ieee was given. | |
2563 | if test "${enable_apple_ieee+set}" = set; then | |
2564 | enableval="$enable_apple_ieee" | |
2565 | ||
2566 | if test "$enableval" = yes; then | |
2567 | ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes' | |
2568 | else | |
2569 | ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no' | |
2570 | fi | |
2571 | ||
2572 | else | |
2573 | ||
2574 | LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}` | |
2575 | if test "x$LINE" != x ; then | |
2576 | eval "DEFAULT_$LINE" | |
2577 | else | |
2578 | no_cache=1 | |
2579 | fi | |
2580 | ||
2581 | ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE | |
2582 | ||
2583 | fi | |
2584 | ||
2585 | ||
2586 | eval "$ac_cv_use_apple_ieee" | |
2587 | if test "$no_cache" != 1; then | |
2588 | echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp | |
2589 | fi | |
2590 | ||
2591 | if test "$wxUSE_APPLE_IEEE" = yes; then | |
2592 | echo "$ac_t""yes" 1>&6 | |
2593 | else | |
2594 | echo "$ac_t""no" 1>&6 | |
2595 | fi | |
2596 | ||
2597 | ||
2598 | echo $ac_n "checking "for --enable-timedate"""... $ac_c" 1>&6 | |
f7a11f8c | 2599 | echo "configure:2600: checking "for --enable-timedate"" >&5 |
a16d3c04 KB |
2600 | no_cache=0 |
2601 | # Check whether --enable-timedate or --disable-timedate was given. | |
2602 | if test "${enable_timedate+set}" = set; then | |
2603 | enableval="$enable_timedate" | |
2604 | ||
2605 | if test "$enableval" = yes; then | |
2606 | ac_cv_use_timedate='wxUSE_TIMEDATE=yes' | |
2607 | else | |
2608 | ac_cv_use_timedate='wxUSE_TIMEDATE=no' | |
2609 | fi | |
2610 | ||
2611 | else | |
2612 | ||
2613 | LINE=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}` | |
2614 | if test "x$LINE" != x ; then | |
2615 | eval "DEFAULT_$LINE" | |
2616 | else | |
2617 | no_cache=1 | |
2618 | fi | |
2619 | ||
2620 | ac_cv_use_timedate='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE | |
2621 | ||
2622 | fi | |
2623 | ||
2624 | ||
2625 | eval "$ac_cv_use_timedate" | |
2626 | if test "$no_cache" != 1; then | |
2627 | echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp | |
2628 | fi | |
2629 | ||
2630 | if test "$wxUSE_TIMEDATE" = yes; then | |
2631 | echo "$ac_t""yes" 1>&6 | |
2632 | else | |
2633 | echo "$ac_t""no" 1>&6 | |
2634 | fi | |
2635 | ||
2636 | ||
2637 | echo $ac_n "checking "for --enable-wave"""... $ac_c" 1>&6 | |
f7a11f8c | 2638 | echo "configure:2639: checking "for --enable-wave"" >&5 |
a16d3c04 KB |
2639 | no_cache=0 |
2640 | # Check whether --enable-wave or --disable-wave was given. | |
2641 | if test "${enable_wave+set}" = set; then | |
2642 | enableval="$enable_wave" | |
2643 | ||
2644 | if test "$enableval" = yes; then | |
2645 | ac_cv_use_wave='wxUSE_WAVE=yes' | |
2646 | else | |
2647 | ac_cv_use_wave='wxUSE_WAVE=no' | |
2648 | fi | |
2649 | ||
2650 | else | |
2651 | ||
2652 | LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}` | |
2653 | if test "x$LINE" != x ; then | |
2654 | eval "DEFAULT_$LINE" | |
2655 | else | |
2656 | no_cache=1 | |
2657 | fi | |
2658 | ||
2659 | ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE | |
2660 | ||
2661 | fi | |
2662 | ||
2663 | ||
2664 | eval "$ac_cv_use_wave" | |
2665 | if test "$no_cache" != 1; then | |
2666 | echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp | |
2667 | fi | |
2668 | ||
2669 | if test "$wxUSE_WAVE" = yes; then | |
2670 | echo "$ac_t""yes" 1>&6 | |
2671 | else | |
2672 | echo "$ac_t""no" 1>&6 | |
2673 | fi | |
2674 | ||
2675 | ||
2676 | echo $ac_n "checking "for --enable-fraction"""... $ac_c" 1>&6 | |
f7a11f8c | 2677 | echo "configure:2678: checking "for --enable-fraction"" >&5 |
a16d3c04 KB |
2678 | no_cache=0 |
2679 | # Check whether --enable-fraction or --disable-fraction was given. | |
2680 | if test "${enable_fraction+set}" = set; then | |
2681 | enableval="$enable_fraction" | |
2682 | ||
2683 | if test "$enableval" = yes; then | |
2684 | ac_cv_use_fraction='wxUSE_FRACTION=yes' | |
2685 | else | |
2686 | ac_cv_use_fraction='wxUSE_FRACTION=no' | |
2687 | fi | |
2688 | ||
2689 | else | |
2690 | ||
2691 | LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}` | |
2692 | if test "x$LINE" != x ; then | |
2693 | eval "DEFAULT_$LINE" | |
2694 | else | |
2695 | no_cache=1 | |
2696 | fi | |
2697 | ||
2698 | ac_cv_use_fraction='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION | |
2699 | ||
2700 | fi | |
2701 | ||
2702 | ||
2703 | eval "$ac_cv_use_fraction" | |
2704 | if test "$no_cache" != 1; then | |
2705 | echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp | |
2706 | fi | |
2707 | ||
2708 | if test "$wxUSE_FRACTION" = yes; then | |
2709 | echo "$ac_t""yes" 1>&6 | |
2710 | else | |
2711 | echo "$ac_t""no" 1>&6 | |
2712 | fi | |
2713 | ||
2714 | ||
2715 | echo $ac_n "checking "for --enable-dynlib"""... $ac_c" 1>&6 | |
f7a11f8c | 2716 | echo "configure:2717: checking "for --enable-dynlib"" >&5 |
a16d3c04 KB |
2717 | no_cache=0 |
2718 | # Check whether --enable-dynlib or --disable-dynlib was given. | |
2719 | if test "${enable_dynlib+set}" = set; then | |
2720 | enableval="$enable_dynlib" | |
2721 | ||
2722 | if test "$enableval" = yes; then | |
2723 | ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes' | |
2724 | else | |
2725 | ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no' | |
2726 | fi | |
2727 | ||
2728 | else | |
2729 | ||
2730 | LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}` | |
2731 | if test "x$LINE" != x ; then | |
2732 | eval "DEFAULT_$LINE" | |
2733 | else | |
2734 | no_cache=1 | |
2735 | fi | |
2736 | ||
2737 | ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS | |
2738 | ||
2739 | fi | |
2740 | ||
2741 | ||
2742 | eval "$ac_cv_use_dynlib" | |
2743 | if test "$no_cache" != 1; then | |
2744 | echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp | |
2745 | fi | |
2746 | ||
2747 | if test "$wxUSE_DYNLIB_CLASS" = yes; then | |
2748 | echo "$ac_t""yes" 1>&6 | |
2749 | else | |
2750 | echo "$ac_t""no" 1>&6 | |
2751 | fi | |
2752 | ||
2753 | ||
2754 | echo $ac_n "checking "for --enable-longlong"""... $ac_c" 1>&6 | |
f7a11f8c | 2755 | echo "configure:2756: checking "for --enable-longlong"" >&5 |
a16d3c04 KB |
2756 | no_cache=0 |
2757 | # Check whether --enable-longlong or --disable-longlong was given. | |
2758 | if test "${enable_longlong+set}" = set; then | |
2759 | enableval="$enable_longlong" | |
2760 | ||
2761 | if test "$enableval" = yes; then | |
2762 | ac_cv_use_longlong='wxUSE_LONGLONG=yes' | |
2763 | else | |
2764 | ac_cv_use_longlong='wxUSE_LONGLONG=no' | |
2765 | fi | |
2766 | ||
2767 | else | |
2768 | ||
2769 | LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}` | |
2770 | if test "x$LINE" != x ; then | |
2771 | eval "DEFAULT_$LINE" | |
2772 | else | |
2773 | no_cache=1 | |
2774 | fi | |
2775 | ||
2776 | ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG | |
2777 | ||
2778 | fi | |
2779 | ||
2780 | ||
2781 | eval "$ac_cv_use_longlong" | |
2782 | if test "$no_cache" != 1; then | |
2783 | echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp | |
2784 | fi | |
2785 | ||
2786 | if test "$wxUSE_LONGLONG" = yes; then | |
2787 | echo "$ac_t""yes" 1>&6 | |
2788 | else | |
2789 | echo "$ac_t""no" 1>&6 | |
2790 | fi | |
2791 | ||
2792 | ||
2793 | echo $ac_n "checking "for --enable-log"""... $ac_c" 1>&6 | |
f7a11f8c | 2794 | echo "configure:2795: checking "for --enable-log"" >&5 |
a16d3c04 KB |
2795 | no_cache=0 |
2796 | # Check whether --enable-log or --disable-log was given. | |
2797 | if test "${enable_log+set}" = set; then | |
2798 | enableval="$enable_log" | |
2799 | ||
2800 | if test "$enableval" = yes; then | |
2801 | ac_cv_use_log='wxUSE_LOG=yes' | |
2802 | else | |
2803 | ac_cv_use_log='wxUSE_LOG=no' | |
2804 | fi | |
2805 | ||
2806 | else | |
2807 | ||
2808 | LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}` | |
2809 | if test "x$LINE" != x ; then | |
2810 | eval "DEFAULT_$LINE" | |
2811 | else | |
2812 | no_cache=1 | |
2813 | fi | |
2814 | ||
2815 | ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG | |
2816 | ||
2817 | fi | |
2818 | ||
2819 | ||
2820 | eval "$ac_cv_use_log" | |
2821 | if test "$no_cache" != 1; then | |
2822 | echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp | |
2823 | fi | |
2824 | ||
2825 | if test "$wxUSE_LOG" = yes; then | |
2826 | echo "$ac_t""yes" 1>&6 | |
2827 | else | |
2828 | echo "$ac_t""no" 1>&6 | |
2829 | fi | |
2830 | ||
2831 | ||
2832 | echo $ac_n "checking "for --enable-streams"""... $ac_c" 1>&6 | |
f7a11f8c | 2833 | echo "configure:2834: checking "for --enable-streams"" >&5 |
a16d3c04 KB |
2834 | no_cache=0 |
2835 | # Check whether --enable-streams or --disable-streams was given. | |
2836 | if test "${enable_streams+set}" = set; then | |
2837 | enableval="$enable_streams" | |
2838 | ||
2839 | if test "$enableval" = yes; then | |
2840 | ac_cv_use_streams='wxUSE_STREAMS=yes' | |
2841 | else | |
2842 | ac_cv_use_streams='wxUSE_STREAMS=no' | |
2843 | fi | |
2844 | ||
2845 | else | |
2846 | ||
2847 | LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}` | |
2848 | if test "x$LINE" != x ; then | |
2849 | eval "DEFAULT_$LINE" | |
2850 | else | |
2851 | no_cache=1 | |
2852 | fi | |
2853 | ||
2854 | ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS | |
2855 | ||
2856 | fi | |
2857 | ||
2858 | ||
2859 | eval "$ac_cv_use_streams" | |
2860 | if test "$no_cache" != 1; then | |
2861 | echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp | |
2862 | fi | |
2863 | ||
2864 | if test "$wxUSE_STREAMS" = yes; then | |
2865 | echo "$ac_t""yes" 1>&6 | |
2866 | else | |
2867 | echo "$ac_t""no" 1>&6 | |
2868 | fi | |
2869 | ||
2870 | ||
2871 | echo $ac_n "checking "for --enable-file"""... $ac_c" 1>&6 | |
f7a11f8c | 2872 | echo "configure:2873: checking "for --enable-file"" >&5 |
a16d3c04 KB |
2873 | no_cache=0 |
2874 | # Check whether --enable-file or --disable-file was given. | |
2875 | if test "${enable_file+set}" = set; then | |
2876 | enableval="$enable_file" | |
2877 | ||
2878 | if test "$enableval" = yes; then | |
2879 | ac_cv_use_file='wxUSE_FILE=yes' | |
2880 | else | |
2881 | ac_cv_use_file='wxUSE_FILE=no' | |
2882 | fi | |
2883 | ||
2884 | else | |
2885 | ||
2886 | LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}` | |
2887 | if test "x$LINE" != x ; then | |
2888 | eval "DEFAULT_$LINE" | |
2889 | else | |
2890 | no_cache=1 | |
2891 | fi | |
2892 | ||
2893 | ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE | |
2894 | ||
2895 | fi | |
2896 | ||
2897 | ||
2898 | eval "$ac_cv_use_file" | |
2899 | if test "$no_cache" != 1; then | |
2900 | echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp | |
2901 | fi | |
2902 | ||
2903 | if test "$wxUSE_FILE" = yes; then | |
2904 | echo "$ac_t""yes" 1>&6 | |
2905 | else | |
2906 | echo "$ac_t""no" 1>&6 | |
2907 | fi | |
2908 | ||
2909 | ||
2910 | echo $ac_n "checking "for --enable-textfile"""... $ac_c" 1>&6 | |
f7a11f8c | 2911 | echo "configure:2912: checking "for --enable-textfile"" >&5 |
a16d3c04 KB |
2912 | no_cache=0 |
2913 | # Check whether --enable-textfile or --disable-textfile was given. | |
2914 | if test "${enable_textfile+set}" = set; then | |
2915 | enableval="$enable_textfile" | |
2916 | ||
2917 | if test "$enableval" = yes; then | |
2918 | ac_cv_use_textfile='wxUSE_TEXTFILE=yes' | |
2919 | else | |
2920 | ac_cv_use_textfile='wxUSE_TEXTFILE=no' | |
2921 | fi | |
2922 | ||
2923 | else | |
2924 | ||
2925 | LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}` | |
2926 | if test "x$LINE" != x ; then | |
2927 | eval "DEFAULT_$LINE" | |
2928 | else | |
2929 | no_cache=1 | |
2930 | fi | |
2931 | ||
2932 | ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE | |
2933 | ||
2934 | fi | |
2935 | ||
2936 | ||
2937 | eval "$ac_cv_use_textfile" | |
2938 | if test "$no_cache" != 1; then | |
2939 | echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp | |
2940 | fi | |
2941 | ||
2942 | if test "$wxUSE_TEXTFILE" = yes; then | |
2943 | echo "$ac_t""yes" 1>&6 | |
2944 | else | |
2945 | echo "$ac_t""no" 1>&6 | |
2946 | fi | |
2947 | ||
2948 | ||
2949 | echo $ac_n "checking "for --enable-unicode"""... $ac_c" 1>&6 | |
f7a11f8c | 2950 | echo "configure:2951: checking "for --enable-unicode"" >&5 |
a16d3c04 KB |
2951 | no_cache=0 |
2952 | # Check whether --enable-unicode or --disable-unicode was given. | |
2953 | if test "${enable_unicode+set}" = set; then | |
2954 | enableval="$enable_unicode" | |
2955 | ||
2956 | if test "$enableval" = yes; then | |
2957 | ac_cv_use_unicode='wxUSE_UNICODE=yes' | |
2958 | else | |
2959 | ac_cv_use_unicode='wxUSE_UNICODE=no' | |
2960 | fi | |
2961 | ||
2962 | else | |
2963 | ||
2964 | LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}` | |
2965 | if test "x$LINE" != x ; then | |
2966 | eval "DEFAULT_$LINE" | |
2967 | else | |
2968 | no_cache=1 | |
2969 | fi | |
2970 | ||
2971 | ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE | |
2972 | ||
2973 | fi | |
2974 | ||
2975 | ||
2976 | eval "$ac_cv_use_unicode" | |
2977 | if test "$no_cache" != 1; then | |
2978 | echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp | |
2979 | fi | |
2980 | ||
2981 | if test "$wxUSE_UNICODE" = yes; then | |
2982 | echo "$ac_t""yes" 1>&6 | |
2983 | else | |
2984 | echo "$ac_t""no" 1>&6 | |
2985 | fi | |
2986 | ||
2987 | ||
2988 | echo $ac_n "checking "for --enable-wcsrtombs"""... $ac_c" 1>&6 | |
f7a11f8c | 2989 | echo "configure:2990: checking "for --enable-wcsrtombs"" >&5 |
a16d3c04 KB |
2990 | no_cache=0 |
2991 | # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given. | |
2992 | if test "${enable_wcsrtombs+set}" = set; then | |
2993 | enableval="$enable_wcsrtombs" | |
2994 | ||
2995 | if test "$enableval" = yes; then | |
2996 | ac_cv_use_wcsrtombs='wxUSE_WCSRTOMBS=yes' | |
2997 | else | |
2998 | ac_cv_use_wcsrtombs='wxUSE_WCSRTOMBS=no' | |
2999 | fi | |
3000 | ||
3001 | else | |
3002 | ||
3003 | LINE=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}` | |
3004 | if test "x$LINE" != x ; then | |
3005 | eval "DEFAULT_$LINE" | |
3006 | else | |
3007 | no_cache=1 | |
3008 | fi | |
3009 | ||
3010 | ac_cv_use_wcsrtombs='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS | |
3011 | ||
3012 | fi | |
3013 | ||
3014 | ||
3015 | eval "$ac_cv_use_wcsrtombs" | |
3016 | if test "$no_cache" != 1; then | |
3017 | echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp | |
3018 | fi | |
3019 | ||
3020 | if test "$wxUSE_WCSRTOMBS" = yes; then | |
3021 | echo "$ac_t""yes" 1>&6 | |
3022 | else | |
3023 | echo "$ac_t""no" 1>&6 | |
3024 | fi | |
3025 | ||
3026 | ||
3027 | echo $ac_n "checking "for --enable-wxprintfv"""... $ac_c" 1>&6 | |
f7a11f8c | 3028 | echo "configure:3029: checking "for --enable-wxprintfv"" >&5 |
a16d3c04 KB |
3029 | no_cache=0 |
3030 | # Check whether --enable-wxprintfv or --disable-wxprintfv was given. | |
3031 | if test "${enable_wxprintfv+set}" = set; then | |
3032 | enableval="$enable_wxprintfv" | |
3033 | ||
3034 | if test "$enableval" = yes; then | |
3035 | ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes' | |
3036 | else | |
3037 | ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no' | |
3038 | fi | |
3039 | ||
3040 | else | |
3041 | ||
3042 | LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}` | |
3043 | if test "x$LINE" != x ; then | |
3044 | eval "DEFAULT_$LINE" | |
3045 | else | |
3046 | no_cache=1 | |
3047 | fi | |
3048 | ||
3049 | ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF | |
3050 | ||
3051 | fi | |
3052 | ||
3053 | ||
3054 | eval "$ac_cv_use_wxprintfv" | |
3055 | if test "$no_cache" != 1; then | |
3056 | echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp | |
3057 | fi | |
3058 | ||
3059 | if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then | |
3060 | echo "$ac_t""yes" 1>&6 | |
3061 | else | |
3062 | echo "$ac_t""no" 1>&6 | |
3063 | fi | |
3064 | ||
3065 | ||
3066 | echo $ac_n "checking "for --enable-joystick"""... $ac_c" 1>&6 | |
f7a11f8c | 3067 | echo "configure:3068: checking "for --enable-joystick"" >&5 |
a16d3c04 KB |
3068 | no_cache=0 |
3069 | # Check whether --enable-joystick or --disable-joystick was given. | |
3070 | if test "${enable_joystick+set}" = set; then | |
3071 | enableval="$enable_joystick" | |
3072 | ||
3073 | if test "$enableval" = yes; then | |
3074 | ac_cv_use_joystick='wxUSE_JOYSTICK=yes' | |
3075 | else | |
3076 | ac_cv_use_joystick='wxUSE_JOYSTICK=no' | |
3077 | fi | |
3078 | ||
3079 | else | |
3080 | ||
3081 | LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}` | |
3082 | if test "x$LINE" != x ; then | |
3083 | eval "DEFAULT_$LINE" | |
3084 | else | |
3085 | no_cache=1 | |
3086 | fi | |
3087 | ||
3088 | ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK | |
3089 | ||
3090 | fi | |
3091 | ||
3092 | ||
3093 | eval "$ac_cv_use_joystick" | |
3094 | if test "$no_cache" != 1; then | |
3095 | echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp | |
3096 | fi | |
3097 | ||
3098 | if test "$wxUSE_JOYSTICK" = yes; then | |
3099 | echo "$ac_t""yes" 1>&6 | |
3100 | else | |
3101 | echo "$ac_t""no" 1>&6 | |
3102 | fi | |
3103 | ||
3104 | ||
3105 | echo $ac_n "checking "for --enable-std_iostreams"""... $ac_c" 1>&6 | |
f7a11f8c | 3106 | echo "configure:3107: checking "for --enable-std_iostreams"" >&5 |
a16d3c04 KB |
3107 | no_cache=0 |
3108 | # Check whether --enable-std_iostreams or --disable-std_iostreams was given. | |
3109 | if test "${enable_std_iostreams+set}" = set; then | |
3110 | enableval="$enable_std_iostreams" | |
3111 | ||
3112 | if test "$enableval" = yes; then | |
3113 | ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes' | |
3114 | else | |
3115 | ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no' | |
3116 | fi | |
3117 | ||
3118 | else | |
3119 | ||
3120 | LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}` | |
3121 | if test "x$LINE" != x ; then | |
3122 | eval "DEFAULT_$LINE" | |
3123 | else | |
3124 | no_cache=1 | |
3125 | fi | |
3126 | ||
3127 | ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM | |
3128 | ||
3129 | fi | |
3130 | ||
3131 | ||
3132 | eval "$ac_cv_use_std_iostreams" | |
3133 | if test "$no_cache" != 1; then | |
3134 | echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp | |
3135 | fi | |
3136 | ||
3137 | if test "$wxUSE_STD_IOSTREAM" = yes; then | |
3138 | echo "$ac_t""yes" 1>&6 | |
3139 | else | |
3140 | echo "$ac_t""no" 1>&6 | |
3141 | fi | |
3142 | ||
3143 | ||
3144 | echo $ac_n "checking "for --enable-fs_inet"""... $ac_c" 1>&6 | |
f7a11f8c | 3145 | echo "configure:3146: checking "for --enable-fs_inet"" >&5 |
a16d3c04 KB |
3146 | no_cache=0 |
3147 | # Check whether --enable-fs_inet or --disable-fs_inet was given. | |
3148 | if test "${enable_fs_inet+set}" = set; then | |
3149 | enableval="$enable_fs_inet" | |
3150 | ||
3151 | if test "$enableval" = yes; then | |
3152 | ac_cv_use_fs_inet='wxUSE_FS_INET=yes' | |
3153 | else | |
3154 | ac_cv_use_fs_inet='wxUSE_FS_INET=no' | |
3155 | fi | |
3156 | ||
3157 | else | |
3158 | ||
3159 | LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}` | |
3160 | if test "x$LINE" != x ; then | |
3161 | eval "DEFAULT_$LINE" | |
3162 | else | |
3163 | no_cache=1 | |
3164 | fi | |
3165 | ||
3166 | ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET | |
3167 | ||
3168 | fi | |
3169 | ||
3170 | ||
3171 | eval "$ac_cv_use_fs_inet" | |
3172 | if test "$no_cache" != 1; then | |
3173 | echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp | |
3174 | fi | |
3175 | ||
3176 | if test "$wxUSE_FS_INET" = yes; then | |
3177 | echo "$ac_t""yes" 1>&6 | |
3178 | else | |
3179 | echo "$ac_t""no" 1>&6 | |
3180 | fi | |
3181 | ||
3182 | ||
3183 | echo $ac_n "checking "for --enable-fs_zip"""... $ac_c" 1>&6 | |
f7a11f8c | 3184 | echo "configure:3185: checking "for --enable-fs_zip"" >&5 |
a16d3c04 KB |
3185 | no_cache=0 |
3186 | # Check whether --enable-fs_zip or --disable-fs_zip was given. | |
3187 | if test "${enable_fs_zip+set}" = set; then | |
3188 | enableval="$enable_fs_zip" | |
3189 | ||
3190 | if test "$enableval" = yes; then | |
3191 | ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes' | |
3192 | else | |
3193 | ac_cv_use_fs_zip='wxUSE_FS_ZIP=no' | |
3194 | fi | |
3195 | ||
3196 | else | |
3197 | ||
3198 | LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}` | |
3199 | if test "x$LINE" != x ; then | |
3200 | eval "DEFAULT_$LINE" | |
3201 | else | |
3202 | no_cache=1 | |
3203 | fi | |
3204 | ||
3205 | ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP | |
3206 | ||
3207 | fi | |
3208 | ||
3209 | ||
3210 | eval "$ac_cv_use_fs_zip" | |
3211 | if test "$no_cache" != 1; then | |
3212 | echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp | |
3213 | fi | |
3214 | ||
3215 | if test "$wxUSE_FS_ZIP" = yes; then | |
3216 | echo "$ac_t""yes" 1>&6 | |
3217 | else | |
3218 | echo "$ac_t""no" 1>&6 | |
3219 | fi | |
3220 | ||
3221 | ||
3222 | echo $ac_n "checking "for --enable-zipstream"""... $ac_c" 1>&6 | |
f7a11f8c | 3223 | echo "configure:3224: checking "for --enable-zipstream"" >&5 |
a16d3c04 KB |
3224 | no_cache=0 |
3225 | # Check whether --enable-zipstream or --disable-zipstream was given. | |
3226 | if test "${enable_zipstream+set}" = set; then | |
3227 | enableval="$enable_zipstream" | |
3228 | ||
3229 | if test "$enableval" = yes; then | |
3230 | ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes' | |
3231 | else | |
3232 | ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no' | |
3233 | fi | |
3234 | ||
3235 | else | |
3236 | ||
3237 | LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}` | |
3238 | if test "x$LINE" != x ; then | |
3239 | eval "DEFAULT_$LINE" | |
3240 | else | |
3241 | no_cache=1 | |
3242 | fi | |
3243 | ||
3244 | ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM | |
3245 | ||
3246 | fi | |
3247 | ||
3248 | ||
3249 | eval "$ac_cv_use_zipstream" | |
3250 | if test "$no_cache" != 1; then | |
3251 | echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp | |
3252 | fi | |
3253 | ||
3254 | if test "$wxUSE_ZIPSTREAM" = yes; then | |
3255 | echo "$ac_t""yes" 1>&6 | |
3256 | else | |
3257 | echo "$ac_t""no" 1>&6 | |
3258 | fi | |
3259 | ||
3260 | ||
3261 | ||
3262 | ||
3263 | echo $ac_n "checking "for --enable-threads"""... $ac_c" 1>&6 | |
f7a11f8c | 3264 | echo "configure:3265: checking "for --enable-threads"" >&5 |
a16d3c04 KB |
3265 | no_cache=0 |
3266 | # Check whether --enable-threads or --disable-threads was given. | |
3267 | if test "${enable_threads+set}" = set; then | |
3268 | enableval="$enable_threads" | |
3269 | ||
3270 | if test "$enableval" = yes; then | |
3271 | ac_cv_use_threads='wxUSE_THREADS=yes' | |
3272 | else | |
3273 | ac_cv_use_threads='wxUSE_THREADS=no' | |
3274 | fi | |
3275 | ||
3276 | else | |
3277 | ||
3278 | LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}` | |
3279 | if test "x$LINE" != x ; then | |
3280 | eval "DEFAULT_$LINE" | |
3281 | else | |
3282 | no_cache=1 | |
3283 | fi | |
3284 | ||
3285 | ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS | |
3286 | ||
3287 | fi | |
3288 | ||
3289 | ||
3290 | eval "$ac_cv_use_threads" | |
3291 | if test "$no_cache" != 1; then | |
3292 | echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp | |
3293 | fi | |
3294 | ||
3295 | if test "$wxUSE_THREADS" = yes; then | |
3296 | echo "$ac_t""yes" 1>&6 | |
3297 | else | |
3298 | echo "$ac_t""no" 1>&6 | |
3299 | fi | |
3300 | ||
3301 | ||
3302 | echo $ac_n "checking "for --enable-serial"""... $ac_c" 1>&6 | |
f7a11f8c | 3303 | echo "configure:3304: checking "for --enable-serial"" >&5 |
a16d3c04 KB |
3304 | no_cache=0 |
3305 | # Check whether --enable-serial or --disable-serial was given. | |
3306 | if test "${enable_serial+set}" = set; then | |
3307 | enableval="$enable_serial" | |
3308 | ||
3309 | if test "$enableval" = yes; then | |
3310 | ac_cv_use_serial='wxUSE_SERIAL=yes' | |
3311 | else | |
3312 | ac_cv_use_serial='wxUSE_SERIAL=no' | |
3313 | fi | |
3314 | ||
3315 | else | |
3316 | ||
3317 | LINE=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}` | |
3318 | if test "x$LINE" != x ; then | |
3319 | eval "DEFAULT_$LINE" | |
3320 | else | |
3321 | no_cache=1 | |
3322 | fi | |
3323 | ||
3324 | ac_cv_use_serial='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL | |
3325 | ||
3326 | fi | |
3327 | ||
3328 | ||
3329 | eval "$ac_cv_use_serial" | |
3330 | if test "$no_cache" != 1; then | |
3331 | echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp | |
3332 | fi | |
3333 | ||
3334 | if test "$wxUSE_SERIAL" = yes; then | |
3335 | echo "$ac_t""yes" 1>&6 | |
3336 | else | |
3337 | echo "$ac_t""no" 1>&6 | |
3338 | fi | |
3339 | ||
3340 | ||
3341 | ||
3342 | ||
3343 | echo $ac_n "checking "for --enable-docview"""... $ac_c" 1>&6 | |
f7a11f8c | 3344 | echo "configure:3345: checking "for --enable-docview"" >&5 |
a16d3c04 KB |
3345 | no_cache=0 |
3346 | # Check whether --enable-docview or --disable-docview was given. | |
3347 | if test "${enable_docview+set}" = set; then | |
3348 | enableval="$enable_docview" | |
3349 | ||
3350 | if test "$enableval" = yes; then | |
3351 | ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes' | |
3352 | else | |
3353 | ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no' | |
3354 | fi | |
3355 | ||
3356 | else | |
3357 | ||
3358 | LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}` | |
3359 | if test "x$LINE" != x ; then | |
3360 | eval "DEFAULT_$LINE" | |
3361 | else | |
3362 | no_cache=1 | |
3363 | fi | |
3364 | ||
3365 | ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE | |
3366 | ||
3367 | fi | |
3368 | ||
3369 | ||
3370 | eval "$ac_cv_use_docview" | |
3371 | if test "$no_cache" != 1; then | |
3372 | echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp | |
3373 | fi | |
3374 | ||
3375 | if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then | |
3376 | echo "$ac_t""yes" 1>&6 | |
3377 | else | |
3378 | echo "$ac_t""no" 1>&6 | |
3379 | fi | |
3380 | ||
3381 | ||
3382 | echo $ac_n "checking "for --enable-help"""... $ac_c" 1>&6 | |
f7a11f8c | 3383 | echo "configure:3384: checking "for --enable-help"" >&5 |
a16d3c04 KB |
3384 | no_cache=0 |
3385 | # Check whether --enable-help or --disable-help was given. | |
3386 | if test "${enable_help+set}" = set; then | |
3387 | enableval="$enable_help" | |
3388 | ||
3389 | if test "$enableval" = yes; then | |
3390 | ac_cv_use_help='wxUSE_HELP=yes' | |
3391 | else | |
3392 | ac_cv_use_help='wxUSE_HELP=no' | |
3393 | fi | |
3394 | ||
3395 | else | |
3396 | ||
3397 | LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}` | |
3398 | if test "x$LINE" != x ; then | |
3399 | eval "DEFAULT_$LINE" | |
3400 | else | |
3401 | no_cache=1 | |
3402 | fi | |
3403 | ||
3404 | ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP | |
3405 | ||
3406 | fi | |
3407 | ||
3408 | ||
3409 | eval "$ac_cv_use_help" | |
3410 | if test "$no_cache" != 1; then | |
3411 | echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp | |
3412 | fi | |
3413 | ||
3414 | if test "$wxUSE_HELP" = yes; then | |
3415 | echo "$ac_t""yes" 1>&6 | |
3416 | else | |
3417 | echo "$ac_t""no" 1>&6 | |
3418 | fi | |
3419 | ||
3420 | ||
3421 | echo $ac_n "checking "for --enable-constraints"""... $ac_c" 1>&6 | |
f7a11f8c | 3422 | echo "configure:3423: checking "for --enable-constraints"" >&5 |
a16d3c04 KB |
3423 | no_cache=0 |
3424 | # Check whether --enable-constraints or --disable-constraints was given. | |
3425 | if test "${enable_constraints+set}" = set; then | |
3426 | enableval="$enable_constraints" | |
3427 | ||
3428 | if test "$enableval" = yes; then | |
3429 | ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes' | |
3430 | else | |
3431 | ac_cv_use_constraints='wxUSE_CONSTRAINTS=no' | |
3432 | fi | |
3433 | ||
3434 | else | |
3435 | ||
3436 | LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}` | |
3437 | if test "x$LINE" != x ; then | |
3438 | eval "DEFAULT_$LINE" | |
3439 | else | |
3440 | no_cache=1 | |
3441 | fi | |
3442 | ||
3443 | ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS | |
3444 | ||
3445 | fi | |
3446 | ||
3447 | ||
3448 | eval "$ac_cv_use_constraints" | |
3449 | if test "$no_cache" != 1; then | |
3450 | echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp | |
3451 | fi | |
3452 | ||
3453 | if test "$wxUSE_CONSTRAINTS" = yes; then | |
3454 | echo "$ac_t""yes" 1>&6 | |
3455 | else | |
3456 | echo "$ac_t""no" 1>&6 | |
3457 | fi | |
3458 | ||
3459 | ||
3460 | echo $ac_n "checking "for --enable-printarch"""... $ac_c" 1>&6 | |
f7a11f8c | 3461 | echo "configure:3462: checking "for --enable-printarch"" >&5 |
a16d3c04 KB |
3462 | no_cache=0 |
3463 | # Check whether --enable-printarch or --disable-printarch was given. | |
3464 | if test "${enable_printarch+set}" = set; then | |
3465 | enableval="$enable_printarch" | |
3466 | ||
3467 | if test "$enableval" = yes; then | |
3468 | ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes' | |
3469 | else | |
3470 | ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no' | |
3471 | fi | |
3472 | ||
3473 | else | |
3474 | ||
3475 | LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}` | |
3476 | if test "x$LINE" != x ; then | |
3477 | eval "DEFAULT_$LINE" | |
3478 | else | |
3479 | no_cache=1 | |
3480 | fi | |
3481 | ||
3482 | ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE | |
3483 | ||
3484 | fi | |
3485 | ||
3486 | ||
3487 | eval "$ac_cv_use_printarch" | |
3488 | if test "$no_cache" != 1; then | |
3489 | echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp | |
3490 | fi | |
3491 | ||
3492 | if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then | |
3493 | echo "$ac_t""yes" 1>&6 | |
3494 | else | |
3495 | echo "$ac_t""no" 1>&6 | |
3496 | fi | |
3497 | ||
3498 | ||
3499 | echo $ac_n "checking "for --enable-mdi"""... $ac_c" 1>&6 | |
f7a11f8c | 3500 | echo "configure:3501: checking "for --enable-mdi"" >&5 |
a16d3c04 KB |
3501 | no_cache=0 |
3502 | # Check whether --enable-mdi or --disable-mdi was given. | |
3503 | if test "${enable_mdi+set}" = set; then | |
3504 | enableval="$enable_mdi" | |
3505 | ||
3506 | if test "$enableval" = yes; then | |
3507 | ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes' | |
3508 | else | |
3509 | ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no' | |
3510 | fi | |
3511 | ||
3512 | else | |
3513 | ||
3514 | LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}` | |
3515 | if test "x$LINE" != x ; then | |
3516 | eval "DEFAULT_$LINE" | |
3517 | else | |
3518 | no_cache=1 | |
3519 | fi | |
3520 | ||
3521 | ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE | |
3522 | ||
3523 | fi | |
3524 | ||
3525 | ||
3526 | eval "$ac_cv_use_mdi" | |
3527 | if test "$no_cache" != 1; then | |
3528 | echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp | |
3529 | fi | |
3530 | ||
3531 | if test "$wxUSE_MDI_ARCHITECTURE" = yes; then | |
3532 | echo "$ac_t""yes" 1>&6 | |
3533 | else | |
3534 | echo "$ac_t""no" 1>&6 | |
3535 | fi | |
3536 | ||
3537 | ||
3538 | ||
3539 | echo $ac_n "checking "for --enable-postscript"""... $ac_c" 1>&6 | |
f7a11f8c | 3540 | echo "configure:3541: checking "for --enable-postscript"" >&5 |
a16d3c04 KB |
3541 | no_cache=0 |
3542 | # Check whether --enable-postscript or --disable-postscript was given. | |
3543 | if test "${enable_postscript+set}" = set; then | |
3544 | enableval="$enable_postscript" | |
3545 | ||
3546 | if test "$enableval" = yes; then | |
3547 | ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes' | |
3548 | else | |
3549 | ac_cv_use_postscript='wxUSE_POSTSCRIPT=no' | |
3550 | fi | |
3551 | ||
3552 | else | |
3553 | ||
3554 | LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}` | |
3555 | if test "x$LINE" != x ; then | |
3556 | eval "DEFAULT_$LINE" | |
3557 | else | |
3558 | no_cache=1 | |
3559 | fi | |
3560 | ||
3561 | ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT | |
3562 | ||
3563 | fi | |
3564 | ||
3565 | ||
3566 | eval "$ac_cv_use_postscript" | |
3567 | if test "$no_cache" != 1; then | |
3568 | echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp | |
3569 | fi | |
3570 | ||
3571 | if test "$wxUSE_POSTSCRIPT" = yes; then | |
3572 | echo "$ac_t""yes" 1>&6 | |
3573 | else | |
3574 | echo "$ac_t""no" 1>&6 | |
3575 | fi | |
3576 | ||
3577 | ||
3578 | ||
3579 | ||
3580 | echo $ac_n "checking "for --enable-prologio"""... $ac_c" 1>&6 | |
f7a11f8c | 3581 | echo "configure:3582: checking "for --enable-prologio"" >&5 |
a16d3c04 KB |
3582 | no_cache=0 |
3583 | # Check whether --enable-prologio or --disable-prologio was given. | |
3584 | if test "${enable_prologio+set}" = set; then | |
3585 | enableval="$enable_prologio" | |
3586 | ||
3587 | if test "$enableval" = yes; then | |
3588 | ac_cv_use_prologio='wxUSE_PROLOGIO=yes' | |
3589 | else | |
3590 | ac_cv_use_prologio='wxUSE_PROLOGIO=no' | |
3591 | fi | |
3592 | ||
3593 | else | |
3594 | ||
3595 | LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}` | |
3596 | if test "x$LINE" != x ; then | |
3597 | eval "DEFAULT_$LINE" | |
3598 | else | |
3599 | no_cache=1 | |
3600 | fi | |
3601 | ||
3602 | ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO | |
3603 | ||
3604 | fi | |
3605 | ||
3606 | ||
3607 | eval "$ac_cv_use_prologio" | |
3608 | if test "$no_cache" != 1; then | |
3609 | echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp | |
3610 | fi | |
3611 | ||
3612 | if test "$wxUSE_PROLOGIO" = yes; then | |
3613 | echo "$ac_t""yes" 1>&6 | |
3614 | else | |
3615 | echo "$ac_t""no" 1>&6 | |
3616 | fi | |
3617 | ||
3618 | ||
3619 | echo $ac_n "checking "for --enable-resources"""... $ac_c" 1>&6 | |
f7a11f8c | 3620 | echo "configure:3621: checking "for --enable-resources"" >&5 |
a16d3c04 KB |
3621 | no_cache=0 |
3622 | # Check whether --enable-resources or --disable-resources was given. | |
3623 | if test "${enable_resources+set}" = set; then | |
3624 | enableval="$enable_resources" | |
3625 | ||
3626 | if test "$enableval" = yes; then | |
3627 | ac_cv_use_resources='wxUSE_RESOURCES=yes' | |
3628 | else | |
3629 | ac_cv_use_resources='wxUSE_RESOURCES=no' | |
3630 | fi | |
3631 | ||
3632 | else | |
3633 | ||
3634 | LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}` | |
3635 | if test "x$LINE" != x ; then | |
3636 | eval "DEFAULT_$LINE" | |
3637 | else | |
3638 | no_cache=1 | |
3639 | fi | |
3640 | ||
3641 | ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES | |
3642 | ||
3643 | fi | |
3644 | ||
3645 | ||
3646 | eval "$ac_cv_use_resources" | |
3647 | if test "$no_cache" != 1; then | |
3648 | echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp | |
3649 | fi | |
3650 | ||
3651 | if test "$wxUSE_RESOURCES" = yes; then | |
3652 | echo "$ac_t""yes" 1>&6 | |
3653 | else | |
3654 | echo "$ac_t""no" 1>&6 | |
3655 | fi | |
3656 | ||
3657 | ||
3658 | ||
3659 | echo $ac_n "checking "for --enable-xresources"""... $ac_c" 1>&6 | |
f7a11f8c | 3660 | echo "configure:3661: checking "for --enable-xresources"" >&5 |
a16d3c04 KB |
3661 | no_cache=0 |
3662 | # Check whether --enable-xresources or --disable-xresources was given. | |
3663 | if test "${enable_xresources+set}" = set; then | |
3664 | enableval="$enable_xresources" | |
3665 | ||
3666 | if test "$enableval" = yes; then | |
3667 | ac_cv_use_xresources='wxUSE_X_RESOURCES=yes' | |
3668 | else | |
3669 | ac_cv_use_xresources='wxUSE_X_RESOURCES=no' | |
3670 | fi | |
3671 | ||
3672 | else | |
3673 | ||
3674 | LINE=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}` | |
3675 | if test "x$LINE" != x ; then | |
3676 | eval "DEFAULT_$LINE" | |
3677 | else | |
3678 | no_cache=1 | |
3679 | fi | |
3680 | ||
3681 | ac_cv_use_xresources='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES | |
3682 | ||
3683 | fi | |
3684 | ||
3685 | ||
3686 | eval "$ac_cv_use_xresources" | |
3687 | if test "$no_cache" != 1; then | |
3688 | echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp | |
3689 | fi | |
3690 | ||
3691 | if test "$wxUSE_X_RESOURCES" = yes; then | |
3692 | echo "$ac_t""yes" 1>&6 | |
3693 | else | |
3694 | echo "$ac_t""no" 1>&6 | |
3695 | fi | |
3696 | ||
3697 | ||
3698 | ||
3699 | ||
3700 | echo $ac_n "checking "for --enable-clipboard"""... $ac_c" 1>&6 | |
f7a11f8c | 3701 | echo "configure:3702: checking "for --enable-clipboard"" >&5 |
a16d3c04 KB |
3702 | no_cache=0 |
3703 | # Check whether --enable-clipboard or --disable-clipboard was given. | |
3704 | if test "${enable_clipboard+set}" = set; then | |
3705 | enableval="$enable_clipboard" | |
3706 | ||
3707 | if test "$enableval" = yes; then | |
3708 | ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes' | |
3709 | else | |
3710 | ac_cv_use_clipboard='wxUSE_CLIPBOARD=no' | |
3711 | fi | |
3712 | ||
3713 | else | |
3714 | ||
3715 | LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}` | |
3716 | if test "x$LINE" != x ; then | |
3717 | eval "DEFAULT_$LINE" | |
3718 | else | |
3719 | no_cache=1 | |
3720 | fi | |
3721 | ||
3722 | ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD | |
3723 | ||
3724 | fi | |
3725 | ||
3726 | ||
3727 | eval "$ac_cv_use_clipboard" | |
3728 | if test "$no_cache" != 1; then | |
3729 | echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp | |
3730 | fi | |
3731 | ||
3732 | if test "$wxUSE_CLIPBOARD" = yes; then | |
3733 | echo "$ac_t""yes" 1>&6 | |
3734 | else | |
3735 | echo "$ac_t""no" 1>&6 | |
3736 | fi | |
3737 | ||
3738 | ||
3739 | echo $ac_n "checking "for --enable-dnd"""... $ac_c" 1>&6 | |
f7a11f8c | 3740 | echo "configure:3741: checking "for --enable-dnd"" >&5 |
a16d3c04 KB |
3741 | no_cache=0 |
3742 | # Check whether --enable-dnd or --disable-dnd was given. | |
3743 | if test "${enable_dnd+set}" = set; then | |
3744 | enableval="$enable_dnd" | |
3745 | ||
3746 | if test "$enableval" = yes; then | |
3747 | ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes' | |
3748 | else | |
3749 | ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no' | |
3750 | fi | |
3751 | ||
3752 | else | |
3753 | ||
3754 | LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}` | |
3755 | if test "x$LINE" != x ; then | |
3756 | eval "DEFAULT_$LINE" | |
3757 | else | |
3758 | no_cache=1 | |
3759 | fi | |
3760 | ||
3761 | ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP | |
3762 | ||
3763 | fi | |
3764 | ||
3765 | ||
3766 | eval "$ac_cv_use_dnd" | |
3767 | if test "$no_cache" != 1; then | |
3768 | echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp | |
3769 | fi | |
3770 | ||
3771 | if test "$wxUSE_DRAG_AND_DROP" = yes; then | |
3772 | echo "$ac_t""yes" 1>&6 | |
3773 | else | |
3774 | echo "$ac_t""no" 1>&6 | |
3775 | fi | |
3776 | ||
3777 | ||
3778 | ||
3779 | echo $ac_n "checking "for --enable-wxtree"""... $ac_c" 1>&6 | |
f7a11f8c | 3780 | echo "configure:3781: checking "for --enable-wxtree"" >&5 |
a16d3c04 KB |
3781 | no_cache=0 |
3782 | # Check whether --enable-wxtree or --disable-wxtree was given. | |
3783 | if test "${enable_wxtree+set}" = set; then | |
3784 | enableval="$enable_wxtree" | |
3785 | ||
3786 | if test "$enableval" = yes; then | |
3787 | ac_cv_use_wxtree='wxUSE_WXTREE=yes' | |
3788 | else | |
3789 | ac_cv_use_wxtree='wxUSE_WXTREE=no' | |
3790 | fi | |
3791 | ||
3792 | else | |
3793 | ||
3794 | LINE=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}` | |
3795 | if test "x$LINE" != x ; then | |
3796 | eval "DEFAULT_$LINE" | |
3797 | else | |
3798 | no_cache=1 | |
3799 | fi | |
3800 | ||
3801 | ac_cv_use_wxtree='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE | |
3802 | ||
3803 | fi | |
3804 | ||
3805 | ||
3806 | eval "$ac_cv_use_wxtree" | |
3807 | if test "$no_cache" != 1; then | |
3808 | echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp | |
3809 | fi | |
3810 | ||
3811 | if test "$wxUSE_WXTREE" = yes; then | |
3812 | echo "$ac_t""yes" 1>&6 | |
3813 | else | |
3814 | echo "$ac_t""no" 1>&6 | |
3815 | fi | |
3816 | ||
3817 | ||
3818 | ||
3819 | ||
3820 | echo $ac_n "checking "for --enable-controls"""... $ac_c" 1>&6 | |
f7a11f8c | 3821 | echo "configure:3822: checking "for --enable-controls"" >&5 |
a16d3c04 KB |
3822 | no_cache=0 |
3823 | # Check whether --enable-controls or --disable-controls was given. | |
3824 | if test "${enable_controls+set}" = set; then | |
3825 | enableval="$enable_controls" | |
3826 | ||
3827 | if test "$enableval" = yes; then | |
3828 | ac_cv_use_controls='wxUSE_CONTROLS=yes' | |
3829 | else | |
3830 | ac_cv_use_controls='wxUSE_CONTROLS=no' | |
3831 | fi | |
3832 | ||
3833 | else | |
3834 | ||
3835 | LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}` | |
3836 | if test "x$LINE" != x ; then | |
3837 | eval "DEFAULT_$LINE" | |
3838 | else | |
3839 | no_cache=1 | |
3840 | fi | |
3841 | ||
3842 | ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS | |
3843 | ||
3844 | fi | |
3845 | ||
3846 | ||
3847 | eval "$ac_cv_use_controls" | |
3848 | if test "$no_cache" != 1; then | |
3849 | echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp | |
3850 | fi | |
3851 | ||
3852 | if test "$wxUSE_CONTROLS" = yes; then | |
3853 | echo "$ac_t""yes" 1>&6 | |
3854 | else | |
3855 | echo "$ac_t""no" 1>&6 | |
3856 | fi | |
3857 | ||
3858 | ||
3859 | if test "$wxUSE_CONTROLS" = "yes"; then | |
3860 | DEFAULT_wxUSE_ACCEL=yes | |
3861 | DEFAULT_wxUSE_CARET=yes | |
3862 | DEFAULT_wxUSE_COMBOBOX=yes | |
3863 | DEFAULT_wxUSE_BMPBUTTON=yes | |
3864 | DEFAULT_wxUSE_CHECKBOX=yes | |
3865 | DEFAULT_wxUSE_CHECKLISTBOX=yes | |
3866 | DEFAULT_wxUSE_CHOICE=yes | |
3867 | DEFAULT_wxUSE_GAUGE=yes | |
3868 | DEFAULT_wxUSE_GRID=yes | |
3869 | DEFAULT_wxUSE_IMAGLIST=yes | |
3870 | DEFAULT_wxUSE_LISTBOX=yes | |
3871 | DEFAULT_wxUSE_LISTCTRL=yes | |
3872 | DEFAULT_wxUSE_NOTEBOOK=yes | |
3873 | DEFAULT_wxUSE_RADIOBOX=yes | |
3874 | DEFAULT_wxUSE_RADIOBTN=yes | |
3875 | DEFAULT_wxUSE_SASH=yes | |
3876 | DEFAULT_wxUSE_SCROLLBAR=yes | |
3877 | DEFAULT_wxUSE_SLIDER=yes | |
3878 | DEFAULT_wxUSE_SPINBTN=yes | |
3879 | DEFAULT_wxUSE_SPLITTER=yes | |
3880 | DEFAULT_wxUSE_STATBMP=yes | |
3881 | DEFAULT_wxUSE_STATBOX=yes | |
3882 | DEFAULT_wxUSE_STATLINE=yes | |
3883 | DEFAULT_wxUSE_STATUSBAR=yes | |
3884 | DEFAULT_wxUSE_TAB_DIALOG=yes | |
3885 | DEFAULT_wxUSE_TOOLBAR=yes | |
3886 | DEFAULT_wxUSE_TOOLTIPS=yes | |
3887 | DEFAULT_wxUSE_TREECTRL=yes | |
3888 | elif test "$wxUSE_CONTROLS" = "no"; then | |
3889 | DEFAULT_wxUSE_ACCEL=no | |
3890 | DEFAULT_wxUSE_CARET=no | |
3891 | DEFAULT_wxUSE_COMBOBOX=no | |
3892 | DEFAULT_wxUSE_BMPBUTTON=no | |
3893 | DEFAULT_wxUSE_CHECKBOX=no | |
3894 | DEFAULT_wxUSE_CHECKLISTBOX=no | |
3895 | DEFAULT_wxUSE_CHOICE=no | |
3896 | DEFAULT_wxUSE_GAUGE=no | |
3897 | DEFAULT_wxUSE_GRID=no | |
3898 | DEFAULT_wxUSE_IMAGLIST=no | |
3899 | DEFAULT_wxUSE_LISTBOX=no | |
3900 | DEFAULT_wxUSE_LISTCTRL=no | |
3901 | DEFAULT_wxUSE_NOTEBOOK=no | |
3902 | DEFAULT_wxUSE_RADIOBOX=no | |
3903 | DEFAULT_wxUSE_RADIOBTN=no | |
3904 | DEFAULT_wxUSE_SASH=no | |
3905 | DEFAULT_wxUSE_SCROLLBAR=no | |
3906 | DEFAULT_wxUSE_SLIDER=no | |
3907 | DEFAULT_wxUSE_SPINBTN=no | |
3908 | DEFAULT_wxUSE_SPLITTER=no | |
3909 | DEFAULT_wxUSE_STATBMP=no | |
3910 | DEFAULT_wxUSE_STATBOX=no | |
3911 | DEFAULT_wxUSE_STATLINE=no | |
3912 | DEFAULT_wxUSE_STATUSBAR=no | |
3913 | DEFAULT_wxUSE_TAB_DIALOG=no | |
3914 | DEFAULT_wxUSE_TOOLBAR=no | |
3915 | DEFAULT_wxUSE_TOOLTIPS=no | |
3916 | DEFAULT_wxUSE_TREECTRL=no | |
3917 | fi | |
3918 | ||
3919 | ||
3920 | echo $ac_n "checking "for --enable-accel"""... $ac_c" 1>&6 | |
f7a11f8c | 3921 | echo "configure:3922: checking "for --enable-accel"" >&5 |
a16d3c04 KB |
3922 | no_cache=0 |
3923 | # Check whether --enable-accel or --disable-accel was given. | |
3924 | if test "${enable_accel+set}" = set; then | |
3925 | enableval="$enable_accel" | |
3926 | ||
3927 | if test "$enableval" = yes; then | |
3928 | ac_cv_use_accel='wxUSE_ACCEL=yes' | |
3929 | else | |
3930 | ac_cv_use_accel='wxUSE_ACCEL=no' | |
3931 | fi | |
3932 | ||
3933 | else | |
3934 | ||
3935 | LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}` | |
3936 | if test "x$LINE" != x ; then | |
3937 | eval "DEFAULT_$LINE" | |
3938 | else | |
3939 | no_cache=1 | |
3940 | fi | |
3941 | ||
3942 | ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL | |
3943 | ||
3944 | fi | |
3945 | ||
3946 | ||
3947 | eval "$ac_cv_use_accel" | |
3948 | if test "$no_cache" != 1; then | |
3949 | echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp | |
3950 | fi | |
3951 | ||
3952 | if test "$wxUSE_ACCEL" = yes; then | |
3953 | echo "$ac_t""yes" 1>&6 | |
3954 | else | |
3955 | echo "$ac_t""no" 1>&6 | |
3956 | fi | |
3957 | ||
3958 | ||
3959 | echo $ac_n "checking "for --enable-caret"""... $ac_c" 1>&6 | |
f7a11f8c | 3960 | echo "configure:3961: checking "for --enable-caret"" >&5 |
a16d3c04 KB |
3961 | no_cache=0 |
3962 | # Check whether --enable-caret or --disable-caret was given. | |
3963 | if test "${enable_caret+set}" = set; then | |
3964 | enableval="$enable_caret" | |
3965 | ||
3966 | if test "$enableval" = yes; then | |
3967 | ac_cv_use_caret='wxUSE_CARET=yes' | |
3968 | else | |
3969 | ac_cv_use_caret='wxUSE_CARET=no' | |
3970 | fi | |
3971 | ||
3972 | else | |
3973 | ||
3974 | LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}` | |
3975 | if test "x$LINE" != x ; then | |
3976 | eval "DEFAULT_$LINE" | |
3977 | else | |
3978 | no_cache=1 | |
3979 | fi | |
3980 | ||
3981 | ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET | |
3982 | ||
3983 | fi | |
3984 | ||
3985 | ||
3986 | eval "$ac_cv_use_caret" | |
3987 | if test "$no_cache" != 1; then | |
3988 | echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp | |
3989 | fi | |
3990 | ||
3991 | if test "$wxUSE_CARET" = yes; then | |
3992 | echo "$ac_t""yes" 1>&6 | |
3993 | else | |
3994 | echo "$ac_t""no" 1>&6 | |
3995 | fi | |
3996 | ||
3997 | ||
3998 | echo $ac_n "checking "for --enable-bmpbutton"""... $ac_c" 1>&6 | |
f7a11f8c | 3999 | echo "configure:4000: checking "for --enable-bmpbutton"" >&5 |
a16d3c04 KB |
4000 | no_cache=0 |
4001 | # Check whether --enable-bmpbutton or --disable-bmpbutton was given. | |
4002 | if test "${enable_bmpbutton+set}" = set; then | |
4003 | enableval="$enable_bmpbutton" | |
4004 | ||
4005 | if test "$enableval" = yes; then | |
4006 | ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes' | |
4007 | else | |
4008 | ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no' | |
4009 | fi | |
4010 | ||
4011 | else | |
4012 | ||
4013 | LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}` | |
4014 | if test "x$LINE" != x ; then | |
4015 | eval "DEFAULT_$LINE" | |
4016 | else | |
4017 | no_cache=1 | |
4018 | fi | |
4019 | ||
4020 | ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON | |
4021 | ||
4022 | fi | |
4023 | ||
4024 | ||
4025 | eval "$ac_cv_use_bmpbutton" | |
4026 | if test "$no_cache" != 1; then | |
4027 | echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp | |
4028 | fi | |
4029 | ||
4030 | if test "$wxUSE_BMPBUTTON" = yes; then | |
4031 | echo "$ac_t""yes" 1>&6 | |
4032 | else | |
4033 | echo "$ac_t""no" 1>&6 | |
4034 | fi | |
4035 | ||
4036 | ||
4037 | echo $ac_n "checking "for --enable-checkbox"""... $ac_c" 1>&6 | |
f7a11f8c | 4038 | echo "configure:4039: checking "for --enable-checkbox"" >&5 |
a16d3c04 KB |
4039 | no_cache=0 |
4040 | # Check whether --enable-checkbox or --disable-checkbox was given. | |
4041 | if test "${enable_checkbox+set}" = set; then | |
4042 | enableval="$enable_checkbox" | |
4043 | ||
4044 | if test "$enableval" = yes; then | |
4045 | ac_cv_use_checkbox='wxUSE_CHECKBOX=yes' | |
4046 | else | |
4047 | ac_cv_use_checkbox='wxUSE_CHECKBOX=no' | |
4048 | fi | |
4049 | ||
4050 | else | |
4051 | ||
4052 | LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}` | |
4053 | if test "x$LINE" != x ; then | |
4054 | eval "DEFAULT_$LINE" | |
4055 | else | |
4056 | no_cache=1 | |
4057 | fi | |
4058 | ||
4059 | ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX | |
4060 | ||
4061 | fi | |
4062 | ||
4063 | ||
4064 | eval "$ac_cv_use_checkbox" | |
4065 | if test "$no_cache" != 1; then | |
4066 | echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp | |
4067 | fi | |
4068 | ||
4069 | if test "$wxUSE_CHECKBOX" = yes; then | |
4070 | echo "$ac_t""yes" 1>&6 | |
4071 | else | |
4072 | echo "$ac_t""no" 1>&6 | |
4073 | fi | |
4074 | ||
4075 | ||
4076 | echo $ac_n "checking "for --enable-checklst"""... $ac_c" 1>&6 | |
f7a11f8c | 4077 | echo "configure:4078: checking "for --enable-checklst"" >&5 |
a16d3c04 KB |
4078 | no_cache=0 |
4079 | # Check whether --enable-checklst or --disable-checklst was given. | |
4080 | if test "${enable_checklst+set}" = set; then | |
4081 | enableval="$enable_checklst" | |
4082 | ||
4083 | if test "$enableval" = yes; then | |
4084 | ac_cv_use_checklst='wxUSE_CHECKLST=yes' | |
4085 | else | |
4086 | ac_cv_use_checklst='wxUSE_CHECKLST=no' | |
4087 | fi | |
4088 | ||
4089 | else | |
4090 | ||
4091 | LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}` | |
4092 | if test "x$LINE" != x ; then | |
4093 | eval "DEFAULT_$LINE" | |
4094 | else | |
4095 | no_cache=1 | |
4096 | fi | |
4097 | ||
4098 | ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST | |
4099 | ||
4100 | fi | |
4101 | ||
4102 | ||
4103 | eval "$ac_cv_use_checklst" | |
4104 | if test "$no_cache" != 1; then | |
4105 | echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp | |
4106 | fi | |
4107 | ||
4108 | if test "$wxUSE_CHECKLST" = yes; then | |
4109 | echo "$ac_t""yes" 1>&6 | |
4110 | else | |
4111 | echo "$ac_t""no" 1>&6 | |
4112 | fi | |
4113 | ||
4114 | ||
4115 | echo $ac_n "checking "for --enable-choice"""... $ac_c" 1>&6 | |
f7a11f8c | 4116 | echo "configure:4117: checking "for --enable-choice"" >&5 |
a16d3c04 KB |
4117 | no_cache=0 |
4118 | # Check whether --enable-choice or --disable-choice was given. | |
4119 | if test "${enable_choice+set}" = set; then | |
4120 | enableval="$enable_choice" | |
4121 | ||
4122 | if test "$enableval" = yes; then | |
4123 | ac_cv_use_choice='wxUSE_CHOICE=yes' | |
4124 | else | |
4125 | ac_cv_use_choice='wxUSE_CHOICE=no' | |
4126 | fi | |
4127 | ||
4128 | else | |
4129 | ||
4130 | LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}` | |
4131 | if test "x$LINE" != x ; then | |
4132 | eval "DEFAULT_$LINE" | |
4133 | else | |
4134 | no_cache=1 | |
4135 | fi | |
4136 | ||
4137 | ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE | |
4138 | ||
4139 | fi | |
4140 | ||
4141 | ||
4142 | eval "$ac_cv_use_choice" | |
4143 | if test "$no_cache" != 1; then | |
4144 | echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp | |
4145 | fi | |
4146 | ||
4147 | if test "$wxUSE_CHOICE" = yes; then | |
4148 | echo "$ac_t""yes" 1>&6 | |
4149 | else | |
4150 | echo "$ac_t""no" 1>&6 | |
4151 | fi | |
4152 | ||
4153 | ||
4154 | echo $ac_n "checking "for --enable-combobox"""... $ac_c" 1>&6 | |
f7a11f8c | 4155 | echo "configure:4156: checking "for --enable-combobox"" >&5 |
a16d3c04 KB |
4156 | no_cache=0 |
4157 | # Check whether --enable-combobox or --disable-combobox was given. | |
4158 | if test "${enable_combobox+set}" = set; then | |
4159 | enableval="$enable_combobox" | |
4160 | ||
4161 | if test "$enableval" = yes; then | |
4162 | ac_cv_use_combobox='wxUSE_COMBOBOX=yes' | |
4163 | else | |
4164 | ac_cv_use_combobox='wxUSE_COMBOBOX=no' | |
4165 | fi | |
4166 | ||
4167 | else | |
4168 | ||
4169 | LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}` | |
4170 | if test "x$LINE" != x ; then | |
4171 | eval "DEFAULT_$LINE" | |
4172 | else | |
4173 | no_cache=1 | |
4174 | fi | |
4175 | ||
4176 | ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX | |
4177 | ||
4178 | fi | |
4179 | ||
4180 | ||
4181 | eval "$ac_cv_use_combobox" | |
4182 | if test "$no_cache" != 1; then | |
4183 | echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp | |
4184 | fi | |
4185 | ||
4186 | if test "$wxUSE_COMBOBOX" = yes; then | |
4187 | echo "$ac_t""yes" 1>&6 | |
4188 | else | |
4189 | echo "$ac_t""no" 1>&6 | |
4190 | fi | |
4191 | ||
4192 | ||
4193 | echo $ac_n "checking "for --enable-gauge"""... $ac_c" 1>&6 | |
f7a11f8c | 4194 | echo "configure:4195: checking "for --enable-gauge"" >&5 |
a16d3c04 KB |
4195 | no_cache=0 |
4196 | # Check whether --enable-gauge or --disable-gauge was given. | |
4197 | if test "${enable_gauge+set}" = set; then | |
4198 | enableval="$enable_gauge" | |
4199 | ||
4200 | if test "$enableval" = yes; then | |
4201 | ac_cv_use_gauge='wxUSE_GAUGE=yes' | |
4202 | else | |
4203 | ac_cv_use_gauge='wxUSE_GAUGE=no' | |
4204 | fi | |
4205 | ||
4206 | else | |
4207 | ||
4208 | LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}` | |
4209 | if test "x$LINE" != x ; then | |
4210 | eval "DEFAULT_$LINE" | |
4211 | else | |
4212 | no_cache=1 | |
4213 | fi | |
4214 | ||
4215 | ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE | |
4216 | ||
4217 | fi | |
4218 | ||
4219 | ||
4220 | eval "$ac_cv_use_gauge" | |
4221 | if test "$no_cache" != 1; then | |
4222 | echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp | |
4223 | fi | |
4224 | ||
4225 | if test "$wxUSE_GAUGE" = yes; then | |
4226 | echo "$ac_t""yes" 1>&6 | |
4227 | else | |
4228 | echo "$ac_t""no" 1>&6 | |
4229 | fi | |
4230 | ||
4231 | ||
4232 | echo $ac_n "checking "for --enable-grid"""... $ac_c" 1>&6 | |
f7a11f8c | 4233 | echo "configure:4234: checking "for --enable-grid"" >&5 |
a16d3c04 KB |
4234 | no_cache=0 |
4235 | # Check whether --enable-grid or --disable-grid was given. | |
4236 | if test "${enable_grid+set}" = set; then | |
4237 | enableval="$enable_grid" | |
4238 | ||
4239 | if test "$enableval" = yes; then | |
4240 | ac_cv_use_grid='wxUSE_GRID=yes' | |
4241 | else | |
4242 | ac_cv_use_grid='wxUSE_GRID=no' | |
4243 | fi | |
4244 | ||
4245 | else | |
4246 | ||
4247 | LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}` | |
4248 | if test "x$LINE" != x ; then | |
4249 | eval "DEFAULT_$LINE" | |
4250 | else | |
4251 | no_cache=1 | |
4252 | fi | |
4253 | ||
4254 | ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID | |
4255 | ||
4256 | fi | |
4257 | ||
4258 | ||
4259 | eval "$ac_cv_use_grid" | |
4260 | if test "$no_cache" != 1; then | |
4261 | echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp | |
4262 | fi | |
4263 | ||
4264 | if test "$wxUSE_GRID" = yes; then | |
4265 | echo "$ac_t""yes" 1>&6 | |
4266 | else | |
4267 | echo "$ac_t""no" 1>&6 | |
4268 | fi | |
4269 | ||
4270 | ||
4271 | echo $ac_n "checking "for --enable-imaglist"""... $ac_c" 1>&6 | |
f7a11f8c | 4272 | echo "configure:4273: checking "for --enable-imaglist"" >&5 |
a16d3c04 KB |
4273 | no_cache=0 |
4274 | # Check whether --enable-imaglist or --disable-imaglist was given. | |
4275 | if test "${enable_imaglist+set}" = set; then | |
4276 | enableval="$enable_imaglist" | |
4277 | ||
4278 | if test "$enableval" = yes; then | |
4279 | ac_cv_use_imaglist='wxUSE_IMAGLIST=yes' | |
4280 | else | |
4281 | ac_cv_use_imaglist='wxUSE_IMAGLIST=no' | |
4282 | fi | |
4283 | ||
4284 | else | |
4285 | ||
4286 | LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}` | |
4287 | if test "x$LINE" != x ; then | |
4288 | eval "DEFAULT_$LINE" | |
4289 | else | |
4290 | no_cache=1 | |
4291 | fi | |
4292 | ||
4293 | ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST | |
4294 | ||
4295 | fi | |
4296 | ||
4297 | ||
4298 | eval "$ac_cv_use_imaglist" | |
4299 | if test "$no_cache" != 1; then | |
4300 | echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp | |
4301 | fi | |
4302 | ||
4303 | if test "$wxUSE_IMAGLIST" = yes; then | |
4304 | echo "$ac_t""yes" 1>&6 | |
4305 | else | |
4306 | echo "$ac_t""no" 1>&6 | |
4307 | fi | |
4308 | ||
4309 | ||
4310 | echo $ac_n "checking "for --enable-listbox"""... $ac_c" 1>&6 | |
f7a11f8c | 4311 | echo "configure:4312: checking "for --enable-listbox"" >&5 |
a16d3c04 KB |
4312 | no_cache=0 |
4313 | # Check whether --enable-listbox or --disable-listbox was given. | |
4314 | if test "${enable_listbox+set}" = set; then | |
4315 | enableval="$enable_listbox" | |
4316 | ||
4317 | if test "$enableval" = yes; then | |
4318 | ac_cv_use_listbox='wxUSE_LISTBOX=yes' | |
4319 | else | |
4320 | ac_cv_use_listbox='wxUSE_LISTBOX=no' | |
4321 | fi | |
4322 | ||
4323 | else | |
4324 | ||
4325 | LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}` | |
4326 | if test "x$LINE" != x ; then | |
4327 | eval "DEFAULT_$LINE" | |
4328 | else | |
4329 | no_cache=1 | |
4330 | fi | |
4331 | ||
4332 | ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX | |
4333 | ||
4334 | fi | |
4335 | ||
4336 | ||
4337 | eval "$ac_cv_use_listbox" | |
4338 | if test "$no_cache" != 1; then | |
4339 | echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp | |
4340 | fi | |
4341 | ||
4342 | if test "$wxUSE_LISTBOX" = yes; then | |
4343 | echo "$ac_t""yes" 1>&6 | |
4344 | else | |
4345 | echo "$ac_t""no" 1>&6 | |
4346 | fi | |
4347 | ||
4348 | ||
4349 | echo $ac_n "checking "for --enable-listctrl"""... $ac_c" 1>&6 | |
f7a11f8c | 4350 | echo "configure:4351: checking "for --enable-listctrl"" >&5 |
a16d3c04 KB |
4351 | no_cache=0 |
4352 | # Check whether --enable-listctrl or --disable-listctrl was given. | |
4353 | if test "${enable_listctrl+set}" = set; then | |
4354 | enableval="$enable_listctrl" | |
4355 | ||
4356 | if test "$enableval" = yes; then | |
4357 | ac_cv_use_listctrl='wxUSE_LISTCTRL=yes' | |
4358 | else | |
4359 | ac_cv_use_listctrl='wxUSE_LISTCTRL=no' | |
4360 | fi | |
4361 | ||
4362 | else | |
4363 | ||
4364 | LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}` | |
4365 | if test "x$LINE" != x ; then | |
4366 | eval "DEFAULT_$LINE" | |
4367 | else | |
4368 | no_cache=1 | |
4369 | fi | |
4370 | ||
4371 | ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL | |
4372 | ||
4373 | fi | |
4374 | ||
4375 | ||
4376 | eval "$ac_cv_use_listctrl" | |
4377 | if test "$no_cache" != 1; then | |
4378 | echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp | |
4379 | fi | |
4380 | ||
4381 | if test "$wxUSE_LISTCTRL" = yes; then | |
4382 | echo "$ac_t""yes" 1>&6 | |
4383 | else | |
4384 | echo "$ac_t""no" 1>&6 | |
4385 | fi | |
4386 | ||
4387 | ||
4388 | echo $ac_n "checking "for --enable-notebook"""... $ac_c" 1>&6 | |
f7a11f8c | 4389 | echo "configure:4390: checking "for --enable-notebook"" >&5 |
a16d3c04 KB |
4390 | no_cache=0 |
4391 | # Check whether --enable-notebook or --disable-notebook was given. | |
4392 | if test "${enable_notebook+set}" = set; then | |
4393 | enableval="$enable_notebook" | |
4394 | ||
4395 | if test "$enableval" = yes; then | |
4396 | ac_cv_use_notebook='wxUSE_NOTEBOOK=yes' | |
4397 | else | |
4398 | ac_cv_use_notebook='wxUSE_NOTEBOOK=no' | |
4399 | fi | |
4400 | ||
4401 | else | |
4402 | ||
4403 | LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}` | |
4404 | if test "x$LINE" != x ; then | |
4405 | eval "DEFAULT_$LINE" | |
4406 | else | |
4407 | no_cache=1 | |
4408 | fi | |
4409 | ||
4410 | ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK | |
4411 | ||
4412 | fi | |
4413 | ||
4414 | ||
4415 | eval "$ac_cv_use_notebook" | |
4416 | if test "$no_cache" != 1; then | |
4417 | echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp | |
4418 | fi | |
4419 | ||
4420 | if test "$wxUSE_NOTEBOOK" = yes; then | |
4421 | echo "$ac_t""yes" 1>&6 | |
4422 | else | |
4423 | echo "$ac_t""no" 1>&6 | |
4424 | fi | |
4425 | ||
4426 | ||
4427 | echo $ac_n "checking "for --enable-radiobox"""... $ac_c" 1>&6 | |
f7a11f8c | 4428 | echo "configure:4429: checking "for --enable-radiobox"" >&5 |
a16d3c04 KB |
4429 | no_cache=0 |
4430 | # Check whether --enable-radiobox or --disable-radiobox was given. | |
4431 | if test "${enable_radiobox+set}" = set; then | |
4432 | enableval="$enable_radiobox" | |
4433 | ||
4434 | if test "$enableval" = yes; then | |
4435 | ac_cv_use_radiobox='wxUSE_RADIOBOX=yes' | |
4436 | else | |
4437 | ac_cv_use_radiobox='wxUSE_RADIOBOX=no' | |
4438 | fi | |
4439 | ||
4440 | else | |
4441 | ||
4442 | LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}` | |
4443 | if test "x$LINE" != x ; then | |
4444 | eval "DEFAULT_$LINE" | |
4445 | else | |
4446 | no_cache=1 | |
4447 | fi | |
4448 | ||
4449 | ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX | |
4450 | ||
4451 | fi | |
4452 | ||
4453 | ||
4454 | eval "$ac_cv_use_radiobox" | |
4455 | if test "$no_cache" != 1; then | |
4456 | echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp | |
4457 | fi | |
4458 | ||
4459 | if test "$wxUSE_RADIOBOX" = yes; then | |
4460 | echo "$ac_t""yes" 1>&6 | |
4461 | else | |
4462 | echo "$ac_t""no" 1>&6 | |
4463 | fi | |
4464 | ||
4465 | ||
4466 | echo $ac_n "checking "for --enable-radiobtn"""... $ac_c" 1>&6 | |
f7a11f8c | 4467 | echo "configure:4468: checking "for --enable-radiobtn"" >&5 |
a16d3c04 KB |
4468 | no_cache=0 |
4469 | # Check whether --enable-radiobtn or --disable-radiobtn was given. | |
4470 | if test "${enable_radiobtn+set}" = set; then | |
4471 | enableval="$enable_radiobtn" | |
4472 | ||
4473 | if test "$enableval" = yes; then | |
4474 | ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes' | |
4475 | else | |
4476 | ac_cv_use_radiobtn='wxUSE_RADIOBTN=no' | |
4477 | fi | |
4478 | ||
4479 | else | |
4480 | ||
4481 | LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}` | |
4482 | if test "x$LINE" != x ; then | |
4483 | eval "DEFAULT_$LINE" | |
4484 | else | |
4485 | no_cache=1 | |
4486 | fi | |
4487 | ||
4488 | ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN | |
4489 | ||
4490 | fi | |
4491 | ||
4492 | ||
4493 | eval "$ac_cv_use_radiobtn" | |
4494 | if test "$no_cache" != 1; then | |
4495 | echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp | |
4496 | fi | |
4497 | ||
4498 | if test "$wxUSE_RADIOBTN" = yes; then | |
4499 | echo "$ac_t""yes" 1>&6 | |
4500 | else | |
4501 | echo "$ac_t""no" 1>&6 | |
4502 | fi | |
4503 | ||
4504 | ||
4505 | echo $ac_n "checking "for --enable-sash"""... $ac_c" 1>&6 | |
f7a11f8c | 4506 | echo "configure:4507: checking "for --enable-sash"" >&5 |
a16d3c04 KB |
4507 | no_cache=0 |
4508 | # Check whether --enable-sash or --disable-sash was given. | |
4509 | if test "${enable_sash+set}" = set; then | |
4510 | enableval="$enable_sash" | |
4511 | ||
4512 | if test "$enableval" = yes; then | |
4513 | ac_cv_use_sash='wxUSE_SASH=yes' | |
4514 | else | |
4515 | ac_cv_use_sash='wxUSE_SASH=no' | |
4516 | fi | |
4517 | ||
4518 | else | |
4519 | ||
4520 | LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}` | |
4521 | if test "x$LINE" != x ; then | |
4522 | eval "DEFAULT_$LINE" | |
4523 | else | |
4524 | no_cache=1 | |
4525 | fi | |
4526 | ||
4527 | ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH | |
4528 | ||
4529 | fi | |
4530 | ||
4531 | ||
4532 | eval "$ac_cv_use_sash" | |
4533 | if test "$no_cache" != 1; then | |
4534 | echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp | |
4535 | fi | |
4536 | ||
4537 | if test "$wxUSE_SASH" = yes; then | |
4538 | echo "$ac_t""yes" 1>&6 | |
4539 | else | |
4540 | echo "$ac_t""no" 1>&6 | |
4541 | fi | |
4542 | ||
4543 | ||
4544 | echo $ac_n "checking "for --enable-scrollbar"""... $ac_c" 1>&6 | |
f7a11f8c | 4545 | echo "configure:4546: checking "for --enable-scrollbar"" >&5 |
a16d3c04 KB |
4546 | no_cache=0 |
4547 | # Check whether --enable-scrollbar or --disable-scrollbar was given. | |
4548 | if test "${enable_scrollbar+set}" = set; then | |
4549 | enableval="$enable_scrollbar" | |
4550 | ||
4551 | if test "$enableval" = yes; then | |
4552 | ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes' | |
4553 | else | |
4554 | ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no' | |
4555 | fi | |
4556 | ||
4557 | else | |
4558 | ||
4559 | LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}` | |
4560 | if test "x$LINE" != x ; then | |
4561 | eval "DEFAULT_$LINE" | |
4562 | else | |
4563 | no_cache=1 | |
4564 | fi | |
4565 | ||
4566 | ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR | |
4567 | ||
4568 | fi | |
4569 | ||
4570 | ||
4571 | eval "$ac_cv_use_scrollbar" | |
4572 | if test "$no_cache" != 1; then | |
4573 | echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp | |
4574 | fi | |
4575 | ||
4576 | if test "$wxUSE_SCROLLBAR" = yes; then | |
4577 | echo "$ac_t""yes" 1>&6 | |
4578 | else | |
4579 | echo "$ac_t""no" 1>&6 | |
4580 | fi | |
4581 | ||
4582 | ||
4583 | echo $ac_n "checking "for --enable-slider"""... $ac_c" 1>&6 | |
f7a11f8c | 4584 | echo "configure:4585: checking "for --enable-slider"" >&5 |
a16d3c04 KB |
4585 | no_cache=0 |
4586 | # Check whether --enable-slider or --disable-slider was given. | |
4587 | if test "${enable_slider+set}" = set; then | |
4588 | enableval="$enable_slider" | |
4589 | ||
4590 | if test "$enableval" = yes; then | |
4591 | ac_cv_use_slider='wxUSE_SLIDER=yes' | |
4592 | else | |
4593 | ac_cv_use_slider='wxUSE_SLIDER=no' | |
4594 | fi | |
4595 | ||
4596 | else | |
4597 | ||
4598 | LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}` | |
4599 | if test "x$LINE" != x ; then | |
4600 | eval "DEFAULT_$LINE" | |
4601 | else | |
4602 | no_cache=1 | |
4603 | fi | |
4604 | ||
4605 | ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER | |
4606 | ||
4607 | fi | |
4608 | ||
4609 | ||
4610 | eval "$ac_cv_use_slider" | |
4611 | if test "$no_cache" != 1; then | |
4612 | echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp | |
4613 | fi | |
4614 | ||
4615 | if test "$wxUSE_SLIDER" = yes; then | |
4616 | echo "$ac_t""yes" 1>&6 | |
4617 | else | |
4618 | echo "$ac_t""no" 1>&6 | |
4619 | fi | |
4620 | ||
4621 | ||
4622 | echo $ac_n "checking "for --enable-spinbtn"""... $ac_c" 1>&6 | |
f7a11f8c | 4623 | echo "configure:4624: checking "for --enable-spinbtn"" >&5 |
a16d3c04 KB |
4624 | no_cache=0 |
4625 | # Check whether --enable-spinbtn or --disable-spinbtn was given. | |
4626 | if test "${enable_spinbtn+set}" = set; then | |
4627 | enableval="$enable_spinbtn" | |
4628 | ||
4629 | if test "$enableval" = yes; then | |
4630 | ac_cv_use_spinbtn='wxUSE_SPINBTN=yes' | |
4631 | else | |
4632 | ac_cv_use_spinbtn='wxUSE_SPINBTN=no' | |
4633 | fi | |
4634 | ||
4635 | else | |
4636 | ||
4637 | LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}` | |
4638 | if test "x$LINE" != x ; then | |
4639 | eval "DEFAULT_$LINE" | |
4640 | else | |
4641 | no_cache=1 | |
4642 | fi | |
4643 | ||
4644 | ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN | |
4645 | ||
4646 | fi | |
4647 | ||
4648 | ||
4649 | eval "$ac_cv_use_spinbtn" | |
4650 | if test "$no_cache" != 1; then | |
4651 | echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp | |
4652 | fi | |
4653 | ||
4654 | if test "$wxUSE_SPINBTN" = yes; then | |
4655 | echo "$ac_t""yes" 1>&6 | |
4656 | else | |
4657 | echo "$ac_t""no" 1>&6 | |
4658 | fi | |
4659 | ||
4660 | ||
4661 | echo $ac_n "checking "for --enable-splitter"""... $ac_c" 1>&6 | |
f7a11f8c | 4662 | echo "configure:4663: checking "for --enable-splitter"" >&5 |
a16d3c04 KB |
4663 | no_cache=0 |
4664 | # Check whether --enable-splitter or --disable-splitter was given. | |
4665 | if test "${enable_splitter+set}" = set; then | |
4666 | enableval="$enable_splitter" | |
4667 | ||
4668 | if test "$enableval" = yes; then | |
4669 | ac_cv_use_splitter='wxUSE_SPLITTER=yes' | |
4670 | else | |
4671 | ac_cv_use_splitter='wxUSE_SPLITTER=no' | |
4672 | fi | |
4673 | ||
4674 | else | |
4675 | ||
4676 | LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}` | |
4677 | if test "x$LINE" != x ; then | |
4678 | eval "DEFAULT_$LINE" | |
4679 | else | |
4680 | no_cache=1 | |
4681 | fi | |
4682 | ||
4683 | ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER | |
4684 | ||
4685 | fi | |
4686 | ||
4687 | ||
4688 | eval "$ac_cv_use_splitter" | |
4689 | if test "$no_cache" != 1; then | |
4690 | echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp | |
4691 | fi | |
4692 | ||
4693 | if test "$wxUSE_SPLITTER" = yes; then | |
4694 | echo "$ac_t""yes" 1>&6 | |
4695 | else | |
4696 | echo "$ac_t""no" 1>&6 | |
4697 | fi | |
4698 | ||
4699 | ||
4700 | echo $ac_n "checking "for --enable-statbmp"""... $ac_c" 1>&6 | |
f7a11f8c | 4701 | echo "configure:4702: checking "for --enable-statbmp"" >&5 |
a16d3c04 KB |
4702 | no_cache=0 |
4703 | # Check whether --enable-statbmp or --disable-statbmp was given. | |
4704 | if test "${enable_statbmp+set}" = set; then | |
4705 | enableval="$enable_statbmp" | |
4706 | ||
4707 | if test "$enableval" = yes; then | |
4708 | ac_cv_use_statbmp='wxUSE_STATBMP=yes' | |
4709 | else | |
4710 | ac_cv_use_statbmp='wxUSE_STATBMP=no' | |
4711 | fi | |
4712 | ||
4713 | else | |
4714 | ||
4715 | LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}` | |
4716 | if test "x$LINE" != x ; then | |
4717 | eval "DEFAULT_$LINE" | |
4718 | else | |
4719 | no_cache=1 | |
4720 | fi | |
4721 | ||
4722 | ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP | |
4723 | ||
4724 | fi | |
4725 | ||
4726 | ||
4727 | eval "$ac_cv_use_statbmp" | |
4728 | if test "$no_cache" != 1; then | |
4729 | echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp | |
4730 | fi | |
4731 | ||
4732 | if test "$wxUSE_STATBMP" = yes; then | |
4733 | echo "$ac_t""yes" 1>&6 | |
4734 | else | |
4735 | echo "$ac_t""no" 1>&6 | |
4736 | fi | |
4737 | ||
4738 | ||
4739 | echo $ac_n "checking "for --enable-statbox"""... $ac_c" 1>&6 | |
f7a11f8c | 4740 | echo "configure:4741: checking "for --enable-statbox"" >&5 |
a16d3c04 KB |
4741 | no_cache=0 |
4742 | # Check whether --enable-statbox or --disable-statbox was given. | |
4743 | if test "${enable_statbox+set}" = set; then | |
4744 | enableval="$enable_statbox" | |
4745 | ||
4746 | if test "$enableval" = yes; then | |
4747 | ac_cv_use_statbox='wxUSE_STATBOX=yes' | |
4748 | else | |
4749 | ac_cv_use_statbox='wxUSE_STATBOX=no' | |
4750 | fi | |
4751 | ||
4752 | else | |
4753 | ||
4754 | LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}` | |
4755 | if test "x$LINE" != x ; then | |
4756 | eval "DEFAULT_$LINE" | |
4757 | else | |
4758 | no_cache=1 | |
4759 | fi | |
4760 | ||
4761 | ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX | |
4762 | ||
4763 | fi | |
4764 | ||
4765 | ||
4766 | eval "$ac_cv_use_statbox" | |
4767 | if test "$no_cache" != 1; then | |
4768 | echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp | |
4769 | fi | |
4770 | ||
4771 | if test "$wxUSE_STATBOX" = yes; then | |
4772 | echo "$ac_t""yes" 1>&6 | |
4773 | else | |
4774 | echo "$ac_t""no" 1>&6 | |
4775 | fi | |
4776 | ||
4777 | ||
4778 | echo $ac_n "checking "for --enable-statline"""... $ac_c" 1>&6 | |
f7a11f8c | 4779 | echo "configure:4780: checking "for --enable-statline"" >&5 |
a16d3c04 KB |
4780 | no_cache=0 |
4781 | # Check whether --enable-statline or --disable-statline was given. | |
4782 | if test "${enable_statline+set}" = set; then | |
4783 | enableval="$enable_statline" | |
4784 | ||
4785 | if test "$enableval" = yes; then | |
4786 | ac_cv_use_statline='wxUSE_STATLINE=yes' | |
4787 | else | |
4788 | ac_cv_use_statline='wxUSE_STATLINE=no' | |
4789 | fi | |
4790 | ||
4791 | else | |
4792 | ||
4793 | LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}` | |
4794 | if test "x$LINE" != x ; then | |
4795 | eval "DEFAULT_$LINE" | |
4796 | else | |
4797 | no_cache=1 | |
4798 | fi | |
4799 | ||
4800 | ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE | |
4801 | ||
4802 | fi | |
4803 | ||
4804 | ||
4805 | eval "$ac_cv_use_statline" | |
4806 | if test "$no_cache" != 1; then | |
4807 | echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp | |
4808 | fi | |
4809 | ||
4810 | if test "$wxUSE_STATLINE" = yes; then | |
4811 | echo "$ac_t""yes" 1>&6 | |
4812 | else | |
4813 | echo "$ac_t""no" 1>&6 | |
4814 | fi | |
4815 | ||
4816 | ||
4817 | echo $ac_n "checking "for --enable-statusbar"""... $ac_c" 1>&6 | |
f7a11f8c | 4818 | echo "configure:4819: checking "for --enable-statusbar"" >&5 |
a16d3c04 KB |
4819 | no_cache=0 |
4820 | # Check whether --enable-statusbar or --disable-statusbar was given. | |
4821 | if test "${enable_statusbar+set}" = set; then | |
4822 | enableval="$enable_statusbar" | |
4823 | ||
4824 | if test "$enableval" = yes; then | |
4825 | ac_cv_use_statusbar='wxUSE_STATUSBAR=yes' | |
4826 | else | |
4827 | ac_cv_use_statusbar='wxUSE_STATUSBAR=no' | |
4828 | fi | |
4829 | ||
4830 | else | |
4831 | ||
4832 | LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}` | |
4833 | if test "x$LINE" != x ; then | |
4834 | eval "DEFAULT_$LINE" | |
4835 | else | |
4836 | no_cache=1 | |
4837 | fi | |
4838 | ||
4839 | ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR | |
4840 | ||
4841 | fi | |
4842 | ||
4843 | ||
4844 | eval "$ac_cv_use_statusbar" | |
4845 | if test "$no_cache" != 1; then | |
4846 | echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp | |
4847 | fi | |
4848 | ||
4849 | if test "$wxUSE_STATUSBAR" = yes; then | |
4850 | echo "$ac_t""yes" 1>&6 | |
4851 | else | |
4852 | echo "$ac_t""no" 1>&6 | |
4853 | fi | |
4854 | ||
4855 | ||
4856 | echo $ac_n "checking "for --enable-tabdialog"""... $ac_c" 1>&6 | |
f7a11f8c | 4857 | echo "configure:4858: checking "for --enable-tabdialog"" >&5 |
a16d3c04 KB |
4858 | no_cache=0 |
4859 | # Check whether --enable-tabdialog or --disable-tabdialog was given. | |
4860 | if test "${enable_tabdialog+set}" = set; then | |
4861 | enableval="$enable_tabdialog" | |
4862 | ||
4863 | if test "$enableval" = yes; then | |
4864 | ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes' | |
4865 | else | |
4866 | ac_cv_use_tabdialog='wxUSE_TABDIALOG=no' | |
4867 | fi | |
4868 | ||
4869 | else | |
4870 | ||
4871 | LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}` | |
4872 | if test "x$LINE" != x ; then | |
4873 | eval "DEFAULT_$LINE" | |
4874 | else | |
4875 | no_cache=1 | |
4876 | fi | |
4877 | ||
4878 | ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG | |
4879 | ||
4880 | fi | |
4881 | ||
4882 | ||
4883 | eval "$ac_cv_use_tabdialog" | |
4884 | if test "$no_cache" != 1; then | |
4885 | echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp | |
4886 | fi | |
4887 | ||
4888 | if test "$wxUSE_TABDIALOG" = yes; then | |
4889 | echo "$ac_t""yes" 1>&6 | |
4890 | else | |
4891 | echo "$ac_t""no" 1>&6 | |
4892 | fi | |
4893 | ||
4894 | ||
4895 | echo $ac_n "checking "for --enable-toolbar"""... $ac_c" 1>&6 | |
f7a11f8c | 4896 | echo "configure:4897: checking "for --enable-toolbar"" >&5 |
a16d3c04 KB |
4897 | no_cache=0 |
4898 | # Check whether --enable-toolbar or --disable-toolbar was given. | |
4899 | if test "${enable_toolbar+set}" = set; then | |
4900 | enableval="$enable_toolbar" | |
4901 | ||
4902 | if test "$enableval" = yes; then | |
4903 | ac_cv_use_toolbar='wxUSE_TOOLBAR=yes' | |
4904 | else | |
4905 | ac_cv_use_toolbar='wxUSE_TOOLBAR=no' | |
4906 | fi | |
4907 | ||
4908 | else | |
4909 | ||
4910 | LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}` | |
4911 | if test "x$LINE" != x ; then | |
4912 | eval "DEFAULT_$LINE" | |
4913 | else | |
4914 | no_cache=1 | |
4915 | fi | |
4916 | ||
4917 | ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR | |
4918 | ||
4919 | fi | |
4920 | ||
4921 | ||
4922 | eval "$ac_cv_use_toolbar" | |
4923 | if test "$no_cache" != 1; then | |
4924 | echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp | |
4925 | fi | |
4926 | ||
4927 | if test "$wxUSE_TOOLBAR" = yes; then | |
4928 | echo "$ac_t""yes" 1>&6 | |
4929 | else | |
4930 | echo "$ac_t""no" 1>&6 | |
4931 | fi | |
4932 | ||
4933 | ||
4934 | echo $ac_n "checking "for --enable-treectrl"""... $ac_c" 1>&6 | |
f7a11f8c | 4935 | echo "configure:4936: checking "for --enable-treectrl"" >&5 |
a16d3c04 KB |
4936 | no_cache=0 |
4937 | # Check whether --enable-treectrl or --disable-treectrl was given. | |
4938 | if test "${enable_treectrl+set}" = set; then | |
4939 | enableval="$enable_treectrl" | |
4940 | ||
4941 | if test "$enableval" = yes; then | |
4942 | ac_cv_use_treectrl='wxUSE_TREECTRL=yes' | |
4943 | else | |
4944 | ac_cv_use_treectrl='wxUSE_TREECTRL=no' | |
4945 | fi | |
4946 | ||
4947 | else | |
4948 | ||
4949 | LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}` | |
4950 | if test "x$LINE" != x ; then | |
4951 | eval "DEFAULT_$LINE" | |
4952 | else | |
4953 | no_cache=1 | |
4954 | fi | |
4955 | ||
4956 | ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL | |
4957 | ||
4958 | fi | |
4959 | ||
4960 | ||
4961 | eval "$ac_cv_use_treectrl" | |
4962 | if test "$no_cache" != 1; then | |
4963 | echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp | |
4964 | fi | |
4965 | ||
4966 | if test "$wxUSE_TREECTRL" = yes; then | |
4967 | echo "$ac_t""yes" 1>&6 | |
4968 | else | |
4969 | echo "$ac_t""no" 1>&6 | |
4970 | fi | |
4971 | ||
4972 | ||
4973 | ||
4974 | ||
4975 | echo $ac_n "checking "for --enable-commondlg"""... $ac_c" 1>&6 | |
f7a11f8c | 4976 | echo "configure:4977: checking "for --enable-commondlg"" >&5 |
a16d3c04 KB |
4977 | no_cache=0 |
4978 | # Check whether --enable-commondlg or --disable-commondlg was given. | |
4979 | if test "${enable_commondlg+set}" = set; then | |
4980 | enableval="$enable_commondlg" | |
4981 | ||
4982 | if test "$enableval" = yes; then | |
4983 | ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes' | |
4984 | else | |
4985 | ac_cv_use_commondlg='wxUSE_COMMONDLGS=no' | |
4986 | fi | |
4987 | ||
4988 | else | |
4989 | ||
4990 | LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}` | |
4991 | if test "x$LINE" != x ; then | |
4992 | eval "DEFAULT_$LINE" | |
4993 | else | |
4994 | no_cache=1 | |
4995 | fi | |
4996 | ||
4997 | ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS | |
4998 | ||
4999 | fi | |
5000 | ||
5001 | ||
5002 | eval "$ac_cv_use_commondlg" | |
5003 | if test "$no_cache" != 1; then | |
5004 | echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp | |
5005 | fi | |
5006 | ||
5007 | if test "$wxUSE_COMMONDLGS" = yes; then | |
5008 | echo "$ac_t""yes" 1>&6 | |
5009 | else | |
5010 | echo "$ac_t""no" 1>&6 | |
5011 | fi | |
5012 | ||
5013 | ||
5014 | echo $ac_n "checking "for --enable-dirdlg"""... $ac_c" 1>&6 | |
f7a11f8c | 5015 | echo "configure:5016: checking "for --enable-dirdlg"" >&5 |
a16d3c04 KB |
5016 | no_cache=0 |
5017 | # Check whether --enable-dirdlg or --disable-dirdlg was given. | |
5018 | if test "${enable_dirdlg+set}" = set; then | |
5019 | enableval="$enable_dirdlg" | |
5020 | ||
5021 | if test "$enableval" = yes; then | |
5022 | ac_cv_use_dirdlg='wxUSE_DIRDLG=yes' | |
5023 | else | |
5024 | ac_cv_use_dirdlg='wxUSE_DIRDLG=no' | |
5025 | fi | |
5026 | ||
5027 | else | |
5028 | ||
5029 | LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}` | |
5030 | if test "x$LINE" != x ; then | |
5031 | eval "DEFAULT_$LINE" | |
5032 | else | |
5033 | no_cache=1 | |
5034 | fi | |
5035 | ||
5036 | ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG | |
5037 | ||
5038 | fi | |
5039 | ||
5040 | ||
5041 | eval "$ac_cv_use_dirdlg" | |
5042 | if test "$no_cache" != 1; then | |
5043 | echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp | |
5044 | fi | |
5045 | ||
5046 | if test "$wxUSE_DIRDLG" = yes; then | |
5047 | echo "$ac_t""yes" 1>&6 | |
5048 | else | |
5049 | echo "$ac_t""no" 1>&6 | |
5050 | fi | |
5051 | ||
5052 | ||
5053 | echo $ac_n "checking "for --enable-textdlg"""... $ac_c" 1>&6 | |
f7a11f8c | 5054 | echo "configure:5055: checking "for --enable-textdlg"" >&5 |
a16d3c04 KB |
5055 | no_cache=0 |
5056 | # Check whether --enable-textdlg or --disable-textdlg was given. | |
5057 | if test "${enable_textdlg+set}" = set; then | |
5058 | enableval="$enable_textdlg" | |
5059 | ||
5060 | if test "$enableval" = yes; then | |
5061 | ac_cv_use_textdlg='wxUSE_TEXTDLG=yes' | |
5062 | else | |
5063 | ac_cv_use_textdlg='wxUSE_TEXTDLG=no' | |
5064 | fi | |
5065 | ||
5066 | else | |
5067 | ||
5068 | LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}` | |
5069 | if test "x$LINE" != x ; then | |
5070 | eval "DEFAULT_$LINE" | |
5071 | else | |
5072 | no_cache=1 | |
5073 | fi | |
5074 | ||
5075 | ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG | |
5076 | ||
5077 | fi | |
5078 | ||
5079 | ||
5080 | eval "$ac_cv_use_textdlg" | |
5081 | if test "$no_cache" != 1; then | |
5082 | echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp | |
5083 | fi | |
5084 | ||
5085 | if test "$wxUSE_TEXTDLG" = yes; then | |
5086 | echo "$ac_t""yes" 1>&6 | |
5087 | else | |
5088 | echo "$ac_t""no" 1>&6 | |
5089 | fi | |
5090 | ||
5091 | ||
5092 | echo $ac_n "checking "for --enable-tipdlg"""... $ac_c" 1>&6 | |
f7a11f8c | 5093 | echo "configure:5094: checking "for --enable-tipdlg"" >&5 |
a16d3c04 KB |
5094 | no_cache=0 |
5095 | # Check whether --enable-tipdlg or --disable-tipdlg was given. | |
5096 | if test "${enable_tipdlg+set}" = set; then | |
5097 | enableval="$enable_tipdlg" | |
5098 | ||
5099 | if test "$enableval" = yes; then | |
5100 | ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes' | |
5101 | else | |
5102 | ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no' | |
5103 | fi | |
5104 | ||
5105 | else | |
5106 | ||
5107 | LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}` | |
5108 | if test "x$LINE" != x ; then | |
5109 | eval "DEFAULT_$LINE" | |
5110 | else | |
5111 | no_cache=1 | |
5112 | fi | |
5113 | ||
5114 | ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS | |
5115 | ||
5116 | fi | |
5117 | ||
5118 | ||
5119 | eval "$ac_cv_use_tipdlg" | |
5120 | if test "$no_cache" != 1; then | |
5121 | echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp | |
5122 | fi | |
5123 | ||
5124 | if test "$wxUSE_STARTUP_TIPS" = yes; then | |
5125 | echo "$ac_t""yes" 1>&6 | |
5126 | else | |
5127 | echo "$ac_t""no" 1>&6 | |
5128 | fi | |
5129 | ||
5130 | ||
5131 | echo $ac_n "checking "for --enable-progressdlg"""... $ac_c" 1>&6 | |
f7a11f8c | 5132 | echo "configure:5133: checking "for --enable-progressdlg"" >&5 |
a16d3c04 KB |
5133 | no_cache=0 |
5134 | # Check whether --enable-progressdlg or --disable-progressdlg was given. | |
5135 | if test "${enable_progressdlg+set}" = set; then | |
5136 | enableval="$enable_progressdlg" | |
5137 | ||
5138 | if test "$enableval" = yes; then | |
5139 | ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes' | |
5140 | else | |
5141 | ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no' | |
5142 | fi | |
5143 | ||
5144 | else | |
5145 | ||
5146 | LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}` | |
5147 | if test "x$LINE" != x ; then | |
5148 | eval "DEFAULT_$LINE" | |
5149 | else | |
5150 | no_cache=1 | |
5151 | fi | |
5152 | ||
5153 | ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG | |
5154 | ||
5155 | fi | |
5156 | ||
5157 | ||
5158 | eval "$ac_cv_use_progressdlg" | |
5159 | if test "$no_cache" != 1; then | |
5160 | echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp | |
5161 | fi | |
5162 | ||
5163 | if test "$wxUSE_PROGRESSDLG" = yes; then | |
5164 | echo "$ac_t""yes" 1>&6 | |
5165 | else | |
5166 | echo "$ac_t""no" 1>&6 | |
5167 | fi | |
5168 | ||
5169 | ||
5170 | echo $ac_n "checking "for --enable-miniframe"""... $ac_c" 1>&6 | |
f7a11f8c | 5171 | echo "configure:5172: checking "for --enable-miniframe"" >&5 |
a16d3c04 KB |
5172 | no_cache=0 |
5173 | # Check whether --enable-miniframe or --disable-miniframe was given. | |
5174 | if test "${enable_miniframe+set}" = set; then | |
5175 | enableval="$enable_miniframe" | |
5176 | ||
5177 | if test "$enableval" = yes; then | |
5178 | ac_cv_use_miniframe='wxUSE_MINIFRAME=yes' | |
5179 | else | |
5180 | ac_cv_use_miniframe='wxUSE_MINIFRAME=no' | |
5181 | fi | |
5182 | ||
5183 | else | |
5184 | ||
5185 | LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}` | |
5186 | if test "x$LINE" != x ; then | |
5187 | eval "DEFAULT_$LINE" | |
5188 | else | |
5189 | no_cache=1 | |
5190 | fi | |
5191 | ||
5192 | ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME | |
5193 | ||
5194 | fi | |
5195 | ||
5196 | ||
5197 | eval "$ac_cv_use_miniframe" | |
5198 | if test "$no_cache" != 1; then | |
5199 | echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp | |
5200 | fi | |
5201 | ||
5202 | if test "$wxUSE_MINIFRAME" = yes; then | |
5203 | echo "$ac_t""yes" 1>&6 | |
5204 | else | |
5205 | echo "$ac_t""no" 1>&6 | |
5206 | fi | |
5207 | ||
5208 | ||
5209 | echo $ac_n "checking "for --enable-html"""... $ac_c" 1>&6 | |
f7a11f8c | 5210 | echo "configure:5211: checking "for --enable-html"" >&5 |
a16d3c04 KB |
5211 | no_cache=0 |
5212 | # Check whether --enable-html or --disable-html was given. | |
5213 | if test "${enable_html+set}" = set; then | |
5214 | enableval="$enable_html" | |
5215 | ||
5216 | if test "$enableval" = yes; then | |
5217 | ac_cv_use_html='wxUSE_HTML=yes' | |
5218 | else | |
5219 | ac_cv_use_html='wxUSE_HTML=no' | |
5220 | fi | |
5221 | ||
5222 | else | |
5223 | ||
5224 | LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}` | |
5225 | if test "x$LINE" != x ; then | |
5226 | eval "DEFAULT_$LINE" | |
5227 | else | |
5228 | no_cache=1 | |
5229 | fi | |
5230 | ||
5231 | ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML | |
5232 | ||
5233 | fi | |
5234 | ||
5235 | ||
5236 | eval "$ac_cv_use_html" | |
5237 | if test "$no_cache" != 1; then | |
5238 | echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp | |
5239 | fi | |
5240 | ||
5241 | if test "$wxUSE_HTML" = yes; then | |
5242 | echo "$ac_t""yes" 1>&6 | |
5243 | else | |
5244 | echo "$ac_t""no" 1>&6 | |
5245 | fi | |
5246 | ||
5247 | ||
5248 | echo $ac_n "checking "for --enable-tooltips"""... $ac_c" 1>&6 | |
f7a11f8c | 5249 | echo "configure:5250: checking "for --enable-tooltips"" >&5 |
a16d3c04 KB |
5250 | no_cache=0 |
5251 | # Check whether --enable-tooltips or --disable-tooltips was given. | |
5252 | if test "${enable_tooltips+set}" = set; then | |
5253 | enableval="$enable_tooltips" | |
5254 | ||
5255 | if test "$enableval" = yes; then | |
5256 | ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes' | |
5257 | else | |
5258 | ac_cv_use_tooltips='wxUSE_TOOLTIPS=no' | |
5259 | fi | |
5260 | ||
5261 | else | |
5262 | ||
5263 | LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}` | |
5264 | if test "x$LINE" != x ; then | |
5265 | eval "DEFAULT_$LINE" | |
5266 | else | |
5267 | no_cache=1 | |
5268 | fi | |
5269 | ||
5270 | ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS | |
5271 | ||
5272 | fi | |
5273 | ||
5274 | ||
5275 | eval "$ac_cv_use_tooltips" | |
5276 | if test "$no_cache" != 1; then | |
5277 | echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp | |
5278 | fi | |
5279 | ||
5280 | if test "$wxUSE_TOOLTIPS" = yes; then | |
5281 | echo "$ac_t""yes" 1>&6 | |
5282 | else | |
5283 | echo "$ac_t""no" 1>&6 | |
5284 | fi | |
5285 | ||
5286 | ||
5287 | echo $ac_n "checking "for --enable-splines"""... $ac_c" 1>&6 | |
f7a11f8c | 5288 | echo "configure:5289: checking "for --enable-splines"" >&5 |
a16d3c04 KB |
5289 | no_cache=0 |
5290 | # Check whether --enable-splines or --disable-splines was given. | |
5291 | if test "${enable_splines+set}" = set; then | |
5292 | enableval="$enable_splines" | |
5293 | ||
5294 | if test "$enableval" = yes; then | |
5295 | ac_cv_use_splines='wxUSE_SPLINES=yes' | |
5296 | else | |
5297 | ac_cv_use_splines='wxUSE_SPLINES=no' | |
5298 | fi | |
5299 | ||
5300 | else | |
5301 | ||
5302 | LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}` | |
5303 | if test "x$LINE" != x ; then | |
5304 | eval "DEFAULT_$LINE" | |
5305 | else | |
5306 | no_cache=1 | |
5307 | fi | |
5308 | ||
5309 | ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES | |
5310 | ||
5311 | fi | |
5312 | ||
5313 | ||
5314 | eval "$ac_cv_use_splines" | |
5315 | if test "$no_cache" != 1; then | |
5316 | echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp | |
5317 | fi | |
5318 | ||
5319 | if test "$wxUSE_SPLINES" = yes; then | |
5320 | echo "$ac_t""yes" 1>&6 | |
5321 | else | |
5322 | echo "$ac_t""no" 1>&6 | |
5323 | fi | |
5324 | ||
5325 | ||
5326 | echo $ac_n "checking "for --enable-validators"""... $ac_c" 1>&6 | |
f7a11f8c | 5327 | echo "configure:5328: checking "for --enable-validators"" >&5 |
a16d3c04 KB |
5328 | no_cache=0 |
5329 | # Check whether --enable-validators or --disable-validators was given. | |
5330 | if test "${enable_validators+set}" = set; then | |
5331 | enableval="$enable_validators" | |
5332 | ||
5333 | if test "$enableval" = yes; then | |
5334 | ac_cv_use_validators='wxUSE_VALIDATORS=yes' | |
5335 | else | |
5336 | ac_cv_use_validators='wxUSE_VALIDATORS=no' | |
5337 | fi | |
5338 | ||
5339 | else | |
5340 | ||
5341 | LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}` | |
5342 | if test "x$LINE" != x ; then | |
5343 | eval "DEFAULT_$LINE" | |
5344 | else | |
5345 | no_cache=1 | |
5346 | fi | |
5347 | ||
5348 | ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS | |
5349 | ||
5350 | fi | |
5351 | ||
5352 | ||
5353 | eval "$ac_cv_use_validators" | |
5354 | if test "$no_cache" != 1; then | |
5355 | echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp | |
5356 | fi | |
5357 | ||
5358 | if test "$wxUSE_VALIDATORS" = yes; then | |
5359 | echo "$ac_t""yes" 1>&6 | |
5360 | else | |
5361 | echo "$ac_t""no" 1>&6 | |
5362 | fi | |
5363 | ||
5364 | ||
5365 | echo $ac_n "checking "for --enable-busyinfo"""... $ac_c" 1>&6 | |
f7a11f8c | 5366 | echo "configure:5367: checking "for --enable-busyinfo"" >&5 |
a16d3c04 KB |
5367 | no_cache=0 |
5368 | # Check whether --enable-busyinfo or --disable-busyinfo was given. | |
5369 | if test "${enable_busyinfo+set}" = set; then | |
5370 | enableval="$enable_busyinfo" | |
5371 | ||
5372 | if test "$enableval" = yes; then | |
5373 | ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes' | |
5374 | else | |
5375 | ac_cv_use_busyinfo='wxUSE_BUSYINFO=no' | |
5376 | fi | |
5377 | ||
5378 | else | |
5379 | ||
5380 | LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}` | |
5381 | if test "x$LINE" != x ; then | |
5382 | eval "DEFAULT_$LINE" | |
5383 | else | |
5384 | no_cache=1 | |
5385 | fi | |
5386 | ||
5387 | ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO | |
5388 | ||
5389 | fi | |
5390 | ||
5391 | ||
5392 | eval "$ac_cv_use_busyinfo" | |
5393 | if test "$no_cache" != 1; then | |
5394 | echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp | |
5395 | fi | |
5396 | ||
5397 | if test "$wxUSE_BUSYINFO" = yes; then | |
5398 | echo "$ac_t""yes" 1>&6 | |
5399 | else | |
5400 | echo "$ac_t""no" 1>&6 | |
5401 | fi | |
5402 | ||
5403 | ||
5404 | ||
1c8515f9 KB |
5405 | |
5406 | echo $ac_n "checking "for --enable-gif"""... $ac_c" 1>&6 | |
f7a11f8c | 5407 | echo "configure:5408: checking "for --enable-gif"" >&5 |
1c8515f9 KB |
5408 | no_cache=0 |
5409 | # Check whether --enable-gif or --disable-gif was given. | |
5410 | if test "${enable_gif+set}" = set; then | |
5411 | enableval="$enable_gif" | |
5412 | ||
5413 | if test "$enableval" = yes; then | |
5414 | ac_cv_use_gif='wxUSE_GIF=yes' | |
5415 | else | |
5416 | ac_cv_use_gif='wxUSE_GIF=no' | |
5417 | fi | |
5418 | ||
5419 | else | |
5420 | ||
5421 | LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}` | |
5422 | if test "x$LINE" != x ; then | |
5423 | eval "DEFAULT_$LINE" | |
5424 | else | |
5425 | no_cache=1 | |
5426 | fi | |
5427 | ||
5428 | ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF | |
5429 | ||
5430 | fi | |
5431 | ||
5432 | ||
5433 | eval "$ac_cv_use_gif" | |
5434 | if test "$no_cache" != 1; then | |
5435 | echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp | |
5436 | fi | |
5437 | ||
5438 | if test "$wxUSE_GIF" = yes; then | |
5439 | echo "$ac_t""yes" 1>&6 | |
5440 | else | |
5441 | echo "$ac_t""no" 1>&6 | |
5442 | fi | |
5443 | ||
5444 | ||
5445 | echo $ac_n "checking "for --enable-pcx"""... $ac_c" 1>&6 | |
f7a11f8c | 5446 | echo "configure:5447: checking "for --enable-pcx"" >&5 |
1c8515f9 KB |
5447 | no_cache=0 |
5448 | # Check whether --enable-pcx or --disable-pcx was given. | |
5449 | if test "${enable_pcx+set}" = set; then | |
5450 | enableval="$enable_pcx" | |
5451 | ||
5452 | if test "$enableval" = yes; then | |
5453 | ac_cv_use_pcx='wxUSE_PCX=yes' | |
5454 | else | |
5455 | ac_cv_use_pcx='wxUSE_PCX=no' | |
5456 | fi | |
5457 | ||
5458 | else | |
5459 | ||
5460 | LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}` | |
5461 | if test "x$LINE" != x ; then | |
5462 | eval "DEFAULT_$LINE" | |
5463 | else | |
5464 | no_cache=1 | |
5465 | fi | |
5466 | ||
5467 | ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX | |
5468 | ||
5469 | fi | |
5470 | ||
5471 | ||
5472 | eval "$ac_cv_use_pcx" | |
5473 | if test "$no_cache" != 1; then | |
5474 | echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp | |
5475 | fi | |
5476 | ||
5477 | if test "$wxUSE_PCX" = yes; then | |
5478 | echo "$ac_t""yes" 1>&6 | |
5479 | else | |
5480 | echo "$ac_t""no" 1>&6 | |
5481 | fi | |
5482 | ||
5483 | ||
5484 | echo $ac_n "checking "for --enable-pnm"""... $ac_c" 1>&6 | |
f7a11f8c | 5485 | echo "configure:5486: checking "for --enable-pnm"" >&5 |
1c8515f9 KB |
5486 | no_cache=0 |
5487 | # Check whether --enable-pnm or --disable-pnm was given. | |
5488 | if test "${enable_pnm+set}" = set; then | |
5489 | enableval="$enable_pnm" | |
5490 | ||
5491 | if test "$enableval" = yes; then | |
5492 | ac_cv_use_pnm='wxUSE_PNM=yes' | |
5493 | else | |
5494 | ac_cv_use_pnm='wxUSE_PNM=no' | |
5495 | fi | |
5496 | ||
5497 | else | |
5498 | ||
5499 | LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}` | |
5500 | if test "x$LINE" != x ; then | |
5501 | eval "DEFAULT_$LINE" | |
5502 | else | |
5503 | no_cache=1 | |
5504 | fi | |
5505 | ||
5506 | ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM | |
5507 | ||
5508 | fi | |
5509 | ||
5510 | ||
5511 | eval "$ac_cv_use_pnm" | |
5512 | if test "$no_cache" != 1; then | |
5513 | echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp | |
5514 | fi | |
5515 | ||
5516 | if test "$wxUSE_PNM" = yes; then | |
5517 | echo "$ac_t""yes" 1>&6 | |
5518 | else | |
5519 | echo "$ac_t""no" 1>&6 | |
5520 | fi | |
5521 | ||
5522 | ||
5523 | ||
a16d3c04 KB |
5524 | echo "saving argument cache $wx_arg_cache_file" |
5525 | mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file} | |
5526 | ||
5527 | ||
5528 | ||
5529 | echo $ac_n "checking for toolkit""... $ac_c" 1>&6 | |
f7a11f8c RR |
5530 | echo "configure:5531: checking for toolkit" >&5 |
5531 | ||
5532 | if test "$wxUSE_GUI" = "yes"; then | |
a16d3c04 KB |
5533 | |
5534 | if test "$TOOLKIT_GIVEN" = 1; then | |
5535 | for toolkit in `echo $ALL_TOOLKITS`; do | |
5536 | var=wxUSE_$toolkit | |
5537 | eval "value=\$${var}" | |
5538 | eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`" | |
5539 | done | |
5540 | else | |
5541 | for toolkit in `echo $ALL_TOOLKITS`; do | |
5542 | if test "$has_toolkit_in_cache" != 1; then | |
5543 | var=DEFAULT_DEFAULT_wxUSE_$toolkit | |
5544 | else | |
5545 | var=DEFAULT_wxUSE_$toolkit | |
5546 | fi | |
5547 | eval "wxUSE_$toolkit=\$${var}" | |
5548 | done | |
5549 | fi | |
5550 | ||
5551 | NUM_TOOLKITS=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0}` | |
5552 | ||
5553 | case "$NUM_TOOLKITS" in | |
5554 | 1) | |
5555 | ;; | |
5556 | 0) | |
5557 | { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; } | |
5558 | ;; | |
5559 | *) | |
5560 | { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; } | |
5561 | esac | |
5562 | ||
5563 | for toolkit in `echo $ALL_TOOLKITS`; do | |
5564 | var=wxUSE_$toolkit | |
5565 | eval "value=\$${var}" | |
5566 | if test "x$value" != x; then | |
5567 | cache_var=CACHE_$toolkit | |
5568 | eval "cache=\$${cache_var}" | |
5569 | if test "$cache" = 1; then | |
5570 | echo "$var=$value" >> ${wx_arg_cache_file} | |
5571 | fi | |
5572 | if test "$value" = 1; then | |
5573 | echo "$ac_t""`echo $toolkit | tr A-Z a-z`" 1>&6 | |
5574 | fi | |
5575 | fi | |
5576 | done | |
5577 | ||
f7a11f8c RR |
5578 | else |
5579 | echo "$ac_t""base only" 1>&6 | |
5580 | fi | |
5581 | ||
a16d3c04 KB |
5582 | |
5583 | cat > confcache <<\EOF | |
5584 | # This file is a shell script that caches the results of configure | |
5585 | # tests run on this system so they can be shared between configure | |
5586 | # scripts and configure runs. It is not useful on other systems. | |
5587 | # If it contains results you don't want to keep, you may remove or edit it. | |
5588 | # | |
5589 | # By default, configure uses ./config.cache as the cache file, | |
5590 | # creating it if it does not exist already. You can give configure | |
5591 | # the --cache-file=FILE option to use a different cache file; that is | |
5592 | # what configure does when it calls configure scripts in | |
5593 | # subdirectories, so they share the cache. | |
5594 | # Giving --cache-file=/dev/null disables caching, for debugging configure. | |
5595 | # config.status only pays attention to the cache file if you give it the | |
5596 | # --recheck option to rerun configure. | |
5597 | # | |
5598 | EOF | |
5599 | # The following way of writing the cache mishandles newlines in values, | |
5600 | # but we know of no workaround that is simple, portable, and efficient. | |
5601 | # So, don't put newlines in cache variables' values. | |
5602 | # Ultrix sh set writes to stderr and can't be redirected directly, | |
5603 | # and sets the high bit in the cache file unless we assign to the vars. | |
5604 | (set) 2>&1 | | |
fa3e4baf | 5605 | case `(ac_space=' '; set | grep ac_space) 2>&1` in |
a16d3c04 KB |
5606 | *ac_space=\ *) |
5607 | # `set' does not quote correctly, so add quotes (double-quote substitution | |
5608 | # turns \\\\ into \\, and sed turns \\ into \). | |
5609 | sed -n \ | |
5610 | -e "s/'/'\\\\''/g" \ | |
5611 | -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" | |
5612 | ;; | |
5613 | *) | |
5614 | # `set' quotes correctly as required by POSIX, so do not add quotes. | |
5615 | sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' | |
5616 | ;; | |
5617 | esac >> confcache | |
5618 | if cmp -s $cache_file confcache; then | |
5619 | : | |
5620 | else | |
5621 | if test -w $cache_file; then | |
5622 | echo "updating cache $cache_file" | |
5623 | cat confcache > $cache_file | |
5624 | else | |
5625 | echo "not updating unwritable cache $cache_file" | |
5626 | fi | |
5627 | fi | |
5628 | rm -f confcache | |
5629 | ||
5630 | ||
5631 | if eval "test $host != $build"; then | |
5632 | if eval "test $host_alias != NONE"; then | |
1c8515f9 KB |
5633 | CC=$host_alias-gcc |
5634 | CXX=$host_alias-c++ | |
a16d3c04 KB |
5635 | AR=$host_alias-ar |
5636 | RANLIB=$host_alias-ranlib | |
1c8515f9 KB |
5637 | DLLTOOL=$host_alias-dlltool |
5638 | LD=$host_alias-ld | |
a16d3c04 KB |
5639 | NM=$host_alias-nm |
5640 | STRIP=$host_alias-strip | |
5641 | fi | |
5642 | fi | |
5643 | ||
5644 | # Extract the first word of "gcc", so it can be a program name with args. | |
5645 | set dummy gcc; ac_word=$2 | |
5646 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
f7a11f8c | 5647 | echo "configure:5648: checking for $ac_word" >&5 |
a16d3c04 KB |
5648 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
5649 | echo $ac_n "(cached) $ac_c" 1>&6 | |
5650 | else | |
5651 | if test -n "$CC"; then | |
5652 | ac_cv_prog_CC="$CC" # Let the user override the test. | |
5653 | else | |
fa3e4baf KB |
5654 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
5655 | ac_dummy="$PATH" | |
5656 | for ac_dir in $ac_dummy; do | |
a16d3c04 KB |
5657 | test -z "$ac_dir" && ac_dir=. |
5658 | if test -f $ac_dir/$ac_word; then | |
5659 | ac_cv_prog_CC="gcc" | |
5660 | break | |
5661 | fi | |
5662 | done | |
5663 | IFS="$ac_save_ifs" | |
5664 | fi | |
5665 | fi | |
5666 | CC="$ac_cv_prog_CC" | |
5667 | if test -n "$CC"; then | |
5668 | echo "$ac_t""$CC" 1>&6 | |
5669 | else | |
5670 | echo "$ac_t""no" 1>&6 | |
5671 | fi | |
5672 | ||
5673 | if test -z "$CC"; then | |
5674 | # Extract the first word of "cc", so it can be a program name with args. | |
5675 | set dummy cc; ac_word=$2 | |
5676 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
f7a11f8c | 5677 | echo "configure:5678: checking for $ac_word" >&5 |
a16d3c04 KB |
5678 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
5679 | echo $ac_n "(cached) $ac_c" 1>&6 | |
5680 | else | |
5681 | if test -n "$CC"; then | |
5682 | ac_cv_prog_CC="$CC" # Let the user override the test. | |
5683 | else | |
fa3e4baf | 5684 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
a16d3c04 | 5685 | ac_prog_rejected=no |
fa3e4baf KB |
5686 | ac_dummy="$PATH" |
5687 | for ac_dir in $ac_dummy; do | |
a16d3c04 KB |
5688 | test -z "$ac_dir" && ac_dir=. |
5689 | if test -f $ac_dir/$ac_word; then | |
5690 | if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then | |
5691 | ac_prog_rejected=yes | |
5692 | continue | |
5693 | fi | |
5694 | ac_cv_prog_CC="cc" | |
5695 | break | |
5696 | fi | |
5697 | done | |
5698 | IFS="$ac_save_ifs" | |
5699 | if test $ac_prog_rejected = yes; then | |
5700 | # We found a bogon in the path, so make sure we never use it. | |
5701 | set dummy $ac_cv_prog_CC | |
5702 | shift | |
5703 | if test $# -gt 0; then | |
5704 | # We chose a different compiler from the bogus one. | |
5705 | # However, it has the same basename, so the bogon will be chosen | |
5706 | # first if we set CC to just the basename; use the full file name. | |
5707 | shift | |
5708 | set dummy "$ac_dir/$ac_word" "$@" | |
5709 | shift | |
5710 | ac_cv_prog_CC="$@" | |
5711 | fi | |
5712 | fi | |
5713 | fi | |
5714 | fi | |
5715 | CC="$ac_cv_prog_CC" | |
5716 | if test -n "$CC"; then | |
5717 | echo "$ac_t""$CC" 1>&6 | |
5718 | else | |
5719 | echo "$ac_t""no" 1>&6 | |
5720 | fi | |
5721 | ||
fa3e4baf KB |
5722 | if test -z "$CC"; then |
5723 | case "`uname -s`" in | |
5724 | *win32* | *WIN32*) | |
5725 | # Extract the first word of "cl", so it can be a program name with args. | |
5726 | set dummy cl; ac_word=$2 | |
5727 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
f7a11f8c | 5728 | echo "configure:5729: checking for $ac_word" >&5 |
fa3e4baf KB |
5729 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
5730 | echo $ac_n "(cached) $ac_c" 1>&6 | |
5731 | else | |
5732 | if test -n "$CC"; then | |
5733 | ac_cv_prog_CC="$CC" # Let the user override the test. | |
5734 | else | |
5735 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
5736 | ac_dummy="$PATH" | |
5737 | for ac_dir in $ac_dummy; do | |
5738 | test -z "$ac_dir" && ac_dir=. | |
5739 | if test -f $ac_dir/$ac_word; then | |
5740 | ac_cv_prog_CC="cl" | |
5741 | break | |
5742 | fi | |
5743 | done | |
5744 | IFS="$ac_save_ifs" | |
5745 | fi | |
5746 | fi | |
5747 | CC="$ac_cv_prog_CC" | |
5748 | if test -n "$CC"; then | |
5749 | echo "$ac_t""$CC" 1>&6 | |
5750 | else | |
5751 | echo "$ac_t""no" 1>&6 | |
5752 | fi | |
5753 | ;; | |
5754 | esac | |
5755 | fi | |
a16d3c04 KB |
5756 | test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
5757 | fi | |
5758 | ||
5759 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | |
f7a11f8c | 5760 | echo "configure:5761: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
a16d3c04 KB |
5761 | |
5762 | ac_ext=c | |
5763 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
5764 | ac_cpp='$CPP $CPPFLAGS' | |
5765 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | |
fa3e4baf | 5766 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
a16d3c04 KB |
5767 | cross_compiling=$ac_cv_prog_cc_cross |
5768 | ||
fa3e4baf KB |
5769 | cat > conftest.$ac_ext << EOF |
5770 | ||
f7a11f8c | 5771 | #line 5772 "configure" |
a16d3c04 | 5772 | #include "confdefs.h" |
fa3e4baf | 5773 | |
a16d3c04 KB |
5774 | main(){return(0);} |
5775 | EOF | |
f7a11f8c | 5776 | if { (eval echo configure:5777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
a16d3c04 KB |
5777 | ac_cv_prog_cc_works=yes |
5778 | # If we can't run a trivial program, we are probably using a cross compiler. | |
5779 | if (./conftest; exit) 2>/dev/null; then | |
5780 | ac_cv_prog_cc_cross=no | |
5781 | else | |
5782 | ac_cv_prog_cc_cross=yes | |
5783 | fi | |
5784 | else | |
5785 | echo "configure: failed program was:" >&5 | |
5786 | cat conftest.$ac_ext >&5 | |
5787 | ac_cv_prog_cc_works=no | |
5788 | fi | |
5789 | rm -fr conftest* | |
fa3e4baf KB |
5790 | ac_ext=c |
5791 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
5792 | ac_cpp='$CPP $CPPFLAGS' | |
5793 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | |
5794 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | |
5795 | cross_compiling=$ac_cv_prog_cc_cross | |
a16d3c04 KB |
5796 | |
5797 | echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | |
5798 | if test $ac_cv_prog_cc_works = no; then | |
5799 | { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | |
5800 | fi | |
5801 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | |
f7a11f8c | 5802 | echo "configure:5803: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
a16d3c04 KB |
5803 | echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
5804 | cross_compiling=$ac_cv_prog_cc_cross | |
5805 | ||
5806 | echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | |
f7a11f8c | 5807 | echo "configure:5808: checking whether we are using GNU C" >&5 |
a16d3c04 KB |
5808 | if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
5809 | echo $ac_n "(cached) $ac_c" 1>&6 | |
5810 | else | |
5811 | cat > conftest.c <<EOF | |
5812 | #ifdef __GNUC__ | |
5813 | yes; | |
5814 | #endif | |
5815 | EOF | |
f7a11f8c | 5816 | if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:5817: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
a16d3c04 KB |
5817 | ac_cv_prog_gcc=yes |
5818 | else | |
5819 | ac_cv_prog_gcc=no | |
5820 | fi | |
5821 | fi | |
5822 | ||
5823 | echo "$ac_t""$ac_cv_prog_gcc" 1>&6 | |
5824 | ||
5825 | if test $ac_cv_prog_gcc = yes; then | |
5826 | GCC=yes | |
fa3e4baf KB |
5827 | else |
5828 | GCC= | |
5829 | fi | |
5830 | ||
5831 | ac_test_CFLAGS="${CFLAGS+set}" | |
5832 | ac_save_CFLAGS="$CFLAGS" | |
5833 | CFLAGS= | |
5834 | echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | |
f7a11f8c | 5835 | echo "configure:5836: checking whether ${CC-cc} accepts -g" >&5 |
a16d3c04 KB |
5836 | if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
5837 | echo $ac_n "(cached) $ac_c" 1>&6 | |
5838 | else | |
5839 | echo 'void f(){}' > conftest.c | |
5840 | if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | |
5841 | ac_cv_prog_cc_g=yes | |
5842 | else | |
5843 | ac_cv_prog_cc_g=no | |
5844 | fi | |
5845 | rm -f conftest* | |
5846 | ||
5847 | fi | |
5848 | ||
5849 | echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 | |
fa3e4baf KB |
5850 | if test "$ac_test_CFLAGS" = set; then |
5851 | CFLAGS="$ac_save_CFLAGS" | |
5852 | elif test $ac_cv_prog_cc_g = yes; then | |
5853 | if test "$GCC" = yes; then | |
a16d3c04 KB |
5854 | CFLAGS="-g -O2" |
5855 | else | |
fa3e4baf | 5856 | CFLAGS="-g" |
a16d3c04 | 5857 | fi |
1c8515f9 | 5858 | else |
fa3e4baf KB |
5859 | if test "$GCC" = yes; then |
5860 | CFLAGS="-O2" | |
5861 | else | |
5862 | CFLAGS= | |
5863 | fi | |
a16d3c04 KB |
5864 | fi |
5865 | ||
5866 | ||
5867 | CFLAGS=`echo "$CFLAGS" | sed 's/-g//g'` | |
5868 | ||
5869 | echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | |
f7a11f8c | 5870 | echo "configure:5871: checking how to run the C preprocessor" >&5 |
a16d3c04 KB |
5871 | # On Suns, sometimes $CPP names a directory. |
5872 | if test -n "$CPP" && test -d "$CPP"; then | |
5873 | CPP= | |
5874 | fi | |
5875 | if test -z "$CPP"; then | |
5876 | if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then | |
5877 | echo $ac_n "(cached) $ac_c" 1>&6 | |
5878 | else | |
5879 | # This must be in double quotes, not single quotes, because CPP may get | |
5880 | # substituted into the Makefile and "${CC-cc}" will confuse make. | |
5881 | CPP="${CC-cc} -E" | |
5882 | # On the NeXT, cc -E runs the code through the compiler's parser, | |
5883 | # not just through cpp. | |
5884 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 5885 | #line 5886 "configure" |
a16d3c04 KB |
5886 | #include "confdefs.h" |
5887 | #include <assert.h> | |
5888 | Syntax Error | |
5889 | EOF | |
5890 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
f7a11f8c | 5891 | { (eval echo configure:5892: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
fa3e4baf | 5892 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
a16d3c04 KB |
5893 | if test -z "$ac_err"; then |
5894 | : | |
5895 | else | |
5896 | echo "$ac_err" >&5 | |
5897 | echo "configure: failed program was:" >&5 | |
5898 | cat conftest.$ac_ext >&5 | |
5899 | rm -rf conftest* | |
5900 | CPP="${CC-cc} -E -traditional-cpp" | |
5901 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 5902 | #line 5903 "configure" |
fa3e4baf KB |
5903 | #include "confdefs.h" |
5904 | #include <assert.h> | |
5905 | Syntax Error | |
5906 | EOF | |
5907 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
f7a11f8c | 5908 | { (eval echo configure:5909: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
fa3e4baf KB |
5909 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5910 | if test -z "$ac_err"; then | |
5911 | : | |
5912 | else | |
5913 | echo "$ac_err" >&5 | |
5914 | echo "configure: failed program was:" >&5 | |
5915 | cat conftest.$ac_ext >&5 | |
5916 | rm -rf conftest* | |
5917 | CPP="${CC-cc} -nologo -E" | |
5918 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 5919 | #line 5920 "configure" |
a16d3c04 KB |
5920 | #include "confdefs.h" |
5921 | #include <assert.h> | |
5922 | Syntax Error | |
5923 | EOF | |
5924 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
f7a11f8c | 5925 | { (eval echo configure:5926: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
fa3e4baf | 5926 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
a16d3c04 KB |
5927 | if test -z "$ac_err"; then |
5928 | : | |
5929 | else | |
5930 | echo "$ac_err" >&5 | |
5931 | echo "configure: failed program was:" >&5 | |
5932 | cat conftest.$ac_ext >&5 | |
5933 | rm -rf conftest* | |
5934 | CPP=/lib/cpp | |
5935 | fi | |
5936 | rm -f conftest* | |
5937 | fi | |
fa3e4baf KB |
5938 | rm -f conftest* |
5939 | fi | |
a16d3c04 KB |
5940 | rm -f conftest* |
5941 | ac_cv_prog_CPP="$CPP" | |
5942 | fi | |
5943 | CPP="$ac_cv_prog_CPP" | |
5944 | else | |
5945 | ac_cv_prog_CPP="$CPP" | |
5946 | fi | |
5947 | echo "$ac_t""$CPP" 1>&6 | |
5948 | ||
5949 | ||
5950 | if test $ac_cv_prog_gcc = yes; then | |
5951 | echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 | |
f7a11f8c | 5952 | echo "configure:5953: checking whether ${CC-cc} needs -traditional" >&5 |
a16d3c04 KB |
5953 | if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then |
5954 | echo $ac_n "(cached) $ac_c" 1>&6 | |
5955 | else | |
5956 | ac_pattern="Autoconf.*'x'" | |
5957 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 5958 | #line 5959 "configure" |
a16d3c04 KB |
5959 | #include "confdefs.h" |
5960 | #include <sgtty.h> | |
5961 | Autoconf TIOCGETP | |
5962 | EOF | |
5963 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
5964 | egrep "$ac_pattern" >/dev/null 2>&1; then | |
5965 | rm -rf conftest* | |
5966 | ac_cv_prog_gcc_traditional=yes | |
5967 | else | |
5968 | rm -rf conftest* | |
5969 | ac_cv_prog_gcc_traditional=no | |
5970 | fi | |
5971 | rm -f conftest* | |
5972 | ||
5973 | ||
5974 | if test $ac_cv_prog_gcc_traditional = no; then | |
5975 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 5976 | #line 5977 "configure" |
a16d3c04 KB |
5977 | #include "confdefs.h" |
5978 | #include <termio.h> | |
5979 | Autoconf TCGETA | |
5980 | EOF | |
5981 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
5982 | egrep "$ac_pattern" >/dev/null 2>&1; then | |
5983 | rm -rf conftest* | |
5984 | ac_cv_prog_gcc_traditional=yes | |
5985 | fi | |
5986 | rm -f conftest* | |
5987 | ||
5988 | fi | |
5989 | fi | |
5990 | ||
5991 | echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6 | |
5992 | if test $ac_cv_prog_gcc_traditional = yes; then | |
5993 | CC="$CC -traditional" | |
5994 | fi | |
5995 | fi | |
5996 | ||
5997 | ||
5998 | ||
5999 | ac_ext=C | |
6000 | # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
6001 | ac_cpp='$CXXCPP $CPPFLAGS' | |
6002 | ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | |
fa3e4baf | 6003 | ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
a16d3c04 KB |
6004 | cross_compiling=$ac_cv_prog_cxx_cross |
6005 | ||
6006 | ||
fa3e4baf | 6007 | for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl |
a16d3c04 KB |
6008 | do |
6009 | # Extract the first word of "$ac_prog", so it can be a program name with args. | |
6010 | set dummy $ac_prog; ac_word=$2 | |
6011 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
f7a11f8c | 6012 | echo "configure:6013: checking for $ac_word" >&5 |
a16d3c04 KB |
6013 | if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then |
6014 | echo $ac_n "(cached) $ac_c" 1>&6 | |
6015 | else | |
6016 | if test -n "$CXX"; then | |
6017 | ac_cv_prog_CXX="$CXX" # Let the user override the test. | |
6018 | else | |
fa3e4baf KB |
6019 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
6020 | ac_dummy="$PATH" | |
6021 | for ac_dir in $ac_dummy; do | |
a16d3c04 KB |
6022 | test -z "$ac_dir" && ac_dir=. |
6023 | if test -f $ac_dir/$ac_word; then | |
6024 | ac_cv_prog_CXX="$ac_prog" | |
6025 | break | |
6026 | fi | |
6027 | done | |
6028 | IFS="$ac_save_ifs" | |
6029 | fi | |
6030 | fi | |
6031 | CXX="$ac_cv_prog_CXX" | |
6032 | if test -n "$CXX"; then | |
6033 | echo "$ac_t""$CXX" 1>&6 | |
6034 | else | |
6035 | echo "$ac_t""no" 1>&6 | |
6036 | fi | |
6037 | ||
6038 | test -n "$CXX" && break | |
6039 | done | |
6040 | test -n "$CXX" || CXX="gcc" | |
6041 | ||
6042 | ||
6043 | echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | |
f7a11f8c | 6044 | echo "configure:6045: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 |
a16d3c04 KB |
6045 | |
6046 | ac_ext=C | |
6047 | # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
6048 | ac_cpp='$CXXCPP $CPPFLAGS' | |
6049 | ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | |
fa3e4baf | 6050 | ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
a16d3c04 KB |
6051 | cross_compiling=$ac_cv_prog_cxx_cross |
6052 | ||
fa3e4baf KB |
6053 | cat > conftest.$ac_ext << EOF |
6054 | ||
f7a11f8c | 6055 | #line 6056 "configure" |
a16d3c04 | 6056 | #include "confdefs.h" |
fa3e4baf KB |
6057 | |
6058 | int main(){return(0);} | |
a16d3c04 | 6059 | EOF |
f7a11f8c | 6060 | if { (eval echo configure:6061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
a16d3c04 KB |
6061 | ac_cv_prog_cxx_works=yes |
6062 | # If we can't run a trivial program, we are probably using a cross compiler. | |
6063 | if (./conftest; exit) 2>/dev/null; then | |
6064 | ac_cv_prog_cxx_cross=no | |
6065 | else | |
6066 | ac_cv_prog_cxx_cross=yes | |
6067 | fi | |
6068 | else | |
6069 | echo "configure: failed program was:" >&5 | |
6070 | cat conftest.$ac_ext >&5 | |
6071 | ac_cv_prog_cxx_works=no | |
6072 | fi | |
6073 | rm -fr conftest* | |
fa3e4baf KB |
6074 | ac_ext=C |
6075 | # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
6076 | ac_cpp='$CXXCPP $CPPFLAGS' | |
6077 | ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | |
6078 | ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | |
6079 | cross_compiling=$ac_cv_prog_cxx_cross | |
a16d3c04 KB |
6080 | |
6081 | echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6 | |
6082 | if test $ac_cv_prog_cxx_works = no; then | |
6083 | { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; } | |
6084 | fi | |
6085 | echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | |
f7a11f8c | 6086 | echo "configure:6087: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 |
a16d3c04 KB |
6087 | echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 |
6088 | cross_compiling=$ac_cv_prog_cxx_cross | |
6089 | ||
6090 | echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 | |
f7a11f8c | 6091 | echo "configure:6092: checking whether we are using GNU C++" >&5 |
a16d3c04 KB |
6092 | if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then |
6093 | echo $ac_n "(cached) $ac_c" 1>&6 | |
6094 | else | |
6095 | cat > conftest.C <<EOF | |
6096 | #ifdef __GNUC__ | |
6097 | yes; | |
6098 | #endif | |
6099 | EOF | |
f7a11f8c | 6100 | if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:6101: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
a16d3c04 KB |
6101 | ac_cv_prog_gxx=yes |
6102 | else | |
6103 | ac_cv_prog_gxx=no | |
6104 | fi | |
6105 | fi | |
6106 | ||
6107 | echo "$ac_t""$ac_cv_prog_gxx" 1>&6 | |
6108 | ||
6109 | if test $ac_cv_prog_gxx = yes; then | |
6110 | GXX=yes | |
fa3e4baf KB |
6111 | else |
6112 | GXX= | |
6113 | fi | |
6114 | ||
6115 | ac_test_CXXFLAGS="${CXXFLAGS+set}" | |
6116 | ac_save_CXXFLAGS="$CXXFLAGS" | |
6117 | CXXFLAGS= | |
6118 | echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 | |
f7a11f8c | 6119 | echo "configure:6120: checking whether ${CXX-g++} accepts -g" >&5 |
a16d3c04 KB |
6120 | if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then |
6121 | echo $ac_n "(cached) $ac_c" 1>&6 | |
6122 | else | |
6123 | echo 'void f(){}' > conftest.cc | |
6124 | if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then | |
6125 | ac_cv_prog_cxx_g=yes | |
6126 | else | |
6127 | ac_cv_prog_cxx_g=no | |
6128 | fi | |
6129 | rm -f conftest* | |
6130 | ||
6131 | fi | |
6132 | ||
6133 | echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6 | |
fa3e4baf KB |
6134 | if test "$ac_test_CXXFLAGS" = set; then |
6135 | CXXFLAGS="$ac_save_CXXFLAGS" | |
6136 | elif test $ac_cv_prog_cxx_g = yes; then | |
6137 | if test "$GXX" = yes; then | |
a16d3c04 KB |
6138 | CXXFLAGS="-g -O2" |
6139 | else | |
fa3e4baf | 6140 | CXXFLAGS="-g" |
a16d3c04 | 6141 | fi |
1c8515f9 | 6142 | else |
fa3e4baf KB |
6143 | if test "$GXX" = yes; then |
6144 | CXXFLAGS="-O2" | |
6145 | else | |
6146 | CXXFLAGS= | |
6147 | fi | |
a16d3c04 KB |
6148 | fi |
6149 | ||
6150 | ||
6151 | echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6 | |
f7a11f8c | 6152 | echo "configure:6153: checking how to run the C++ preprocessor" >&5 |
a16d3c04 KB |
6153 | if test -z "$CXXCPP"; then |
6154 | if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then | |
6155 | echo $ac_n "(cached) $ac_c" 1>&6 | |
6156 | else | |
6157 | ac_ext=C | |
6158 | # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
6159 | ac_cpp='$CXXCPP $CPPFLAGS' | |
6160 | ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | |
fa3e4baf | 6161 | ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
a16d3c04 KB |
6162 | cross_compiling=$ac_cv_prog_cxx_cross |
6163 | CXXCPP="${CXX-g++} -E" | |
6164 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 6165 | #line 6166 "configure" |
a16d3c04 KB |
6166 | #include "confdefs.h" |
6167 | #include <stdlib.h> | |
6168 | EOF | |
6169 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
f7a11f8c | 6170 | { (eval echo configure:6171: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
fa3e4baf | 6171 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
a16d3c04 KB |
6172 | if test -z "$ac_err"; then |
6173 | : | |
6174 | else | |
6175 | echo "$ac_err" >&5 | |
6176 | echo "configure: failed program was:" >&5 | |
6177 | cat conftest.$ac_ext >&5 | |
6178 | rm -rf conftest* | |
6179 | CXXCPP=/lib/cpp | |
6180 | fi | |
6181 | rm -f conftest* | |
6182 | ac_cv_prog_CXXCPP="$CXXCPP" | |
fa3e4baf KB |
6183 | ac_ext=C |
6184 | # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
6185 | ac_cpp='$CXXCPP $CPPFLAGS' | |
6186 | ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | |
6187 | ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | |
6188 | cross_compiling=$ac_cv_prog_cxx_cross | |
a16d3c04 KB |
6189 | fi |
6190 | fi | |
6191 | CXXCPP="$ac_cv_prog_CXXCPP" | |
6192 | echo "$ac_t""$CXXCPP" 1>&6 | |
6193 | ||
6194 | ||
6195 | CXXFLAGS=`echo "$CXXFLAGS" | sed 's/-g//g'` | |
6196 | ||
6197 | ac_ext=c | |
6198 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
6199 | ac_cpp='$CPP $CPPFLAGS' | |
6200 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | |
fa3e4baf | 6201 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
a16d3c04 KB |
6202 | cross_compiling=$ac_cv_prog_cc_cross |
6203 | ||
6204 | ||
6205 | # Extract the first word of "ranlib", so it can be a program name with args. | |
6206 | set dummy ranlib; ac_word=$2 | |
6207 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
f7a11f8c | 6208 | echo "configure:6209: checking for $ac_word" >&5 |
a16d3c04 KB |
6209 | if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then |
6210 | echo $ac_n "(cached) $ac_c" 1>&6 | |
6211 | else | |
6212 | if test -n "$RANLIB"; then | |
6213 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | |
6214 | else | |
fa3e4baf KB |
6215 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
6216 | ac_dummy="$PATH" | |
6217 | for ac_dir in $ac_dummy; do | |
a16d3c04 KB |
6218 | test -z "$ac_dir" && ac_dir=. |
6219 | if test -f $ac_dir/$ac_word; then | |
6220 | ac_cv_prog_RANLIB="ranlib" | |
6221 | break | |
6222 | fi | |
6223 | done | |
6224 | IFS="$ac_save_ifs" | |
6225 | test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" | |
6226 | fi | |
6227 | fi | |
6228 | RANLIB="$ac_cv_prog_RANLIB" | |
6229 | if test -n "$RANLIB"; then | |
6230 | echo "$ac_t""$RANLIB" 1>&6 | |
6231 | else | |
6232 | echo "$ac_t""no" 1>&6 | |
6233 | fi | |
6234 | ||
6235 | ||
6236 | # Extract the first word of "ar", so it can be a program name with args. | |
6237 | set dummy ar; ac_word=$2 | |
6238 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
f7a11f8c | 6239 | echo "configure:6240: checking for $ac_word" >&5 |
a16d3c04 KB |
6240 | if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then |
6241 | echo $ac_n "(cached) $ac_c" 1>&6 | |
6242 | else | |
6243 | if test -n "$AR"; then | |
6244 | ac_cv_prog_AR="$AR" # Let the user override the test. | |
6245 | else | |
fa3e4baf KB |
6246 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
6247 | ac_dummy="$PATH" | |
6248 | for ac_dir in $ac_dummy; do | |
a16d3c04 KB |
6249 | test -z "$ac_dir" && ac_dir=. |
6250 | if test -f $ac_dir/$ac_word; then | |
6251 | ac_cv_prog_AR="ar" | |
6252 | break | |
6253 | fi | |
6254 | done | |
6255 | IFS="$ac_save_ifs" | |
6256 | test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar" | |
6257 | fi | |
6258 | fi | |
6259 | AR="$ac_cv_prog_AR" | |
6260 | if test -n "$AR"; then | |
6261 | echo "$ac_t""$AR" 1>&6 | |
6262 | else | |
6263 | echo "$ac_t""no" 1>&6 | |
6264 | fi | |
6265 | ||
6266 | ||
6267 | # Find a good install program. We prefer a C program (faster), | |
6268 | # so one script is as good as another. But avoid the broken or | |
6269 | # incompatible versions: | |
6270 | # SysV /etc/install, /usr/sbin/install | |
6271 | # SunOS /usr/etc/install | |
6272 | # IRIX /sbin/install | |
6273 | # AIX /bin/install | |
fa3e4baf | 6274 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
a16d3c04 KB |
6275 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
6276 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | |
6277 | # ./install, which can be erroneously created by make from ./install.sh. | |
6278 | echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | |
f7a11f8c | 6279 | echo "configure:6280: checking for a BSD compatible install" >&5 |
a16d3c04 KB |
6280 | if test -z "$INSTALL"; then |
6281 | if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | |
6282 | echo $ac_n "(cached) $ac_c" 1>&6 | |
6283 | else | |
fa3e4baf | 6284 | IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
a16d3c04 KB |
6285 | for ac_dir in $PATH; do |
6286 | # Account for people who put trailing slashes in PATH elements. | |
6287 | case "$ac_dir/" in | |
6288 | /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; | |
6289 | *) | |
6290 | # OSF1 and SCO ODT 3.0 have their own names for install. | |
fa3e4baf KB |
6291 | # Don't use installbsd from OSF since it installs stuff as root |
6292 | # by default. | |
6293 | for ac_prog in ginstall scoinst install; do | |
a16d3c04 KB |
6294 | if test -f $ac_dir/$ac_prog; then |
6295 | if test $ac_prog = install && | |
6296 | grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then | |
6297 | # AIX install. It has an incompatible calling convention. | |
6298 | : | |
6299 | else | |
6300 | ac_cv_path_install="$ac_dir/$ac_prog -c" | |
6301 | break 2 | |
6302 | fi | |
6303 | fi | |
6304 | done | |
6305 | ;; | |
6306 | esac | |
6307 | done | |
6308 | IFS="$ac_save_IFS" | |
6309 | ||
6310 | fi | |
6311 | if test "${ac_cv_path_install+set}" = set; then | |
6312 | INSTALL="$ac_cv_path_install" | |
6313 | else | |
6314 | # As a last resort, use the slow shell script. We don't cache a | |
6315 | # path for INSTALL within a source directory, because that will | |
6316 | # break other packages using the cache if that directory is | |
6317 | # removed, or if the path is relative. | |
6318 | INSTALL="$ac_install_sh" | |
6319 | fi | |
6320 | fi | |
6321 | echo "$ac_t""$INSTALL" 1>&6 | |
6322 | ||
6323 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | |
6324 | # It thinks the first close brace ends the variable substitution. | |
6325 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | |
6326 | ||
fa3e4baf KB |
6327 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' |
6328 | ||
a16d3c04 KB |
6329 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
6330 | ||
6331 | ||
6332 | # Extract the first word of "strip", so it can be a program name with args. | |
6333 | set dummy strip; ac_word=$2 | |
6334 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
f7a11f8c | 6335 | echo "configure:6336: checking for $ac_word" >&5 |
a16d3c04 KB |
6336 | if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then |
6337 | echo $ac_n "(cached) $ac_c" 1>&6 | |
6338 | else | |
6339 | if test -n "$STRIP"; then | |
6340 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | |
6341 | else | |
fa3e4baf KB |
6342 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
6343 | ac_dummy="$PATH" | |
6344 | for ac_dir in $ac_dummy; do | |
a16d3c04 KB |
6345 | test -z "$ac_dir" && ac_dir=. |
6346 | if test -f $ac_dir/$ac_word; then | |
6347 | ac_cv_prog_STRIP="strip" | |
6348 | break | |
6349 | fi | |
6350 | done | |
6351 | IFS="$ac_save_ifs" | |
6352 | test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true" | |
6353 | fi | |
6354 | fi | |
6355 | STRIP="$ac_cv_prog_STRIP" | |
6356 | if test -n "$STRIP"; then | |
6357 | echo "$ac_t""$STRIP" 1>&6 | |
6358 | else | |
6359 | echo "$ac_t""no" 1>&6 | |
6360 | fi | |
6361 | ||
6362 | ||
6363 | echo $ac_n "checking "make for VPATH support"""... $ac_c" 1>&6 | |
f7a11f8c | 6364 | echo "configure:6365: checking "make for VPATH support"" >&5 |
a16d3c04 KB |
6365 | cat - << EOF > confMake |
6366 | check : file | |
6367 | cp \$? \$@ | |
6368 | cp \$? final_file | |
6369 | EOF | |
6370 | ||
6371 | if test ! -d sub ; then | |
6372 | mkdir sub | |
6373 | fi | |
6374 | echo dummy > sub/file | |
6375 | ${MAKE-make} -f confMake VPATH=sub 2> config.log > /dev/null | |
6376 | RESULT=$? | |
6377 | rm -f sub/file check final_file confMake | |
6378 | rmdir sub | |
6379 | if test "$RESULT" = 0; then | |
6380 | echo "$ac_t""yes" 1>&6 | |
6381 | else | |
6382 | echo "$ac_t""no" 1>&6 | |
6383 | { echo "configure: error: You need a make-utility that is able to use the variable | |
6384 | VPATH correctly. | |
6385 | If your version of make does not support VPATH correctly" 1>&2; exit 1; } | |
6386 | fi | |
6387 | ||
6388 | for ac_prog in 'bison -y' byacc | |
6389 | do | |
6390 | # Extract the first word of "$ac_prog", so it can be a program name with args. | |
6391 | set dummy $ac_prog; ac_word=$2 | |
6392 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
f7a11f8c | 6393 | echo "configure:6394: checking for $ac_word" >&5 |
a16d3c04 KB |
6394 | if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then |
6395 | echo $ac_n "(cached) $ac_c" 1>&6 | |
6396 | else | |
6397 | if test -n "$YACC"; then | |
6398 | ac_cv_prog_YACC="$YACC" # Let the user override the test. | |
6399 | else | |
fa3e4baf KB |
6400 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
6401 | ac_dummy="$PATH" | |
6402 | for ac_dir in $ac_dummy; do | |
a16d3c04 KB |
6403 | test -z "$ac_dir" && ac_dir=. |
6404 | if test -f $ac_dir/$ac_word; then | |
6405 | ac_cv_prog_YACC="$ac_prog" | |
6406 | break | |
6407 | fi | |
6408 | done | |
6409 | IFS="$ac_save_ifs" | |
6410 | fi | |
6411 | fi | |
6412 | YACC="$ac_cv_prog_YACC" | |
6413 | if test -n "$YACC"; then | |
6414 | echo "$ac_t""$YACC" 1>&6 | |
6415 | else | |
6416 | echo "$ac_t""no" 1>&6 | |
6417 | fi | |
6418 | ||
6419 | test -n "$YACC" && break | |
6420 | done | |
6421 | test -n "$YACC" || YACC="yacc" | |
6422 | ||
6423 | ||
6424 | # Extract the first word of "flex", so it can be a program name with args. | |
6425 | set dummy flex; ac_word=$2 | |
6426 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
f7a11f8c | 6427 | echo "configure:6428: checking for $ac_word" >&5 |
a16d3c04 KB |
6428 | if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then |
6429 | echo $ac_n "(cached) $ac_c" 1>&6 | |
6430 | else | |
6431 | if test -n "$LEX"; then | |
6432 | ac_cv_prog_LEX="$LEX" # Let the user override the test. | |
6433 | else | |
fa3e4baf KB |
6434 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
6435 | ac_dummy="$PATH" | |
6436 | for ac_dir in $ac_dummy; do | |
a16d3c04 KB |
6437 | test -z "$ac_dir" && ac_dir=. |
6438 | if test -f $ac_dir/$ac_word; then | |
6439 | ac_cv_prog_LEX="flex" | |
6440 | break | |
6441 | fi | |
6442 | done | |
6443 | IFS="$ac_save_ifs" | |
6444 | test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX="lex" | |
6445 | fi | |
6446 | fi | |
6447 | LEX="$ac_cv_prog_LEX" | |
6448 | if test -n "$LEX"; then | |
6449 | echo "$ac_t""$LEX" 1>&6 | |
6450 | else | |
6451 | echo "$ac_t""no" 1>&6 | |
6452 | fi | |
6453 | ||
6454 | if test -z "$LEXLIB" | |
6455 | then | |
6456 | case "$LEX" in | |
6457 | flex*) ac_lib=fl ;; | |
6458 | *) ac_lib=l ;; | |
6459 | esac | |
6460 | echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6 | |
f7a11f8c | 6461 | echo "configure:6462: checking for yywrap in -l$ac_lib" >&5 |
a16d3c04 KB |
6462 | ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'` |
6463 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
6464 | echo $ac_n "(cached) $ac_c" 1>&6 | |
6465 | else | |
6466 | ac_save_LIBS="$LIBS" | |
6467 | LIBS="-l$ac_lib $LIBS" | |
6468 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 6469 | #line 6470 "configure" |
a16d3c04 KB |
6470 | #include "confdefs.h" |
6471 | /* Override any gcc2 internal prototype to avoid an error. */ | |
6472 | /* We use char because int might match the return type of a gcc2 | |
6473 | builtin and then its argument prototype would still apply. */ | |
6474 | char yywrap(); | |
6475 | ||
6476 | int main() { | |
6477 | yywrap() | |
6478 | ; return 0; } | |
6479 | EOF | |
f7a11f8c | 6480 | if { (eval echo configure:6481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
a16d3c04 KB |
6481 | rm -rf conftest* |
6482 | eval "ac_cv_lib_$ac_lib_var=yes" | |
6483 | else | |
6484 | echo "configure: failed program was:" >&5 | |
6485 | cat conftest.$ac_ext >&5 | |
6486 | rm -rf conftest* | |
6487 | eval "ac_cv_lib_$ac_lib_var=no" | |
6488 | fi | |
6489 | rm -f conftest* | |
6490 | LIBS="$ac_save_LIBS" | |
6491 | ||
6492 | fi | |
6493 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
6494 | echo "$ac_t""yes" 1>&6 | |
6495 | LEXLIB="-l$ac_lib" | |
6496 | else | |
6497 | echo "$ac_t""no" 1>&6 | |
6498 | fi | |
6499 | ||
6500 | fi | |
6501 | ||
6502 | ||
6503 | echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | |
f7a11f8c | 6504 | echo "configure:6505: checking whether ln -s works" >&5 |
a16d3c04 KB |
6505 | if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then |
6506 | echo $ac_n "(cached) $ac_c" 1>&6 | |
6507 | else | |
6508 | rm -f conftestdata | |
6509 | if ln -s X conftestdata 2>/dev/null | |
6510 | then | |
6511 | rm -f conftestdata | |
6512 | ac_cv_prog_LN_S="ln -s" | |
6513 | else | |
6514 | ac_cv_prog_LN_S=ln | |
6515 | fi | |
6516 | fi | |
6517 | LN_S="$ac_cv_prog_LN_S" | |
6518 | if test "$ac_cv_prog_LN_S" = "ln -s"; then | |
6519 | echo "$ac_t""yes" 1>&6 | |
6520 | else | |
6521 | echo "$ac_t""no" 1>&6 | |
6522 | fi | |
6523 | ||
6524 | ||
6525 | ||
6526 | SEARCH_INCLUDE="\ | |
6527 | /usr/Motif-1.2/include \ | |
6528 | /usr/Motif-2.1/include \ | |
6529 | \ | |
6530 | /usr/include/Motif1.2 \ | |
6531 | /opt/xpm/include/X11 \ | |
6532 | /opt/GBxpm/include/ \ | |
6533 | /opt/GBxpm/X11/include/ \ | |
6534 | \ | |
6535 | /usr/Motif1.2/include \ | |
6536 | /usr/dt/include \ | |
6537 | /usr/include/Xm \ | |
6538 | \ | |
6539 | /usr/X11R6/include \ | |
6540 | /usr/X11R5/include \ | |
6541 | /usr/X11R4/include \ | |
6542 | \ | |
6543 | /usr/X11R6/lib \ | |
6544 | /usr/X11R5/lib \ | |
6545 | /usr/X11R4/lib \ | |
6546 | \ | |
6547 | /usr/include/X11R6 \ | |
6548 | /usr/include/X11R5 \ | |
6549 | /usr/include/X11R4 \ | |
6550 | \ | |
6551 | /usr/local/X11R6/include \ | |
6552 | /usr/local/X11R5/include \ | |
6553 | /usr/local/X11R4/include \ | |
6554 | \ | |
6555 | /usr/local/include/X11R6 \ | |
6556 | /usr/local/include/X11R5 \ | |
6557 | /usr/local/include/X11R4 \ | |
6558 | \ | |
6559 | /usr/X11/include \ | |
6560 | /usr/include/X11 \ | |
6561 | /usr/local/X11/include \ | |
6562 | /usr/local/include/X11 \ | |
6563 | \ | |
6564 | /usr/X386/include \ | |
6565 | /usr/x386/include \ | |
6566 | /usr/XFree86/include/X11 \ | |
6567 | \ | |
6568 | /usr/include \ | |
6569 | /usr/local/include \ | |
6570 | \ | |
6571 | /usr/include/gtk \ | |
6572 | /usr/local/include/gtk \ | |
6573 | /usr/include/glib \ | |
6574 | /usr/local/include/glib \ | |
6575 | \ | |
6576 | /usr/include/qt \ | |
6577 | /usr/local/include/qt \ | |
6578 | \ | |
6579 | /usr/include/windows \ | |
6580 | /usr/include/wine \ | |
6581 | /usr/local/include/wine \ | |
6582 | \ | |
6583 | /usr/unsupported/include \ | |
6584 | /usr/athena/include \ | |
6585 | /usr/local/x11r5/include \ | |
6586 | /usr/lpp/Xamples/include \ | |
6587 | \ | |
6588 | /usr/openwin/include \ | |
6589 | /usr/openwin/share/include \ | |
6590 | " | |
6591 | ||
6592 | SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` " | |
6593 | ||
6594 | ||
6595 | cat > confcache <<\EOF | |
6596 | # This file is a shell script that caches the results of configure | |
6597 | # tests run on this system so they can be shared between configure | |
6598 | # scripts and configure runs. It is not useful on other systems. | |
6599 | # If it contains results you don't want to keep, you may remove or edit it. | |
6600 | # | |
6601 | # By default, configure uses ./config.cache as the cache file, | |
6602 | # creating it if it does not exist already. You can give configure | |
6603 | # the --cache-file=FILE option to use a different cache file; that is | |
6604 | # what configure does when it calls configure scripts in | |
6605 | # subdirectories, so they share the cache. | |
6606 | # Giving --cache-file=/dev/null disables caching, for debugging configure. | |
6607 | # config.status only pays attention to the cache file if you give it the | |
6608 | # --recheck option to rerun configure. | |
6609 | # | |
6610 | EOF | |
6611 | # The following way of writing the cache mishandles newlines in values, | |
6612 | # but we know of no workaround that is simple, portable, and efficient. | |
6613 | # So, don't put newlines in cache variables' values. | |
6614 | # Ultrix sh set writes to stderr and can't be redirected directly, | |
6615 | # and sets the high bit in the cache file unless we assign to the vars. | |
6616 | (set) 2>&1 | | |
fa3e4baf | 6617 | case `(ac_space=' '; set | grep ac_space) 2>&1` in |
a16d3c04 KB |
6618 | *ac_space=\ *) |
6619 | # `set' does not quote correctly, so add quotes (double-quote substitution | |
6620 | # turns \\\\ into \\, and sed turns \\ into \). | |
6621 | sed -n \ | |
6622 | -e "s/'/'\\\\''/g" \ | |
6623 | -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" | |
6624 | ;; | |
6625 | *) | |
6626 | # `set' quotes correctly as required by POSIX, so do not add quotes. | |
6627 | sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' | |
6628 | ;; | |
6629 | esac >> confcache | |
6630 | if cmp -s $cache_file confcache; then | |
6631 | : | |
6632 | else | |
6633 | if test -w $cache_file; then | |
6634 | echo "updating cache $cache_file" | |
6635 | cat confcache > $cache_file | |
6636 | else | |
6637 | echo "not updating unwritable cache $cache_file" | |
6638 | fi | |
6639 | fi | |
6640 | rm -f confcache | |
6641 | ||
6642 | ||
6643 | ||
f7a11f8c RR |
6644 | if test "$wxUSE_GUI" = "yes"; then |
6645 | ||
a16d3c04 KB |
6646 | TOOLKIT= |
6647 | TOOLKIT_INCLUDE= | |
6648 | ||
6649 | GUIOBJS= | |
6650 | COMMONOBJS= | |
6651 | GENERICOBJS= | |
6652 | ||
6653 | GUI_TK_LIBRARY= | |
6654 | GUI_TK_LINK= | |
6655 | ||
6656 | WXGTK12= | |
6657 | ||
6658 | WXWINE= | |
6659 | ||
1c8515f9 | 6660 | PROGRAM_EXT= |
a16d3c04 KB |
6661 | |
6662 | if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then | |
6663 | if test "$cross_compiling" = "yes" ; then | |
f7a11f8c | 6664 | echo "configure: warning: Cross compiling --- skipping windows.h check" 1>&2 |
a16d3c04 | 6665 | else |
f7a11f8c RR |
6666 | echo $ac_n "checking for Windows headers""... $ac_c" 1>&6 |
6667 | echo "configure:6668: checking for Windows headers" >&5 | |
6668 | ||
a16d3c04 KB |
6669 | ac_find_includes= |
6670 | for ac_dir in $SEARCH_INCLUDE; | |
6671 | do | |
6672 | if test -f "$ac_dir/windows.h"; then | |
6673 | ac_find_includes=$ac_dir | |
6674 | break | |
6675 | fi | |
6676 | done | |
6677 | ||
f7a11f8c | 6678 | if test "$ac_find_includes" != "" ; then |
a16d3c04 KB |
6679 | echo "$ac_t""found $ac_find_includes" 1>&6 |
6680 | TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -I$ac_find_includes" | |
f7a11f8c | 6681 | else |
a16d3c04 KB |
6682 | echo "$ac_t""no" 1>&6 |
6683 | { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; } | |
1c8515f9 | 6684 | fi |
a16d3c04 | 6685 | fi |
1c8515f9 | 6686 | |
a16d3c04 KB |
6687 | INCLUDE_SUBDIRS="$INCLUDE_SUBDIRS msw" |
6688 | LIBS="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32" | |
6689 | ||
6690 | TOOLKIT=MSW | |
1c8515f9 | 6691 | |
f7a11f8c RR |
6692 | GUIOBJS="\$(MSW_GUIOBJS)" |
6693 | GUIHEADERS="\$(MSW_HEADERS)" | |
6694 | COMMONOBJS="\$(MSW_COMMONOBJS)" | |
6695 | GENERICOBJS="\$(MSW_GENERICOBJS)" | |
a16d3c04 KB |
6696 | UNIXOBJS= |
6697 | GUIDIST=MSW_DIST | |
6698 | PROGRAM_EXT=.exe | |
6699 | fi | |
6700 | ||
6701 | if test "$wxUSE_GTK" = 1; then | |
6702 | ||
6703 | if test x$gtk_config_exec_prefix != x ; then | |
6704 | gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix" | |
6705 | if test x${GTK_CONFIG+set} != xset ; then | |
6706 | GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config | |
6707 | fi | |
6708 | fi | |
6709 | if test x$gtk_config_prefix != x ; then | |
6710 | gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix" | |
6711 | if test x${GTK_CONFIG+set} != xset ; then | |
6712 | GTK_CONFIG=$gtk_config_prefix/bin/gtk-config | |
6713 | fi | |
6714 | fi | |
6715 | ||
6716 | # Extract the first word of "gtk-config", so it can be a program name with args. | |
6717 | set dummy gtk-config; ac_word=$2 | |
6718 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
f7a11f8c | 6719 | echo "configure:6720: checking for $ac_word" >&5 |
a16d3c04 KB |
6720 | if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then |
6721 | echo $ac_n "(cached) $ac_c" 1>&6 | |
6722 | else | |
6723 | case "$GTK_CONFIG" in | |
6724 | /*) | |
6725 | ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path. | |
6726 | ;; | |
fa3e4baf KB |
6727 | ?:/*) |
6728 | ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a dos path. | |
6729 | ;; | |
a16d3c04 | 6730 | *) |
fa3e4baf KB |
6731 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
6732 | ac_dummy="$PATH" | |
6733 | for ac_dir in $ac_dummy; do | |
a16d3c04 KB |
6734 | test -z "$ac_dir" && ac_dir=. |
6735 | if test -f $ac_dir/$ac_word; then | |
6736 | ac_cv_path_GTK_CONFIG="$ac_dir/$ac_word" | |
6737 | break | |
6738 | fi | |
6739 | done | |
6740 | IFS="$ac_save_ifs" | |
6741 | test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no" | |
6742 | ;; | |
6743 | esac | |
6744 | fi | |
6745 | GTK_CONFIG="$ac_cv_path_GTK_CONFIG" | |
6746 | if test -n "$GTK_CONFIG"; then | |
6747 | echo "$ac_t""$GTK_CONFIG" 1>&6 | |
6748 | else | |
6749 | echo "$ac_t""no" 1>&6 | |
6750 | fi | |
6751 | ||
6752 | min_gtk_version=1.2.0 | |
6753 | echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6 | |
f7a11f8c | 6754 | echo "configure:6755: checking for GTK - version >= $min_gtk_version" >&5 |
a16d3c04 KB |
6755 | no_gtk="" |
6756 | if test "$GTK_CONFIG" != "no" ; then | |
6757 | GTK_CFLAGS=`$GTK_CONFIG --cflags` | |
6758 | GTK_LIBS=`$GTK_CONFIG --libs` | |
6759 | ac_save_CFLAGS="$CFLAGS" | |
6760 | ac_save_LIBS="$LIBS" | |
6761 | CFLAGS="$CFLAGS $GTK_CFLAGS" | |
6762 | LIBS="$LIBS $GTK_LIBS" | |
6763 | if test "$cross_compiling" = yes; then | |
6764 | echo $ac_n "cross compiling; assumed OK... $ac_c" | |
6765 | else | |
6766 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 6767 | #line 6768 "configure" |
a16d3c04 KB |
6768 | #include "confdefs.h" |
6769 | ||
6770 | #include <gtk/gtk.h> | |
6771 | #include <stdio.h> | |
6772 | ||
6773 | int | |
6774 | main () | |
6775 | { | |
6776 | int major, minor, micro; | |
6777 | ||
6778 | if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) { | |
6779 | printf("%s, bad version string\n", "$min_gtk_version"); | |
6780 | exit(1); | |
6781 | } | |
6782 | ||
6783 | if (gtk_minor_version == 1) return FALSE; | |
6784 | ||
6785 | return !((gtk_major_version > major) || | |
f7a11f8c RR |
6786 | ((gtk_major_version == major) && (gtk_minor_version > minor)) || |
6787 | ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro))); | |
a16d3c04 KB |
6788 | } |
6789 | ||
6790 | EOF | |
f7a11f8c | 6791 | if { (eval echo configure:6792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
a16d3c04 KB |
6792 | then |
6793 | : | |
6794 | else | |
6795 | echo "configure: failed program was:" >&5 | |
6796 | cat conftest.$ac_ext >&5 | |
6797 | rm -fr conftest* | |
6798 | no_gtk=yes | |
6799 | fi | |
6800 | rm -fr conftest* | |
6801 | fi | |
6802 | ||
6803 | CFLAGS="$ac_save_CFLAGS" | |
6804 | LIBS="$ac_save_LIBS" | |
6805 | else | |
6806 | no_gtk=yes | |
6807 | fi | |
6808 | if test "x$no_gtk" = x ; then | |
6809 | echo "$ac_t""yes" 1>&6 | |
6810 | WXGTK12=1 | |
6811 | else | |
6812 | echo "$ac_t""no" 1>&6 | |
6813 | GTK_CFLAGS="" | |
6814 | GTK_LIBS="" | |
6815 | : | |
6816 | fi | |
6817 | ||
6818 | ||
6819 | ||
6820 | if test "$WXGTK12" != 1; then | |
6821 | ||
6822 | if test x$gtk_config_exec_prefix != x ; then | |
6823 | gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix" | |
6824 | if test x${GTK_CONFIG+set} != xset ; then | |
6825 | GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config | |
6826 | fi | |
6827 | fi | |
6828 | if test x$gtk_config_prefix != x ; then | |
6829 | gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix" | |
6830 | if test x${GTK_CONFIG+set} != xset ; then | |
6831 | GTK_CONFIG=$gtk_config_prefix/bin/gtk-config | |
6832 | fi | |
6833 | fi | |
6834 | ||
6835 | # Extract the first word of "gtk-config", so it can be a program name with args. | |
6836 | set dummy gtk-config; ac_word=$2 | |
6837 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
f7a11f8c | 6838 | echo "configure:6839: checking for $ac_word" >&5 |
a16d3c04 KB |
6839 | if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then |
6840 | echo $ac_n "(cached) $ac_c" 1>&6 | |
6841 | else | |
6842 | case "$GTK_CONFIG" in | |
6843 | /*) | |
6844 | ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path. | |
6845 | ;; | |
fa3e4baf KB |
6846 | ?:/*) |
6847 | ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a dos path. | |
6848 | ;; | |
a16d3c04 | 6849 | *) |
fa3e4baf KB |
6850 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
6851 | ac_dummy="$PATH" | |
6852 | for ac_dir in $ac_dummy; do | |
a16d3c04 KB |
6853 | test -z "$ac_dir" && ac_dir=. |
6854 | if test -f $ac_dir/$ac_word; then | |
6855 | ac_cv_path_GTK_CONFIG="$ac_dir/$ac_word" | |
6856 | break | |
6857 | fi | |
6858 | done | |
6859 | IFS="$ac_save_ifs" | |
6860 | test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no" | |
6861 | ;; | |
6862 | esac | |
6863 | fi | |
6864 | GTK_CONFIG="$ac_cv_path_GTK_CONFIG" | |
6865 | if test -n "$GTK_CONFIG"; then | |
6866 | echo "$ac_t""$GTK_CONFIG" 1>&6 | |
6867 | else | |
6868 | echo "$ac_t""no" 1>&6 | |
6869 | fi | |
6870 | ||
6871 | min_gtk_version=1.0.0 | |
6872 | echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6 | |
f7a11f8c | 6873 | echo "configure:6874: checking for GTK - version >= $min_gtk_version" >&5 |
a16d3c04 KB |
6874 | no_gtk="" |
6875 | if test "$GTK_CONFIG" != "no" ; then | |
6876 | GTK_CFLAGS=`$GTK_CONFIG --cflags` | |
6877 | GTK_LIBS=`$GTK_CONFIG --libs` | |
6878 | ac_save_CFLAGS="$CFLAGS" | |
6879 | ac_save_LIBS="$LIBS" | |
6880 | CFLAGS="$CFLAGS $GTK_CFLAGS" | |
6881 | LIBS="$LIBS $GTK_LIBS" | |
6882 | if test "$cross_compiling" = yes; then | |
6883 | echo $ac_n "cross compiling; assumed OK... $ac_c" | |
6884 | else | |
6885 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 6886 | #line 6887 "configure" |
a16d3c04 KB |
6887 | #include "confdefs.h" |
6888 | ||
6889 | #include <gtk/gtk.h> | |
6890 | #include <stdio.h> | |
6891 | ||
6892 | int | |
6893 | main () | |
6894 | { | |
6895 | int major, minor, micro; | |
6896 | ||
6897 | if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) { | |
6898 | printf("%s, bad version string\n", "$min_gtk_version"); | |
6899 | exit(1); | |
6900 | } | |
6901 | ||
6902 | if (gtk_minor_version == 1) return FALSE; | |
6903 | ||
6904 | return !((gtk_major_version > major) || | |
f7a11f8c RR |
6905 | ((gtk_major_version == major) && (gtk_minor_version > minor)) || |
6906 | ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro))); | |
a16d3c04 KB |
6907 | } |
6908 | ||
6909 | EOF | |
f7a11f8c | 6910 | if { (eval echo configure:6911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
a16d3c04 KB |
6911 | then |
6912 | : | |
6913 | else | |
6914 | echo "configure: failed program was:" >&5 | |
6915 | cat conftest.$ac_ext >&5 | |
6916 | rm -fr conftest* | |
6917 | no_gtk=yes | |
6918 | fi | |
6919 | rm -fr conftest* | |
6920 | fi | |
6921 | ||
6922 | CFLAGS="$ac_save_CFLAGS" | |
6923 | LIBS="$ac_save_LIBS" | |
6924 | else | |
6925 | no_gtk=yes | |
6926 | fi | |
6927 | if test "x$no_gtk" = x ; then | |
6928 | echo "$ac_t""yes" 1>&6 | |
6929 | : | |
6930 | else | |
6931 | echo "$ac_t""no" 1>&6 | |
6932 | GTK_CFLAGS="" | |
6933 | GTK_LIBS="" | |
6934 | { echo "configure: error: Is gtk-config in path and GTK+ is version 1.2.X or 1.0.X?" 1>&2; exit 1; } | |
6935 | fi | |
6936 | ||
6937 | ||
6938 | ||
6939 | fi | |
6940 | ||
6941 | TOOLKIT_INCLUDE="$GTK_CFLAGS" | |
f7a11f8c | 6942 | GUI_TK_LIBRARY="$GTK_LIBS" |
a16d3c04 | 6943 | TOOLKIT=GTK |
1c8515f9 | 6944 | |
f7a11f8c RR |
6945 | GUIOBJS="\$(GTK_GUIOBJS)" |
6946 | GUIHEADERS="\$(GTK_HEADERS)" | |
6947 | COMMONOBJS="\$(GTK_COMMONOBJS)" | |
6948 | GENERICOBJS="\$(GTK_GENERICOBJS)" | |
6949 | GUIDEPS="\$(GTK_GUIDEPS)" | |
6950 | COMMONDEPS="\$(GTK_COMMONDEPS)" | |
6951 | GENERICDEPS="\$(GTK_GENERICDEPS)" | |
6952 | UNIXOBJS="\$(UNIX_OBJS)" | |
a16d3c04 KB |
6953 | GUIDIST=GTK_DIST |
6954 | fi | |
6955 | ||
6956 | if test "$wxUSE_WINE" = 1; then | |
6957 | echo $ac_n "checking for WINE includes""... $ac_c" 1>&6 | |
f7a11f8c | 6958 | echo "configure:6959: checking for WINE includes" >&5 |
a16d3c04 KB |
6959 | |
6960 | ac_find_includes= | |
6961 | for ac_dir in $SEARCH_INCLUDE; | |
6962 | do | |
6963 | if test -f "$ac_dir/windows.h"; then | |
6964 | ac_find_includes=$ac_dir | |
6965 | break | |
6966 | fi | |
6967 | done | |
6968 | ||
6969 | if test "$ac_find_includes" != "" ; then | |
6970 | echo "$ac_t""found $ac_find_includes" 1>&6 | |
6971 | TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -I$ac_find_includes" | |
6972 | else | |
6973 | echo "$ac_t""no" 1>&6 | |
6974 | { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; } | |
6975 | fi | |
6976 | ||
6977 | XPM_LINK="" | |
6978 | echo $ac_n "checking for Xpm library""... $ac_c" 1>&6 | |
f7a11f8c | 6979 | echo "configure:6980: checking for Xpm library" >&5 |
a16d3c04 KB |
6980 | |
6981 | ac_find_libraries= | |
6982 | for ac_dir in $SEARCH_LIB; | |
6983 | do | |
6984 | for ac_extension in a so sl; do | |
6985 | if test -f "$ac_dir/libXpm.$ac_extension"; then | |
6986 | ac_find_libraries=$ac_dir | |
6987 | break 2 | |
6988 | fi | |
6989 | done | |
6990 | done | |
6991 | ||
6992 | if test "$ac_find_libraries" != "" ; then | |
6993 | GUI_TK_LIBRARY="-L$ac_find_libraries" | |
6994 | XPM_LINK="-lXpm" | |
6995 | cat >> confdefs.h <<\EOF | |
6996 | #define wxHAVE_LIB_XPM 1 | |
6997 | EOF | |
6998 | ||
6999 | echo "$ac_t""found at $ac_find_libraries" 1>&6 | |
7000 | else | |
7001 | echo "$ac_t""no" 1>&6 | |
7002 | echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2 | |
7003 | fi | |
1c8515f9 | 7004 | |
a16d3c04 KB |
7005 | MESA_LINK="" |
7006 | echo $ac_n "checking for Mesa library""... $ac_c" 1>&6 | |
f7a11f8c | 7007 | echo "configure:7008: checking for Mesa library" >&5 |
a16d3c04 KB |
7008 | |
7009 | ac_find_libraries= | |
7010 | for ac_dir in $SEARCH_LIB; | |
7011 | do | |
7012 | for ac_extension in a so sl; do | |
7013 | if test -f "$ac_dir/libMesaGL.$ac_extension"; then | |
7014 | ac_find_libraries=$ac_dir | |
7015 | break 2 | |
7016 | fi | |
7017 | done | |
7018 | done | |
7019 | ||
7020 | if test "$ac_find_libraries" != "" ; then | |
7021 | GUI_TK_LIBRARY="$GUI_TK_LIBRARY -L$ac_find_libraries" | |
7022 | MESA_LINK="-lMesaGL" | |
7023 | echo "$ac_t""found at $ac_find_libraries" 1>&6 | |
7024 | else | |
7025 | { echo "configure: error: no" 1>&2; exit 1; } | |
7026 | fi | |
7027 | ||
f7a11f8c | 7028 | GUI_TK_LINK="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses -lm" |
a16d3c04 KB |
7029 | GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GUI_TK_LINK" |
7030 | WXWINE=1 | |
7031 | TOOLKIT=MSW | |
1c8515f9 | 7032 | |
f7a11f8c RR |
7033 | GUIHEADERS="\$(MSW_HEADERS)" |
7034 | GUIOBJS="\$(MSW_GUIOBJS)" | |
7035 | COMMONOBJS="\$(MSW_COMMONOBJS)" | |
7036 | GENERICOBJS="\$(MSW_GENERICOBJS)" | |
7037 | GUIDEPS="\$(MSW_GUIDEPS)" | |
7038 | COMMONDEPS="\$(MSW_COMMONDEPS)" | |
7039 | GENERICDEPS="\$(MSW_GENERICDEPS)" | |
7040 | UNIXOBJS="\$(UNIX_OBJS)" | |
a16d3c04 KB |
7041 | GUIDIST=MSW_DIST |
7042 | fi | |
7043 | ||
7044 | if test "$wxUSE_MOTIF" = 1; then | |
7045 | # If we find X, set shell vars x_includes and x_libraries to the | |
7046 | # paths, otherwise set no_x=yes. | |
7047 | # Uses ac_ vars as temps to allow command line to override cache and checks. | |
7048 | # --without-x overrides everything else, but does not touch the cache. | |
7049 | echo $ac_n "checking for X""... $ac_c" 1>&6 | |
f7a11f8c | 7050 | echo "configure:7051: checking for X" >&5 |
a16d3c04 KB |
7051 | |
7052 | # Check whether --with-x or --without-x was given. | |
7053 | if test "${with_x+set}" = set; then | |
7054 | withval="$with_x" | |
7055 | : | |
7056 | fi | |
7057 | ||
7058 | # $have_x is `yes', `no', `disabled', or empty when we do not yet know. | |
7059 | if test "x$with_x" = xno; then | |
7060 | # The user explicitly disabled X. | |
7061 | have_x=disabled | |
7062 | else | |
7063 | if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then | |
7064 | # Both variables are already set. | |
7065 | have_x=yes | |
7066 | else | |
7067 | if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then | |
7068 | echo $ac_n "(cached) $ac_c" 1>&6 | |
7069 | else | |
7070 | # One or both of the vars are not set, and there is no cached value. | |
7071 | ac_x_includes=NO ac_x_libraries=NO | |
7072 | rm -fr conftestdir | |
7073 | if mkdir conftestdir; then | |
7074 | cd conftestdir | |
7075 | # Make sure to not put "make" in the Imakefile rules, since we grep it out. | |
7076 | cat > Imakefile <<'EOF' | |
7077 | acfindx: | |
7078 | @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"' | |
7079 | EOF | |
7080 | if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then | |
7081 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | |
7082 | eval `${MAKE-make} acfindx 2>/dev/null | grep -v make` | |
7083 | # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. | |
7084 | for ac_extension in a so sl; do | |
7085 | if test ! -f $ac_im_usrlibdir/libX11.$ac_extension && | |
7086 | test -f $ac_im_libdir/libX11.$ac_extension; then | |
7087 | ac_im_usrlibdir=$ac_im_libdir; break | |
7088 | fi | |
7089 | done | |
7090 | # Screen out bogus values from the imake configuration. They are | |
7091 | # bogus both because they are the default anyway, and because | |
7092 | # using them would break gcc on systems where it needs fixed includes. | |
7093 | case "$ac_im_incroot" in | |
7094 | /usr/include) ;; | |
7095 | *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes="$ac_im_incroot" ;; | |
7096 | esac | |
7097 | case "$ac_im_usrlibdir" in | |
7098 | /usr/lib | /lib) ;; | |
7099 | *) test -d "$ac_im_usrlibdir" && ac_x_libraries="$ac_im_usrlibdir" ;; | |
7100 | esac | |
7101 | fi | |
7102 | cd .. | |
7103 | rm -fr conftestdir | |
7104 | fi | |
7105 | ||
7106 | if test "$ac_x_includes" = NO; then | |
7107 | # Guess where to find include files, by looking for this one X11 .h file. | |
7108 | test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | |
7109 | ||
7110 | # First, try using that file with no special directory specified. | |
7111 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 7112 | #line 7113 "configure" |
a16d3c04 KB |
7113 | #include "confdefs.h" |
7114 | #include <$x_direct_test_include> | |
7115 | EOF | |
7116 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
f7a11f8c | 7117 | { (eval echo configure:7118: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
fa3e4baf | 7118 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
a16d3c04 KB |
7119 | if test -z "$ac_err"; then |
7120 | rm -rf conftest* | |
7121 | # We can compile using X headers with no special include directory. | |
7122 | ac_x_includes= | |
7123 | else | |
7124 | echo "$ac_err" >&5 | |
7125 | echo "configure: failed program was:" >&5 | |
7126 | cat conftest.$ac_ext >&5 | |
7127 | rm -rf conftest* | |
7128 | # Look for the header file in a standard set of common directories. | |
7129 | # Check X11 before X11Rn because it is often a symlink to the current release. | |
7130 | for ac_dir in \ | |
7131 | /usr/X11/include \ | |
7132 | /usr/X11R6/include \ | |
7133 | /usr/X11R5/include \ | |
7134 | /usr/X11R4/include \ | |
7135 | \ | |
7136 | /usr/include/X11 \ | |
7137 | /usr/include/X11R6 \ | |
7138 | /usr/include/X11R5 \ | |
7139 | /usr/include/X11R4 \ | |
7140 | \ | |
7141 | /usr/local/X11/include \ | |
7142 | /usr/local/X11R6/include \ | |
7143 | /usr/local/X11R5/include \ | |
7144 | /usr/local/X11R4/include \ | |
7145 | \ | |
7146 | /usr/local/include/X11 \ | |
7147 | /usr/local/include/X11R6 \ | |
7148 | /usr/local/include/X11R5 \ | |
7149 | /usr/local/include/X11R4 \ | |
7150 | \ | |
7151 | /usr/X386/include \ | |
7152 | /usr/x386/include \ | |
7153 | /usr/XFree86/include/X11 \ | |
7154 | \ | |
7155 | /usr/include \ | |
7156 | /usr/local/include \ | |
7157 | /usr/unsupported/include \ | |
7158 | /usr/athena/include \ | |
7159 | /usr/local/x11r5/include \ | |
7160 | /usr/lpp/Xamples/include \ | |
7161 | \ | |
7162 | /usr/openwin/include \ | |
7163 | /usr/openwin/share/include \ | |
7164 | ; \ | |
7165 | do | |
7166 | if test -r "$ac_dir/$x_direct_test_include"; then | |
7167 | ac_x_includes=$ac_dir | |
7168 | break | |
7169 | fi | |
7170 | done | |
7171 | fi | |
7172 | rm -f conftest* | |
7173 | fi # $ac_x_includes = NO | |
7174 | ||
7175 | if test "$ac_x_libraries" = NO; then | |
7176 | # Check for the libraries. | |
7177 | ||
7178 | test -z "$x_direct_test_library" && x_direct_test_library=Xt | |
7179 | test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc | |
7180 | ||
7181 | # See if we find them without any special options. | |
7182 | # Don't add to $LIBS permanently. | |
7183 | ac_save_LIBS="$LIBS" | |
7184 | LIBS="-l$x_direct_test_library $LIBS" | |
7185 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 7186 | #line 7187 "configure" |
a16d3c04 KB |
7187 | #include "confdefs.h" |
7188 | ||
7189 | int main() { | |
7190 | ${x_direct_test_function}() | |
7191 | ; return 0; } | |
7192 | EOF | |
f7a11f8c | 7193 | if { (eval echo configure:7194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
a16d3c04 KB |
7194 | rm -rf conftest* |
7195 | LIBS="$ac_save_LIBS" | |
7196 | # We can link X programs with no special library path. | |
7197 | ac_x_libraries= | |
7198 | else | |
7199 | echo "configure: failed program was:" >&5 | |
7200 | cat conftest.$ac_ext >&5 | |
7201 | rm -rf conftest* | |
7202 | LIBS="$ac_save_LIBS" | |
7203 | # First see if replacing the include by lib works. | |
7204 | # Check X11 before X11Rn because it is often a symlink to the current release. | |
7205 | for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \ | |
7206 | /usr/X11/lib \ | |
7207 | /usr/X11R6/lib \ | |
7208 | /usr/X11R5/lib \ | |
7209 | /usr/X11R4/lib \ | |
7210 | \ | |
7211 | /usr/lib/X11 \ | |
7212 | /usr/lib/X11R6 \ | |
7213 | /usr/lib/X11R5 \ | |
7214 | /usr/lib/X11R4 \ | |
7215 | \ | |
7216 | /usr/local/X11/lib \ | |
7217 | /usr/local/X11R6/lib \ | |
7218 | /usr/local/X11R5/lib \ | |
7219 | /usr/local/X11R4/lib \ | |
7220 | \ | |
7221 | /usr/local/lib/X11 \ | |
7222 | /usr/local/lib/X11R6 \ | |
7223 | /usr/local/lib/X11R5 \ | |
7224 | /usr/local/lib/X11R4 \ | |
7225 | \ | |
7226 | /usr/X386/lib \ | |
7227 | /usr/x386/lib \ | |
7228 | /usr/XFree86/lib/X11 \ | |
7229 | \ | |
7230 | /usr/lib \ | |
7231 | /usr/local/lib \ | |
7232 | /usr/unsupported/lib \ | |
7233 | /usr/athena/lib \ | |
7234 | /usr/local/x11r5/lib \ | |
7235 | /usr/lpp/Xamples/lib \ | |
7236 | /lib/usr/lib/X11 \ | |
7237 | \ | |
7238 | /usr/openwin/lib \ | |
7239 | /usr/openwin/share/lib \ | |
7240 | ; \ | |
7241 | do | |
7242 | for ac_extension in a so sl; do | |
7243 | if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then | |
7244 | ac_x_libraries=$ac_dir | |
7245 | break 2 | |
7246 | fi | |
7247 | done | |
7248 | done | |
7249 | fi | |
7250 | rm -f conftest* | |
7251 | fi # $ac_x_libraries = NO | |
7252 | ||
7253 | if test "$ac_x_includes" = NO || test "$ac_x_libraries" = NO; then | |
7254 | # Didn't find X anywhere. Cache the known absence of X. | |
7255 | ac_cv_have_x="have_x=no" | |
7256 | else | |
7257 | # Record where we found X for the cache. | |
7258 | ac_cv_have_x="have_x=yes \ | |
7259 | ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries" | |
7260 | fi | |
7261 | fi | |
7262 | fi | |
7263 | eval "$ac_cv_have_x" | |
7264 | fi # $with_x != no | |
7265 | ||
7266 | if test "$have_x" != yes; then | |
7267 | echo "$ac_t""$have_x" 1>&6 | |
7268 | no_x=yes | |
7269 | else | |
7270 | # If each of the values was on the command line, it overrides each guess. | |
7271 | test "x$x_includes" = xNONE && x_includes=$ac_x_includes | |
7272 | test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries | |
7273 | # Update the cache value to reflect the command line values. | |
7274 | ac_cv_have_x="have_x=yes \ | |
7275 | ac_x_includes=$x_includes ac_x_libraries=$x_libraries" | |
7276 | echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6 | |
7277 | fi | |
7278 | ||
7279 | if test "$no_x" = yes; then | |
7280 | # Not all programs may use this symbol, but it does not hurt to define it. | |
7281 | cat >> confdefs.h <<\EOF | |
7282 | #define X_DISPLAY_MISSING 1 | |
7283 | EOF | |
7284 | ||
7285 | X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS= | |
7286 | else | |
7287 | if test -n "$x_includes"; then | |
7288 | X_CFLAGS="$X_CFLAGS -I$x_includes" | |
7289 | fi | |
7290 | ||
7291 | # It would also be nice to do this for all -L options, not just this one. | |
7292 | if test -n "$x_libraries"; then | |
7293 | X_LIBS="$X_LIBS -L$x_libraries" | |
7294 | # For Solaris; some versions of Sun CC require a space after -R and | |
7295 | # others require no space. Words are not sufficient . . . . | |
7296 | case "`(uname -sr) 2>/dev/null`" in | |
7297 | "SunOS 5"*) | |
7298 | echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | |
f7a11f8c | 7299 | echo "configure:7300: checking whether -R must be followed by a space" >&5 |
a16d3c04 KB |
7300 | ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
7301 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 7302 | #line 7303 "configure" |
a16d3c04 KB |
7303 | #include "confdefs.h" |
7304 | ||
7305 | int main() { | |
7306 | ||
7307 | ; return 0; } | |
7308 | EOF | |
f7a11f8c | 7309 | if { (eval echo configure:7310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
a16d3c04 KB |
7310 | rm -rf conftest* |
7311 | ac_R_nospace=yes | |
7312 | else | |
7313 | echo "configure: failed program was:" >&5 | |
7314 | cat conftest.$ac_ext >&5 | |
7315 | rm -rf conftest* | |
7316 | ac_R_nospace=no | |
7317 | fi | |
7318 | rm -f conftest* | |
7319 | if test $ac_R_nospace = yes; then | |
7320 | echo "$ac_t""no" 1>&6 | |
7321 | X_LIBS="$X_LIBS -R$x_libraries" | |
7322 | else | |
7323 | LIBS="$ac_xsave_LIBS -R $x_libraries" | |
7324 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 7325 | #line 7326 "configure" |
a16d3c04 KB |
7326 | #include "confdefs.h" |
7327 | ||
7328 | int main() { | |
7329 | ||
7330 | ; return 0; } | |
7331 | EOF | |
f7a11f8c | 7332 | if { (eval echo configure:7333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
a16d3c04 KB |
7333 | rm -rf conftest* |
7334 | ac_R_space=yes | |
7335 | else | |
7336 | echo "configure: failed program was:" >&5 | |
7337 | cat conftest.$ac_ext >&5 | |
7338 | rm -rf conftest* | |
7339 | ac_R_space=no | |
7340 | fi | |
7341 | rm -f conftest* | |
7342 | if test $ac_R_space = yes; then | |
7343 | echo "$ac_t""yes" 1>&6 | |
7344 | X_LIBS="$X_LIBS -R $x_libraries" | |
7345 | else | |
7346 | echo "$ac_t""neither works" 1>&6 | |
7347 | fi | |
7348 | fi | |
7349 | LIBS="$ac_xsave_LIBS" | |
7350 | esac | |
7351 | fi | |
7352 | ||
7353 | # Check for system-dependent libraries X programs must link with. | |
7354 | # Do this before checking for the system-independent R6 libraries | |
7355 | # (-lICE), since we may need -lsocket or whatever for X linking. | |
7356 | ||
7357 | if test "$ISC" = yes; then | |
7358 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet" | |
7359 | else | |
7360 | # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X | |
7361 | # libraries were built with DECnet support. And karl@cs.umb.edu says | |
7362 | # the Alpha needs dnet_stub (dnet does not exist). | |
7363 | echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | |
f7a11f8c | 7364 | echo "configure:7365: checking for dnet_ntoa in -ldnet" >&5 |
a16d3c04 KB |
7365 | ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
7366 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
7367 | echo $ac_n "(cached) $ac_c" 1>&6 | |
7368 | else | |
7369 | ac_save_LIBS="$LIBS" | |
7370 | LIBS="-ldnet $LIBS" | |
7371 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 7372 | #line 7373 "configure" |
a16d3c04 KB |
7373 | #include "confdefs.h" |
7374 | /* Override any gcc2 internal prototype to avoid an error. */ | |
7375 | /* We use char because int might match the return type of a gcc2 | |
7376 | builtin and then its argument prototype would still apply. */ | |
7377 | char dnet_ntoa(); | |
7378 | ||
7379 | int main() { | |
7380 | dnet_ntoa() | |
7381 | ; return 0; } | |
7382 | EOF | |
f7a11f8c | 7383 | if { (eval echo configure:7384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
a16d3c04 KB |
7384 | rm -rf conftest* |
7385 | eval "ac_cv_lib_$ac_lib_var=yes" | |
7386 | else | |
7387 | echo "configure: failed program was:" >&5 | |
7388 | cat conftest.$ac_ext >&5 | |
7389 | rm -rf conftest* | |
7390 | eval "ac_cv_lib_$ac_lib_var=no" | |
7391 | fi | |
7392 | rm -f conftest* | |
7393 | LIBS="$ac_save_LIBS" | |
7394 | ||
7395 | fi | |
7396 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
7397 | echo "$ac_t""yes" 1>&6 | |
7398 | X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" | |
7399 | else | |
7400 | echo "$ac_t""no" 1>&6 | |
7401 | fi | |
7402 | ||
7403 | if test $ac_cv_lib_dnet_dnet_ntoa = no; then | |
7404 | echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | |
f7a11f8c | 7405 | echo "configure:7406: checking for dnet_ntoa in -ldnet_stub" >&5 |
a16d3c04 KB |
7406 | ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
7407 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
7408 | echo $ac_n "(cached) $ac_c" 1>&6 | |
7409 | else | |
7410 | ac_save_LIBS="$LIBS" | |
7411 | LIBS="-ldnet_stub $LIBS" | |
7412 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 7413 | #line 7414 "configure" |
a16d3c04 KB |
7414 | #include "confdefs.h" |
7415 | /* Override any gcc2 internal prototype to avoid an error. */ | |
7416 | /* We use char because int might match the return type of a gcc2 | |
7417 | builtin and then its argument prototype would still apply. */ | |
7418 | char dnet_ntoa(); | |
7419 | ||
7420 | int main() { | |
7421 | dnet_ntoa() | |
7422 | ; return 0; } | |
7423 | EOF | |
f7a11f8c | 7424 | if { (eval echo configure:7425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
a16d3c04 KB |
7425 | rm -rf conftest* |
7426 | eval "ac_cv_lib_$ac_lib_var=yes" | |
7427 | else | |
7428 | echo "configure: failed program was:" >&5 | |
7429 | cat conftest.$ac_ext >&5 | |
7430 | rm -rf conftest* | |
7431 | eval "ac_cv_lib_$ac_lib_var=no" | |
7432 | fi | |
7433 | rm -f conftest* | |
7434 | LIBS="$ac_save_LIBS" | |
7435 | ||
7436 | fi | |
7437 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
7438 | echo "$ac_t""yes" 1>&6 | |
7439 | X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" | |
7440 | else | |
7441 | echo "$ac_t""no" 1>&6 | |
7442 | fi | |
7443 | ||
7444 | fi | |
7445 | ||
7446 | # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT, | |
7447 | # to get the SysV transport functions. | |
7448 | # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | |
7449 | # needs -lnsl. | |
7450 | # The nsl library prevents programs from opening the X display | |
7451 | # on Irix 5.2, according to dickey@clark.net. | |
7452 | echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | |
f7a11f8c | 7453 | echo "configure:7454: checking for gethostbyname" >&5 |
a16d3c04 KB |
7454 | if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
7455 | echo $ac_n "(cached) $ac_c" 1>&6 | |
7456 | else | |
7457 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 7458 | #line 7459 "configure" |
a16d3c04 KB |
7459 | #include "confdefs.h" |
7460 | /* System header to define __stub macros and hopefully few prototypes, | |
7461 | which can conflict with char gethostbyname(); below. */ | |
7462 | #include <assert.h> | |
7463 | /* Override any gcc2 internal prototype to avoid an error. */ | |
7464 | /* We use char because int might match the return type of a gcc2 | |
7465 | builtin and then its argument prototype would still apply. */ | |
7466 | char gethostbyname(); | |
f7a11f8c | 7467 | char (*f)(); |
a16d3c04 KB |
7468 | |
7469 | int main() { | |
7470 | ||
7471 | /* The GNU C library defines this for functions which it implements | |
7472 | to always fail with ENOSYS. Some functions are actually named | |
7473 | something starting with __ and the normal name is an alias. */ | |
7474 | #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) | |
7475 | choke me | |
7476 | #else | |
f7a11f8c | 7477 | f = gethostbyname; |
a16d3c04 KB |
7478 | #endif |
7479 | ||
7480 | ; return 0; } | |
7481 | EOF | |
f7a11f8c | 7482 | if { (eval echo configure:7483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
a16d3c04 KB |
7483 | rm -rf conftest* |
7484 | eval "ac_cv_func_gethostbyname=yes" | |
7485 | else | |
7486 | echo "configure: failed program was:" >&5 | |
7487 | cat conftest.$ac_ext >&5 | |
7488 | rm -rf conftest* | |
7489 | eval "ac_cv_func_gethostbyname=no" | |
7490 | fi | |
7491 | rm -f conftest* | |
7492 | fi | |
7493 | ||
7494 | if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then | |
7495 | echo "$ac_t""yes" 1>&6 | |
7496 | : | |
7497 | else | |
7498 | echo "$ac_t""no" 1>&6 | |
7499 | fi | |
7500 | ||
7501 | if test $ac_cv_func_gethostbyname = no; then | |
7502 | echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | |
f7a11f8c | 7503 | echo "configure:7504: checking for gethostbyname in -lnsl" >&5 |
a16d3c04 KB |
7504 | ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
7505 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
7506 | echo $ac_n "(cached) $ac_c" 1>&6 | |
7507 | else | |
7508 | ac_save_LIBS="$LIBS" | |
7509 | LIBS="-lnsl $LIBS" | |
7510 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 7511 | #line 7512 "configure" |
a16d3c04 KB |
7512 | #include "confdefs.h" |
7513 | /* Override any gcc2 internal prototype to avoid an error. */ | |
7514 | /* We use char because int might match the return type of a gcc2 | |
7515 | builtin and then its argument prototype would still apply. */ | |
7516 | char gethostbyname(); | |
7517 | ||
7518 | int main() { | |
7519 | gethostbyname() | |
7520 | ; return 0; } | |
7521 | EOF | |
f7a11f8c | 7522 | if { (eval echo configure:7523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
a16d3c04 KB |
7523 | rm -rf conftest* |
7524 | eval "ac_cv_lib_$ac_lib_var=yes" | |
7525 | else | |
7526 | echo "configure: failed program was:" >&5 | |
7527 | cat conftest.$ac_ext >&5 | |
7528 | rm -rf conftest* | |
7529 | eval "ac_cv_lib_$ac_lib_var=no" | |
7530 | fi | |
7531 | rm -f conftest* | |
7532 | LIBS="$ac_save_LIBS" | |
7533 | ||
7534 | fi | |
7535 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
7536 | echo "$ac_t""yes" 1>&6 | |
7537 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" | |
7538 | else | |
7539 | echo "$ac_t""no" 1>&6 | |
7540 | fi | |
7541 | ||
7542 | fi | |
7543 | ||
7544 | # lieder@skyler.mavd.honeywell.com says without -lsocket, | |
7545 | # socket/setsockopt and other routines are undefined under SCO ODT | |
7546 | # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary | |
7547 | # on later versions), says simon@lia.di.epfl.ch: it contains | |
7548 | # gethostby* variants that don't use the nameserver (or something). | |
7549 | # -lsocket must be given before -lnsl if both are needed. | |
7550 | # We assume that if connect needs -lnsl, so does gethostbyname. | |
7551 | echo $ac_n "checking for connect""... $ac_c" 1>&6 | |
f7a11f8c | 7552 | echo "configure:7553: checking for connect" >&5 |
a16d3c04 KB |
7553 | if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
7554 | echo $ac_n "(cached) $ac_c" 1>&6 | |
7555 | else | |
7556 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 7557 | #line 7558 "configure" |
a16d3c04 KB |
7558 | #include "confdefs.h" |
7559 | /* System header to define __stub macros and hopefully few prototypes, | |
7560 | which can conflict with char connect(); below. */ | |
7561 | #include <assert.h> | |
7562 | /* Override any gcc2 internal prototype to avoid an error. */ | |
7563 | /* We use char because int might match the return type of a gcc2 | |
7564 | builtin and then its argument prototype would still apply. */ | |
7565 | char connect(); | |
f7a11f8c | 7566 | char (*f)(); |
a16d3c04 KB |
7567 | |
7568 | int main() { | |
7569 | ||
7570 | /* The GNU C library defines this for functions which it implements | |
7571 | to always fail with ENOSYS. Some functions are actually named | |
7572 | something starting with __ and the normal name is an alias. */ | |
7573 | #if defined (__stub_connect) || defined (__stub___connect) | |
7574 | choke me | |
7575 | #else | |
f7a11f8c | 7576 | f = connect; |
a16d3c04 KB |
7577 | #endif |
7578 | ||
7579 | ; return 0; } | |
7580 | EOF | |
f7a11f8c | 7581 | if { (eval echo configure:7582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
a16d3c04 KB |
7582 | rm -rf conftest* |
7583 | eval "ac_cv_func_connect=yes" | |
7584 | else | |
7585 | echo "configure: failed program was:" >&5 | |
7586 | cat conftest.$ac_ext >&5 | |
7587 | rm -rf conftest* | |
7588 | eval "ac_cv_func_connect=no" | |
7589 | fi | |
7590 | rm -f conftest* | |
7591 | fi | |
7592 | ||
7593 | if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then | |
7594 | echo "$ac_t""yes" 1>&6 | |
7595 | : | |
7596 | else | |
7597 | echo "$ac_t""no" 1>&6 | |
7598 | fi | |
7599 | ||
7600 | if test $ac_cv_func_connect = no; then | |
7601 | echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 | |
f7a11f8c | 7602 | echo "configure:7603: checking for connect in -lsocket" >&5 |
a16d3c04 KB |
7603 | ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
7604 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
7605 | echo $ac_n "(cached) $ac_c" 1>&6 | |
7606 | else | |
7607 | ac_save_LIBS="$LIBS" | |
7608 | LIBS="-lsocket $X_EXTRA_LIBS $LIBS" | |
7609 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 7610 | #line 7611 "configure" |
a16d3c04 KB |
7611 | #include "confdefs.h" |
7612 | /* Override any gcc2 internal prototype to avoid an error. */ | |
7613 | /* We use char because int might match the return type of a gcc2 | |
7614 | builtin and then its argument prototype would still apply. */ | |
7615 | char connect(); | |
7616 | ||
7617 | int main() { | |
7618 | connect() | |
7619 | ; return 0; } | |
7620 | EOF | |
f7a11f8c | 7621 | if { (eval echo configure:7622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
a16d3c04 KB |
7622 | rm -rf conftest* |
7623 | eval "ac_cv_lib_$ac_lib_var=yes" | |
7624 | else | |
7625 | echo "configure: failed program was:" >&5 | |
7626 | cat conftest.$ac_ext >&5 | |
7627 | rm -rf conftest* | |
7628 | eval "ac_cv_lib_$ac_lib_var=no" | |
7629 | fi | |
7630 | rm -f conftest* | |
7631 | LIBS="$ac_save_LIBS" | |
7632 | ||
7633 | fi | |
7634 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
7635 | echo "$ac_t""yes" 1>&6 | |
7636 | X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" | |
7637 | else | |
7638 | echo "$ac_t""no" 1>&6 | |
7639 | fi | |
7640 | ||
7641 | fi | |
7642 | ||
7643 | # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | |
7644 | echo $ac_n "checking for remove""... $ac_c" 1>&6 | |
f7a11f8c | 7645 | echo "configure:7646: checking for remove" >&5 |
a16d3c04 KB |
7646 | if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then |
7647 | echo $ac_n "(cached) $ac_c" 1>&6 | |
7648 | else | |
7649 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 7650 | #line 7651 "configure" |
a16d3c04 KB |
7651 | #include "confdefs.h" |
7652 | /* System header to define __stub macros and hopefully few prototypes, | |
7653 | which can conflict with char remove(); below. */ | |
7654 | #include <assert.h> | |
7655 | /* Override any gcc2 internal prototype to avoid an error. */ | |
7656 | /* We use char because int might match the return type of a gcc2 | |
7657 | builtin and then its argument prototype would still apply. */ | |
7658 | char remove(); | |
f7a11f8c | 7659 | char (*f)(); |
a16d3c04 KB |
7660 | |
7661 | int main() { | |
7662 | ||
7663 | /* The GNU C library defines this for functions which it implements | |
7664 | to always fail with ENOSYS. Some functions are actually named | |
7665 | something starting with __ and the normal name is an alias. */ | |
7666 | #if defined (__stub_remove) || defined (__stub___remove) | |
7667 | choke me | |
7668 | #else | |
f7a11f8c | 7669 | f = remove; |
a16d3c04 KB |
7670 | #endif |
7671 | ||
7672 | ; return 0; } | |
7673 | EOF | |
f7a11f8c | 7674 | if { (eval echo configure:7675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
a16d3c04 KB |
7675 | rm -rf conftest* |
7676 | eval "ac_cv_func_remove=yes" | |
7677 | else | |
7678 | echo "configure: failed program was:" >&5 | |
7679 | cat conftest.$ac_ext >&5 | |
7680 | rm -rf conftest* | |
7681 | eval "ac_cv_func_remove=no" | |
7682 | fi | |
7683 | rm -f conftest* | |
7684 | fi | |
7685 | ||
7686 | if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then | |
7687 | echo "$ac_t""yes" 1>&6 | |
7688 | : | |
7689 | else | |
7690 | echo "$ac_t""no" 1>&6 | |
7691 | fi | |
7692 | ||
7693 | if test $ac_cv_func_remove = no; then | |
7694 | echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | |
f7a11f8c | 7695 | echo "configure:7696: checking for remove in -lposix" >&5 |
a16d3c04 KB |
7696 | ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
7697 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
7698 | echo $ac_n "(cached) $ac_c" 1>&6 | |
7699 | else | |
7700 | ac_save_LIBS="$LIBS" | |
7701 | LIBS="-lposix $LIBS" | |
7702 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 7703 | #line 7704 "configure" |
a16d3c04 KB |
7704 | #include "confdefs.h" |
7705 | /* Override any gcc2 internal prototype to avoid an error. */ | |
7706 | /* We use char because int might match the return type of a gcc2 | |
7707 | builtin and then its argument prototype would still apply. */ | |
7708 | char remove(); | |
7709 | ||
7710 | int main() { | |
7711 | remove() | |
7712 | ; return 0; } | |
7713 | EOF | |
f7a11f8c | 7714 | if { (eval echo configure:7715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
a16d3c04 KB |
7715 | rm -rf conftest* |
7716 | eval "ac_cv_lib_$ac_lib_var=yes" | |
7717 | else | |
7718 | echo "configure: failed program was:" >&5 | |
7719 | cat conftest.$ac_ext >&5 | |
7720 | rm -rf conftest* | |
7721 | eval "ac_cv_lib_$ac_lib_var=no" | |
7722 | fi | |
7723 | rm -f conftest* | |
7724 | LIBS="$ac_save_LIBS" | |
7725 | ||
7726 | fi | |
7727 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
7728 | echo "$ac_t""yes" 1>&6 | |
7729 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" | |
7730 | else | |
7731 | echo "$ac_t""no" 1>&6 | |
7732 | fi | |
7733 | ||
7734 | fi | |
7735 | ||
7736 | # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | |
7737 | echo $ac_n "checking for shmat""... $ac_c" 1>&6 | |
f7a11f8c | 7738 | echo "configure:7739: checking for shmat" >&5 |
a16d3c04 KB |
7739 | if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then |
7740 | echo $ac_n "(cached) $ac_c" 1>&6 | |
7741 | else | |
7742 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 7743 | #line 7744 "configure" |
a16d3c04 KB |
7744 | #include "confdefs.h" |
7745 | /* System header to define __stub macros and hopefully few prototypes, | |
7746 | which can conflict with char shmat(); below. */ | |
7747 | #include <assert.h> | |
7748 | /* Override any gcc2 internal prototype to avoid an error. */ | |
7749 | /* We use char because int might match the return type of a gcc2 | |
7750 | builtin and then its argument prototype would still apply. */ | |
7751 | char shmat(); | |
f7a11f8c | 7752 | char (*f)(); |
a16d3c04 KB |
7753 | |
7754 | int main() { | |
7755 | ||
7756 | /* The GNU C library defines this for functions which it implements | |
7757 | to always fail with ENOSYS. Some functions are actually named | |
7758 | something starting with __ and the normal name is an alias. */ | |
7759 | #if defined (__stub_shmat) || defined (__stub___shmat) | |
7760 | choke me | |
7761 | #else | |
f7a11f8c | 7762 | f = shmat; |
a16d3c04 KB |
7763 | #endif |
7764 | ||
7765 | ; return 0; } | |
7766 | EOF | |
f7a11f8c | 7767 | if { (eval echo configure:7768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
a16d3c04 KB |
7768 | rm -rf conftest* |
7769 | eval "ac_cv_func_shmat=yes" | |
7770 | else | |
7771 | echo "configure: failed program was:" >&5 | |
7772 | cat conftest.$ac_ext >&5 | |
7773 | rm -rf conftest* | |
7774 | eval "ac_cv_func_shmat=no" | |
7775 | fi | |
7776 | rm -f conftest* | |
7777 | fi | |
7778 | ||
7779 | if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then | |
7780 | echo "$ac_t""yes" 1>&6 | |
7781 | : | |
7782 | else | |
7783 | echo "$ac_t""no" 1>&6 | |
7784 | fi | |
7785 | ||
7786 | if test $ac_cv_func_shmat = no; then | |
7787 | echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | |
f7a11f8c | 7788 | echo "configure:7789: checking for shmat in -lipc" >&5 |
a16d3c04 KB |
7789 | ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
7790 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
7791 | echo $ac_n "(cached) $ac_c" 1>&6 | |
7792 | else | |
7793 | ac_save_LIBS="$LIBS" | |
7794 | LIBS="-lipc $LIBS" | |
7795 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 7796 | #line 7797 "configure" |
a16d3c04 KB |
7797 | #include "confdefs.h" |
7798 | /* Override any gcc2 internal prototype to avoid an error. */ | |
7799 | /* We use char because int might match the return type of a gcc2 | |
7800 | builtin and then its argument prototype would still apply. */ | |
7801 | char shmat(); | |
7802 | ||
7803 | int main() { | |
7804 | shmat() | |
7805 | ; return 0; } | |
7806 | EOF | |
f7a11f8c | 7807 | if { (eval echo configure:7808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
a16d3c04 KB |
7808 | rm -rf conftest* |
7809 | eval "ac_cv_lib_$ac_lib_var=yes" | |
7810 | else | |
7811 | echo "configure: failed program was:" >&5 | |
7812 | cat conftest.$ac_ext >&5 | |
7813 | rm -rf conftest* | |
7814 | eval "ac_cv_lib_$ac_lib_var=no" | |
7815 | fi | |
7816 | rm -f conftest* | |
7817 | LIBS="$ac_save_LIBS" | |
7818 | ||
7819 | fi | |
7820 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
7821 | echo "$ac_t""yes" 1>&6 | |
7822 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" | |
7823 | else | |
7824 | echo "$ac_t""no" 1>&6 | |
7825 | fi | |
7826 | ||
7827 | fi | |
7828 | fi | |
7829 | ||
7830 | # Check for libraries that X11R6 Xt/Xaw programs need. | |
7831 | ac_save_LDFLAGS="$LDFLAGS" | |
7832 | test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries" | |
7833 | # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to | |
7834 | # check for ICE first), but we must link in the order -lSM -lICE or | |
7835 | # we get undefined symbols. So assume we have SM if we have ICE. | |
7836 | # These have to be linked with before -lX11, unlike the other | |
7837 | # libraries we check for below, so use a different variable. | |
7838 | # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | |
7839 | echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 | |
f7a11f8c | 7840 | echo "configure:7841: checking for IceConnectionNumber in -lICE" >&5 |
a16d3c04 KB |
7841 | ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
7842 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
7843 | echo $ac_n "(cached) $ac_c" 1>&6 | |
7844 | else | |
7845 | ac_save_LIBS="$LIBS" | |
fa3e4baf | 7846 | LIBS="-lICE $X_EXTRA_LIBS $LIBS" |
a16d3c04 | 7847 | cat > conftest.$ac_ext <<EOF |
f7a11f8c | 7848 | #line 7849 "configure" |
a16d3c04 KB |
7849 | #include "confdefs.h" |
7850 | /* Override any gcc2 internal prototype to avoid an error. */ | |
7851 | /* We use char because int might match the return type of a gcc2 | |
7852 | builtin and then its argument prototype would still apply. */ | |
7853 | char IceConnectionNumber(); | |
7854 | ||
7855 | int main() { | |
7856 | IceConnectionNumber() | |
7857 | ; return 0; } | |
7858 | EOF | |
f7a11f8c | 7859 | if { (eval echo configure:7860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
a16d3c04 KB |
7860 | rm -rf conftest* |
7861 | eval "ac_cv_lib_$ac_lib_var=yes" | |
7862 | else | |
7863 | echo "configure: failed program was:" >&5 | |
7864 | cat conftest.$ac_ext >&5 | |
7865 | rm -rf conftest* | |
7866 | eval "ac_cv_lib_$ac_lib_var=no" | |
7867 | fi | |
7868 | rm -f conftest* | |
7869 | LIBS="$ac_save_LIBS" | |
7870 | ||
7871 | fi | |
7872 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
7873 | echo "$ac_t""yes" 1>&6 | |
7874 | X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" | |
7875 | else | |
7876 | echo "$ac_t""no" 1>&6 | |
7877 | fi | |
7878 | ||
7879 | LDFLAGS="$ac_save_LDFLAGS" | |
7880 | ||
7881 | fi | |
7882 | ||
7883 | ||
7884 | if test "$no_x" = "yes"; then | |
7885 | { echo "configure: error: X11 libraries not found" 1>&2; exit 1; } | |
7886 | fi | |
7887 | ||
7888 | TOOLKIT_INCLUDE="$X_CFLAGS" | |
7889 | GUI_TK_LIBRARY="$X_LIBS" | |
7890 | ||
7891 | echo $ac_n "checking for Motif/Lesstif includes""... $ac_c" 1>&6 | |
f7a11f8c | 7892 | echo "configure:7893: checking for Motif/Lesstif includes" >&5 |
a16d3c04 KB |
7893 | |
7894 | ac_find_includes= | |
7895 | for ac_dir in $SEARCH_INCLUDE; | |
7896 | do | |
7897 | if test -f "$ac_dir/Xm/Xm.h"; then | |
7898 | ac_find_includes=$ac_dir | |
7899 | break | |
7900 | fi | |
7901 | done | |
7902 | ||
7903 | if test "$ac_find_includes" != "" ; then | |
7904 | echo "$ac_t""found $ac_find_includes" 1>&6 | |
7905 | else | |
7906 | echo "$ac_t""no" 1>&6 | |
7907 | { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; } | |
7908 | fi | |
7909 | ||
7910 | echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6 | |
f7a11f8c | 7911 | echo "configure:7912: checking for Motif/Lesstif library" >&5 |
a16d3c04 KB |
7912 | |
7913 | ac_find_libraries= | |
7914 | for ac_dir in $SEARCH_LIB; | |
7915 | do | |
7916 | for ac_extension in a so sl; do | |
7917 | if test -f "$ac_dir/libXm.$ac_extension"; then | |
7918 | ac_find_libraries=$ac_dir | |
7919 | break 2 | |
7920 | fi | |
7921 | done | |
7922 | done | |
7923 | ||
7924 | if test "$ac_find_libraries" != "" ; then | |
7925 | ||
7926 | ac_path_to_include=$ac_find_includes | |
7927 | echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null | |
7928 | result=$? | |
7929 | if test $result = 0; then | |
7930 | ac_path_to_include="" | |
7931 | else | |
7932 | ac_path_to_include="-I$ac_find_includes" | |
7933 | fi | |
7934 | ||
7935 | ||
7936 | echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null | |
7937 | result=$? | |
7938 | if test $result = 0; then | |
7939 | ac_path_to_link="" | |
7940 | else | |
7941 | ac_path_to_link="-L$ac_find_libraries" | |
7942 | fi | |
7943 | ||
7944 | ||
7945 | CHECK_LINK="$GUI_TK_LIBRARY $ac_path_to_link" | |
7946 | TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE $ac_path_to_include" | |
7947 | echo "$ac_t""found at $ac_find_libraries" 1>&6 | |
7948 | else | |
7949 | echo "$ac_t""no" 1>&6 | |
7950 | { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; } | |
7951 | fi | |
7952 | ||
7953 | echo $ac_n "checking for Xt library""... $ac_c" 1>&6 | |
f7a11f8c | 7954 | echo "configure:7955: checking for Xt library" >&5 |
a16d3c04 KB |
7955 | |
7956 | ac_find_libraries= | |
7957 | for ac_dir in $SEARCH_LIB; | |
7958 | do | |
7959 | for ac_extension in a so sl; do | |
7960 | if test -f "$ac_dir/libXt.$ac_extension"; then | |
7961 | ac_find_libraries=$ac_dir | |
7962 | break 2 | |
7963 | fi | |
7964 | done | |
7965 | done | |
7966 | ||
7967 | if test "$ac_find_libraries" != "" ; then | |
7968 | ||
7969 | echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null | |
7970 | result=$? | |
7971 | if test $result = 0; then | |
7972 | ac_path_to_link="" | |
7973 | else | |
7974 | ac_path_to_link="-L$ac_find_libraries" | |
7975 | fi | |
7976 | ||
7977 | CHECK_LINK="$GUI_TK_LIBRARY $ac_path_to_link" | |
7978 | echo "$ac_t""found at $ac_find_libraries" 1>&6 | |
7979 | else | |
7980 | echo "$ac_t""no" 1>&6 | |
7981 | { echo "configure: error: please set LDFLAGS to contain the location of libXt" 1>&2; exit 1; } | |
7982 | fi | |
7983 | ||
7984 | XPM_LINK="" | |
7985 | echo $ac_n "checking for Xpm library""... $ac_c" 1>&6 | |
f7a11f8c | 7986 | echo "configure:7987: checking for Xpm library" >&5 |
a16d3c04 KB |
7987 | |
7988 | ac_find_libraries= | |
7989 | for ac_dir in $SEARCH_LIB; | |
7990 | do | |
7991 | for ac_extension in a so sl; do | |
7992 | if test -f "$ac_dir/libXpm.$ac_extension"; then | |
7993 | ac_find_libraries=$ac_dir | |
7994 | break 2 | |
7995 | fi | |
7996 | done | |
7997 | done | |
7998 | ||
7999 | if test "$ac_find_libraries" != "" ; then | |
8000 | ||
8001 | echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null | |
8002 | result=$? | |
8003 | if test $result = 0; then | |
8004 | ac_path_to_link="" | |
8005 | else | |
8006 | ac_path_to_link="-L$ac_find_libraries" | |
8007 | fi | |
8008 | ||
8009 | CHECK_LINK="$GUI_TK_LIBRARY $ac_path_to_link" | |
8010 | XPM_LINK="-lXpm " | |
8011 | cat >> confdefs.h <<\EOF | |
8012 | #define wxHAVE_LIB_XPM 1 | |
8013 | EOF | |
8014 | ||
8015 | echo "$ac_t""found at $ac_find_libraries" 1>&6 | |
8016 | else | |
8017 | echo "$ac_t""no" 1>&6 | |
8018 | echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2 | |
8019 | fi | |
8020 | ||
f7a11f8c | 8021 | GUI_TK_LINK="-lXm $XPM_LINK -lXmu -lXt -lX11 -lm" |
a16d3c04 KB |
8022 | GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GUI_TK_LINK" |
8023 | TOOLKIT=MOTIF | |
1c8515f9 | 8024 | |
f7a11f8c RR |
8025 | GUIHEADERS="\$(MOTIF_HEADERS)" |
8026 | GUIOBJS="\$(MOTIF_GUIOBJS)" | |
8027 | COMMONOBJS="\$(MOTIF_COMMONOBJS)" | |
8028 | GENERICOBJS="\$(MOTIF_GENERICOBJS)" | |
8029 | GUIDEPS="\$(MOTIF_GUIDEPS)" | |
8030 | COMMONDEPS="\$(MOTIF_COMMONDEPS)" | |
8031 | GENERICDEPS="\$(MOTIF_GENERICDEPS)" | |
8032 | UNIXOBJS="\$(UNIX_OBJS)" | |
a16d3c04 KB |
8033 | GUIDIST=MOTIF_DIST |
8034 | fi | |
8035 | ||
f7a11f8c RR |
8036 | if test "$wxUSE_GTK" = 1 || test "$wxUSE_MOTIF" = 1 || test "$wxUSE_WINE" = 1; then |
8037 | echo $ac_n "checking for main in -ldl""... $ac_c" 1>&6 | |
8038 | echo "configure:8039: checking for main in -ldl" >&5 | |
8039 | ac_lib_var=`echo dl'_'main | sed 'y%./+-%__p_%'` | |
8040 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
8041 | echo $ac_n "(cached) $ac_c" 1>&6 | |
8042 | else | |
8043 | ac_save_LIBS="$LIBS" | |
8044 | LIBS="-ldl $LIBS" | |
8045 | cat > conftest.$ac_ext <<EOF | |
8046 | #line 8047 "configure" | |
8047 | #include "confdefs.h" | |
8048 | ||
8049 | int main() { | |
8050 | main() | |
8051 | ; return 0; } | |
8052 | EOF | |
8053 | if { (eval echo configure:8054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
8054 | rm -rf conftest* | |
8055 | eval "ac_cv_lib_$ac_lib_var=yes" | |
8056 | else | |
8057 | echo "configure: failed program was:" >&5 | |
8058 | cat conftest.$ac_ext >&5 | |
8059 | rm -rf conftest* | |
8060 | eval "ac_cv_lib_$ac_lib_var=no" | |
8061 | fi | |
8062 | rm -f conftest* | |
8063 | LIBS="$ac_save_LIBS" | |
8064 | ||
8065 | fi | |
8066 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
8067 | echo "$ac_t""yes" 1>&6 | |
8068 | GUI_TK_LIBRARY="$GUI_TK_LIBRARY -ldl" | |
8069 | else | |
8070 | echo "$ac_t""no" 1>&6 | |
8071 | fi | |
8072 | ||
8073 | fi | |
8074 | ||
a16d3c04 KB |
8075 | TOOLKIT_DIR=`echo ${TOOLKIT} | tr "A-Z" "a-z"` |
8076 | ||
8077 | TOOLKIT_DEF="-D__WX${TOOLKIT}__" | |
8078 | ||
8079 | WX_LIBRARY="wx_${TOOLKIT_DIR}" | |
8080 | ||
f7a11f8c RR |
8081 | ALL_OBJECTS="\$(GUIOBJS) \$(COMMONOBJS) \$(GENERICOBJS) \$(UNIXOBJS) \$(HTMLOBJS) \$(JPEGOBJS) \$(PNGOBJS) \$(ZLIBOBJS)" |
8082 | ALL_DEPFILES="\$(GUIDEPS) \$(COMMONDEPS) \$(GENERICDEPS) \$(UNIXDEPS) \$(HTMLDEPS)" | |
8083 | ALL_HEADERS="\$(GUIHEADERS) \$(HTML_HEADERS) \$(UNIX_HEADERS) \$(PROTOCOL_HEADERS) \$(GENERIC_HEADERS) \$(WX_HEADERS)" | |
8084 | else | |
8085 | ||
8086 | ALL_OBJECTS="\$(BASE_OBJS)" | |
8087 | ALL_DEPFILES="\${BASE_DEPS}" | |
8088 | ALL_HEADERS="\${BASE_HEADERS}" | |
8089 | ||
8090 | WX_LIBRARY="wxbase" | |
8091 | fi | |
a16d3c04 | 8092 | |
f7a11f8c | 8093 | WX_LIBRARY_NAME="lib${WX_LIBRARY}.la" |
a16d3c04 | 8094 | |
f7a11f8c | 8095 | WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a" |
a16d3c04 | 8096 | |
f7a11f8c RR |
8097 | WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}" |
8098 | ||
8099 | WX_LIBRARY_LINK1="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}" | |
8100 | WX_LIBRARY_LINK2="lib${WX_LIBRARY}-${WX_RELEASE}.so" | |
8101 | WX_LIBRARY_LINK3="lib${WX_LIBRARY}.so" | |
a16d3c04 KB |
8102 | |
8103 | SHARED_LD= | |
8104 | PIC_FLAG= | |
8105 | WX_CREATE_LINKS= | |
8106 | ||
8107 | if test "$wxUSE_SHARED" = "yes"; then | |
8108 | WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}" | |
8109 | ||
8110 | case "${host}" in | |
8111 | *-hp-hpux* ) | |
8112 | WX_LIBRARY_NAME_SHARED="libwx_${TOOLKIT_DIR}.sl" | |
8113 | SHARED_LD="${CXX} -b -o" | |
8114 | PIC_FLAG="+Z" | |
8115 | ;; | |
8116 | *-*-linux* ) | |
8117 | SHARED_LD="${CC} -shared -o" | |
8118 | PIC_FLAG="-fPIC" | |
8119 | WX_CREATE_INSTALLED_LINKS="CREATE_INSTALLED_LINKS" | |
8120 | WX_CREATE_LINKS="CREATE_LINKS" | |
8121 | ;; | |
8122 | *-*-irix5* | *-*-irix6* ) | |
8123 | if test "$GCC" = yes ; then | |
8124 | SHARED_LD="${CC} -shared -o" | |
8125 | PIC_FLAG="-fPIC" | |
8126 | else | |
8127 | SHARED_LD="${CXX} -shared -o" | |
8128 | fi | |
8129 | WX_CREATE_INSTALLED_LINKS="CREATE_INSTALLED_LINKS" | |
8130 | WX_CREATE_LINKS="CREATE_LINKS" | |
8131 | ;; | |
8132 | *-*-solaris2* ) | |
8133 | if test "$GCC" = yes ; then | |
8134 | SHARED_LD="${CC} -shared -o" | |
8135 | PIC_FLAG="-fPIC" | |
8136 | else | |
8137 | SHARED_LD="${CXX} -G -o" | |
8138 | PIC_FLAG="PIC" | |
8139 | fi | |
8140 | WX_CREATE_INSTALLED_LINKS="CREATE_INSTALLED_LINKS" | |
8141 | WX_CREATE_LINKS="CREATE_LINKS" | |
8142 | ;; | |
8143 | *-*-sunos4* ) | |
8144 | SHARED_LD="${CC} -shared -o" | |
8145 | PIC_FLAG="-fPIC" | |
8146 | WX_CREATE_INSTALLED_LINKS="CREATE_INSTALLED_LINKS" | |
8147 | WX_CREATE_LINKS="CREATE_LINKS" | |
8148 | ;; | |
8149 | *-*-freebsd* | *-*-netbsd*) | |
8150 | SHARED_LD="${CC} -shared -o" | |
8151 | PIC_FLAG="-fPIC" | |
8152 | WX_CREATE_INSTALLED_LINKS="CREATE_INSTALLED_LINKS" | |
8153 | WX_CREATE_LINKS="CREATE_LINKS" | |
8154 | ;; | |
8155 | *-*-osf* ) | |
8156 | SHARED_LD="${CXX} -shared -o" | |
8157 | PIC_FLAG="-fPIC" | |
8158 | WX_CREATE_INSTALLED_LINKS="CREATE_INSTALLED_LINKS" | |
8159 | WX_CREATE_LINKS="CREATE_LINKS" | |
8160 | ;; | |
8161 | *-*-dgux5* ) | |
8162 | SHARED_LD="${CXX} -shared -o" | |
8163 | PIC_FLAG="-fPIC" | |
8164 | WX_CREATE_INSTALLED_LINKS="CREATE_INSTALLED_LINKS" | |
8165 | WX_CREATE_LINKS="CREATE_LINKS" | |
8166 | ;; | |
8167 | *-*-sysv5* ) | |
8168 | SHARED_LD="${CC} -shared -o" | |
8169 | PIC_FLAG="-fPIC" | |
8170 | WX_CREATE_INSTALLED_LINKS="CREATE_INSTALLED_LINKS" | |
8171 | WX_CREATE_LINKS="CREATE_LINKS" | |
8172 | ;; | |
8173 | *-*-aix* ) | |
8174 | SHARED_LD="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o" | |
8175 | ;; | |
8176 | *-*-cygwin32* ) | |
8177 | WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}" | |
8178 | ;; | |
8179 | *-*-mingw32* ) | |
8180 | WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}" | |
8181 | ;; | |
8182 | *-pc-os2_emx ) | |
8183 | ;; | |
8184 | *) | |
8185 | { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; } | |
8186 | esac | |
8187 | ||
8188 | else | |
8189 | WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}" | |
8190 | fi | |
8191 | ||
8192 | ||
8193 | for ac_hdr in strings.h | |
8194 | do | |
8195 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | |
8196 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | |
f7a11f8c | 8197 | echo "configure:8198: checking for $ac_hdr" >&5 |
a16d3c04 KB |
8198 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
8199 | echo $ac_n "(cached) $ac_c" 1>&6 | |
8200 | else | |
8201 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 8202 | #line 8203 "configure" |
a16d3c04 KB |
8203 | #include "confdefs.h" |
8204 | #include <$ac_hdr> | |
8205 | EOF | |
8206 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
f7a11f8c | 8207 | { (eval echo configure:8208: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
fa3e4baf | 8208 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
a16d3c04 KB |
8209 | if test -z "$ac_err"; then |
8210 | rm -rf conftest* | |
8211 | eval "ac_cv_header_$ac_safe=yes" | |
8212 | else | |
8213 | echo "$ac_err" >&5 | |
8214 | echo "configure: failed program was:" >&5 | |
8215 | cat conftest.$ac_ext >&5 | |
8216 | rm -rf conftest* | |
8217 | eval "ac_cv_header_$ac_safe=no" | |
8218 | fi | |
8219 | rm -f conftest* | |
8220 | fi | |
8221 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
8222 | echo "$ac_t""yes" 1>&6 | |
8223 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` | |
8224 | cat >> confdefs.h <<EOF | |
8225 | #define $ac_tr_hdr 1 | |
8226 | EOF | |
8227 | ||
8228 | else | |
8229 | echo "$ac_t""no" 1>&6 | |
8230 | fi | |
8231 | done | |
8232 | ||
8233 | for ac_hdr in unistd.h | |
8234 | do | |
8235 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | |
8236 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | |
f7a11f8c | 8237 | echo "configure:8238: checking for $ac_hdr" >&5 |
a16d3c04 KB |
8238 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
8239 | echo $ac_n "(cached) $ac_c" 1>&6 | |
8240 | else | |
8241 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 8242 | #line 8243 "configure" |
a16d3c04 KB |
8243 | #include "confdefs.h" |
8244 | #include <$ac_hdr> | |
8245 | EOF | |
8246 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
f7a11f8c | 8247 | { (eval echo configure:8248: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
fa3e4baf | 8248 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
a16d3c04 KB |
8249 | if test -z "$ac_err"; then |
8250 | rm -rf conftest* | |
8251 | eval "ac_cv_header_$ac_safe=yes" | |
8252 | else | |
8253 | echo "$ac_err" >&5 | |
8254 | echo "configure: failed program was:" >&5 | |
8255 | cat conftest.$ac_ext >&5 | |
8256 | rm -rf conftest* | |
8257 | eval "ac_cv_header_$ac_safe=no" | |
8258 | fi | |
8259 | rm -f conftest* | |
8260 | fi | |
8261 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
8262 | echo "$ac_t""yes" 1>&6 | |
8263 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` | |
8264 | cat >> confdefs.h <<EOF | |
8265 | #define $ac_tr_hdr 1 | |
8266 | EOF | |
8267 | ||
8268 | else | |
8269 | echo "$ac_t""no" 1>&6 | |
8270 | fi | |
8271 | done | |
8272 | ||
8273 | for ac_hdr in wchar.h | |
8274 | do | |
8275 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | |
8276 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | |
f7a11f8c | 8277 | echo "configure:8278: checking for $ac_hdr" >&5 |
a16d3c04 KB |
8278 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
8279 | echo $ac_n "(cached) $ac_c" 1>&6 | |
8280 | else | |
8281 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 8282 | #line 8283 "configure" |
a16d3c04 KB |
8283 | #include "confdefs.h" |
8284 | #include <$ac_hdr> | |
8285 | EOF | |
8286 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
f7a11f8c | 8287 | { (eval echo configure:8288: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
fa3e4baf | 8288 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
a16d3c04 KB |
8289 | if test -z "$ac_err"; then |
8290 | rm -rf conftest* | |
8291 | eval "ac_cv_header_$ac_safe=yes" | |
8292 | else | |
8293 | echo "$ac_err" >&5 | |
8294 | echo "configure: failed program was:" >&5 | |
8295 | cat conftest.$ac_ext >&5 | |
8296 | rm -rf conftest* | |
8297 | eval "ac_cv_header_$ac_safe=no" | |
8298 | fi | |
8299 | rm -f conftest* | |
8300 | fi | |
8301 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
8302 | echo "$ac_t""yes" 1>&6 | |
8303 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` | |
8304 | cat >> confdefs.h <<EOF | |
8305 | #define $ac_tr_hdr 1 | |
8306 | EOF | |
8307 | ||
8308 | else | |
8309 | echo "$ac_t""no" 1>&6 | |
8310 | fi | |
8311 | done | |
8312 | ||
8313 | for ac_hdr in wcstr.h | |
8314 | do | |
8315 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | |
8316 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | |
f7a11f8c | 8317 | echo "configure:8318: checking for $ac_hdr" >&5 |
a16d3c04 KB |
8318 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
8319 | echo $ac_n "(cached) $ac_c" 1>&6 | |
8320 | else | |
8321 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 8322 | #line 8323 "configure" |
a16d3c04 KB |
8323 | #include "confdefs.h" |
8324 | #include <$ac_hdr> | |
8325 | EOF | |
8326 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
f7a11f8c | 8327 | { (eval echo configure:8328: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
fa3e4baf | 8328 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
a16d3c04 KB |
8329 | if test -z "$ac_err"; then |
8330 | rm -rf conftest* | |
8331 | eval "ac_cv_header_$ac_safe=yes" | |
8332 | else | |
8333 | echo "$ac_err" >&5 | |
8334 | echo "configure: failed program was:" >&5 | |
8335 | cat conftest.$ac_ext >&5 | |
8336 | rm -rf conftest* | |
8337 | eval "ac_cv_header_$ac_safe=no" | |
8338 | fi | |
8339 | rm -f conftest* | |
8340 | fi | |
8341 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
8342 | echo "$ac_t""yes" 1>&6 | |
8343 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` | |
8344 | cat >> confdefs.h <<EOF | |
8345 | #define $ac_tr_hdr 1 | |
8346 | EOF | |
8347 | ||
8348 | else | |
8349 | echo "$ac_t""no" 1>&6 | |
8350 | fi | |
8351 | done | |
8352 | ||
8353 | for ac_hdr in fnmatch.h | |
8354 | do | |
8355 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | |
8356 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | |
f7a11f8c | 8357 | echo "configure:8358: checking for $ac_hdr" >&5 |
a16d3c04 KB |
8358 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
8359 | echo $ac_n "(cached) $ac_c" 1>&6 | |
8360 | else | |
8361 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 8362 | #line 8363 "configure" |
a16d3c04 KB |
8363 | #include "confdefs.h" |
8364 | #include <$ac_hdr> | |
8365 | EOF | |
8366 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
f7a11f8c | 8367 | { (eval echo configure:8368: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
fa3e4baf | 8368 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
a16d3c04 KB |
8369 | if test -z "$ac_err"; then |
8370 | rm -rf conftest* | |
8371 | eval "ac_cv_header_$ac_safe=yes" | |
8372 | else | |
8373 | echo "$ac_err" >&5 | |
8374 | echo "configure: failed program was:" >&5 | |
8375 | cat conftest.$ac_ext >&5 | |
8376 | rm -rf conftest* | |
8377 | eval "ac_cv_header_$ac_safe=no" | |
8378 | fi | |
8379 | rm -f conftest* | |
8380 | fi | |
8381 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
8382 | echo "$ac_t""yes" 1>&6 | |
8383 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` | |
8384 | cat >> confdefs.h <<EOF | |
8385 | #define $ac_tr_hdr 1 | |
8386 | EOF | |
8387 | ||
8388 | else | |
8389 | echo "$ac_t""no" 1>&6 | |
8390 | fi | |
8391 | done | |
8392 | ||
f7a11f8c RR |
8393 | |
8394 | if test "$wxUSE_GUI" = "yes"; then | |
8395 | for ac_hdr in X11/XKBlib.h | |
a16d3c04 KB |
8396 | do |
8397 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | |
8398 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | |
f7a11f8c | 8399 | echo "configure:8400: checking for $ac_hdr" >&5 |
a16d3c04 KB |
8400 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
8401 | echo $ac_n "(cached) $ac_c" 1>&6 | |
8402 | else | |
8403 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 8404 | #line 8405 "configure" |
a16d3c04 KB |
8405 | #include "confdefs.h" |
8406 | #include <$ac_hdr> | |
8407 | EOF | |
8408 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
f7a11f8c | 8409 | { (eval echo configure:8410: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
fa3e4baf | 8410 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
a16d3c04 KB |
8411 | if test -z "$ac_err"; then |
8412 | rm -rf conftest* | |
8413 | eval "ac_cv_header_$ac_safe=yes" | |
8414 | else | |
8415 | echo "$ac_err" >&5 | |
8416 | echo "configure: failed program was:" >&5 | |
8417 | cat conftest.$ac_ext >&5 | |
8418 | rm -rf conftest* | |
8419 | eval "ac_cv_header_$ac_safe=no" | |
8420 | fi | |
8421 | rm -f conftest* | |
8422 | fi | |
8423 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
8424 | echo "$ac_t""yes" 1>&6 | |
8425 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` | |
8426 | cat >> confdefs.h <<EOF | |
8427 | #define $ac_tr_hdr 1 | |
8428 | EOF | |
8429 | ||
8430 | else | |
8431 | echo "$ac_t""no" 1>&6 | |
8432 | fi | |
8433 | done | |
8434 | ||
f7a11f8c | 8435 | fi |
a16d3c04 KB |
8436 | |
8437 | ||
8438 | echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | |
f7a11f8c | 8439 | echo "configure:8440: checking for ANSI C header files" >&5 |
a16d3c04 KB |
8440 | if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then |
8441 | echo $ac_n "(cached) $ac_c" 1>&6 | |
8442 | else | |
8443 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 8444 | #line 8445 "configure" |
a16d3c04 KB |
8445 | #include "confdefs.h" |
8446 | #include <stdlib.h> | |
8447 | #include <stdarg.h> | |
8448 | #include <string.h> | |
8449 | #include <float.h> | |
8450 | EOF | |
8451 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
f7a11f8c | 8452 | { (eval echo configure:8453: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
fa3e4baf | 8453 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
a16d3c04 KB |
8454 | if test -z "$ac_err"; then |
8455 | rm -rf conftest* | |
8456 | ac_cv_header_stdc=yes | |
8457 | else | |
8458 | echo "$ac_err" >&5 | |
8459 | echo "configure: failed program was:" >&5 | |
8460 | cat conftest.$ac_ext >&5 | |
8461 | rm -rf conftest* | |
8462 | ac_cv_header_stdc=no | |
8463 | fi | |
8464 | rm -f conftest* | |
8465 | ||
8466 | if test $ac_cv_header_stdc = yes; then | |
8467 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | |
8468 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 8469 | #line 8470 "configure" |
a16d3c04 KB |
8470 | #include "confdefs.h" |
8471 | #include <string.h> | |
8472 | EOF | |
8473 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
8474 | egrep "memchr" >/dev/null 2>&1; then | |
8475 | : | |
8476 | else | |
8477 | rm -rf conftest* | |
8478 | ac_cv_header_stdc=no | |
8479 | fi | |
8480 | rm -f conftest* | |
8481 | ||
8482 | fi | |
8483 | ||
8484 | if test $ac_cv_header_stdc = yes; then | |
8485 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | |
8486 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 8487 | #line 8488 "configure" |
a16d3c04 KB |
8488 | #include "confdefs.h" |
8489 | #include <stdlib.h> | |
8490 | EOF | |
8491 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
8492 | egrep "free" >/dev/null 2>&1; then | |
8493 | : | |
8494 | else | |
8495 | rm -rf conftest* | |
8496 | ac_cv_header_stdc=no | |
8497 | fi | |
8498 | rm -f conftest* | |
8499 | ||
8500 | fi | |
8501 | ||
8502 | if test $ac_cv_header_stdc = yes; then | |
8503 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | |
8504 | if test "$cross_compiling" = yes; then | |
8505 | : | |
8506 | else | |
8507 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 8508 | #line 8509 "configure" |
a16d3c04 KB |
8509 | #include "confdefs.h" |
8510 | #include <ctype.h> | |
8511 | #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | |
8512 | #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | |
8513 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | |
8514 | int main () { int i; for (i = 0; i < 256; i++) | |
8515 | if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | |
8516 | exit (0); } | |
8517 | ||
8518 | EOF | |
f7a11f8c | 8519 | if { (eval echo configure:8520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
a16d3c04 KB |
8520 | then |
8521 | : | |
8522 | else | |
8523 | echo "configure: failed program was:" >&5 | |
8524 | cat conftest.$ac_ext >&5 | |
8525 | rm -fr conftest* | |
8526 | ac_cv_header_stdc=no | |
8527 | fi | |
8528 | rm -fr conftest* | |
8529 | fi | |
8530 | ||
8531 | fi | |
8532 | fi | |
8533 | ||
8534 | echo "$ac_t""$ac_cv_header_stdc" 1>&6 | |
8535 | if test $ac_cv_header_stdc = yes; then | |
8536 | cat >> confdefs.h <<\EOF | |
8537 | #define STDC_HEADERS 1 | |
8538 | EOF | |
8539 | ||
8540 | fi | |
8541 | ||
8542 | echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | |
f7a11f8c | 8543 | echo "configure:8544: checking for mode_t" >&5 |
a16d3c04 KB |
8544 | if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then |
8545 | echo $ac_n "(cached) $ac_c" 1>&6 | |
8546 | else | |
8547 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 8548 | #line 8549 "configure" |
a16d3c04 KB |
8549 | #include "confdefs.h" |
8550 | #include <sys/types.h> | |
8551 | #if STDC_HEADERS | |
8552 | #include <stdlib.h> | |
8553 | #include <stddef.h> | |
8554 | #endif | |
8555 | EOF | |
8556 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
fa3e4baf | 8557 | egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then |
a16d3c04 KB |
8558 | rm -rf conftest* |
8559 | ac_cv_type_mode_t=yes | |
8560 | else | |
8561 | rm -rf conftest* | |
8562 | ac_cv_type_mode_t=no | |
8563 | fi | |
8564 | rm -f conftest* | |
8565 | ||
8566 | fi | |
8567 | echo "$ac_t""$ac_cv_type_mode_t" 1>&6 | |
8568 | if test $ac_cv_type_mode_t = no; then | |
8569 | cat >> confdefs.h <<\EOF | |
8570 | #define mode_t int | |
8571 | EOF | |
8572 | ||
8573 | fi | |
8574 | ||
8575 | echo $ac_n "checking for off_t""... $ac_c" 1>&6 | |
f7a11f8c | 8576 | echo "configure:8577: checking for off_t" >&5 |
a16d3c04 KB |
8577 | if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then |
8578 | echo $ac_n "(cached) $ac_c" 1>&6 | |
8579 | else | |
8580 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 8581 | #line 8582 "configure" |
a16d3c04 KB |
8582 | #include "confdefs.h" |
8583 | #include <sys/types.h> | |
8584 | #if STDC_HEADERS | |
8585 | #include <stdlib.h> | |
8586 | #include <stddef.h> | |
8587 | #endif | |
8588 | EOF | |
8589 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
fa3e4baf | 8590 | egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then |
a16d3c04 KB |
8591 | rm -rf conftest* |
8592 | ac_cv_type_off_t=yes | |
8593 | else | |
8594 | rm -rf conftest* | |
8595 | ac_cv_type_off_t=no | |
8596 | fi | |
8597 | rm -f conftest* | |
8598 | ||
8599 | fi | |
8600 | echo "$ac_t""$ac_cv_type_off_t" 1>&6 | |
8601 | if test $ac_cv_type_off_t = no; then | |
8602 | cat >> confdefs.h <<\EOF | |
8603 | #define off_t long | |
8604 | EOF | |
8605 | ||
8606 | fi | |
8607 | ||
8608 | echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | |
f7a11f8c | 8609 | echo "configure:8610: checking for pid_t" >&5 |
a16d3c04 KB |
8610 | if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then |
8611 | echo $ac_n "(cached) $ac_c" 1>&6 | |
8612 | else | |
8613 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 8614 | #line 8615 "configure" |
a16d3c04 KB |
8615 | #include "confdefs.h" |
8616 | #include <sys/types.h> | |
8617 | #if STDC_HEADERS | |
8618 | #include <stdlib.h> | |
8619 | #include <stddef.h> | |
8620 | #endif | |
8621 | EOF | |
8622 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
fa3e4baf | 8623 | egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then |
a16d3c04 KB |
8624 | rm -rf conftest* |
8625 | ac_cv_type_pid_t=yes | |
8626 | else | |
8627 | rm -rf conftest* | |
8628 | ac_cv_type_pid_t=no | |
8629 | fi | |
8630 | rm -f conftest* | |
8631 | ||
8632 | fi | |
8633 | echo "$ac_t""$ac_cv_type_pid_t" 1>&6 | |
8634 | if test $ac_cv_type_pid_t = no; then | |
8635 | cat >> confdefs.h <<\EOF | |
8636 | #define pid_t int | |
8637 | EOF | |
8638 | ||
8639 | fi | |
8640 | ||
8641 | echo $ac_n "checking for size_t""... $ac_c" 1>&6 | |
f7a11f8c | 8642 | echo "configure:8643: checking for size_t" >&5 |
a16d3c04 KB |
8643 | if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then |
8644 | echo $ac_n "(cached) $ac_c" 1>&6 | |
8645 | else | |
8646 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 8647 | #line 8648 "configure" |
a16d3c04 KB |
8648 | #include "confdefs.h" |
8649 | #include <sys/types.h> | |
8650 | #if STDC_HEADERS | |
8651 | #include <stdlib.h> | |
8652 | #include <stddef.h> | |
8653 | #endif | |
8654 | EOF | |
8655 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
fa3e4baf | 8656 | egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then |
a16d3c04 KB |
8657 | rm -rf conftest* |
8658 | ac_cv_type_size_t=yes | |
8659 | else | |
8660 | rm -rf conftest* | |
8661 | ac_cv_type_size_t=no | |
8662 | fi | |
8663 | rm -f conftest* | |
8664 | ||
8665 | fi | |
8666 | echo "$ac_t""$ac_cv_type_size_t" 1>&6 | |
8667 | if test $ac_cv_type_size_t = no; then | |
8668 | cat >> confdefs.h <<\EOF | |
8669 | #define size_t unsigned | |
8670 | EOF | |
8671 | ||
8672 | fi | |
8673 | ||
8674 | echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | |
f7a11f8c | 8675 | echo "configure:8676: checking for uid_t in sys/types.h" >&5 |
a16d3c04 KB |
8676 | if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then |
8677 | echo $ac_n "(cached) $ac_c" 1>&6 | |
8678 | else | |
8679 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 8680 | #line 8681 "configure" |
a16d3c04 KB |
8681 | #include "confdefs.h" |
8682 | #include <sys/types.h> | |
8683 | EOF | |
8684 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
8685 | egrep "uid_t" >/dev/null 2>&1; then | |
8686 | rm -rf conftest* | |
8687 | ac_cv_type_uid_t=yes | |
8688 | else | |
8689 | rm -rf conftest* | |
8690 | ac_cv_type_uid_t=no | |
8691 | fi | |
8692 | rm -f conftest* | |
8693 | ||
8694 | fi | |
8695 | ||
8696 | echo "$ac_t""$ac_cv_type_uid_t" 1>&6 | |
8697 | if test $ac_cv_type_uid_t = no; then | |
8698 | cat >> confdefs.h <<\EOF | |
8699 | #define uid_t int | |
8700 | EOF | |
8701 | ||
8702 | cat >> confdefs.h <<\EOF | |
8703 | #define gid_t int | |
8704 | EOF | |
8705 | ||
8706 | fi | |
8707 | ||
8708 | ||
8709 | ||
8710 | ||
8711 | echo $ac_n "checking for working const""... $ac_c" 1>&6 | |
f7a11f8c | 8712 | echo "configure:8713: checking for working const" >&5 |
a16d3c04 KB |
8713 | if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then |
8714 | echo $ac_n "(cached) $ac_c" 1>&6 | |
8715 | else | |
8716 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 8717 | #line 8718 "configure" |
a16d3c04 KB |
8718 | #include "confdefs.h" |
8719 | ||
8720 | int main() { | |
8721 | ||
8722 | /* Ultrix mips cc rejects this. */ | |
8723 | typedef int charset[2]; const charset x; | |
8724 | /* SunOS 4.1.1 cc rejects this. */ | |
8725 | char const *const *ccp; | |
8726 | char **p; | |
8727 | /* NEC SVR4.0.2 mips cc rejects this. */ | |
8728 | struct point {int x, y;}; | |
8729 | static struct point const zero = {0,0}; | |
8730 | /* AIX XL C 1.02.0.0 rejects this. | |
8731 | It does not let you subtract one const X* pointer from another in an arm | |
8732 | of an if-expression whose if-part is not a constant expression */ | |
8733 | const char *g = "string"; | |
8734 | ccp = &g + (g ? g-g : 0); | |
8735 | /* HPUX 7.0 cc rejects these. */ | |
8736 | ++ccp; | |
8737 | p = (char**) ccp; | |
8738 | ccp = (char const *const *) p; | |
8739 | { /* SCO 3.2v4 cc rejects this. */ | |
8740 | char *t; | |
8741 | char const *s = 0 ? (char *) 0 : (char const *) 0; | |
8742 | ||
8743 | *t++ = 0; | |
8744 | } | |
8745 | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ | |
8746 | int x[] = {25, 17}; | |
8747 | const int *foo = &x[0]; | |
8748 | ++foo; | |
8749 | } | |
8750 | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ | |
8751 | typedef const int *iptr; | |
8752 | iptr p = 0; | |
8753 | ++p; | |
8754 | } | |
8755 | { /* AIX XL C 1.02.0.0 rejects this saying | |
8756 | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ | |
8757 | struct s { int j; const int *ap[3]; }; | |
8758 | struct s *b; b->j = 5; | |
8759 | } | |
8760 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ | |
8761 | const int foo = 10; | |
8762 | } | |
8763 | ||
8764 | ; return 0; } | |
8765 | EOF | |
f7a11f8c | 8766 | if { (eval echo configure:8767: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
a16d3c04 KB |
8767 | rm -rf conftest* |
8768 | ac_cv_c_const=yes | |
8769 | else | |
8770 | echo "configure: failed program was:" >&5 | |
8771 | cat conftest.$ac_ext >&5 | |
8772 | rm -rf conftest* | |
8773 | ac_cv_c_const=no | |
8774 | fi | |
8775 | rm -f conftest* | |
8776 | fi | |
8777 | ||
8778 | echo "$ac_t""$ac_cv_c_const" 1>&6 | |
8779 | if test $ac_cv_c_const = no; then | |
8780 | cat >> confdefs.h <<\EOF | |
8781 | #define const | |
8782 | EOF | |
8783 | ||
8784 | fi | |
8785 | ||
8786 | echo $ac_n "checking for inline""... $ac_c" 1>&6 | |
f7a11f8c | 8787 | echo "configure:8788: checking for inline" >&5 |
a16d3c04 KB |
8788 | if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then |
8789 | echo $ac_n "(cached) $ac_c" 1>&6 | |
8790 | else | |
8791 | ac_cv_c_inline=no | |
8792 | for ac_kw in inline __inline__ __inline; do | |
8793 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 8794 | #line 8795 "configure" |
a16d3c04 KB |
8795 | #include "confdefs.h" |
8796 | ||
8797 | int main() { | |
8798 | } $ac_kw foo() { | |
8799 | ; return 0; } | |
8800 | EOF | |
f7a11f8c | 8801 | if { (eval echo configure:8802: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
a16d3c04 KB |
8802 | rm -rf conftest* |
8803 | ac_cv_c_inline=$ac_kw; break | |
8804 | else | |
8805 | echo "configure: failed program was:" >&5 | |
8806 | cat conftest.$ac_ext >&5 | |
8807 | fi | |
8808 | rm -f conftest* | |
8809 | done | |
8810 | ||
8811 | fi | |
8812 | ||
8813 | echo "$ac_t""$ac_cv_c_inline" 1>&6 | |
8814 | case "$ac_cv_c_inline" in | |
8815 | inline | yes) ;; | |
8816 | no) cat >> confdefs.h <<\EOF | |
8817 | #define inline | |
8818 | EOF | |
8819 | ;; | |
8820 | *) cat >> confdefs.h <<EOF | |
8821 | #define inline $ac_cv_c_inline | |
8822 | EOF | |
8823 | ;; | |
8824 | esac | |
8825 | ||
8826 | ||
8827 | echo $ac_n "checking size of char""... $ac_c" 1>&6 | |
f7a11f8c | 8828 | echo "configure:8829: checking size of char" >&5 |
a16d3c04 KB |
8829 | if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then |
8830 | echo $ac_n "(cached) $ac_c" 1>&6 | |
8831 | else | |
8832 | if test "$cross_compiling" = yes; then | |
8833 | ac_cv_sizeof_char=1 | |
8834 | else | |
8835 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 8836 | #line 8837 "configure" |
a16d3c04 KB |
8837 | #include "confdefs.h" |
8838 | #include <stdio.h> | |
8839 | main() | |
8840 | { | |
8841 | FILE *f=fopen("conftestval", "w"); | |
8842 | if (!f) exit(1); | |
8843 | fprintf(f, "%d\n", sizeof(char)); | |
8844 | exit(0); | |
8845 | } | |
8846 | EOF | |
f7a11f8c | 8847 | if { (eval echo configure:8848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
a16d3c04 KB |
8848 | then |
8849 | ac_cv_sizeof_char=`cat conftestval` | |
8850 | else | |
8851 | echo "configure: failed program was:" >&5 | |
8852 | cat conftest.$ac_ext >&5 | |
8853 | rm -fr conftest* | |
8854 | ac_cv_sizeof_char=0 | |
8855 | fi | |
8856 | rm -fr conftest* | |
8857 | fi | |
8858 | ||
8859 | fi | |
8860 | echo "$ac_t""$ac_cv_sizeof_char" 1>&6 | |
8861 | cat >> confdefs.h <<EOF | |
8862 | #define SIZEOF_CHAR $ac_cv_sizeof_char | |
8863 | EOF | |
8864 | ||
8865 | ||
8866 | echo $ac_n "checking size of short""... $ac_c" 1>&6 | |
f7a11f8c | 8867 | echo "configure:8868: checking size of short" >&5 |
a16d3c04 KB |
8868 | if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then |
8869 | echo $ac_n "(cached) $ac_c" 1>&6 | |
8870 | else | |
8871 | if test "$cross_compiling" = yes; then | |
8872 | ac_cv_sizeof_short=2 | |
8873 | else | |
8874 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 8875 | #line 8876 "configure" |
a16d3c04 KB |
8876 | #include "confdefs.h" |
8877 | #include <stdio.h> | |
8878 | main() | |
8879 | { | |
8880 | FILE *f=fopen("conftestval", "w"); | |
8881 | if (!f) exit(1); | |
8882 | fprintf(f, "%d\n", sizeof(short)); | |
8883 | exit(0); | |
8884 | } | |
8885 | EOF | |
f7a11f8c | 8886 | if { (eval echo configure:8887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
a16d3c04 KB |
8887 | then |
8888 | ac_cv_sizeof_short=`cat conftestval` | |
8889 | else | |
8890 | echo "configure: failed program was:" >&5 | |
8891 | cat conftest.$ac_ext >&5 | |
8892 | rm -fr conftest* | |
8893 | ac_cv_sizeof_short=0 | |
8894 | fi | |
8895 | rm -fr conftest* | |
8896 | fi | |
8897 | ||
8898 | fi | |
8899 | echo "$ac_t""$ac_cv_sizeof_short" 1>&6 | |
8900 | cat >> confdefs.h <<EOF | |
8901 | #define SIZEOF_SHORT $ac_cv_sizeof_short | |
8902 | EOF | |
8903 | ||
8904 | ||
8905 | echo $ac_n "checking size of int *""... $ac_c" 1>&6 | |
f7a11f8c | 8906 | echo "configure:8907: checking size of int *" >&5 |
a16d3c04 KB |
8907 | if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then |
8908 | echo $ac_n "(cached) $ac_c" 1>&6 | |
8909 | else | |
8910 | if test "$cross_compiling" = yes; then | |
8911 | ac_cv_sizeof_int_p=4 | |
8912 | else | |
8913 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 8914 | #line 8915 "configure" |
a16d3c04 KB |
8915 | #include "confdefs.h" |
8916 | #include <stdio.h> | |
8917 | main() | |
8918 | { | |
8919 | FILE *f=fopen("conftestval", "w"); | |
8920 | if (!f) exit(1); | |
8921 | fprintf(f, "%d\n", sizeof(int *)); | |
8922 | exit(0); | |
8923 | } | |
8924 | EOF | |
f7a11f8c | 8925 | if { (eval echo configure:8926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
a16d3c04 KB |
8926 | then |
8927 | ac_cv_sizeof_int_p=`cat conftestval` | |
8928 | else | |
8929 | echo "configure: failed program was:" >&5 | |
8930 | cat conftest.$ac_ext >&5 | |
8931 | rm -fr conftest* | |
8932 | ac_cv_sizeof_int_p=0 | |
8933 | fi | |
8934 | rm -fr conftest* | |
8935 | fi | |
8936 | ||
8937 | fi | |
8938 | echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6 | |
8939 | cat >> confdefs.h <<EOF | |
8940 | #define SIZEOF_INT_P $ac_cv_sizeof_int_p | |
8941 | EOF | |
8942 | ||
8943 | ||
8944 | echo $ac_n "checking size of int""... $ac_c" 1>&6 | |
f7a11f8c | 8945 | echo "configure:8946: checking size of int" >&5 |
a16d3c04 KB |
8946 | if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then |
8947 | echo $ac_n "(cached) $ac_c" 1>&6 | |
8948 | else | |
8949 | if test "$cross_compiling" = yes; then | |
8950 | ac_cv_sizeof_int=4 | |
8951 | else | |
8952 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 8953 | #line 8954 "configure" |
a16d3c04 KB |
8954 | #include "confdefs.h" |
8955 | #include <stdio.h> | |
8956 | main() | |
8957 | { | |
8958 | FILE *f=fopen("conftestval", "w"); | |
8959 | if (!f) exit(1); | |
8960 | fprintf(f, "%d\n", sizeof(int)); | |
8961 | exit(0); | |
8962 | } | |
8963 | EOF | |
f7a11f8c | 8964 | if { (eval echo configure:8965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
a16d3c04 KB |
8965 | then |
8966 | ac_cv_sizeof_int=`cat conftestval` | |
8967 | else | |
8968 | echo "configure: failed program was:" >&5 | |
8969 | cat conftest.$ac_ext >&5 | |
8970 | rm -fr conftest* | |
8971 | ac_cv_sizeof_int=0 | |
8972 | fi | |
8973 | rm -fr conftest* | |
8974 | fi | |
8975 | ||
8976 | fi | |
8977 | echo "$ac_t""$ac_cv_sizeof_int" 1>&6 | |
8978 | cat >> confdefs.h <<EOF | |
8979 | #define SIZEOF_INT $ac_cv_sizeof_int | |
8980 | EOF | |
8981 | ||
8982 | ||
8983 | echo $ac_n "checking size of long""... $ac_c" 1>&6 | |
f7a11f8c | 8984 | echo "configure:8985: checking size of long" >&5 |
a16d3c04 KB |
8985 | if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then |
8986 | echo $ac_n "(cached) $ac_c" 1>&6 | |
8987 | else | |
8988 | if test "$cross_compiling" = yes; then | |
8989 | ac_cv_sizeof_long=4 | |
8990 | else | |
8991 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 8992 | #line 8993 "configure" |
a16d3c04 KB |
8993 | #include "confdefs.h" |
8994 | #include <stdio.h> | |
8995 | main() | |
8996 | { | |
8997 | FILE *f=fopen("conftestval", "w"); | |
8998 | if (!f) exit(1); | |
8999 | fprintf(f, "%d\n", sizeof(long)); | |
9000 | exit(0); | |
9001 | } | |
9002 | EOF | |
f7a11f8c | 9003 | if { (eval echo configure:9004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
a16d3c04 KB |
9004 | then |
9005 | ac_cv_sizeof_long=`cat conftestval` | |
9006 | else | |
9007 | echo "configure: failed program was:" >&5 | |
9008 | cat conftest.$ac_ext >&5 | |
9009 | rm -fr conftest* | |
9010 | ac_cv_sizeof_long=0 | |
9011 | fi | |
9012 | rm -fr conftest* | |
9013 | fi | |
9014 | ||
9015 | fi | |
9016 | echo "$ac_t""$ac_cv_sizeof_long" 1>&6 | |
9017 | cat >> confdefs.h <<EOF | |
9018 | #define SIZEOF_LONG $ac_cv_sizeof_long | |
9019 | EOF | |
9020 | ||
9021 | ||
9022 | echo $ac_n "checking size of long long""... $ac_c" 1>&6 | |
f7a11f8c | 9023 | echo "configure:9024: checking size of long long" >&5 |
a16d3c04 KB |
9024 | if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then |
9025 | echo $ac_n "(cached) $ac_c" 1>&6 | |
9026 | else | |
9027 | if test "$cross_compiling" = yes; then | |
9028 | ac_cv_sizeof_long_long=0 | |
9029 | else | |
9030 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 9031 | #line 9032 "configure" |
a16d3c04 KB |
9032 | #include "confdefs.h" |
9033 | #include <stdio.h> | |
9034 | main() | |
9035 | { | |
9036 | FILE *f=fopen("conftestval", "w"); | |
9037 | if (!f) exit(1); | |
9038 | fprintf(f, "%d\n", sizeof(long long)); | |
9039 | exit(0); | |
9040 | } | |
9041 | EOF | |
f7a11f8c | 9042 | if { (eval echo configure:9043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
a16d3c04 KB |
9043 | then |
9044 | ac_cv_sizeof_long_long=`cat conftestval` | |
9045 | else | |
9046 | echo "configure: failed program was:" >&5 | |
9047 | cat conftest.$ac_ext >&5 | |
9048 | rm -fr conftest* | |
9049 | ac_cv_sizeof_long_long=0 | |
9050 | fi | |
9051 | rm -fr conftest* | |
9052 | fi | |
9053 | ||
9054 | fi | |
9055 | echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6 | |
9056 | cat >> confdefs.h <<EOF | |
9057 | #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long | |
9058 | EOF | |
9059 | ||
9060 | ||
9061 | ||
9062 | echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | |
f7a11f8c | 9063 | echo "configure:9064: checking whether byte ordering is bigendian" >&5 |
a16d3c04 KB |
9064 | if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then |
9065 | echo $ac_n "(cached) $ac_c" 1>&6 | |
9066 | else | |
9067 | ac_cv_c_bigendian=unknown | |
9068 | # See if sys/param.h defines the BYTE_ORDER macro. | |
9069 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 9070 | #line 9071 "configure" |
a16d3c04 KB |
9071 | #include "confdefs.h" |
9072 | #include <sys/types.h> | |
9073 | #include <sys/param.h> | |
9074 | int main() { | |
9075 | ||
9076 | #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | |
9077 | bogus endian macros | |
9078 | #endif | |
9079 | ; return 0; } | |
9080 | EOF | |
f7a11f8c | 9081 | if { (eval echo configure:9082: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
a16d3c04 KB |
9082 | rm -rf conftest* |
9083 | # It does; now see whether it defined to BIG_ENDIAN or not. | |
9084 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 9085 | #line 9086 "configure" |
a16d3c04 KB |
9086 | #include "confdefs.h" |
9087 | #include <sys/types.h> | |
9088 | #include <sys/param.h> | |
9089 | int main() { | |
9090 | ||
9091 | #if BYTE_ORDER != BIG_ENDIAN | |
9092 | not big endian | |
9093 | #endif | |
9094 | ; return 0; } | |
9095 | EOF | |
f7a11f8c | 9096 | if { (eval echo configure:9097: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
a16d3c04 KB |
9097 | rm -rf conftest* |
9098 | ac_cv_c_bigendian=yes | |
9099 | else | |
9100 | echo "configure: failed program was:" >&5 | |
9101 | cat conftest.$ac_ext >&5 | |
9102 | rm -rf conftest* | |
9103 | ac_cv_c_bigendian=no | |
9104 | fi | |
9105 | rm -f conftest* | |
9106 | else | |
9107 | echo "configure: failed program was:" >&5 | |
9108 | cat conftest.$ac_ext >&5 | |
9109 | fi | |
9110 | rm -f conftest* | |
9111 | if test $ac_cv_c_bigendian = unknown; then | |
9112 | if test "$cross_compiling" = yes; then | |
9113 | ac_cv_c_bigendian=unknown | |
9114 | else | |
9115 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 9116 | #line 9117 "configure" |
a16d3c04 KB |
9117 | #include "confdefs.h" |
9118 | main () { | |
9119 | /* Are we little or big endian? From Harbison&Steele. */ | |
9120 | union | |
9121 | { | |
9122 | long l; | |
9123 | char c[sizeof (long)]; | |
9124 | } u; | |
9125 | u.l = 1; | |
9126 | exit (u.c[sizeof (long) - 1] == 1); | |
9127 | } | |
9128 | EOF | |
f7a11f8c | 9129 | if { (eval echo configure:9130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
a16d3c04 KB |
9130 | then |
9131 | ac_cv_c_bigendian=no | |
9132 | else | |
9133 | echo "configure: failed program was:" >&5 | |
9134 | cat conftest.$ac_ext >&5 | |
9135 | rm -fr conftest* | |
9136 | ac_cv_c_bigendian=yes | |
9137 | fi | |
9138 | rm -fr conftest* | |
9139 | fi | |
9140 | ||
9141 | fi | |
9142 | fi | |
9143 | ||
9144 | echo "$ac_t""$ac_cv_c_bigendian" 1>&6 | |
9145 | if test $ac_cv_c_bigendian = unknown; then | |
9146 | echo "configure: warning: Assuming little-endian target machine - this may be overriden by adding the line "ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}" to config.cache file" 1>&2 | |
9147 | fi | |
9148 | if test $ac_cv_c_bigendian = yes; then | |
9149 | cat >> confdefs.h <<\EOF | |
9150 | #define WORDS_BIGENDIAN 1 | |
9151 | EOF | |
9152 | ||
9153 | fi | |
9154 | ||
9155 | ||
9156 | ||
9157 | if test "$cross_compiling" = "yes"; then | |
9158 | cat >> confdefs.h <<\EOF | |
9159 | #define wxUSE_IOSTREAMH 1 | |
9160 | EOF | |
9161 | ||
9162 | else | |
9163 | ||
9164 | ac_ext=C | |
9165 | # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
9166 | ac_cpp='$CXXCPP $CPPFLAGS' | |
9167 | ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | |
fa3e4baf | 9168 | ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
a16d3c04 KB |
9169 | cross_compiling=$ac_cv_prog_cxx_cross |
9170 | ||
9171 | ||
9172 | for ac_hdr in iostream | |
9173 | do | |
9174 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | |
9175 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | |
f7a11f8c | 9176 | echo "configure:9177: checking for $ac_hdr" >&5 |
a16d3c04 KB |
9177 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
9178 | echo $ac_n "(cached) $ac_c" 1>&6 | |
9179 | else | |
9180 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 9181 | #line 9182 "configure" |
a16d3c04 KB |
9182 | #include "confdefs.h" |
9183 | #include <$ac_hdr> | |
9184 | EOF | |
9185 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
f7a11f8c | 9186 | { (eval echo configure:9187: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
fa3e4baf | 9187 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
a16d3c04 KB |
9188 | if test -z "$ac_err"; then |
9189 | rm -rf conftest* | |
9190 | eval "ac_cv_header_$ac_safe=yes" | |
9191 | else | |
9192 | echo "$ac_err" >&5 | |
9193 | echo "configure: failed program was:" >&5 | |
9194 | cat conftest.$ac_ext >&5 | |
9195 | rm -rf conftest* | |
9196 | eval "ac_cv_header_$ac_safe=no" | |
9197 | fi | |
9198 | rm -f conftest* | |
9199 | fi | |
9200 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
9201 | echo "$ac_t""yes" 1>&6 | |
9202 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` | |
9203 | cat >> confdefs.h <<EOF | |
9204 | #define $ac_tr_hdr 1 | |
9205 | EOF | |
9206 | ||
9207 | else | |
9208 | echo "$ac_t""no" 1>&6 | |
9209 | fi | |
9210 | done | |
9211 | ||
9212 | ||
9213 | if test "x$HAVE_IOSTREAM" = x ; then | |
9214 | cat >> confdefs.h <<\EOF | |
9215 | #define wxUSE_IOSTREAMH 1 | |
9216 | EOF | |
9217 | ||
9218 | else | |
9219 | : | |
9220 | fi | |
9221 | ||
9222 | ac_ext=c | |
9223 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
9224 | ac_cpp='$CPP $CPPFLAGS' | |
9225 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | |
fa3e4baf | 9226 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
a16d3c04 KB |
9227 | cross_compiling=$ac_cv_prog_cc_cross |
9228 | ||
9229 | fi | |
9230 | ||
9231 | ||
9232 | ||
9233 | echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6 | |
f7a11f8c | 9234 | echo "configure:9235: checking if C++ compiler supports bool" >&5 |
a16d3c04 KB |
9235 | if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then |
9236 | echo $ac_n "(cached) $ac_c" 1>&6 | |
9237 | else | |
9238 | ||
9239 | ||
9240 | ac_ext=C | |
9241 | # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
9242 | ac_cpp='$CXXCPP $CPPFLAGS' | |
9243 | ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | |
fa3e4baf | 9244 | ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
a16d3c04 KB |
9245 | cross_compiling=$ac_cv_prog_cxx_cross |
9246 | ||
9247 | ||
9248 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 9249 | #line 9250 "configure" |
a16d3c04 KB |
9250 | #include "confdefs.h" |
9251 | ||
9252 | ||
9253 | int main() { | |
9254 | ||
9255 | bool b = true; | |
9256 | ||
9257 | return 0; | |
9258 | ||
9259 | ; return 0; } | |
9260 | EOF | |
f7a11f8c | 9261 | if { (eval echo configure:9262: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
a16d3c04 KB |
9262 | rm -rf conftest* |
9263 | ||
9264 | cat >> confdefs.h <<\EOF | |
9265 | #define HAVE_BOOL 1 | |
9266 | EOF | |
9267 | ||
9268 | wx_cv_cpp_bool=yes | |
9269 | ||
9270 | else | |
9271 | echo "configure: failed program was:" >&5 | |
9272 | cat conftest.$ac_ext >&5 | |
9273 | rm -rf conftest* | |
9274 | ||
9275 | wx_cv_cpp_bool=no | |
9276 | ||
9277 | ||
9278 | fi | |
9279 | rm -f conftest* | |
9280 | ||
9281 | ac_ext=c | |
9282 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
9283 | ac_cpp='$CPP $CPPFLAGS' | |
9284 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | |
fa3e4baf | 9285 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
a16d3c04 KB |
9286 | cross_compiling=$ac_cv_prog_cc_cross |
9287 | ||
9288 | ||
9289 | fi | |
9290 | ||
9291 | echo "$ac_t""$wx_cv_cpp_bool" 1>&6 | |
9292 | ||
9293 | if test "$wx_cv_cpp_bool" = "yes"; then | |
9294 | cat >> confdefs.h <<\EOF | |
9295 | #define HAVE_BOOL 1 | |
9296 | EOF | |
9297 | ||
9298 | fi | |
9299 | ||
9300 | ||
9301 | ||
9302 | echo $ac_n "checking if size_t and int are different types""... $ac_c" 1>&6 | |
f7a11f8c | 9303 | echo "configure:9304: checking if size_t and int are different types" >&5 |
a16d3c04 KB |
9304 | if eval "test \"`echo '$''{'wx_cv_cpp_sizet_not_int'+set}'`\" = set"; then |
9305 | echo $ac_n "(cached) $ac_c" 1>&6 | |
9306 | else | |
9307 | ||
9308 | ||
9309 | ac_ext=C | |
9310 | # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
9311 | ac_cpp='$CXXCPP $CPPFLAGS' | |
9312 | ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | |
fa3e4baf | 9313 | ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
a16d3c04 KB |
9314 | cross_compiling=$ac_cv_prog_cxx_cross |
9315 | ||
9316 | ||
9317 | if test "$cross_compiling" = yes; then | |
9318 | wx_cv_cpp_sizet_not_int=no | |
9319 | ||
9320 | else | |
9321 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 9322 | #line 9323 "configure" |
a16d3c04 KB |
9323 | #include "confdefs.h" |
9324 | #ifdef __cplusplus | |
9325 | extern "C" void exit(int); | |
9326 | #endif | |
9327 | ||
9328 | #include <stdlib.h> | |
9329 | ||
9330 | class S | |
9331 | { | |
9332 | public: | |
9333 | S(char *s) { m_s = s; } | |
9334 | ||
9335 | char operator[](size_t n) const { return m_s[n]; } | |
9336 | char operator[](int n) const { return m_s[n]; } | |
9337 | ||
9338 | private: | |
9339 | char *m_s; | |
9340 | }; | |
9341 | ||
9342 | int main() | |
9343 | { | |
9344 | S s("dummy"); | |
9345 | size_t n1 = 2; | |
9346 | int n2 = 3; | |
9347 | ||
9348 | return s[n1] == s[n2]; | |
9349 | } | |
9350 | ||
9351 | EOF | |
f7a11f8c | 9352 | if { (eval echo configure:9353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
a16d3c04 KB |
9353 | then |
9354 | cat >> confdefs.h <<\EOF | |
9355 | #define wxUSE_SIZE_T_STRING_OPERATOR 1 | |
9356 | EOF | |
9357 | wx_cv_cpp_sizet_not_int=yes | |
9358 | else | |
9359 | echo "configure: failed program was:" >&5 | |
9360 | cat conftest.$ac_ext >&5 | |
9361 | rm -fr conftest* | |
9362 | wx_cv_cpp_sizet_not_int=no | |
9363 | fi | |
9364 | rm -fr conftest* | |
9365 | fi | |
9366 | ||
9367 | ||
9368 | ac_ext=c | |
9369 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
9370 | ac_cpp='$CPP $CPPFLAGS' | |
9371 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | |
fa3e4baf | 9372 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
a16d3c04 KB |
9373 | cross_compiling=$ac_cv_prog_cc_cross |
9374 | ||
9375 | ||
9376 | fi | |
9377 | ||
9378 | echo "$ac_t""$wx_cv_cpp_sizet_not_int" 1>&6 | |
9379 | ||
9380 | ||
9381 | ||
9382 | echo $ac_n "checking if you need GNU extensions""... $ac_c" 1>&6 | |
f7a11f8c | 9383 | echo "configure:9384: checking if you need GNU extensions" >&5 |
a16d3c04 KB |
9384 | if eval "test \"`echo '$''{'wx_cv_gnu_extensions'+set}'`\" = set"; then |
9385 | echo $ac_n "(cached) $ac_c" 1>&6 | |
9386 | else | |
9387 | ||
9388 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 9389 | #line 9390 "configure" |
a16d3c04 KB |
9390 | #include "confdefs.h" |
9391 | #include <features.h> | |
9392 | int main() { | |
9393 | ||
9394 | ||
9395 | #ifndef __GNU_LIBRARY__ | |
9396 | Compile error wanted | |
9397 | #endif | |
9398 | ||
9399 | ||
9400 | ; return 0; } | |
9401 | EOF | |
f7a11f8c | 9402 | if { (eval echo configure:9403: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
a16d3c04 KB |
9403 | rm -rf conftest* |
9404 | wx_cv_gnu_extensions=yes | |
9405 | else | |
9406 | echo "configure: failed program was:" >&5 | |
9407 | cat conftest.$ac_ext >&5 | |
9408 | rm -rf conftest* | |
9409 | wx_cv_gnu_extensions=no | |
9410 | fi | |
9411 | rm -f conftest* | |
9412 | ||
9413 | fi | |
9414 | ||
9415 | ||
9416 | echo "$ac_t""$wx_cv_gnu_extensions" 1>&6 | |
9417 | if test "$wx_cv_gnu_extensions" = "yes"; then | |
9418 | cat >> confdefs.h <<EOF | |
9419 | #define _GNU_SOURCE 1 | |
9420 | EOF | |
9421 | ||
9422 | fi | |
9423 | ||
9424 | ||
9425 | ||
9426 | echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6 | |
f7a11f8c | 9427 | echo "configure:9428: checking for wcslen in -lc" >&5 |
a16d3c04 KB |
9428 | ac_lib_var=`echo c'_'wcslen | sed 'y%./+-%__p_%'` |
9429 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
9430 | echo $ac_n "(cached) $ac_c" 1>&6 | |
9431 | else | |
9432 | ac_save_LIBS="$LIBS" | |
9433 | LIBS="-lc $LIBS" | |
9434 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 9435 | #line 9436 "configure" |
a16d3c04 KB |
9436 | #include "confdefs.h" |
9437 | /* Override any gcc2 internal prototype to avoid an error. */ | |
9438 | /* We use char because int might match the return type of a gcc2 | |
9439 | builtin and then its argument prototype would still apply. */ | |
9440 | char wcslen(); | |
9441 | ||
9442 | int main() { | |
9443 | wcslen() | |
9444 | ; return 0; } | |
9445 | EOF | |
f7a11f8c | 9446 | if { (eval echo configure:9447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
a16d3c04 KB |
9447 | rm -rf conftest* |
9448 | eval "ac_cv_lib_$ac_lib_var=yes" | |
9449 | else | |
9450 | echo "configure: failed program was:" >&5 | |
9451 | cat conftest.$ac_ext >&5 | |
9452 | rm -rf conftest* | |
9453 | eval "ac_cv_lib_$ac_lib_var=no" | |
9454 | fi | |
9455 | rm -f conftest* | |
9456 | LIBS="$ac_save_LIBS" | |
9457 | ||
9458 | fi | |
9459 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
9460 | echo "$ac_t""yes" 1>&6 | |
9461 | ||
9462 | cat >> confdefs.h <<\EOF | |
9463 | #define HAVE_WCSLEN 1 | |
9464 | EOF | |
9465 | ||
9466 | WCHAR_LINK="" | |
9467 | ||
9468 | else | |
9469 | echo "$ac_t""no" 1>&6 | |
9470 | ||
9471 | echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6 | |
f7a11f8c | 9472 | echo "configure:9473: checking for wcslen in -lw" >&5 |
a16d3c04 KB |
9473 | ac_lib_var=`echo w'_'wcslen | sed 'y%./+-%__p_%'` |
9474 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
9475 | echo $ac_n "(cached) $ac_c" 1>&6 | |
9476 | else | |
9477 | ac_save_LIBS="$LIBS" | |
9478 | LIBS="-lw $LIBS" | |
9479 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 9480 | #line 9481 "configure" |
a16d3c04 KB |
9481 | #include "confdefs.h" |
9482 | /* Override any gcc2 internal prototype to avoid an error. */ | |
9483 | /* We use char because int might match the return type of a gcc2 | |
9484 | builtin and then its argument prototype would still apply. */ | |
9485 | char wcslen(); | |
9486 | ||
9487 | int main() { | |
9488 | wcslen() | |
9489 | ; return 0; } | |
9490 | EOF | |
f7a11f8c | 9491 | if { (eval echo configure:9492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
a16d3c04 KB |
9492 | rm -rf conftest* |
9493 | eval "ac_cv_lib_$ac_lib_var=yes" | |
9494 | else | |
9495 | echo "configure: failed program was:" >&5 | |
9496 | cat conftest.$ac_ext >&5 | |
9497 | rm -rf conftest* | |
9498 | eval "ac_cv_lib_$ac_lib_var=no" | |
9499 | fi | |
9500 | rm -f conftest* | |
9501 | LIBS="$ac_save_LIBS" | |
9502 | ||
9503 | fi | |
9504 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
9505 | echo "$ac_t""yes" 1>&6 | |
9506 | ||
9507 | cat >> confdefs.h <<\EOF | |
9508 | #define HAVE_WCSLEN 1 | |
9509 | EOF | |
9510 | ||
9511 | WCHAR_LINK="-lw" | |
9512 | ||
9513 | else | |
9514 | echo "$ac_t""no" 1>&6 | |
9515 | fi | |
9516 | ||
9517 | ||
9518 | fi | |
9519 | ||
9520 | ||
9521 | echo $ac_n "checking for vprintf""... $ac_c" 1>&6 | |
f7a11f8c | 9522 | echo "configure:9523: checking for vprintf" >&5 |
a16d3c04 KB |
9523 | if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then |
9524 | echo $ac_n "(cached) $ac_c" 1>&6 | |
9525 | else | |
9526 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 9527 | #line 9528 "configure" |
a16d3c04 KB |
9528 | #include "confdefs.h" |
9529 | /* System header to define __stub macros and hopefully few prototypes, | |
9530 | which can conflict with char vprintf(); below. */ | |
9531 | #include <assert.h> | |
9532 | /* Override any gcc2 internal prototype to avoid an error. */ | |
9533 | /* We use char because int might match the return type of a gcc2 | |
9534 | builtin and then its argument prototype would still apply. */ | |
9535 | char vprintf(); | |
f7a11f8c | 9536 | char (*f)(); |
a16d3c04 KB |
9537 | |
9538 | int main() { | |
9539 | ||
9540 | /* The GNU C library defines this for functions which it implements | |
9541 | to always fail with ENOSYS. Some functions are actually named | |
9542 | something starting with __ and the normal name is an alias. */ | |
9543 | #if defined (__stub_vprintf) || defined (__stub___vprintf) | |
9544 | choke me | |
9545 | #else | |
f7a11f8c | 9546 | f = vprintf; |
a16d3c04 KB |
9547 | #endif |
9548 | ||
9549 | ; return 0; } | |
9550 | EOF | |
f7a11f8c | 9551 | if { (eval echo configure:9552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
a16d3c04 KB |
9552 | rm -rf conftest* |
9553 | eval "ac_cv_func_vprintf=yes" | |
9554 | else | |
9555 | echo "configure: failed program was:" >&5 | |
9556 | cat conftest.$ac_ext >&5 | |
9557 | rm -rf conftest* | |
9558 | eval "ac_cv_func_vprintf=no" | |
9559 | fi | |
9560 | rm -f conftest* | |
9561 | fi | |
9562 | ||
9563 | if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then | |
9564 | echo "$ac_t""yes" 1>&6 | |
9565 | cat >> confdefs.h <<\EOF | |
9566 | #define HAVE_VPRINTF 1 | |
9567 | EOF | |
9568 | ||
9569 | else | |
9570 | echo "$ac_t""no" 1>&6 | |
9571 | fi | |
9572 | ||
9573 | if test "$ac_cv_func_vprintf" != yes; then | |
9574 | echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 | |
f7a11f8c | 9575 | echo "configure:9576: checking for _doprnt" >&5 |
a16d3c04 KB |
9576 | if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then |
9577 | echo $ac_n "(cached) $ac_c" 1>&6 | |
9578 | else | |
9579 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 9580 | #line 9581 "configure" |
a16d3c04 KB |
9581 | #include "confdefs.h" |
9582 | /* System header to define __stub macros and hopefully few prototypes, | |
9583 | which can conflict with char _doprnt(); below. */ | |
9584 | #include <assert.h> | |
9585 | /* Override any gcc2 internal prototype to avoid an error. */ | |
9586 | /* We use char because int might match the return type of a gcc2 | |
9587 | builtin and then its argument prototype would still apply. */ | |
9588 | char _doprnt(); | |
f7a11f8c | 9589 | char (*f)(); |
a16d3c04 KB |
9590 | |
9591 | int main() { | |
9592 | ||
9593 | /* The GNU C library defines this for functions which it implements | |
9594 | to always fail with ENOSYS. Some functions are actually named | |
9595 | something starting with __ and the normal name is an alias. */ | |
9596 | #if defined (__stub__doprnt) || defined (__stub____doprnt) | |
9597 | choke me | |
9598 | #else | |
f7a11f8c | 9599 | f = _doprnt; |
a16d3c04 KB |
9600 | #endif |
9601 | ||
9602 | ; return 0; } | |
9603 | EOF | |
f7a11f8c | 9604 | if { (eval echo configure:9605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
a16d3c04 KB |
9605 | rm -rf conftest* |
9606 | eval "ac_cv_func__doprnt=yes" | |
9607 | else | |
9608 | echo "configure: failed program was:" >&5 | |
9609 | cat conftest.$ac_ext >&5 | |
9610 | rm -rf conftest* | |
9611 | eval "ac_cv_func__doprnt=no" | |
9612 | fi | |
9613 | rm -f conftest* | |
9614 | fi | |
9615 | ||
9616 | if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then | |
9617 | echo "$ac_t""yes" 1>&6 | |
9618 | cat >> confdefs.h <<\EOF | |
9619 | #define HAVE_DOPRNT 1 | |
9620 | EOF | |
9621 | ||
9622 | else | |
9623 | echo "$ac_t""no" 1>&6 | |
9624 | fi | |
9625 | ||
9626 | fi | |
9627 | ||
9628 | ||
9629 | for ac_func in vsnprintf | |
9630 | do | |
9631 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
f7a11f8c | 9632 | echo "configure:9633: checking for $ac_func" >&5 |
a16d3c04 KB |
9633 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
9634 | echo $ac_n "(cached) $ac_c" 1>&6 | |
9635 | else | |
9636 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 9637 | #line 9638 "configure" |
a16d3c04 KB |
9638 | #include "confdefs.h" |
9639 | /* System header to define __stub macros and hopefully few prototypes, | |
9640 | which can conflict with char $ac_func(); below. */ | |
9641 | #include <assert.h> | |
9642 | /* Override any gcc2 internal prototype to avoid an error. */ | |
9643 | /* We use char because int might match the return type of a gcc2 | |
9644 | builtin and then its argument prototype would still apply. */ | |
9645 | char $ac_func(); | |
f7a11f8c | 9646 | char (*f)(); |
a16d3c04 KB |
9647 | |
9648 | int main() { | |
9649 | ||
9650 | /* The GNU C library defines this for functions which it implements | |
9651 | to always fail with ENOSYS. Some functions are actually named | |
9652 | something starting with __ and the normal name is an alias. */ | |
9653 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
9654 | choke me | |
9655 | #else | |
f7a11f8c | 9656 | f = $ac_func; |
a16d3c04 KB |
9657 | #endif |
9658 | ||
9659 | ; return 0; } | |
9660 | EOF | |
f7a11f8c | 9661 | if { (eval echo configure:9662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
a16d3c04 KB |
9662 | rm -rf conftest* |
9663 | eval "ac_cv_func_$ac_func=yes" | |
9664 | else | |
9665 | echo "configure: failed program was:" >&5 | |
9666 | cat conftest.$ac_ext >&5 | |
9667 | rm -rf conftest* | |
9668 | eval "ac_cv_func_$ac_func=no" | |
9669 | fi | |
9670 | rm -f conftest* | |
9671 | fi | |
9672 | ||
9673 | if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then | |
9674 | echo "$ac_t""yes" 1>&6 | |
9675 | ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` | |
9676 | cat >> confdefs.h <<EOF | |
9677 | #define $ac_tr_func 1 | |
9678 | EOF | |
9679 | cat >> confdefs.h <<\EOF | |
9680 | #define HAVE_VSNPRINTF 1 | |
9681 | EOF | |
9682 | ||
9683 | else | |
9684 | echo "$ac_t""no" 1>&6 | |
9685 | echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2 | |
9686 | ||
9687 | fi | |
9688 | done | |
9689 | ||
9690 | ||
9691 | ||
9692 | ac_ext=C | |
9693 | # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
9694 | ac_cpp='$CXXCPP $CPPFLAGS' | |
9695 | ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | |
fa3e4baf | 9696 | ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
a16d3c04 KB |
9697 | cross_compiling=$ac_cv_prog_cxx_cross |
9698 | ||
9699 | ||
9700 | echo $ac_n "checking for vsscanf""... $ac_c" 1>&6 | |
f7a11f8c | 9701 | echo "configure:9702: checking for vsscanf" >&5 |
a16d3c04 KB |
9702 | if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then |
9703 | echo $ac_n "(cached) $ac_c" 1>&6 | |
9704 | else | |
9705 | ||
9706 | if test "$cross_compiling" = yes; then | |
9707 | wx_cv_func_vsscanf=no | |
9708 | ||
9709 | else | |
9710 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 9711 | #line 9712 "configure" |
a16d3c04 KB |
9712 | #include "confdefs.h" |
9713 | #ifdef __cplusplus | |
9714 | extern "C" void exit(int); | |
9715 | #endif | |
9716 | ||
9717 | #include <stdio.h> | |
9718 | #include <stdarg.h> | |
9719 | ||
9720 | int try_vsscanf(const char *format, ...) | |
9721 | { | |
9722 | va_list ap; | |
9723 | va_start(ap, format); | |
9724 | ||
9725 | vsscanf("17", format, ap); | |
9726 | ||
9727 | va_end(ap); | |
9728 | } | |
9729 | ||
9730 | int main() | |
9731 | { | |
9732 | int i; | |
9733 | try_vsscanf("%d", &i); | |
9734 | return i == 17 ? 0 : 1; | |
9735 | } | |
9736 | ||
9737 | EOF | |
f7a11f8c | 9738 | if { (eval echo configure:9739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
a16d3c04 KB |
9739 | then |
9740 | ||
9741 | cat >> confdefs.h <<\EOF | |
9742 | #define HAVE_VSSCANF 1 | |
9743 | EOF | |
9744 | ||
9745 | wx_cv_func_vsscanf=yes | |
9746 | ||
9747 | else | |
9748 | echo "configure: failed program was:" >&5 | |
9749 | cat conftest.$ac_ext >&5 | |
9750 | rm -fr conftest* | |
9751 | wx_cv_func_vsscanf=no | |
9752 | fi | |
9753 | rm -fr conftest* | |
9754 | fi | |
9755 | ||
9756 | ||
9757 | fi | |
9758 | ||
9759 | echo "$ac_t""$wx_cv_func_vsscanf" 1>&6 | |
9760 | ||
9761 | ac_ext=c | |
9762 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
9763 | ac_cpp='$CPP $CPPFLAGS' | |
9764 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | |
fa3e4baf | 9765 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
a16d3c04 KB |
9766 | cross_compiling=$ac_cv_prog_cc_cross |
9767 | ||
9768 | ||
9769 | for ac_func in vfork | |
9770 | do | |
9771 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
f7a11f8c | 9772 | echo "configure:9773: checking for $ac_func" >&5 |
a16d3c04 KB |
9773 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
9774 | echo $ac_n "(cached) $ac_c" 1>&6 | |
9775 | else | |
9776 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 9777 | #line 9778 "configure" |
a16d3c04 KB |
9778 | #include "confdefs.h" |
9779 | /* System header to define __stub macros and hopefully few prototypes, | |
9780 | which can conflict with char $ac_func(); below. */ | |
9781 | #include <assert.h> | |
9782 | /* Override any gcc2 internal prototype to avoid an error. */ | |
9783 | /* We use char because int might match the return type of a gcc2 | |
9784 | builtin and then its argument prototype would still apply. */ | |
9785 | char $ac_func(); | |
f7a11f8c | 9786 | char (*f)(); |
a16d3c04 KB |
9787 | |
9788 | int main() { | |
9789 | ||
9790 | /* The GNU C library defines this for functions which it implements | |
9791 | to always fail with ENOSYS. Some functions are actually named | |
9792 | something starting with __ and the normal name is an alias. */ | |
9793 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
9794 | choke me | |
9795 | #else | |
f7a11f8c | 9796 | f = $ac_func; |
a16d3c04 KB |
9797 | #endif |
9798 | ||
9799 | ; return 0; } | |
9800 | EOF | |
f7a11f8c | 9801 | if { (eval echo configure:9802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
a16d3c04 KB |
9802 | rm -rf conftest* |
9803 | eval "ac_cv_func_$ac_func=yes" | |
9804 | else | |
9805 | echo "configure: failed program was:" >&5 | |
9806 | cat conftest.$ac_ext >&5 | |
9807 | rm -rf conftest* | |
9808 | eval "ac_cv_func_$ac_func=no" | |
9809 | fi | |
9810 | rm -f conftest* | |
9811 | fi | |
9812 | ||
9813 | if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then | |
9814 | echo "$ac_t""yes" 1>&6 | |
9815 | ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` | |
9816 | cat >> confdefs.h <<EOF | |
9817 | #define $ac_tr_func 1 | |
9818 | EOF | |
9819 | ||
9820 | else | |
9821 | echo "$ac_t""no" 1>&6 | |
9822 | fi | |
9823 | done | |
9824 | ||
9825 | ||
9826 | POSIX4_LINK= | |
9827 | for ac_func in nanosleep | |
9828 | do | |
9829 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
f7a11f8c | 9830 | echo "configure:9831: checking for $ac_func" >&5 |
a16d3c04 KB |
9831 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
9832 | echo $ac_n "(cached) $ac_c" 1>&6 | |
9833 | else | |
9834 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 9835 | #line 9836 "configure" |
a16d3c04 KB |
9836 | #include "confdefs.h" |
9837 | /* System header to define __stub macros and hopefully few prototypes, | |
9838 | which can conflict with char $ac_func(); below. */ | |
9839 | #include <assert.h> | |
9840 | /* Override any gcc2 internal prototype to avoid an error. */ | |
9841 | /* We use char because int might match the return type of a gcc2 | |
9842 | builtin and then its argument prototype would still apply. */ | |
9843 | char $ac_func(); | |
f7a11f8c | 9844 | char (*f)(); |
a16d3c04 KB |
9845 | |
9846 | int main() { | |
9847 | ||
9848 | /* The GNU C library defines this for functions which it implements | |
9849 | to always fail with ENOSYS. Some functions are actually named | |
9850 | something starting with __ and the normal name is an alias. */ | |
9851 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
9852 | choke me | |
9853 | #else | |
f7a11f8c | 9854 | f = $ac_func; |
a16d3c04 KB |
9855 | #endif |
9856 | ||
9857 | ; return 0; } | |
9858 | EOF | |
f7a11f8c | 9859 | if { (eval echo configure:9860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
a16d3c04 KB |
9860 | rm -rf conftest* |
9861 | eval "ac_cv_func_$ac_func=yes" | |
9862 | else | |
9863 | echo "configure: failed program was:" >&5 | |
9864 | cat conftest.$ac_ext >&5 | |
9865 | rm -rf conftest* | |
9866 | eval "ac_cv_func_$ac_func=no" | |
9867 | fi | |
9868 | rm -f conftest* | |
9869 | fi | |
9870 | ||
9871 | if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then | |
9872 | echo "$ac_t""yes" 1>&6 | |
9873 | ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` | |
9874 | cat >> confdefs.h <<EOF | |
9875 | #define $ac_tr_func 1 | |
9876 | EOF | |
9877 | cat >> confdefs.h <<\EOF | |
9878 | #define HAVE_NANOSLEEP 1 | |
9879 | EOF | |
9880 | ||
9881 | else | |
9882 | echo "$ac_t""no" 1>&6 | |
9883 | echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6 | |
f7a11f8c | 9884 | echo "configure:9885: checking for nanosleep in -lposix4" >&5 |
a16d3c04 KB |
9885 | ac_lib_var=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'` |
9886 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
9887 | echo $ac_n "(cached) $ac_c" 1>&6 | |
9888 | else | |
9889 | ac_save_LIBS="$LIBS" | |
9890 | LIBS="-lposix4 $LIBS" | |
9891 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 9892 | #line 9893 "configure" |
a16d3c04 KB |
9893 | #include "confdefs.h" |
9894 | /* Override any gcc2 internal prototype to avoid an error. */ | |
9895 | /* We use char because int might match the return type of a gcc2 | |
9896 | builtin and then its argument prototype would still apply. */ | |
9897 | char nanosleep(); | |
9898 | ||
9899 | int main() { | |
9900 | nanosleep() | |
9901 | ; return 0; } | |
9902 | EOF | |
f7a11f8c | 9903 | if { (eval echo configure:9904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
a16d3c04 KB |
9904 | rm -rf conftest* |
9905 | eval "ac_cv_lib_$ac_lib_var=yes" | |
9906 | else | |
9907 | echo "configure: failed program was:" >&5 | |
9908 | cat conftest.$ac_ext >&5 | |
9909 | rm -rf conftest* | |
9910 | eval "ac_cv_lib_$ac_lib_var=no" | |
9911 | fi | |
9912 | rm -f conftest* | |
9913 | LIBS="$ac_save_LIBS" | |
9914 | ||
9915 | fi | |
9916 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
9917 | echo "$ac_t""yes" 1>&6 | |
9918 | ||
9919 | cat >> confdefs.h <<\EOF | |
9920 | #define HAVE_NANOSLEEP 1 | |
9921 | EOF | |
9922 | ||
9923 | POSIX4_LINK="-lposix4" | |
9924 | ||
9925 | else | |
9926 | echo "$ac_t""no" 1>&6 | |
9927 | ||
9928 | for ac_func in usleep | |
9929 | do | |
9930 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
f7a11f8c | 9931 | echo "configure:9932: checking for $ac_func" >&5 |
a16d3c04 KB |
9932 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
9933 | echo $ac_n "(cached) $ac_c" 1>&6 | |
9934 | else | |
9935 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 9936 | #line 9937 "configure" |
a16d3c04 KB |
9937 | #include "confdefs.h" |
9938 | /* System header to define __stub macros and hopefully few prototypes, | |
9939 | which can conflict with char $ac_func(); below. */ | |
9940 | #include <assert.h> | |
9941 | /* Override any gcc2 internal prototype to avoid an error. */ | |
9942 | /* We use char because int might match the return type of a gcc2 | |
9943 | builtin and then its argument prototype would still apply. */ | |
9944 | char $ac_func(); | |
f7a11f8c | 9945 | char (*f)(); |
a16d3c04 KB |
9946 | |
9947 | int main() { | |
9948 | ||
9949 | /* The GNU C library defines this for functions which it implements | |
9950 | to always fail with ENOSYS. Some functions are actually named | |
9951 | something starting with __ and the normal name is an alias. */ | |
9952 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
9953 | choke me | |
9954 | #else | |
f7a11f8c | 9955 | f = $ac_func; |
a16d3c04 KB |
9956 | #endif |
9957 | ||
9958 | ; return 0; } | |
9959 | EOF | |
f7a11f8c | 9960 | if { (eval echo configure:9961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
a16d3c04 KB |
9961 | rm -rf conftest* |
9962 | eval "ac_cv_func_$ac_func=yes" | |
9963 | else | |
9964 | echo "configure: failed program was:" >&5 | |
9965 | cat conftest.$ac_ext >&5 | |
9966 | rm -rf conftest* | |
9967 | eval "ac_cv_func_$ac_func=no" | |
9968 | fi | |
9969 | rm -f conftest* | |
9970 | fi | |
9971 | ||
9972 | if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then | |
9973 | echo "$ac_t""yes" 1>&6 | |
9974 | ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` | |
9975 | cat >> confdefs.h <<EOF | |
9976 | #define $ac_tr_func 1 | |
9977 | EOF | |
9978 | cat >> confdefs.h <<\EOF | |
9979 | #define HAVE_USLEEP 1 | |
9980 | EOF | |
9981 | ||
9982 | else | |
9983 | echo "$ac_t""no" 1>&6 | |
9984 | echo "configure: warning: wxSleep() function will not work" 1>&2 | |
9985 | fi | |
9986 | done | |
9987 | ||
9988 | ||
9989 | fi | |
9990 | ||
9991 | ||
9992 | fi | |
9993 | done | |
9994 | ||
9995 | ||
9996 | for ac_func in uname gethostname | |
9997 | do | |
9998 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
f7a11f8c | 9999 | echo "configure:10000: checking for $ac_func" >&5 |
a16d3c04 KB |
10000 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
10001 | echo $ac_n "(cached) $ac_c" 1>&6 | |
10002 | else | |
10003 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 10004 | #line 10005 "configure" |
a16d3c04 KB |
10005 | #include "confdefs.h" |
10006 | /* System header to define __stub macros and hopefully few prototypes, | |
10007 | which can conflict with char $ac_func(); below. */ | |
10008 | #include <assert.h> | |
10009 | /* Override any gcc2 internal prototype to avoid an error. */ | |
10010 | /* We use char because int might match the return type of a gcc2 | |
10011 | builtin and then its argument prototype would still apply. */ | |
10012 | char $ac_func(); | |
f7a11f8c | 10013 | char (*f)(); |
a16d3c04 KB |
10014 | |
10015 | int main() { | |
10016 | ||
10017 | /* The GNU C library defines this for functions which it implements | |
10018 | to always fail with ENOSYS. Some functions are actually named | |
10019 | something starting with __ and the normal name is an alias. */ | |
10020 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
10021 | choke me | |
10022 | #else | |
f7a11f8c | 10023 | f = $ac_func; |
a16d3c04 KB |
10024 | #endif |
10025 | ||
10026 | ; return 0; } | |
10027 | EOF | |
f7a11f8c | 10028 | if { (eval echo configure:10029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
a16d3c04 KB |
10029 | rm -rf conftest* |
10030 | eval "ac_cv_func_$ac_func=yes" | |
10031 | else | |
10032 | echo "configure: failed program was:" >&5 | |
10033 | cat conftest.$ac_ext >&5 | |
10034 | rm -rf conftest* | |
10035 | eval "ac_cv_func_$ac_func=no" | |
10036 | fi | |
10037 | rm -f conftest* | |
10038 | fi | |
10039 | ||
10040 | if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then | |
10041 | echo "$ac_t""yes" 1>&6 | |
10042 | ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` | |
10043 | cat >> confdefs.h <<EOF | |
10044 | #define $ac_tr_func 1 | |
10045 | EOF | |
10046 | break | |
10047 | else | |
10048 | echo "$ac_t""no" 1>&6 | |
10049 | fi | |
10050 | done | |
10051 | ||
10052 | ||
f7a11f8c RR |
10053 | for ac_func in strtok_r |
10054 | do | |
10055 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
10056 | echo "configure:10057: checking for $ac_func" >&5 | |
10057 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | |
10058 | echo $ac_n "(cached) $ac_c" 1>&6 | |
10059 | else | |
10060 | cat > conftest.$ac_ext <<EOF | |
10061 | #line 10062 "configure" | |
10062 | #include "confdefs.h" | |
10063 | /* System header to define __stub macros and hopefully few prototypes, | |
10064 | which can conflict with char $ac_func(); below. */ | |
10065 | #include <assert.h> | |
10066 | /* Override any gcc2 internal prototype to avoid an error. */ | |
10067 | /* We use char because int might match the return type of a gcc2 | |
10068 | builtin and then its argument prototype would still apply. */ | |
10069 | char $ac_func(); | |
10070 | char (*f)(); | |
10071 | ||
10072 | int main() { | |
10073 | ||
10074 | /* The GNU C library defines this for functions which it implements | |
10075 | to always fail with ENOSYS. Some functions are actually named | |
10076 | something starting with __ and the normal name is an alias. */ | |
10077 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
10078 | choke me | |
10079 | #else | |
10080 | f = $ac_func; | |
10081 | #endif | |
10082 | ||
10083 | ; return 0; } | |
10084 | EOF | |
10085 | if { (eval echo configure:10086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
10086 | rm -rf conftest* | |
10087 | eval "ac_cv_func_$ac_func=yes" | |
10088 | else | |
10089 | echo "configure: failed program was:" >&5 | |
10090 | cat conftest.$ac_ext >&5 | |
10091 | rm -rf conftest* | |
10092 | eval "ac_cv_func_$ac_func=no" | |
10093 | fi | |
10094 | rm -f conftest* | |
10095 | fi | |
10096 | ||
10097 | if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then | |
10098 | echo "$ac_t""yes" 1>&6 | |
10099 | ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` | |
10100 | cat >> confdefs.h <<EOF | |
10101 | #define $ac_tr_func 1 | |
10102 | EOF | |
10103 | ||
10104 | else | |
10105 | echo "$ac_t""no" 1>&6 | |
10106 | fi | |
10107 | done | |
10108 | ||
10109 | ||
a16d3c04 KB |
10110 | for ac_func in inet_addr |
10111 | do | |
10112 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
f7a11f8c | 10113 | echo "configure:10114: checking for $ac_func" >&5 |
a16d3c04 KB |
10114 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
10115 | echo $ac_n "(cached) $ac_c" 1>&6 | |
10116 | else | |
10117 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 10118 | #line 10119 "configure" |
a16d3c04 KB |
10119 | #include "confdefs.h" |
10120 | /* System header to define __stub macros and hopefully few prototypes, | |
10121 | which can conflict with char $ac_func(); below. */ | |
10122 | #include <assert.h> | |
10123 | /* Override any gcc2 internal prototype to avoid an error. */ | |
10124 | /* We use char because int might match the return type of a gcc2 | |
10125 | builtin and then its argument prototype would still apply. */ | |
10126 | char $ac_func(); | |
f7a11f8c | 10127 | char (*f)(); |
a16d3c04 KB |
10128 | |
10129 | int main() { | |
10130 | ||
10131 | /* The GNU C library defines this for functions which it implements | |
10132 | to always fail with ENOSYS. Some functions are actually named | |
10133 | something starting with __ and the normal name is an alias. */ | |
10134 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
10135 | choke me | |
10136 | #else | |
f7a11f8c | 10137 | f = $ac_func; |
a16d3c04 KB |
10138 | #endif |
10139 | ||
10140 | ; return 0; } | |
10141 | EOF | |
f7a11f8c | 10142 | if { (eval echo configure:10143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
a16d3c04 KB |
10143 | rm -rf conftest* |
10144 | eval "ac_cv_func_$ac_func=yes" | |
10145 | else | |
10146 | echo "configure: failed program was:" >&5 | |
10147 | cat conftest.$ac_ext >&5 | |
10148 | rm -rf conftest* | |
10149 | eval "ac_cv_func_$ac_func=no" | |
10150 | fi | |
10151 | rm -f conftest* | |
10152 | fi | |
10153 | ||
10154 | if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then | |
10155 | echo "$ac_t""yes" 1>&6 | |
10156 | ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` | |
10157 | cat >> confdefs.h <<EOF | |
10158 | #define $ac_tr_func 1 | |
10159 | EOF | |
10160 | ||
10161 | else | |
10162 | echo "$ac_t""no" 1>&6 | |
10163 | fi | |
10164 | done | |
10165 | ||
10166 | for ac_func in inet_aton | |
10167 | do | |
10168 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
f7a11f8c | 10169 | echo "configure:10170: checking for $ac_func" >&5 |
a16d3c04 KB |
10170 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
10171 | echo $ac_n "(cached) $ac_c" 1>&6 | |
10172 | else | |
10173 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 10174 | #line 10175 "configure" |
a16d3c04 KB |
10175 | #include "confdefs.h" |
10176 | /* System header to define __stub macros and hopefully few prototypes, | |
10177 | which can conflict with char $ac_func(); below. */ | |
10178 | #include <assert.h> | |
10179 | /* Override any gcc2 internal prototype to avoid an error. */ | |
10180 | /* We use char because int might match the return type of a gcc2 | |
10181 | builtin and then its argument prototype would still apply. */ | |
10182 | char $ac_func(); | |
f7a11f8c | 10183 | char (*f)(); |
a16d3c04 KB |
10184 | |
10185 | int main() { | |
10186 | ||
10187 | /* The GNU C library defines this for functions which it implements | |
10188 | to always fail with ENOSYS. Some functions are actually named | |
10189 | something starting with __ and the normal name is an alias. */ | |
10190 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
10191 | choke me | |
10192 | #else | |
f7a11f8c | 10193 | f = $ac_func; |
a16d3c04 KB |
10194 | #endif |
10195 | ||
10196 | ; return 0; } | |
10197 | EOF | |
f7a11f8c | 10198 | if { (eval echo configure:10199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
a16d3c04 KB |
10199 | rm -rf conftest* |
10200 | eval "ac_cv_func_$ac_func=yes" | |
10201 | else | |
10202 | echo "configure: failed program was:" >&5 | |
10203 | cat conftest.$ac_ext >&5 | |
10204 | rm -rf conftest* | |
10205 | eval "ac_cv_func_$ac_func=no" | |
10206 | fi | |
10207 | rm -f conftest* | |
10208 | fi | |
10209 | ||
10210 | if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then | |
10211 | echo "$ac_t""yes" 1>&6 | |
10212 | ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` | |
10213 | cat >> confdefs.h <<EOF | |
10214 | #define $ac_tr_func 1 | |
10215 | EOF | |
10216 | ||
10217 | else | |
10218 | echo "$ac_t""no" 1>&6 | |
10219 | fi | |
10220 | done | |
10221 | ||
10222 | echo $ac_n "checking for inet_aton in -lresolv""... $ac_c" 1>&6 | |
f7a11f8c | 10223 | echo "configure:10224: checking for inet_aton in -lresolv" >&5 |
a16d3c04 KB |
10224 | ac_lib_var=`echo resolv'_'inet_aton | sed 'y%./+-%__p_%'` |
10225 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
10226 | echo $ac_n "(cached) $ac_c" 1>&6 | |
10227 | else | |
10228 | ac_save_LIBS="$LIBS" | |
10229 | LIBS="-lresolv $LIBS" | |
10230 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 10231 | #line 10232 "configure" |
a16d3c04 KB |
10232 | #include "confdefs.h" |
10233 | /* Override any gcc2 internal prototype to avoid an error. */ | |
10234 | /* We use char because int might match the return type of a gcc2 | |
10235 | builtin and then its argument prototype would still apply. */ | |
10236 | char inet_aton(); | |
10237 | ||
10238 | int main() { | |
10239 | inet_aton() | |
10240 | ; return 0; } | |
10241 | EOF | |
f7a11f8c | 10242 | if { (eval echo configure:10243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
a16d3c04 KB |
10243 | rm -rf conftest* |
10244 | eval "ac_cv_lib_$ac_lib_var=yes" | |
10245 | else | |
10246 | echo "configure: failed program was:" >&5 | |
10247 | cat conftest.$ac_ext >&5 | |
10248 | rm -rf conftest* | |
10249 | eval "ac_cv_lib_$ac_lib_var=no" | |
10250 | fi | |
10251 | rm -f conftest* | |
10252 | LIBS="$ac_save_LIBS" | |
10253 | ||
10254 | fi | |
10255 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
10256 | echo "$ac_t""yes" 1>&6 | |
10257 | ac_tr_lib=HAVE_LIB`echo resolv | sed -e 's/[^a-zA-Z0-9_]/_/g' \ | |
10258 | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` | |
10259 | cat >> confdefs.h <<EOF | |
10260 | #define $ac_tr_lib 1 | |
10261 | EOF | |
10262 | ||
10263 | LIBS="-lresolv $LIBS" | |
10264 | ||
10265 | else | |
10266 | echo "$ac_t""no" 1>&6 | |
10267 | fi | |
10268 | ||
10269 | ||
10270 | ||
10271 | cat > confcache <<\EOF | |
10272 | # This file is a shell script that caches the results of configure | |
10273 | # tests run on this system so they can be shared between configure | |
10274 | # scripts and configure runs. It is not useful on other systems. | |
10275 | # If it contains results you don't want to keep, you may remove or edit it. | |
10276 | # | |
10277 | # By default, configure uses ./config.cache as the cache file, | |
10278 | # creating it if it does not exist already. You can give configure | |
10279 | # the --cache-file=FILE option to use a different cache file; that is | |
10280 | # what configure does when it calls configure scripts in | |
10281 | # subdirectories, so they share the cache. | |
10282 | # Giving --cache-file=/dev/null disables caching, for debugging configure. | |
10283 | # config.status only pays attention to the cache file if you give it the | |
10284 | # --recheck option to rerun configure. | |
10285 | # | |
10286 | EOF | |
10287 | # The following way of writing the cache mishandles newlines in values, | |
10288 | # but we know of no workaround that is simple, portable, and efficient. | |
10289 | # So, don't put newlines in cache variables' values. | |
10290 | # Ultrix sh set writes to stderr and can't be redirected directly, | |
10291 | # and sets the high bit in the cache file unless we assign to the vars. | |
10292 | (set) 2>&1 | | |
fa3e4baf | 10293 | case `(ac_space=' '; set | grep ac_space) 2>&1` in |
a16d3c04 KB |
10294 | *ac_space=\ *) |
10295 | # `set' does not quote correctly, so add quotes (double-quote substitution | |
10296 | # turns \\\\ into \\, and sed turns \\ into \). | |
10297 | sed -n \ | |
10298 | -e "s/'/'\\\\''/g" \ | |
10299 | -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" | |
10300 | ;; | |
10301 | *) | |
10302 | # `set' quotes correctly as required by POSIX, so do not add quotes. | |
10303 | sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' | |
10304 | ;; | |
10305 | esac >> confcache | |
10306 | if cmp -s $cache_file confcache; then | |
10307 | : | |
10308 | else | |
10309 | if test -w $cache_file; then | |
10310 | echo "updating cache $cache_file" | |
10311 | cat confcache > $cache_file | |
10312 | else | |
10313 | echo "not updating unwritable cache $cache_file" | |
10314 | fi | |
10315 | fi | |
10316 | rm -f confcache | |
10317 | ||
10318 | ||
10319 | ||
10320 | if test "$USE_UNIX" = 1; then | |
10321 | ||
10322 | ||
10323 | THREADS_LINK="" | |
10324 | THREADS_OBJ="" | |
10325 | ||
10326 | if test "$wxUSE_THREADS" = "yes" ; then | |
10327 | if test "$wxUSE_WINE" = 1 ; then | |
10328 | echo "configure: warning: Threads are not supported under WINE" 1>&2 | |
10329 | wxUSE_THREADS="no" | |
10330 | fi | |
10331 | fi | |
10332 | ||
10333 | if test "$wxUSE_THREADS" = "yes" ; then | |
1c8515f9 | 10334 | |
a16d3c04 | 10335 | echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6 |
f7a11f8c | 10336 | echo "configure:10337: checking for pthread_create in -lpthread" >&5 |
a16d3c04 KB |
10337 | ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'` |
10338 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
10339 | echo $ac_n "(cached) $ac_c" 1>&6 | |
10340 | else | |
10341 | ac_save_LIBS="$LIBS" | |
10342 | LIBS="-lpthread $LIBS" | |
10343 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 10344 | #line 10345 "configure" |
a16d3c04 KB |
10345 | #include "confdefs.h" |
10346 | /* Override any gcc2 internal prototype to avoid an error. */ | |
10347 | /* We use char because int might match the return type of a gcc2 | |
10348 | builtin and then its argument prototype would still apply. */ | |
10349 | char pthread_create(); | |
10350 | ||
10351 | int main() { | |
10352 | pthread_create() | |
10353 | ; return 0; } | |
10354 | EOF | |
f7a11f8c | 10355 | if { (eval echo configure:10356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
a16d3c04 KB |
10356 | rm -rf conftest* |
10357 | eval "ac_cv_lib_$ac_lib_var=yes" | |
10358 | else | |
10359 | echo "configure: failed program was:" >&5 | |
10360 | cat conftest.$ac_ext >&5 | |
10361 | rm -rf conftest* | |
10362 | eval "ac_cv_lib_$ac_lib_var=no" | |
10363 | fi | |
10364 | rm -f conftest* | |
10365 | LIBS="$ac_save_LIBS" | |
10366 | ||
10367 | fi | |
10368 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
10369 | echo "$ac_t""yes" 1>&6 | |
10370 | ||
10371 | THREADS_OBJ="threadpsx.lo" | |
10372 | THREADS_LINK="pthread" | |
10373 | ||
10374 | else | |
10375 | echo "$ac_t""no" 1>&6 | |
10376 | ||
10377 | echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6 | |
f7a11f8c | 10378 | echo "configure:10379: checking for pthread_create in -lc_r" >&5 |
a16d3c04 KB |
10379 | ac_lib_var=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'` |
10380 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
10381 | echo $ac_n "(cached) $ac_c" 1>&6 | |
10382 | else | |
10383 | ac_save_LIBS="$LIBS" | |
10384 | LIBS="-lc_r $LIBS" | |
10385 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 10386 | #line 10387 "configure" |
a16d3c04 KB |
10387 | #include "confdefs.h" |
10388 | /* Override any gcc2 internal prototype to avoid an error. */ | |
10389 | /* We use char because int might match the return type of a gcc2 | |
10390 | builtin and then its argument prototype would still apply. */ | |
10391 | char pthread_create(); | |
10392 | ||
10393 | int main() { | |
10394 | pthread_create() | |
10395 | ; return 0; } | |
10396 | EOF | |
f7a11f8c | 10397 | if { (eval echo configure:10398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
a16d3c04 KB |
10398 | rm -rf conftest* |
10399 | eval "ac_cv_lib_$ac_lib_var=yes" | |
10400 | else | |
10401 | echo "configure: failed program was:" >&5 | |
10402 | cat conftest.$ac_ext >&5 | |
10403 | rm -rf conftest* | |
10404 | eval "ac_cv_lib_$ac_lib_var=no" | |
10405 | fi | |
10406 | rm -f conftest* | |
10407 | LIBS="$ac_save_LIBS" | |
10408 | ||
10409 | fi | |
10410 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
10411 | echo "$ac_t""yes" 1>&6 | |
10412 | ||
10413 | THREADS_OBJ="threadpsx.lo" | |
10414 | THREADS_LINK="c_r" | |
10415 | ||
10416 | else | |
10417 | echo "$ac_t""no" 1>&6 | |
10418 | ||
10419 | ac_safe=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'` | |
10420 | echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6 | |
f7a11f8c | 10421 | echo "configure:10422: checking for sys/prctl.h" >&5 |
a16d3c04 KB |
10422 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
10423 | echo $ac_n "(cached) $ac_c" 1>&6 | |
10424 | else | |
10425 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 10426 | #line 10427 "configure" |
a16d3c04 KB |
10427 | #include "confdefs.h" |
10428 | #include <sys/prctl.h> | |
10429 | EOF | |
10430 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
f7a11f8c | 10431 | { (eval echo configure:10432: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
fa3e4baf | 10432 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
a16d3c04 KB |
10433 | if test -z "$ac_err"; then |
10434 | rm -rf conftest* | |
10435 | eval "ac_cv_header_$ac_safe=yes" | |
10436 | else | |
10437 | echo "$ac_err" >&5 | |
10438 | echo "configure: failed program was:" >&5 | |
10439 | cat conftest.$ac_ext >&5 | |
10440 | rm -rf conftest* | |
10441 | eval "ac_cv_header_$ac_safe=no" | |
10442 | fi | |
10443 | rm -f conftest* | |
10444 | fi | |
10445 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
10446 | echo "$ac_t""yes" 1>&6 | |
10447 | ||
10448 | THREADS_OBJ="threadsgi.lo" | |
10449 | ||
10450 | else | |
10451 | echo "$ac_t""no" 1>&6 | |
10452 | fi | |
10453 | ||
10454 | ||
10455 | fi | |
10456 | ||
10457 | ||
10458 | fi | |
10459 | ||
10460 | ||
10461 | if test -z "$THREADS_OBJ" ; then | |
10462 | wxUSE_THREADS=no | |
10463 | echo "configure: warning: No thread support on this system" 1>&2 | |
10464 | fi | |
10465 | fi | |
10466 | ||
10467 | if test "$wxUSE_THREADS" = "yes" ; then | |
10468 | ||
10469 | for ac_hdr in sched.h | |
10470 | do | |
10471 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | |
10472 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | |
f7a11f8c | 10473 | echo "configure:10474: checking for $ac_hdr" >&5 |
a16d3c04 KB |
10474 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
10475 | echo $ac_n "(cached) $ac_c" 1>&6 | |
10476 | else | |
10477 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 10478 | #line 10479 "configure" |
a16d3c04 KB |
10479 | #include "confdefs.h" |
10480 | #include <$ac_hdr> | |
10481 | EOF | |
10482 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
f7a11f8c | 10483 | { (eval echo configure:10484: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
fa3e4baf | 10484 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
a16d3c04 KB |
10485 | if test -z "$ac_err"; then |
10486 | rm -rf conftest* | |
10487 | eval "ac_cv_header_$ac_safe=yes" | |
10488 | else | |
10489 | echo "$ac_err" >&5 | |
10490 | echo "configure: failed program was:" >&5 | |
10491 | cat conftest.$ac_ext >&5 | |
10492 | rm -rf conftest* | |
10493 | eval "ac_cv_header_$ac_safe=no" | |
10494 | fi | |
10495 | rm -f conftest* | |
10496 | fi | |
10497 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
10498 | echo "$ac_t""yes" 1>&6 | |
10499 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` | |
10500 | cat >> confdefs.h <<EOF | |
10501 | #define $ac_tr_hdr 1 | |
10502 | EOF | |
10503 | ||
10504 | else | |
10505 | echo "$ac_t""no" 1>&6 | |
10506 | fi | |
10507 | done | |
10508 | ||
10509 | ||
10510 | echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6 | |
f7a11f8c | 10511 | echo "configure:10512: checking for sched_yield in -l$THREADS_LINK" >&5 |
a16d3c04 KB |
10512 | ac_lib_var=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'` |
10513 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
10514 | echo $ac_n "(cached) $ac_c" 1>&6 | |
10515 | else | |
10516 | ac_save_LIBS="$LIBS" | |
10517 | LIBS="-l$THREADS_LINK $LIBS" | |
10518 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 10519 | #line 10520 "configure" |
a16d3c04 KB |
10520 | #include "confdefs.h" |
10521 | /* Override any gcc2 internal prototype to avoid an error. */ | |
10522 | /* We use char because int might match the return type of a gcc2 | |
10523 | builtin and then its argument prototype would still apply. */ | |
10524 | char sched_yield(); | |
10525 | ||
10526 | int main() { | |
10527 | sched_yield() | |
10528 | ; return 0; } | |
10529 | EOF | |
f7a11f8c | 10530 | if { (eval echo configure:10531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
a16d3c04 KB |
10531 | rm -rf conftest* |
10532 | eval "ac_cv_lib_$ac_lib_var=yes" | |
10533 | else | |
10534 | echo "configure: failed program was:" >&5 | |
10535 | cat conftest.$ac_ext >&5 | |
10536 | rm -rf conftest* | |
10537 | eval "ac_cv_lib_$ac_lib_var=no" | |
10538 | fi | |
10539 | rm -f conftest* | |
10540 | LIBS="$ac_save_LIBS" | |
10541 | ||
10542 | fi | |
10543 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
10544 | echo "$ac_t""yes" 1>&6 | |
10545 | cat >> confdefs.h <<\EOF | |
10546 | #define HAVE_SCHED_YIELD 1 | |
10547 | EOF | |
10548 | ||
10549 | else | |
10550 | echo "$ac_t""no" 1>&6 | |
10551 | echo $ac_n "checking for sched_yield in -l"posix4"""... $ac_c" 1>&6 | |
f7a11f8c | 10552 | echo "configure:10553: checking for sched_yield in -l"posix4"" >&5 |
a16d3c04 KB |
10553 | ac_lib_var=`echo "posix4"'_'sched_yield | sed 'y%./+-%__p_%'` |
10554 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
10555 | echo $ac_n "(cached) $ac_c" 1>&6 | |
10556 | else | |
10557 | ac_save_LIBS="$LIBS" | |
10558 | LIBS="-l"posix4" $LIBS" | |
10559 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 10560 | #line 10561 "configure" |
a16d3c04 KB |
10561 | #include "confdefs.h" |
10562 | /* Override any gcc2 internal prototype to avoid an error. */ | |
10563 | /* We use char because int might match the return type of a gcc2 | |
10564 | builtin and then its argument prototype would still apply. */ | |
10565 | char sched_yield(); | |
10566 | ||
10567 | int main() { | |
10568 | sched_yield() | |
10569 | ; return 0; } | |
10570 | EOF | |
f7a11f8c | 10571 | if { (eval echo configure:10572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
a16d3c04 KB |
10572 | rm -rf conftest* |
10573 | eval "ac_cv_lib_$ac_lib_var=yes" | |
10574 | else | |
10575 | echo "configure: failed program was:" >&5 | |
10576 | cat conftest.$ac_ext >&5 | |
10577 | rm -rf conftest* | |
10578 | eval "ac_cv_lib_$ac_lib_var=no" | |
10579 | fi | |
10580 | rm -f conftest* | |
10581 | LIBS="$ac_save_LIBS" | |
10582 | ||
10583 | fi | |
10584 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
10585 | echo "$ac_t""yes" 1>&6 | |
10586 | cat >> confdefs.h <<\EOF | |
10587 | #define HAVE_SCHED_YIELD 1 | |
10588 | EOF | |
10589 | POSIX4_LINK="-lposix4" | |
10590 | else | |
10591 | echo "$ac_t""no" 1>&6 | |
10592 | echo "configure: warning: wxThread::Yield will not work properly" 1>&2 | |
10593 | ||
10594 | fi | |
10595 | ||
10596 | ||
10597 | fi | |
10598 | ||
10599 | ||
10600 | echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6 | |
f7a11f8c | 10601 | echo "configure:10602: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5 |
a16d3c04 KB |
10602 | ac_lib_var=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'` |
10603 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
10604 | echo $ac_n "(cached) $ac_c" 1>&6 | |
10605 | else | |
10606 | ac_save_LIBS="$LIBS" | |
10607 | LIBS="-l$THREADS_LINK $LIBS" | |
10608 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 10609 | #line 10610 "configure" |
a16d3c04 KB |
10610 | #include "confdefs.h" |
10611 | /* Override any gcc2 internal prototype to avoid an error. */ | |
10612 | /* We use char because int might match the return type of a gcc2 | |
10613 | builtin and then its argument prototype would still apply. */ | |
10614 | char pthread_attr_getschedpolicy(); | |
10615 | ||
10616 | int main() { | |
10617 | pthread_attr_getschedpolicy() | |
10618 | ; return 0; } | |
10619 | EOF | |
f7a11f8c | 10620 | if { (eval echo configure:10621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
a16d3c04 KB |
10621 | rm -rf conftest* |
10622 | eval "ac_cv_lib_$ac_lib_var=yes" | |
10623 | else | |
10624 | echo "configure: failed program was:" >&5 | |
10625 | cat conftest.$ac_ext >&5 | |
10626 | rm -rf conftest* | |
10627 | eval "ac_cv_lib_$ac_lib_var=no" | |
10628 | fi | |
10629 | rm -f conftest* | |
10630 | LIBS="$ac_save_LIBS" | |
10631 | ||
10632 | fi | |
10633 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
10634 | echo "$ac_t""yes" 1>&6 | |
10635 | cat >> confdefs.h <<\EOF | |
10636 | #define HAVE_THREAD_PRIORITY_FUNCTIONS 1 | |
10637 | EOF | |
10638 | ||
10639 | else | |
10640 | echo "$ac_t""no" 1>&6 | |
10641 | echo $ac_n "checking for pthread_attr_getschedpolicy in -l"posix4"""... $ac_c" 1>&6 | |
f7a11f8c | 10642 | echo "configure:10643: checking for pthread_attr_getschedpolicy in -l"posix4"" >&5 |
a16d3c04 KB |
10643 | ac_lib_var=`echo "posix4"'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'` |
10644 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
10645 | echo $ac_n "(cached) $ac_c" 1>&6 | |
10646 | else | |
10647 | ac_save_LIBS="$LIBS" | |
10648 | LIBS="-l"posix4" $LIBS" | |
10649 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 10650 | #line 10651 "configure" |
a16d3c04 KB |
10651 | #include "confdefs.h" |
10652 | /* Override any gcc2 internal prototype to avoid an error. */ | |
10653 | /* We use char because int might match the return type of a gcc2 | |
10654 | builtin and then its argument prototype would still apply. */ | |
10655 | char pthread_attr_getschedpolicy(); | |
10656 | ||
10657 | int main() { | |
10658 | pthread_attr_getschedpolicy() | |
10659 | ; return 0; } | |
10660 | EOF | |
f7a11f8c | 10661 | if { (eval echo configure:10662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
a16d3c04 KB |
10662 | rm -rf conftest* |
10663 | eval "ac_cv_lib_$ac_lib_var=yes" | |
10664 | else | |
10665 | echo "configure: failed program was:" >&5 | |
10666 | cat conftest.$ac_ext >&5 | |
10667 | rm -rf conftest* | |
10668 | eval "ac_cv_lib_$ac_lib_var=no" | |
10669 | fi | |
10670 | rm -f conftest* | |
10671 | LIBS="$ac_save_LIBS" | |
10672 | ||
10673 | fi | |
10674 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
10675 | echo "$ac_t""yes" 1>&6 | |
10676 | cat >> confdefs.h <<\EOF | |
10677 | #define HAVE_THREAD_PRIORITY_FUNCTIONS 1 | |
10678 | EOF | |
10679 | POSIX4_LINK="-lposix4" | |
10680 | else | |
10681 | echo "$ac_t""no" 1>&6 | |
10682 | echo "configure: warning: Setting thread priority will not work" 1>&2 | |
10683 | ||
10684 | fi | |
10685 | ||
10686 | ||
10687 | fi | |
10688 | ||
10689 | ||
10690 | echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6 | |
f7a11f8c | 10691 | echo "configure:10692: checking for pthread_cancel in -l$THREADS_LINK" >&5 |
a16d3c04 KB |
10692 | ac_lib_var=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'` |
10693 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
10694 | echo $ac_n "(cached) $ac_c" 1>&6 | |
10695 | else | |
10696 | ac_save_LIBS="$LIBS" | |
10697 | LIBS="-l$THREADS_LINK $LIBS" | |
10698 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 10699 | #line 10700 "configure" |
a16d3c04 KB |
10700 | #include "confdefs.h" |
10701 | /* Override any gcc2 internal prototype to avoid an error. */ | |
10702 | /* We use char because int might match the return type of a gcc2 | |
10703 | builtin and then its argument prototype would still apply. */ | |
10704 | char pthread_cancel(); | |
10705 | ||
10706 | int main() { | |
10707 | pthread_cancel() | |
10708 | ; return 0; } | |
10709 | EOF | |
f7a11f8c | 10710 | if { (eval echo configure:10711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
a16d3c04 KB |
10711 | rm -rf conftest* |
10712 | eval "ac_cv_lib_$ac_lib_var=yes" | |
10713 | else | |
10714 | echo "configure: failed program was:" >&5 | |
10715 | cat conftest.$ac_ext >&5 | |
10716 | rm -rf conftest* | |
10717 | eval "ac_cv_lib_$ac_lib_var=no" | |
10718 | fi | |
10719 | rm -f conftest* | |
10720 | LIBS="$ac_save_LIBS" | |
10721 | ||
10722 | fi | |
10723 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
10724 | echo "$ac_t""yes" 1>&6 | |
10725 | cat >> confdefs.h <<\EOF | |
10726 | #define HAVE_PTHREAD_CANCEL 1 | |
10727 | EOF | |
10728 | ||
10729 | else | |
10730 | echo "$ac_t""no" 1>&6 | |
10731 | echo "configure: warning: wxThread::Kill() will not work properly" 1>&2 | |
10732 | fi | |
10733 | ||
10734 | ||
10735 | echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6 | |
f7a11f8c | 10736 | echo "configure:10737: checking for pthread_cleanup_push/pop" >&5 |
a16d3c04 KB |
10737 | if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then |
10738 | echo $ac_n "(cached) $ac_c" 1>&6 | |
10739 | else | |
10740 | ||
10741 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 10742 | #line 10743 "configure" |
a16d3c04 KB |
10743 | #include "confdefs.h" |
10744 | #include <pthread.h> | |
10745 | int main() { | |
10746 | ||
10747 | pthread_cleanup_push(NULL, NULL); | |
10748 | pthread_cleanup_pop(0); | |
10749 | ||
10750 | ; return 0; } | |
10751 | EOF | |
f7a11f8c | 10752 | if { (eval echo configure:10753: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
a16d3c04 KB |
10753 | rm -rf conftest* |
10754 | ||
10755 | wx_cv_func_pthread_cleanup_push=yes | |
10756 | cat >> confdefs.h <<\EOF | |
10757 | #define HAVE_THREAD_CLEANUP_FUNCTIONS 1 | |
10758 | EOF | |
10759 | ||
10760 | ||
10761 | else | |
10762 | echo "configure: failed program was:" >&5 | |
10763 | cat conftest.$ac_ext >&5 | |
10764 | rm -rf conftest* | |
10765 | ||
10766 | wx_cv_func_pthread_cleanup_push=no | |
10767 | ||
10768 | fi | |
10769 | rm -f conftest* | |
10770 | ||
10771 | fi | |
10772 | ||
10773 | echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6 | |
10774 | ||
10775 | THREADS_LINK="-l$THREADS_LINK" | |
10776 | fi | |
10777 | ||
10778 | fi | |
10779 | ||
10780 | if test "$wxUSE_THREADS" = "yes"; then | |
10781 | cat >> confdefs.h <<\EOF | |
10782 | #define wxUSE_THREADS 1 | |
10783 | EOF | |
10784 | ||
10785 | ||
10786 | CFLAGS="${CFLAGS} -D_REENTRANT" | |
10787 | CXXFLAGS="${CXXFLAGS} -D_REENTRANT" | |
10788 | ||
10789 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread" | |
10790 | fi | |
10791 | ||
10792 | if test "$WXGTK12" = 1 ; then | |
10793 | cat >> confdefs.h <<EOF | |
10794 | #define __WXGTK12__ $WXGTK12 | |
10795 | EOF | |
10796 | ||
10797 | fi | |
10798 | ||
10799 | if test "$WXWINE" = 1 ; then | |
10800 | TOOLKIT_DEF="${TOOLKIT_DEF} -D__WXWINE__" | |
10801 | fi | |
10802 | ||
10803 | if test "$wxUSE_CYGWIN" = 1 ; then | |
10804 | TOOLKIT_DEF="${TOOLKIT_DEF} -D__WIN95__" | |
10805 | fi | |
10806 | ||
10807 | WXDEBUG= | |
10808 | ||
10809 | if test "$wxUSE_DEBUG_INFO" = "yes" ; then | |
10810 | WXDEBUG="-g" | |
10811 | wxUSE_OPTIMISE=no | |
10812 | fi | |
10813 | ||
10814 | if test "$wxUSE_DEBUG_GDB" = "yes" ; then | |
10815 | wxUSE_DEBUG_INFO=yes | |
10816 | WXDEBUG="-ggdb" | |
10817 | fi | |
10818 | ||
10819 | if test "$wxUSE_DEBUG_FLAG" = "yes" ; then | |
10820 | cat >> confdefs.h <<\EOF | |
10821 | #define WXDEBUG 1 | |
10822 | EOF | |
10823 | ||
10824 | WXDEBUG_DEFINE="-D__WXDEBUG__" | |
10825 | else | |
10826 | if test "$wxUSE_GTK" = 1 ; then | |
10827 | WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS" | |
10828 | fi | |
10829 | fi | |
10830 | ||
10831 | if test "$wxUSE_MEM_TRACING" = "yes" ; then | |
10832 | cat >> confdefs.h <<\EOF | |
10833 | #define wxUSE_MEMORY_TRACING 1 | |
10834 | EOF | |
10835 | ||
10836 | cat >> confdefs.h <<\EOF | |
10837 | #define wxUSE_GLOBAL_MEMORY_OPERATORS 1 | |
10838 | EOF | |
10839 | ||
10840 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck" | |
10841 | fi | |
10842 | ||
10843 | if test "$wxUSE_DMALLOC" = "yes" ; then | |
10844 | DMALLOC_LINK="-ldmalloc" | |
10845 | fi | |
10846 | ||
10847 | PROFILE= | |
10848 | if test "$wxUSE_PROFILE" = "yes" ; then | |
10849 | PROFILE="-pg" | |
10850 | fi | |
10851 | ||
10852 | DEP_INFO_FLAGS= | |
10853 | if test "$GCC" = yes ; then | |
10854 | if test "$wxUSE_NO_RTTI" = "yes" ; then | |
f7a11f8c | 10855 | WXDEBUG_DEFINE="$WXDEBUG_DEFINE -fno-rtti" |
a16d3c04 KB |
10856 | fi |
10857 | if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then | |
f7a11f8c | 10858 | WXDEBUG_DEFINE="$WXDEBUG_DEFINE -fno-exceptions" |
a16d3c04 KB |
10859 | fi |
10860 | if test "$wxUSE_PERMISSIVE" = "yes" ; then | |
10861 | CFLAGS="${CFLAGS} -fpermissive" | |
10862 | CXXFLAGS="${CXXFLAGS} -fpermissive" | |
10863 | fi | |
10864 | if test "$wxUSE_NO_DEPS" = "no" ; then | |
10865 | DEP_INFO_FLAGS="-MMD" | |
10866 | fi | |
1c8515f9 KB |
10867 | fi |
10868 | ||
10869 | ||
a16d3c04 KB |
10870 | CXXFLAGS=`echo "${CXXFLAGS}" | sed "s/\-O.//g" ` |
10871 | CFLAGS=`echo "${CFLAGS}" | sed "s/\-O.//g" ` | |
10872 | if test "$wxUSE_OPTIMISE" = "no" ; then | |
10873 | OPTIMISE= | |
10874 | else | |
10875 | if test "$GCC" = yes ; then | |
10876 | OPTIMISE="-O2" | |
10877 | case "${host}" in | |
10878 | i586-*-*|i686-*-* ) | |
10879 | OPTIMISE="${OPTIMISE} " | |
10880 | ;; | |
10881 | esac | |
10882 | else | |
10883 | OPTIMISE="-O" | |
10884 | fi | |
10885 | fi | |
10886 | ||
10887 | ||
10888 | ZLIB_INCLUDE= | |
10889 | if test "$wxUSE_ZLIB" = "yes" ; then | |
10890 | cat >> confdefs.h <<\EOF | |
10891 | #define wxUSE_ZLIB 1 | |
10892 | EOF | |
10893 | ||
10894 | ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib" | |
10895 | fi | |
10896 | ||
10897 | PNG_INCLUDE= | |
10898 | if test "$wxUSE_LIBPNG" = "yes" ; then | |
10899 | cat >> confdefs.h <<\EOF | |
10900 | #define wxUSE_LIBPNG 1 | |
10901 | EOF | |
10902 | ||
10903 | PNG_INCLUDE="-I\${top_srcdir}/src/png" | |
10904 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png" | |
10905 | fi | |
10906 | ||
a16d3c04 KB |
10907 | JPEG_INCLUDE= |
10908 | if test "$wxUSE_LIBJPEG" = "yes" ; then | |
10909 | cat >> confdefs.h <<\EOF | |
10910 | #define wxUSE_LIBJPEG 1 | |
10911 | EOF | |
10912 | ||
10913 | JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg" | |
10914 | fi | |
10915 | ||
10916 | if test "$wxUSE_OPENGL" = "yes"; then | |
10917 | ac_safe=`echo "GL/gl.h" | sed 'y%./+-%__p_%'` | |
10918 | echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6 | |
f7a11f8c | 10919 | echo "configure:10920: checking for GL/gl.h" >&5 |
a16d3c04 KB |
10920 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
10921 | echo $ac_n "(cached) $ac_c" 1>&6 | |
10922 | else | |
10923 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 10924 | #line 10925 "configure" |
a16d3c04 KB |
10925 | #include "confdefs.h" |
10926 | #include <GL/gl.h> | |
10927 | EOF | |
10928 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
f7a11f8c | 10929 | { (eval echo configure:10930: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
fa3e4baf | 10930 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
a16d3c04 KB |
10931 | if test -z "$ac_err"; then |
10932 | rm -rf conftest* | |
10933 | eval "ac_cv_header_$ac_safe=yes" | |
10934 | else | |
10935 | echo "$ac_err" >&5 | |
10936 | echo "configure: failed program was:" >&5 | |
10937 | cat conftest.$ac_ext >&5 | |
10938 | rm -rf conftest* | |
10939 | eval "ac_cv_header_$ac_safe=no" | |
10940 | fi | |
10941 | rm -f conftest* | |
10942 | fi | |
10943 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
10944 | echo "$ac_t""yes" 1>&6 | |
10945 | ||
10946 | echo $ac_n "checking for glInitNames in -lGL""... $ac_c" 1>&6 | |
f7a11f8c | 10947 | echo "configure:10948: checking for glInitNames in -lGL" >&5 |
a16d3c04 KB |
10948 | ac_lib_var=`echo GL'_'glInitNames | sed 'y%./+-%__p_%'` |
10949 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
10950 | echo $ac_n "(cached) $ac_c" 1>&6 | |
10951 | else | |
10952 | ac_save_LIBS="$LIBS" | |
10953 | LIBS="-lGL wxUSE_OPENGL=0 $LIBS" | |
10954 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 10955 | #line 10956 "configure" |
a16d3c04 KB |
10956 | #include "confdefs.h" |
10957 | /* Override any gcc2 internal prototype to avoid an error. */ | |
10958 | /* We use char because int might match the return type of a gcc2 | |
10959 | builtin and then its argument prototype would still apply. */ | |
10960 | char glInitNames(); | |
10961 | ||
10962 | int main() { | |
10963 | glInitNames() | |
10964 | ; return 0; } | |
10965 | EOF | |
f7a11f8c | 10966 | if { (eval echo configure:10967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
a16d3c04 KB |
10967 | rm -rf conftest* |
10968 | eval "ac_cv_lib_$ac_lib_var=yes" | |
10969 | else | |
10970 | echo "configure: failed program was:" >&5 | |
10971 | cat conftest.$ac_ext >&5 | |
10972 | rm -rf conftest* | |
10973 | eval "ac_cv_lib_$ac_lib_var=no" | |
10974 | fi | |
10975 | rm -f conftest* | |
10976 | LIBS="$ac_save_LIBS" | |
10977 | ||
10978 | fi | |
10979 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
10980 | echo "$ac_t""yes" 1>&6 | |
10981 | ||
10982 | OPENGL_LINK="-lGL" | |
10983 | cat >> confdefs.h <<\EOF | |
10984 | #define wxUSE_OPENGL 1 | |
10985 | EOF | |
10986 | ||
10987 | UTILS_SUBDIRS="$UTILS_SUBDIRS glcanvas/src" | |
10988 | ||
10989 | else | |
10990 | echo "$ac_t""no" 1>&6 | |
10991 | ||
10992 | echo $ac_n "checking for glInitNames in -lMesaGL""... $ac_c" 1>&6 | |
f7a11f8c | 10993 | echo "configure:10994: checking for glInitNames in -lMesaGL" >&5 |
a16d3c04 KB |
10994 | ac_lib_var=`echo MesaGL'_'glInitNames | sed 'y%./+-%__p_%'` |
10995 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
10996 | echo $ac_n "(cached) $ac_c" 1>&6 | |
10997 | else | |
10998 | ac_save_LIBS="$LIBS" | |
10999 | LIBS="-lMesaGL $LIBS" | |
11000 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 11001 | #line 11002 "configure" |
a16d3c04 KB |
11002 | #include "confdefs.h" |
11003 | /* Override any gcc2 internal prototype to avoid an error. */ | |
11004 | /* We use char because int might match the return type of a gcc2 | |
11005 | builtin and then its argument prototype would still apply. */ | |
11006 | char glInitNames(); | |
11007 | ||
11008 | int main() { | |
11009 | glInitNames() | |
11010 | ; return 0; } | |
11011 | EOF | |
f7a11f8c | 11012 | if { (eval echo configure:11013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
a16d3c04 KB |
11013 | rm -rf conftest* |
11014 | eval "ac_cv_lib_$ac_lib_var=yes" | |
11015 | else | |
11016 | echo "configure: failed program was:" >&5 | |
11017 | cat conftest.$ac_ext >&5 | |
11018 | rm -rf conftest* | |
11019 | eval "ac_cv_lib_$ac_lib_var=no" | |
11020 | fi | |
11021 | rm -f conftest* | |
11022 | LIBS="$ac_save_LIBS" | |
11023 | ||
11024 | fi | |
11025 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
11026 | echo "$ac_t""yes" 1>&6 | |
11027 | ||
11028 | OPENGL_LINK="-lMesaGL" | |
11029 | cat >> confdefs.h <<\EOF | |
11030 | #define wxUSE_OPENGL 1 | |
11031 | EOF | |
11032 | ||
11033 | UTILS_SUBDIRS="$UTILS_SUBDIRS glcanvas/src" | |
11034 | ||
11035 | else | |
11036 | echo "$ac_t""no" 1>&6 | |
11037 | wxUSE_OPENGL=0 | |
11038 | fi | |
11039 | ||
11040 | ||
11041 | fi | |
11042 | ||
11043 | ||
11044 | else | |
11045 | echo "$ac_t""no" 1>&6 | |
11046 | wxUSE_OPENGL=0 | |
11047 | fi | |
11048 | ||
11049 | fi | |
11050 | ||
11051 | ||
11052 | if test "$wxUSE_GUI" = "yes"; then | |
11053 | cat >> confdefs.h <<\EOF | |
11054 | #define wxUSE_GUI 1 | |
11055 | EOF | |
11056 | ||
11057 | ||
11058 | else | |
11059 | cat >> confdefs.h <<\EOF | |
11060 | #define wxUSE_NOGUI 1 | |
11061 | EOF | |
11062 | ||
11063 | fi | |
11064 | ||
11065 | ||
11066 | if test "$wxUSE_UNIX" = "yes"; then | |
11067 | cat >> confdefs.h <<\EOF | |
11068 | #define wxUSE_UNIX 1 | |
11069 | EOF | |
11070 | ||
11071 | fi | |
11072 | ||
11073 | ||
11074 | if test "$wxUSE_APPLE_IEEE" = "yes"; then | |
11075 | cat >> confdefs.h <<\EOF | |
11076 | #define wxUSE_APPLE_IEEE 1 | |
11077 | EOF | |
11078 | ||
11079 | fi | |
11080 | ||
11081 | if test "$wxUSE_TIMEDATE" = "yes"; then | |
11082 | cat >> confdefs.h <<\EOF | |
11083 | #define wxUSE_TIMEDATE 1 | |
11084 | EOF | |
11085 | ||
11086 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest" | |
11087 | fi | |
11088 | ||
11089 | if test "$wxUSE_WAVE" = "yes"; then | |
11090 | cat >> confdefs.h <<\EOF | |
11091 | #define wxUSE_WAVE 1 | |
11092 | EOF | |
11093 | ||
11094 | fi | |
11095 | ||
11096 | if test "$wxUSE_FILE" = "yes"; then | |
11097 | cat >> confdefs.h <<\EOF | |
11098 | #define wxUSE_FILE 1 | |
11099 | EOF | |
11100 | ||
11101 | fi | |
11102 | ||
11103 | if test "$wxUSE_FS_INET" = "yes"; then | |
11104 | cat >> confdefs.h <<\EOF | |
11105 | #define wxUSE_FS_INET 1 | |
11106 | EOF | |
11107 | ||
11108 | fi | |
11109 | ||
11110 | if test "$wxUSE_FS_ZIP" = "yes"; then | |
11111 | cat >> confdefs.h <<\EOF | |
11112 | #define wxUSE_FS_ZIP 1 | |
11113 | EOF | |
11114 | ||
11115 | fi | |
11116 | ||
11117 | if test "$wxUSE_ZIPSTREAM" = "yes"; then | |
11118 | cat >> confdefs.h <<\EOF | |
11119 | #define wxUSE_ZIPSTREAM 1 | |
11120 | EOF | |
11121 | ||
11122 | fi | |
11123 | ||
11124 | if test "$wxUSE_BUSYINFO" = "yes"; then | |
11125 | cat >> confdefs.h <<\EOF | |
11126 | #define wxUSE_BUSYINFO 1 | |
11127 | EOF | |
11128 | ||
11129 | fi | |
11130 | ||
11131 | if test "$wxUSE_STD_IOSTREAM" = "yes"; then | |
11132 | cat >> confdefs.h <<\EOF | |
11133 | #define wxUSE_STD_IOSTREAM 1 | |
11134 | EOF | |
11135 | ||
11136 | fi | |
11137 | ||
11138 | if test "$wxUSE_TEXTFILE" = "yes"; then | |
11139 | if test "$wxUSE_FILE" != "yes"; then | |
11140 | echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2 | |
11141 | else | |
11142 | cat >> confdefs.h <<\EOF | |
11143 | #define wxUSE_TEXTFILE 1 | |
11144 | EOF | |
11145 | ||
11146 | fi | |
11147 | fi | |
11148 | ||
11149 | if test "$wxUSE_CONFIG" = "yes" ; then | |
11150 | if test "$wxUSE_TEXTFILE" != "yes"; then | |
11151 | echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2 | |
11152 | else | |
11153 | cat >> confdefs.h <<\EOF | |
11154 | #define wxUSE_CONFIG 1 | |
11155 | EOF | |
11156 | ||
11157 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config" | |
11158 | fi | |
11159 | fi | |
11160 | ||
11161 | if test "$wxUSE_INTL" = "yes" ; then | |
11162 | if test "$wxUSE_FILE" != "yes"; then | |
11163 | echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2 | |
11164 | else | |
11165 | cat >> confdefs.h <<\EOF | |
11166 | #define wxUSE_INTL 1 | |
11167 | EOF | |
11168 | ||
11169 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat" | |
11170 | fi | |
11171 | fi | |
11172 | ||
11173 | if test "$wxUSE_LOG" = "yes"; then | |
11174 | cat >> confdefs.h <<\EOF | |
11175 | #define wxUSE_LOG 1 | |
11176 | EOF | |
11177 | ||
11178 | fi | |
11179 | ||
11180 | if test "$wxUSE_LONGLONG" = "yes"; then | |
11181 | cat >> confdefs.h <<\EOF | |
11182 | #define wxUSE_LONGLONG 1 | |
11183 | EOF | |
11184 | ||
11185 | fi | |
11186 | ||
11187 | if test "$wxUSE_SOCKETS" = "yes" ; then | |
11188 | if test "$wxUSE_THREADS" = "yes" ; then | |
11189 | cat >> confdefs.h <<\EOF | |
11190 | #define wxUSE_SOCKETS 1 | |
11191 | EOF | |
11192 | ||
11193 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wxsocket" | |
11194 | INCLUDE_SUBDIRS="$INCLUDE_SUBDIRS protocol" | |
11195 | else | |
11196 | echo "configure: warning: Socket classes require --with-threads and won't be compiled without it" 1>&2 | |
11197 | wxUSE_SOCKETS=0 | |
11198 | fi | |
11199 | fi | |
11200 | ||
1c8515f9 KB |
11201 | if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then |
11202 | cat >> confdefs.h <<\EOF | |
11203 | #define wxUSE_DIALUP_MANAGER 1 | |
11204 | EOF | |
11205 | ||
11206 | fi | |
11207 | ||
a16d3c04 KB |
11208 | if test "$wxUSE_STREAMS" = "yes" ; then |
11209 | cat >> confdefs.h <<\EOF | |
11210 | #define wxUSE_STREAMS 1 | |
11211 | EOF | |
11212 | ||
11213 | fi | |
11214 | ||
11215 | if test "$wxUSE_SERIAL" = "yes" ; then | |
11216 | cat >> confdefs.h <<\EOF | |
11217 | #define wxUSE_SERIAL 1 | |
11218 | EOF | |
11219 | ||
11220 | fi | |
11221 | ||
11222 | ||
11223 | if test "$wxUSE_SOCKETS" = "yes"; then | |
11224 | ||
11225 | ac_ext=C | |
11226 | # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
11227 | ac_cpp='$CXXCPP $CPPFLAGS' | |
11228 | ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | |
fa3e4baf | 11229 | ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
a16d3c04 KB |
11230 | cross_compiling=$ac_cv_prog_cxx_cross |
11231 | ||
11232 | echo $ac_n "checking the type of the third argument of getsockname""... $ac_c" 1>&6 | |
f7a11f8c | 11233 | echo "configure:11234: checking the type of the third argument of getsockname" >&5 |
a16d3c04 | 11234 | cat > conftest.$ac_ext <<EOF |
f7a11f8c | 11235 | #line 11236 "configure" |
a16d3c04 KB |
11236 | #include "confdefs.h" |
11237 | #include <sys/socket.h> | |
11238 | int main() { | |
11239 | socklen_t len; getsockname(0, NULL, &len); | |
11240 | ; return 0; } | |
11241 | EOF | |
f7a11f8c | 11242 | if { (eval echo configure:11243: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
a16d3c04 KB |
11243 | rm -rf conftest* |
11244 | cat >> confdefs.h <<\EOF | |
11245 | #define SOCKLEN_T socklen_t | |
11246 | EOF | |
11247 | echo "$ac_t""socklen_t" 1>&6 | |
11248 | else | |
11249 | echo "configure: failed program was:" >&5 | |
11250 | cat conftest.$ac_ext >&5 | |
11251 | rm -rf conftest* | |
11252 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 11253 | #line 11254 "configure" |
a16d3c04 KB |
11254 | #include "confdefs.h" |
11255 | #include <sys/socket.h> | |
11256 | int main() { | |
11257 | size_t len; getsockname(0, NULL, &len); | |
11258 | ; return 0; } | |
11259 | EOF | |
f7a11f8c | 11260 | if { (eval echo configure:11261: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
a16d3c04 KB |
11261 | rm -rf conftest* |
11262 | cat >> confdefs.h <<\EOF | |
11263 | #define SOCKLEN_T size_t | |
11264 | EOF | |
11265 | echo "$ac_t""size_t" 1>&6 | |
11266 | else | |
11267 | echo "configure: failed program was:" >&5 | |
11268 | cat conftest.$ac_ext >&5 | |
11269 | rm -rf conftest* | |
11270 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 11271 | #line 11272 "configure" |
a16d3c04 KB |
11272 | #include "confdefs.h" |
11273 | #include <sys/socket.h> | |
11274 | int main() { | |
11275 | int len; getsockname(0, NULL, &len); | |
11276 | ; return 0; } | |
11277 | EOF | |
f7a11f8c | 11278 | if { (eval echo configure:11279: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
a16d3c04 KB |
11279 | rm -rf conftest* |
11280 | cat >> confdefs.h <<\EOF | |
11281 | #define SOCKLEN_T int | |
11282 | EOF | |
11283 | echo "$ac_t""int" 1>&6 | |
11284 | else | |
11285 | echo "configure: failed program was:" >&5 | |
11286 | cat conftest.$ac_ext >&5 | |
11287 | rm -rf conftest* | |
11288 | echo "$ac_t""unknown" 1>&6 | |
11289 | ||
11290 | fi | |
11291 | rm -f conftest* | |
11292 | ||
11293 | fi | |
11294 | rm -f conftest* | |
11295 | ||
11296 | fi | |
11297 | rm -f conftest* | |
11298 | ac_ext=c | |
11299 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
11300 | ac_cpp='$CPP $CPPFLAGS' | |
11301 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | |
fa3e4baf | 11302 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
a16d3c04 KB |
11303 | cross_compiling=$ac_cv_prog_cc_cross |
11304 | ||
11305 | fi | |
11306 | ||
11307 | ||
11308 | if test "$wxUSE_JOYSTICK" = 1; then | |
11309 | for ac_hdr in linux/joystick.h | |
11310 | do | |
11311 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | |
11312 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | |
f7a11f8c | 11313 | echo "configure:11314: checking for $ac_hdr" >&5 |
a16d3c04 KB |
11314 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
11315 | echo $ac_n "(cached) $ac_c" 1>&6 | |
11316 | else | |
11317 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 11318 | #line 11319 "configure" |
a16d3c04 KB |
11319 | #include "confdefs.h" |
11320 | #include <$ac_hdr> | |
11321 | EOF | |
11322 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
f7a11f8c | 11323 | { (eval echo configure:11324: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
fa3e4baf | 11324 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
a16d3c04 KB |
11325 | if test -z "$ac_err"; then |
11326 | rm -rf conftest* | |
11327 | eval "ac_cv_header_$ac_safe=yes" | |
11328 | else | |
11329 | echo "$ac_err" >&5 | |
11330 | echo "configure: failed program was:" >&5 | |
11331 | cat conftest.$ac_ext >&5 | |
11332 | rm -rf conftest* | |
11333 | eval "ac_cv_header_$ac_safe=no" | |
11334 | fi | |
11335 | rm -f conftest* | |
11336 | fi | |
11337 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
11338 | echo "$ac_t""yes" 1>&6 | |
11339 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` | |
11340 | cat >> confdefs.h <<EOF | |
11341 | #define $ac_tr_hdr 1 | |
11342 | EOF | |
11343 | ||
11344 | else | |
11345 | echo "$ac_t""no" 1>&6 | |
11346 | fi | |
11347 | done | |
11348 | ||
11349 | if test "$ac_cv_header_linux_joystick_h" = "yes"; then | |
11350 | cat >> confdefs.h <<\EOF | |
11351 | #define wxUSE_JOYSTICK 1 | |
11352 | EOF | |
11353 | ||
11354 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest" | |
11355 | fi | |
11356 | fi | |
11357 | ||
11358 | ||
11359 | HAVE_DL_FUNCS=0 | |
11360 | HAVE_SHL_FUNCS=0 | |
11361 | if test "$wxUSE_DYNLIB_CLASS" = "yes"; then | |
11362 | for ac_func in dlopen | |
11363 | do | |
11364 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
f7a11f8c | 11365 | echo "configure:11366: checking for $ac_func" >&5 |
a16d3c04 KB |
11366 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
11367 | echo $ac_n "(cached) $ac_c" 1>&6 | |
11368 | else | |
11369 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 11370 | #line 11371 "configure" |
a16d3c04 KB |
11371 | #include "confdefs.h" |
11372 | /* System header to define __stub macros and hopefully few prototypes, | |
11373 | which can conflict with char $ac_func(); below. */ | |
11374 | #include <assert.h> | |
11375 | /* Override any gcc2 internal prototype to avoid an error. */ | |
11376 | /* We use char because int might match the return type of a gcc2 | |
11377 | builtin and then its argument prototype would still apply. */ | |
11378 | char $ac_func(); | |
f7a11f8c | 11379 | char (*f)(); |
a16d3c04 KB |
11380 | |
11381 | int main() { | |
11382 | ||
11383 | /* The GNU C library defines this for functions which it implements | |
11384 | to always fail with ENOSYS. Some functions are actually named | |
11385 | something starting with __ and the normal name is an alias. */ | |
11386 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
11387 | choke me | |
11388 | #else | |
f7a11f8c | 11389 | f = $ac_func; |
a16d3c04 KB |
11390 | #endif |
11391 | ||
11392 | ; return 0; } | |
11393 | EOF | |
f7a11f8c | 11394 | if { (eval echo configure:11395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
a16d3c04 KB |
11395 | rm -rf conftest* |
11396 | eval "ac_cv_func_$ac_func=yes" | |
11397 | else | |
11398 | echo "configure: failed program was:" >&5 | |
11399 | cat conftest.$ac_ext >&5 | |
11400 | rm -rf conftest* | |
11401 | eval "ac_cv_func_$ac_func=no" | |
11402 | fi | |
11403 | rm -f conftest* | |
11404 | fi | |
11405 | ||
11406 | if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then | |
11407 | echo "$ac_t""yes" 1>&6 | |
11408 | ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` | |
11409 | cat >> confdefs.h <<EOF | |
11410 | #define $ac_tr_func 1 | |
11411 | EOF | |
11412 | cat >> confdefs.h <<\EOF | |
11413 | #define HAVE_DLOPEN 1 | |
11414 | EOF | |
11415 | HAVE_DL_FUNCS=1 | |
11416 | else | |
11417 | echo "$ac_t""no" 1>&6 | |
11418 | echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | |
f7a11f8c | 11419 | echo "configure:11420: checking for dlopen in -ldl" >&5 |
a16d3c04 KB |
11420 | ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
11421 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
11422 | echo $ac_n "(cached) $ac_c" 1>&6 | |
11423 | else | |
11424 | ac_save_LIBS="$LIBS" | |
11425 | LIBS="-ldl $LIBS" | |
11426 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 11427 | #line 11428 "configure" |
a16d3c04 KB |
11428 | #include "confdefs.h" |
11429 | /* Override any gcc2 internal prototype to avoid an error. */ | |
11430 | /* We use char because int might match the return type of a gcc2 | |
11431 | builtin and then its argument prototype would still apply. */ | |
11432 | char dlopen(); | |
11433 | ||
11434 | int main() { | |
11435 | dlopen() | |
11436 | ; return 0; } | |
11437 | EOF | |
f7a11f8c | 11438 | if { (eval echo configure:11439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
a16d3c04 KB |
11439 | rm -rf conftest* |
11440 | eval "ac_cv_lib_$ac_lib_var=yes" | |
11441 | else | |
11442 | echo "configure: failed program was:" >&5 | |
11443 | cat conftest.$ac_ext >&5 | |
11444 | rm -rf conftest* | |
11445 | eval "ac_cv_lib_$ac_lib_var=no" | |
11446 | fi | |
11447 | rm -f conftest* | |
11448 | LIBS="$ac_save_LIBS" | |
11449 | ||
11450 | fi | |
11451 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
11452 | echo "$ac_t""yes" 1>&6 | |
11453 | cat >> confdefs.h <<\EOF | |
11454 | #define HAVE_DLOPEN 1 | |
11455 | EOF | |
11456 | HAVE_DL_FUNCS=1 | |
11457 | else | |
11458 | echo "$ac_t""no" 1>&6 | |
11459 | fi | |
11460 | ||
11461 | fi | |
11462 | done | |
11463 | ||
11464 | for ac_func in shl_load | |
11465 | do | |
11466 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
f7a11f8c | 11467 | echo "configure:11468: checking for $ac_func" >&5 |
a16d3c04 KB |
11468 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
11469 | echo $ac_n "(cached) $ac_c" 1>&6 | |
11470 | else | |
11471 | cat > conftest.$ac_ext <<EOF | |
f7a11f8c | 11472 | #line 11473 "configure" |
a16d3c04 KB |
11473 | #include "confdefs.h" |
11474 | /* System header to define __stub macros and hopefully few prototypes, | |
11475 | which can conflict with char $ac_func(); below. */ | |
11476 | #include <assert.h> | |
11477 | /* Override any gcc2 internal prototype to avoid an error. */ | |
11478 | /* We use char because int might match the return type of a gcc2 | |
11479 | builtin and then its argument prototype would still apply. */ | |
11480 | char $ac_func(); | |
f7a11f8c | 11481 | char (*f)(); |
a16d3c04 KB |
11482 | |
11483 | int main() { | |
11484 | ||
11485 | /* The GNU C library defines this for functions which it implements | |
11486 | to always fail with ENOSYS. Some functions are actually named | |
11487 | something starting with __ and the normal name is an alias. */ | |
11488 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
11489 | choke me | |
11490 | #else | |
f7a11f8c | 11491 | f = $ac_func; |
a16d3c04 KB |
11492 | #endif |
11493 | ||
11494 | ; return 0; } | |
11495 | EOF | |
f7a11f8c | 11496 | if { (eval echo configure:11497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
a16d3c04 KB |
11497 | rm -rf conftest* |
11498 | eval "ac_cv_func_$ac_func=yes" | |
11499 | else | |
11500 | echo "configure: failed program was:" >&5 | |
11501 | cat conftest.$ac_ext >&5 | |
11502 | rm -rf conftest* | |
11503 | eval "ac_cv_func_$ac_func=no" | |
11504 | fi | |
11505 | rm -f conftest* | |
11506 | fi | |
11507 | ||
11508 | if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then | |
11509 | echo "$ac_t""yes" 1>&6 | |
11510 | ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` | |
11511 | cat >> confdefs.h <<EOF | |
11512 | #define $ac_tr_func 1 | |
11513 | EOF | |
11514 | cat >> confdefs.h <<\EOF | |
11515 | #define HAVE_SHL_LOAD 1 | |
11516 | EOF | |
11517 | HAVE_DL_FUNCS=1 HAVE_SHL_FUNCS=1 | |
11518 | else | |
11519 | echo "$ac_t""no" 1>&6 | |
11520 | fi | |
11521 | done | |
11522 | ||
11523 | ||
11524 | if test "$HAVE_DL_FUNCS" = 0; then | |
1c8515f9 | 11525 | if test "$USE_UNIX" = 1; then |
a16d3c04 KB |
11526 | echo "configure: warning: "--with-dynlib and --with-odbc will be disabled due to missing shared library support"" 1>&2 |
11527 | wxUSE_ODBC=no | |
11528 | wxUSE_DYNLIB_CLASS=no | |
f7a11f8c RR |
11529 | else |
11530 | echo "configure: warning: "Cannot check dynlib requirements on non-Unix platforms. dynlib remains enabled."" 1>&2 | |
11531 | fi | |
a16d3c04 KB |
11532 | fi |
11533 | fi | |
11534 | ||
11535 | if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then | |
11536 | cat >> confdefs.h <<\EOF | |
11537 | #define wxUSE_DYNLIB_CLASS 1 | |
11538 | EOF | |
11539 | ||
11540 | fi | |
11541 | ||
11542 | ||
11543 | if test "$wxUSE_UNICODE" = "yes" ; then | |
11544 | cat >> confdefs.h <<\EOF | |
11545 | #define wxUSE_UNICODE 1 | |
11546 | EOF | |
11547 | ||
11548 | fi | |
11549 | ||
11550 | if test "$wxUSE_WCSRTOMBS" = "yes" ; then | |
11551 | cat >> confdefs.h <<\EOF | |
11552 | #define wxUSE_WCSRTOMBS 1 | |
11553 | EOF | |
11554 | ||
11555 | fi | |
11556 | ||
11557 | if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then | |
11558 | cat >> confdefs.h <<\EOF | |
11559 | #define wxUSE_EXPERIMENTAL_PRINTF 1 | |
11560 | EOF | |
11561 | ||
11562 | fi | |
11563 | ||
11564 | ||
11565 | IODBC_C_SRC="" | |
11566 | if test "$wxUSE_ODBC" = "yes" ; then | |
11567 | cat >> confdefs.h <<\EOF | |
11568 | #define wxUSE_ODBC 1 | |
11569 | EOF | |
11570 | ||
11571 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db" | |
11572 | fi | |
11573 | ||
11574 | ||
11575 | if test "$wxUSE_POSTSCRIPT" = "yes" ; then | |
11576 | cat >> confdefs.h <<\EOF | |
11577 | #define wxUSE_POSTSCRIPT 1 | |
11578 | EOF | |
11579 | ||
11580 | fi | |
11581 | ||
11582 | cat >> confdefs.h <<\EOF | |
11583 | #define wxUSE_AFM_FOR_POSTSCRIPT 1 | |
11584 | EOF | |
11585 | ||
11586 | ||
11587 | cat >> confdefs.h <<\EOF | |
11588 | #define wxUSE_NORMALIZED_PS_FONTS 1 | |
11589 | EOF | |
11590 | ||
11591 | ||
11592 | ||
11593 | if test "$wxUSE_CONSTRAINTS" = "yes"; then | |
11594 | cat >> confdefs.h <<\EOF | |
11595 | #define wxUSE_CONSTRAINTS 1 | |
11596 | EOF | |
11597 | ||
11598 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout" | |
11599 | fi | |
11600 | ||
11601 | if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then | |
11602 | cat >> confdefs.h <<\EOF | |
11603 | #define wxUSE_MDI_ARCHITECTURE 1 | |
11604 | EOF | |
11605 | ||
11606 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi" | |
11607 | fi | |
11608 | ||
11609 | if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then | |
11610 | cat >> confdefs.h <<\EOF | |
11611 | #define wxUSE_DOC_VIEW_ARCHITECTURE 1 | |
11612 | EOF | |
11613 | ||
11614 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview" | |
11615 | if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then | |
11616 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi" | |
11617 | fi | |
11618 | fi | |
11619 | ||
11620 | if test "$wxUSE_HELP" = "yes"; then | |
11621 | cat >> confdefs.h <<\EOF | |
11622 | #define wxUSE_HELP 1 | |
11623 | EOF | |
11624 | ||
11625 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help" | |
11626 | fi | |
11627 | ||
11628 | if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then | |
11629 | if test "$wxUSE_CONSTRAINTS" != "yes"; then | |
11630 | echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2 | |
11631 | else | |
11632 | cat >> confdefs.h <<\EOF | |
11633 | #define wxUSE_PRINTING_ARCHITECTURE 1 | |
11634 | EOF | |
11635 | ||
11636 | fi | |
11637 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing" | |
11638 | fi | |
11639 | ||
11640 | if test "$wxUSE_PROLOGIO" = "yes" ; then | |
11641 | cat >> confdefs.h <<\EOF | |
11642 | #define wxUSE_PROLOGIO 1 | |
11643 | EOF | |
11644 | ||
11645 | fi | |
11646 | ||
11647 | if test "$wxUSE_RESOURCES" = "yes" ; then | |
11648 | if test "$wxUSE_PROLOGIO" = "yes" ; then | |
11649 | cat >> confdefs.h <<\EOF | |
11650 | #define wxUSE_RESOURCES 1 | |
11651 | EOF | |
11652 | ||
11653 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS resource" | |
11654 | else | |
11655 | echo "configure: warning: wxWindows ressource system requires PrologIO and can't be compiled without it." 1>&2 | |
11656 | fi | |
11657 | fi | |
11658 | ||
11659 | if test "$wxUSE_X_RESOURCES" = "yes"; then | |
11660 | cat >> confdefs.h <<\EOF | |
11661 | #define wxUSE_X_RESOURCES 1 | |
11662 | EOF | |
11663 | ||
11664 | fi | |
11665 | ||
11666 | ||
11667 | if test "$wxUSE_IPC" = "yes"; then | |
11668 | cat >> confdefs.h <<\EOF | |
11669 | #define wxUSE_IPC 1 | |
11670 | EOF | |
11671 | ||
11672 | fi | |
11673 | ||
11674 | if test "$wxUSE_CLIPBOARD" = "yes"; then | |
11675 | cat >> confdefs.h <<\EOF | |
11676 | #define wxUSE_CLIPBOARD 1 | |
11677 | EOF | |
11678 | ||
11679 | fi | |
11680 | ||
11681 | if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then | |
11682 | if test "$wxUSE_GTK" = 1; then | |
11683 | if test "$WXGTK12" != 1; then | |
11684 | echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2 | |
f7a11f8c | 11685 | wxUSE_DRAG_AND_DROP=no |
a16d3c04 KB |
11686 | fi |
11687 | fi | |
11688 | ||
11689 | if test "$wxUSE_MOTIF" = 1; then | |
11690 | echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2 | |
f7a11f8c | 11691 | wxUSE_DRAG_AND_DROP=no |
a16d3c04 KB |
11692 | fi |
11693 | ||
11694 | if test "$wxUSE_DRAG_AND_DROP" = "yes"; then | |
11695 | cat >> confdefs.h <<\EOF | |
11696 | #define wxUSE_DRAG_AND_DROP 1 | |
11697 | EOF | |
11698 | ||
11699 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd" | |
11700 | fi | |
11701 | fi | |
11702 | ||
11703 | if test "$wxUSE_SPLINES" = "yes" ; then | |
11704 | cat >> confdefs.h <<\EOF | |
11705 | #define wxUSE_SPLINES 1 | |
11706 | EOF | |
11707 | ||
11708 | fi | |
11709 | ||
11710 | ||
11711 | if test "$wxUSE_ACCEL" = "yes"; then | |
11712 | cat >> confdefs.h <<\EOF | |
11713 | #define wxUSE_ACCEL 1 | |
11714 | EOF | |
11715 | ||
11716 | fi | |
11717 | ||
11718 | if test "$wxUSE_CARET" = "yes"; then | |
11719 | cat >> confdefs.h <<\EOF | |
11720 | #define wxUSE_CARET 1 | |
11721 | EOF | |
11722 | ||
11723 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret" | |
11724 | fi | |
11725 | ||
11726 | if test "$wxUSE_COMBOBOX" = "yes"; then | |
11727 | cat >> confdefs.h <<\EOF | |
11728 | #define wxUSE_COMBOBOX 1 | |
11729 | EOF | |
11730 | ||
11731 | fi | |
11732 | ||
11733 | if test "$wxUSE_CHOICE" = "yes"; then | |
11734 | cat >> confdefs.h <<\EOF | |
11735 | #define wxUSE_CHOICE 1 | |
11736 | EOF | |
11737 | ||
11738 | fi | |
11739 | ||
11740 | if test "$wxUSE_BMPBUTTON" = "yes"; then | |
11741 | cat >> confdefs.h <<\EOF | |
11742 | #define wxUSE_BMPBUTTON 1 | |
11743 | EOF | |
11744 | ||
11745 | fi | |
11746 | ||
11747 | if test "$wxUSE_CHECKBOX" = "yes"; then | |
11748 | cat >> confdefs.h <<\EOF | |
11749 | #define wxUSE_CHECKBOX 1 | |
11750 | EOF | |
11751 | ||
11752 | fi | |
11753 | ||
11754 | if test "$wxUSE_CHECKLST" = "yes"; then | |
11755 | cat >> confdefs.h <<\EOF | |
11756 | #define wxUSE_CHECKLISTBOX 1 | |
11757 | EOF | |
11758 | ||
11759 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst" | |
11760 | fi | |
11761 | ||
11762 | if test "$wxUSE_GAUGE" = "yes"; then | |
11763 | cat >> confdefs.h <<\EOF | |
11764 | #define wxUSE_GAUGE 1 | |
11765 | EOF | |
11766 | ||
11767 | fi | |
11768 | ||
11769 | if test "$wxUSE_GRID" = "yes"; then | |
11770 | cat >> confdefs.h <<\EOF | |
11771 | #define wxUSE_GRID 1 | |
11772 | EOF | |
11773 | ||
11774 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid" | |
11775 | fi | |
11776 | ||
11777 | if test "$wxUSE_IMAGLIST" = "yes"; then | |
11778 | cat >> confdefs.h <<\EOF | |
11779 | #define wxUSE_IMAGLIST 1 | |
11780 | EOF | |
11781 | ||
11782 | fi | |
11783 | ||
11784 | if test "$wxUSE_LISTBOX" = "yes"; then | |
11785 | cat >> confdefs.h <<\EOF | |
11786 | #define wxUSE_LISTBOX 1 | |
11787 | EOF | |
11788 | ||
11789 | fi | |
11790 | ||
11791 | if test "$wxUSE_LISTCTRL" = "yes"; then | |
11792 | if test "$wxUSE_IMAGLIST" = "yes"; then | |
11793 | cat >> confdefs.h <<\EOF | |
11794 | #define wxUSE_LISTCTRL 1 | |
11795 | EOF | |
11796 | ||
11797 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl" | |
11798 | else | |
11799 | echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2 | |
11800 | fi | |
11801 | fi | |
11802 | ||
11803 | if test "$wxUSE_NOTEBOOK" = "yes"; then | |
11804 | cat >> confdefs.h <<\EOF | |
11805 | #define wxUSE_NOTEBOOK 1 | |
11806 | EOF | |
11807 | ||
11808 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook" | |
11809 | fi | |
11810 | ||
11811 | if test "$wxUSE_RADIOBOX" = "yes"; then | |
11812 | cat >> confdefs.h <<\EOF | |
11813 | #define wxUSE_RADIOBOX 1 | |
11814 | EOF | |
11815 | ||
11816 | fi | |
11817 | ||
11818 | if test "$wxUSE_RADIOBTN" = "yes"; then | |
11819 | cat >> confdefs.h <<\EOF | |
11820 | #define wxUSE_RADIOBTN 1 | |
11821 | EOF | |
11822 | ||
11823 | fi | |
11824 | ||
11825 | if test "$wxUSE_SASH" = "yes"; then | |
11826 | cat >> confdefs.h <<\EOF | |
11827 | #define wxUSE_SASH 1 | |
11828 | EOF | |
11829 | ||
11830 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest" | |
11831 | fi | |
11832 | ||
11833 | if test "$wxUSE_SCROLLBAR" = "yes"; then | |
11834 | cat >> confdefs.h <<\EOF | |
11835 | #define wxUSE_SCROLLBAR 1 | |
11836 | EOF | |
11837 | ||
11838 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll" | |
11839 | fi | |
11840 | ||
11841 | if test "$wxUSE_SLIDER" = "yes"; then | |
11842 | cat >> confdefs.h <<\EOF | |
11843 | #define wxUSE_SLIDER 1 | |
11844 | EOF | |
11845 | ||
11846 | fi | |
11847 | ||
11848 | if test "$wxUSE_SPINBTN" = "yes"; then | |
11849 | cat >> confdefs.h <<\EOF | |
11850 | #define wxUSE_SPINBTN 1 | |
11851 | EOF | |
11852 | ||
11853 | fi | |
11854 | ||
11855 | if test "$wxUSE_SPLITTER" = "yes"; then | |
11856 | cat >> confdefs.h <<\EOF | |
11857 | #define wxUSE_SPLITTER 1 | |
11858 | EOF | |
11859 | ||
11860 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter" | |
11861 | fi | |
11862 | ||
11863 | if test "$wxUSE_STATBMP" = "yes"; then | |
11864 | cat >> confdefs.h <<\EOF | |
11865 | #define wxUSE_STATBMP 1 | |
11866 | EOF | |
11867 | ||
11868 | fi | |
11869 | ||
11870 | if test "$wxUSE_STATBOX" = "yes"; then | |
11871 | cat >> confdefs.h <<\EOF | |
11872 | #define wxUSE_STATBOX 1 | |
11873 | EOF | |
11874 | ||
11875 | fi | |
11876 | ||
11877 | if test "$wxUSE_STATLINE" = "yes"; then | |
11878 | if test "$wxUSE_WINE" = 1 ; then | |
11879 | echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2 | |
11880 | else | |
f7a11f8c | 11881 | cat >> confdefs.h <<\EOF |
a16d3c04 KB |
11882 | #define wxUSE_STATLINE 1 |
11883 | EOF | |
11884 | ||
11885 | fi | |
11886 | fi | |
11887 | ||
11888 | if test "$wxUSE_STATUSBAR" = "yes"; then | |
11889 | cat >> confdefs.h <<\EOF | |
11890 | #define wxUSE_STATUSBAR 1 | |
11891 | EOF | |
11892 | ||
11893 | fi | |
11894 | ||
11895 | if test "$wxUSE_TABDIALOG" = "yes"; then | |
11896 | cat >> confdefs.h <<\EOF | |
11897 | #define wxUSE_TAB_DIALOG 1 | |
11898 | EOF | |
11899 | ||
11900 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab" | |
11901 | fi | |
11902 | ||
11903 | if test "$wxUSE_TOOLBAR" = "yes"; then | |
11904 | cat >> confdefs.h <<\EOF | |
11905 | #define wxUSE_TOOLBAR 1 | |
11906 | EOF | |
11907 | ||
11908 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar" | |
11909 | fi | |
11910 | ||
11911 | if test "$wxUSE_TOOLTIPS" = "yes"; then | |
11912 | if test "$wxUSE_MOTIF" = 1; then | |
11913 | echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2 | |
11914 | else | |
11915 | if test "$wxUSE_WINE" = 1; then | |
11916 | echo "configure: warning: wxTooltip not supported under WINE" 1>&2 | |
11917 | else | |
11918 | cat >> confdefs.h <<\EOF | |
11919 | #define wxUSE_TOOLTIPS 1 | |
11920 | EOF | |
11921 | ||
11922 | fi | |
11923 | fi | |
11924 | fi | |
11925 | ||
11926 | if test "$wxUSE_TREECTRL" = "yes"; then | |
11927 | if test "$wxUSE_IMAGLIST" = "yes"; then | |
11928 | cat >> confdefs.h <<\EOF | |
11929 | #define wxUSE_TREECTRL 1 | |
11930 | EOF | |
11931 | ||
11932 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl" | |
11933 | else | |
11934 | echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2 | |
11935 | fi | |
11936 | fi | |
11937 | ||
11938 | ||
11939 | ||
11940 | if test "$wxUSE_METAFILE" = "yes"; then | |
11941 | cat >> confdefs.h <<\EOF | |
11942 | #define wxUSE_METAFILE 1 | |
11943 | EOF | |
11944 | ||
11945 | fi | |
11946 | ||
11947 | if test "$wxUSE_DIRDLG" = "yes"; then | |
11948 | if test "$wxUSE_CONSTRAINTS" != "yes"; then | |
11949 | echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2 | |
11950 | else | |
11951 | if test "$wxUSE_TREECTRL" != "yes"; then | |
11952 | echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2 | |
11953 | else | |
11954 | cat >> confdefs.h <<\EOF | |
11955 | #define wxUSE_DIRDLG 1 | |
11956 | EOF | |
11957 | ||
11958 | fi | |
11959 | fi | |
11960 | fi | |
11961 | ||
11962 | if test "$wxUSE_TEXTDLG" = "yes"; then | |
11963 | cat >> confdefs.h <<\EOF | |
11964 | #define wxUSE_TEXTDLG 1 | |
11965 | EOF | |
11966 | ||
11967 | fi | |
11968 | ||
11969 | if test "$wxUSE_STARTUP_TIPS" = "yes"; then | |
11970 | if test "$wxUSE_CONSTRAINTS" != "yes"; then | |
11971 | echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2 | |
11972 | else | |
11973 | cat >> confdefs.h <<\EOF | |
11974 | #define wxUSE_STARTUP_TIPS 1 | |
11975 | EOF | |
11976 | ||
11977 | fi | |
11978 | fi | |
11979 | ||
11980 | if test "$wxUSE_PROGRESSDLG" = "yes"; then | |
11981 | if test "$wxUSE_CONSTRAINTS" != "yes"; then | |
11982 | echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2 | |
11983 | else | |
11984 | cat >> confdefs.h <<\EOF | |
11985 | #define wxUSE_PROGRESSDLG 1 | |
11986 | EOF | |
11987 | ||
11988 | fi | |
11989 | fi | |
11990 | ||
11991 | if test "$wxUSE_MINIFRAME" = "yes"; then | |
11992 | cat >> confdefs.h <<\EOF | |
11993 | #define wxUSE_MINIFRAME 1 | |
11994 | EOF | |
11995 | ||
11996 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram" | |
11997 | fi | |
11998 | ||
11999 | if test "$wxUSE_HTML" = "yes"; then | |
12000 | cat >> confdefs.h <<\EOF | |
12001 | #define wxUSE_HTML 1 | |
12002 | EOF | |
12003 | ||
12004 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html" | |
12005 | INCLUDE_SUBDIRS="$INCLUDE_SUBDIRS html" | |
12006 | fi | |
12007 | ||
12008 | if test "$wxUSE_VALIDATORS" = "yes"; then | |
12009 | cat >> confdefs.h <<\EOF | |
12010 | #define wxUSE_VALIDATORS 1 | |
12011 | EOF | |
12012 | ||
12013 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate" | |
12014 | fi | |
12015 | ||
1c8515f9 KB |
12016 | if test "$wxUSE_GIF" = "yes" ; then |
12017 | cat >> confdefs.h <<\EOF | |
12018 | #define wxUSE_GIF 1 | |
12019 | EOF | |
12020 | ||
12021 | fi | |
12022 | ||
12023 | if test "$wxUSE_PCX" = "yes" ; then | |
12024 | cat >> confdefs.h <<\EOF | |
12025 | #define wxUSE_PCX 1 | |
12026 | EOF | |
12027 | ||
12028 | fi | |
12029 | ||
12030 | if test "$wxUSE_PNM" = "yes" ; then | |
12031 | cat >> confdefs.h <<\EOF | |
12032 | #define wxUSE_PNM 1 | |
12033 | EOF | |
12034 | ||
12035 | fi | |
12036 | ||
a16d3c04 KB |
12037 | |
12038 | GUILIBS="$GUI_TK_LIBRARY $OPENGL_LINK $LIBPNG_LINK $ZLIB_LINK $TOOLKIT_LINK" | |
12039 | ||
f7a11f8c RR |
12040 | EXTRA_LIBS="$LIBS $POSIX4_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK" |
12041 | if test "$wxUSE_GUI" = "yes"; then | |
12042 | EXTRA_LIBS="$EXTRA_LIBS $GUILIBS" | |
12043 | fi | |
a16d3c04 KB |
12044 | |
12045 | LD_LIBS="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS" | |
12046 | ||
12047 | INCLUDES="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TOOLKIT_INCLUDE" | |
12048 | ||
12049 | if test "$GXX" = yes ; then | |
12050 | CXXWARNINGS="-Wall" | |
12051 | fi | |
12052 | EXTRA_CFLAGS="$WXDEBUG $PROFILE $OPTIMISE $INCLUDES" | |
12053 | ||
12054 | CPPFLAGS="-I\${top_srcdir}/include $CPPFLAGS" | |
12055 | CFLAGS="$CFLAGS $EXTRA_CFLAGS" | |
12056 | CXXFLAGS="$CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS" | |
12057 | ||
12058 | if test "$wxUSE_GUI" = "yes"; then | |
12059 | ||
12060 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS bombs controls dialogs drawing dynamic \ | |
12061 | forty fractal image wxpoem" | |
f7a11f8c RR |
12062 | else |
12063 | SAMPLES_SUBDIRS="" | |
a16d3c04 KB |
12064 | fi |
12065 | ||
12066 | SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '`" | |
12067 | ||
12068 | ||
12069 | ||
12070 | ||
12071 | ||
12072 | ||
12073 | ||
12074 | ||
12075 | ||
12076 | ||
12077 | ||
12078 | ||
12079 | ||
12080 | ||
12081 | ||
12082 | ||
12083 | ||
12084 | ||
12085 | ||
12086 | ||
12087 | ||
12088 | ||
12089 | ||
12090 | ||
12091 | ||
12092 | ||
12093 | ||
12094 | ||
12095 | ||
12096 | ||
12097 | ||
12098 | ||
12099 | ||
12100 | ||
12101 | ||
12102 | ||
12103 | ||
12104 | ||
12105 | ||
12106 | ||
12107 | ||
12108 | ||
12109 | ||
12110 | ||
f7a11f8c RR |
12111 | |
12112 | ||
12113 | ||
12114 | ||
a16d3c04 KB |
12115 | |
12116 | ||
12117 | ||
12118 | ||
12119 | ||
12120 | echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | |
f7a11f8c | 12121 | echo "configure:12122: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
a16d3c04 KB |
12122 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
12123 | if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then | |
12124 | echo $ac_n "(cached) $ac_c" 1>&6 | |
12125 | else | |
12126 | cat > conftestmake <<\EOF | |
12127 | all: | |
12128 | @echo 'ac_maketemp="${MAKE}"' | |
12129 | EOF | |
12130 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | |
12131 | eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` | |
12132 | if test -n "$ac_maketemp"; then | |
12133 | eval ac_cv_prog_make_${ac_make}_set=yes | |
12134 | else | |
12135 | eval ac_cv_prog_make_${ac_make}_set=no | |
12136 | fi | |
12137 | rm -f conftestmake | |
12138 | fi | |
12139 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then | |
12140 | echo "$ac_t""yes" 1>&6 | |
12141 | SET_MAKE= | |
12142 | else | |
12143 | echo "$ac_t""no" 1>&6 | |
12144 | SET_MAKE="MAKE=${MAKE-make}" | |
12145 | fi | |
12146 | ||
12147 | ||
12148 | ||
12149 | ||
12150 | if test "${TOOLKIT_DIR}" = "msw" ; then | |
12151 | GL_TOOLKIT_DIR="win" | |
12152 | else | |
12153 | GL_TOOLKIT_DIR="${TOOLKIT_DIR}" | |
12154 | fi | |
12155 | ||
12156 | ||
12157 | trap '' 1 2 15 | |
12158 | cat > confcache <<\EOF | |
12159 | # This file is a shell script that caches the results of configure | |
12160 | # tests run on this system so they can be shared between configure | |
12161 | # scripts and configure runs. It is not useful on other systems. | |
12162 | # If it contains results you don't want to keep, you may remove or edit it. | |
12163 | # | |
12164 | # By default, configure uses ./config.cache as the cache file, | |
12165 | # creating it if it does not exist already. You can give configure | |
12166 | # the --cache-file=FILE option to use a different cache file; that is | |
12167 | # what configure does when it calls configure scripts in | |
12168 | # subdirectories, so they share the cache. | |
12169 | # Giving --cache-file=/dev/null disables caching, for debugging configure. | |
12170 | # config.status only pays attention to the cache file if you give it the | |
12171 | # --recheck option to rerun configure. | |
12172 | # | |
12173 | EOF | |
12174 | # The following way of writing the cache mishandles newlines in values, | |
12175 | # but we know of no workaround that is simple, portable, and efficient. | |
12176 | # So, don't put newlines in cache variables' values. | |
12177 | # Ultrix sh set writes to stderr and can't be redirected directly, | |
12178 | # and sets the high bit in the cache file unless we assign to the vars. | |
12179 | (set) 2>&1 | | |
fa3e4baf | 12180 | case `(ac_space=' '; set | grep ac_space) 2>&1` in |
a16d3c04 KB |
12181 | *ac_space=\ *) |
12182 | # `set' does not quote correctly, so add quotes (double-quote substitution | |
12183 | # turns \\\\ into \\, and sed turns \\ into \). | |
12184 | sed -n \ | |
12185 | -e "s/'/'\\\\''/g" \ | |
12186 | -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" | |
12187 | ;; | |
12188 | *) | |
12189 | # `set' quotes correctly as required by POSIX, so do not add quotes. | |
12190 | sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' | |
12191 | ;; | |
12192 | esac >> confcache | |
12193 | if cmp -s $cache_file confcache; then | |
12194 | : | |
12195 | else | |
12196 | if test -w $cache_file; then | |
12197 | echo "updating cache $cache_file" | |
12198 | cat confcache > $cache_file | |
12199 | else | |
12200 | echo "not updating unwritable cache $cache_file" | |
12201 | fi | |
12202 | fi | |
12203 | rm -f confcache | |
12204 | ||
12205 | trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 | |
12206 | ||
12207 | test "x$prefix" = xNONE && prefix=$ac_default_prefix | |
12208 | # Let make expand exec_prefix. | |
12209 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | |
12210 | ||
12211 | # Any assignment to VPATH causes Sun make to only execute | |
12212 | # the first set of double-colon rules, so remove it if not needed. | |
12213 | # If there is a colon in the path, we need to keep it. | |
12214 | if test "x$srcdir" = x.; then | |
12215 | ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' | |
12216 | fi | |
12217 | ||
12218 | trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 | |
12219 | ||
12220 | DEFS=-DHAVE_CONFIG_H | |
12221 | ||
12222 | # Without the "./", some shells look in PATH for config.status. | |
12223 | : ${CONFIG_STATUS=./config.status} | |
12224 | ||
12225 | echo creating $CONFIG_STATUS | |
12226 | rm -f $CONFIG_STATUS | |
12227 | cat > $CONFIG_STATUS <<EOF | |
12228 | #! /bin/sh | |
12229 | # Generated automatically by configure. | |
12230 | # Run this file to recreate the current configuration. | |
12231 | # This directory was configured as follows, | |
12232 | # on host `(hostname || uname -n) 2>/dev/null | sed 1q`: | |
12233 | # | |
12234 | # $0 $ac_configure_args | |
12235 | # | |
12236 | # Compiler output produced by configure, useful for debugging | |
12237 | # configure, is in ./config.log if it exists. | |
12238 | ||
12239 | ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" | |
12240 | for ac_option | |
12241 | do | |
12242 | case "\$ac_option" in | |
12243 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | |
12244 | echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" | |
12245 | exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; | |
12246 | -version | --version | --versio | --versi | --vers | --ver | --ve | --v) | |
f7a11f8c | 12247 | echo "$CONFIG_STATUS generated by autoconf version 2.14" |
a16d3c04 KB |
12248 | exit 0 ;; |
12249 | -help | --help | --hel | --he | --h) | |
12250 | echo "\$ac_cs_usage"; exit 0 ;; | |
12251 | *) echo "\$ac_cs_usage"; exit 1 ;; | |
12252 | esac | |
12253 | done | |
12254 | ||
12255 | ac_given_srcdir=$srcdir | |
12256 | ac_given_INSTALL="$INSTALL" | |
12257 | ||
12258 | trap 'rm -fr `echo " | |
12259 | wx-config | |
f7a11f8c RR |
12260 | src/make.env |
12261 | src/makeprog.env | |
12262 | src/makelib.env | |
a16d3c04 KB |
12263 | Makefile |
12264 | samples/Makefile | |
12265 | samples/bombs/Makefile | |
12266 | samples/caret/Makefile | |
12267 | samples/checklst/Makefile | |
12268 | samples/config/Makefile | |
12269 | samples/controls/Makefile | |
f7a11f8c RR |
12270 | samples/dialogs/Makefile |
12271 | samples/docview/Makefile | |
12272 | samples/docvwmdi/Makefile | |
12273 | samples/dnd/Makefile | |
12274 | samples/drawing/Makefile | |
12275 | samples/dynamic/Makefile | |
12276 | samples/image/Makefile | |
12277 | samples/internat/Makefile | |
12278 | samples/layout/Makefile | |
12279 | samples/listctrl/Makefile | |
12280 | samples/mdi/Makefile | |
12281 | samples/minifram/Makefile | |
12282 | samples/minimal/Makefile | |
12283 | samples/notebook/Makefile | |
a16d3c04 KB |
12284 | samples/printing/Makefile |
12285 | samples/proplist/Makefile | |
f7a11f8c RR |
12286 | samples/sashtest/Makefile |
12287 | samples/scroll/Makefile | |
12288 | samples/splitter/Makefile | |
12289 | samples/text/Makefile | |
12290 | samples/thread/Makefile | |
12291 | samples/toolbar/Makefile | |
12292 | samples/treectrl/Makefile | |
12293 | samples/typetest/Makefile | |
12294 | samples/validate/Makefile | |
12295 | samples/wxpoem/Makefile | |
12296 | samples/wxsocket/Makefile | |
12297 | samples/wizard/Makefile | |
12298 | samples/html/Makefile | |
12299 | samples/html/about/Makefile | |
12300 | samples/html/help/Makefile | |
12301 | samples/html/printing/Makefile | |
12302 | samples/html/test/Makefile | |
12303 | samples/html/zip/Makefile | |
12304 | samples/html/virtual/Makefile | |
12305 | samples/html/widget/Makefile | |
12306 | utils/Makefile | |
12307 | utils/wxMMedia2/Makefile | |
12308 | utils/wxMMedia2/lib/Makefile | |
12309 | utils/wxMMedia2/sample/Makefile | |
12310 | utils/glcanvas/Makefile | |
12311 | utils/glcanvas/${GL_TOOLKIT_DIR}/Makefile | |
12312 | utils/ogl/Makefile | |
12313 | utils/ogl/src/Makefile | |
a16d3c04 KB |
12314 | setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 |
12315 | EOF | |
12316 | cat >> $CONFIG_STATUS <<EOF | |
12317 | ||
12318 | # Protect against being on the right side of a sed subst in config.status. | |
12319 | sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; | |
12320 | s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF | |
12321 | $ac_vpsub | |
12322 | $extrasub | |
fa3e4baf | 12323 | s%@SHELL@%$SHELL%g |
a16d3c04 KB |
12324 | s%@CFLAGS@%$CFLAGS%g |
12325 | s%@CPPFLAGS@%$CPPFLAGS%g | |
12326 | s%@CXXFLAGS@%$CXXFLAGS%g | |
fa3e4baf | 12327 | s%@FFLAGS@%$FFLAGS%g |
a16d3c04 KB |
12328 | s%@DEFS@%$DEFS%g |
12329 | s%@LDFLAGS@%$LDFLAGS%g | |
12330 | s%@LIBS@%$LIBS%g | |
12331 | s%@exec_prefix@%$exec_prefix%g | |
12332 | s%@prefix@%$prefix%g | |
12333 | s%@program_transform_name@%$program_transform_name%g | |
12334 | s%@bindir@%$bindir%g | |
12335 | s%@sbindir@%$sbindir%g | |
12336 | s%@libexecdir@%$libexecdir%g | |
12337 | s%@datadir@%$datadir%g | |
12338 | s%@sysconfdir@%$sysconfdir%g | |
12339 | s%@sharedstatedir@%$sharedstatedir%g | |
12340 | s%@localstatedir@%$localstatedir%g | |
12341 | s%@libdir@%$libdir%g | |
12342 | s%@includedir@%$includedir%g | |
12343 | s%@oldincludedir@%$oldincludedir%g | |
12344 | s%@infodir@%$infodir%g | |
12345 | s%@mandir@%$mandir%g | |
12346 | s%@host@%$host%g | |
12347 | s%@host_alias@%$host_alias%g | |
12348 | s%@host_cpu@%$host_cpu%g | |
12349 | s%@host_vendor@%$host_vendor%g | |
12350 | s%@host_os@%$host_os%g | |
12351 | s%@target@%$target%g | |
12352 | s%@target_alias@%$target_alias%g | |
12353 | s%@target_cpu@%$target_cpu%g | |
12354 | s%@target_vendor@%$target_vendor%g | |
12355 | s%@target_os@%$target_os%g | |
12356 | s%@build@%$build%g | |
12357 | s%@build_alias@%$build_alias%g | |
12358 | s%@build_cpu@%$build_cpu%g | |
12359 | s%@build_vendor@%$build_vendor%g | |
12360 | s%@build_os@%$build_os%g | |
12361 | s%@CC@%$CC%g | |
12362 | s%@CPP@%$CPP%g | |
12363 | s%@CXX@%$CXX%g | |
12364 | s%@CXXCPP@%$CXXCPP%g | |
12365 | s%@RANLIB@%$RANLIB%g | |
12366 | s%@AR@%$AR%g | |
12367 | s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g | |
fa3e4baf | 12368 | s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g |
a16d3c04 KB |
12369 | s%@INSTALL_DATA@%$INSTALL_DATA%g |
12370 | s%@STRIP@%$STRIP%g | |
12371 | s%@YACC@%$YACC%g | |
12372 | s%@LEX@%$LEX%g | |
12373 | s%@LEXLIB@%$LEXLIB%g | |
12374 | s%@LN_S@%$LN_S%g | |
12375 | s%@GTK_CONFIG@%$GTK_CONFIG%g | |
12376 | s%@GTK_CFLAGS@%$GTK_CFLAGS%g | |
12377 | s%@GTK_LIBS@%$GTK_LIBS%g | |
12378 | s%@X_CFLAGS@%$X_CFLAGS%g | |
12379 | s%@X_PRE_LIBS@%$X_PRE_LIBS%g | |
12380 | s%@X_LIBS@%$X_LIBS%g | |
12381 | s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g | |
12382 | s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g | |
12383 | s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g | |
12384 | s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g | |
12385 | s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g | |
12386 | s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g | |
12387 | s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g | |
12388 | s%@WX_LIBRARY@%$WX_LIBRARY%g | |
12389 | s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g | |
12390 | s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g | |
12391 | s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g | |
12392 | s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g | |
12393 | s%@PROGRAM_EXT@%$PROGRAM_EXT%g | |
12394 | s%@WX_CREATE_LINKS@%$WX_CREATE_LINKS%g | |
12395 | s%@WX_CREATE_INSTALLED_LINKS@%$WX_CREATE_INSTALLED_LINKS%g | |
12396 | s%@SHARED_LD@%$SHARED_LD%g | |
12397 | s%@PIC_FLAG@%$PIC_FLAG%g | |
12398 | s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g | |
12399 | s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g | |
12400 | s%@TOOLKIT@%$TOOLKIT%g | |
12401 | s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g | |
12402 | s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g | |
12403 | s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g | |
12404 | s%@GUIHEADERS@%$GUIHEADERS%g | |
12405 | s%@GUIOBJS@%$GUIOBJS%g | |
12406 | s%@COMMONOBJS@%$COMMONOBJS%g | |
12407 | s%@GENERICOBJS@%$GENERICOBJS%g | |
12408 | s%@GUIDEPS@%$GUIDEPS%g | |
12409 | s%@COMMONDEPS@%$COMMONDEPS%g | |
12410 | s%@GENERICDEPS@%$GENERICDEPS%g | |
12411 | s%@UNIXOBJS@%$UNIXOBJS%g | |
f7a11f8c RR |
12412 | s%@UNIXDEPS@%$UNIXDEPS%g |
12413 | s%@ALL_OBJECTS@%$ALL_OBJECTS%g | |
12414 | s%@ALL_DEPFILES@%$ALL_DEPFILES%g | |
12415 | s%@ALL_HEADERS@%$ALL_HEADERS%g | |
a16d3c04 KB |
12416 | s%@GUIDIST@%$GUIDIST%g |
12417 | s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g | |
12418 | s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g | |
12419 | s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g | |
12420 | s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g | |
12421 | s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g | |
12422 | s%@USER_SUBDIRS@%$USER_SUBDIRS%g | |
12423 | s%@EXTRA_LIBS@%$EXTRA_LIBS%g | |
12424 | s%@LD_LIBS@%$LD_LIBS%g | |
12425 | s%@SET_MAKE@%$SET_MAKE%g | |
12426 | s%@GL_TOOLKIT_DIR@%$GL_TOOLKIT_DIR%g | |
12427 | ||
12428 | CEOF | |
12429 | EOF | |
12430 | ||
12431 | cat >> $CONFIG_STATUS <<\EOF | |
12432 | ||
12433 | # Split the substitutions into bite-sized pieces for seds with | |
12434 | # small command number limits, like on Digital OSF/1 and HP-UX. | |
12435 | ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. | |
12436 | ac_file=1 # Number of current file. | |
12437 | ac_beg=1 # First line for current file. | |
12438 | ac_end=$ac_max_sed_cmds # Line after last line for current file. | |
12439 | ac_more_lines=: | |
12440 | ac_sed_cmds="" | |
12441 | while $ac_more_lines; do | |
12442 | if test $ac_beg -gt 1; then | |
12443 | sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file | |
12444 | else | |
12445 | sed "${ac_end}q" conftest.subs > conftest.s$ac_file | |
12446 | fi | |
12447 | if test ! -s conftest.s$ac_file; then | |
12448 | ac_more_lines=false | |
12449 | rm -f conftest.s$ac_file | |
12450 | else | |
12451 | if test -z "$ac_sed_cmds"; then | |
12452 | ac_sed_cmds="sed -f conftest.s$ac_file" | |
12453 | else | |
12454 | ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" | |
12455 | fi | |
12456 | ac_file=`expr $ac_file + 1` | |
12457 | ac_beg=$ac_end | |
12458 | ac_end=`expr $ac_end + $ac_max_sed_cmds` | |
12459 | fi | |
12460 | done | |
12461 | if test -z "$ac_sed_cmds"; then | |
12462 | ac_sed_cmds=cat | |
12463 | fi | |
12464 | EOF | |
12465 | ||
12466 | cat >> $CONFIG_STATUS <<EOF | |
12467 | ||
12468 | CONFIG_FILES=\${CONFIG_FILES-"wx-config | |
f7a11f8c RR |
12469 | src/make.env |
12470 | src/makeprog.env | |
12471 | src/makelib.env | |
a16d3c04 KB |
12472 | Makefile |
12473 | samples/Makefile | |
12474 | samples/bombs/Makefile | |
12475 | samples/caret/Makefile | |
12476 | samples/checklst/Makefile | |
12477 | samples/config/Makefile | |
12478 | samples/controls/Makefile | |
f7a11f8c RR |
12479 | samples/dialogs/Makefile |
12480 | samples/docview/Makefile | |
12481 | samples/docvwmdi/Makefile | |
12482 | samples/dnd/Makefile | |
12483 | samples/drawing/Makefile | |
12484 | samples/dynamic/Makefile | |
12485 | samples/image/Makefile | |
12486 | samples/internat/Makefile | |
12487 | samples/layout/Makefile | |
12488 | samples/listctrl/Makefile | |
12489 | samples/mdi/Makefile | |
12490 | samples/minifram/Makefile | |
12491 | samples/minimal/Makefile | |
12492 | samples/notebook/Makefile | |
a16d3c04 KB |
12493 | samples/printing/Makefile |
12494 | samples/proplist/Makefile | |
f7a11f8c RR |
12495 | samples/sashtest/Makefile |
12496 | samples/scroll/Makefile | |
12497 | samples/splitter/Makefile | |
12498 | samples/text/Makefile | |
12499 | samples/thread/Makefile | |
12500 | samples/toolbar/Makefile | |
12501 | samples/treectrl/Makefile | |
12502 | samples/typetest/Makefile | |
12503 | samples/validate/Makefile | |
12504 | samples/wxpoem/Makefile | |
12505 | samples/wxsocket/Makefile | |
12506 | samples/wizard/Makefile | |
12507 | samples/html/Makefile | |
12508 | samples/html/about/Makefile | |
12509 | samples/html/help/Makefile | |
12510 | samples/html/printing/Makefile | |
12511 | samples/html/test/Makefile | |
12512 | samples/html/zip/Makefile | |
12513 | samples/html/virtual/Makefile | |
12514 | samples/html/widget/Makefile | |
12515 | utils/Makefile | |
12516 | utils/wxMMedia2/Makefile | |
12517 | utils/wxMMedia2/lib/Makefile | |
12518 | utils/wxMMedia2/sample/Makefile | |
12519 | utils/glcanvas/Makefile | |
12520 | utils/glcanvas/${GL_TOOLKIT_DIR}/Makefile | |
12521 | utils/ogl/Makefile | |
12522 | utils/ogl/src/Makefile | |
a16d3c04 KB |
12523 | "} |
12524 | EOF | |
12525 | cat >> $CONFIG_STATUS <<\EOF | |
12526 | for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then | |
12527 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | |
12528 | case "$ac_file" in | |
12529 | *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` | |
12530 | ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; | |
12531 | *) ac_file_in="${ac_file}.in" ;; | |
12532 | esac | |
12533 | ||
12534 | # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. | |
12535 | ||
12536 | # Remove last slash and all that follows it. Not all systems have dirname. | |
12537 | ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` | |
12538 | if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then | |
12539 | # The file is in a subdirectory. | |
12540 | test ! -d "$ac_dir" && mkdir "$ac_dir" | |
12541 | ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" | |
12542 | # A "../" for each directory in $ac_dir_suffix. | |
12543 | ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` | |
12544 | else | |
12545 | ac_dir_suffix= ac_dots= | |
12546 | fi | |
12547 | ||
12548 | case "$ac_given_srcdir" in | |
12549 | .) srcdir=. | |
12550 | if test -z "$ac_dots"; then top_srcdir=. | |
12551 | else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; | |
12552 | /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; | |
12553 | *) # Relative path. | |
12554 | srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" | |
12555 | top_srcdir="$ac_dots$ac_given_srcdir" ;; | |
12556 | esac | |
12557 | ||
12558 | case "$ac_given_INSTALL" in | |
12559 | [/$]*) INSTALL="$ac_given_INSTALL" ;; | |
12560 | *) INSTALL="$ac_dots$ac_given_INSTALL" ;; | |
12561 | esac | |
12562 | ||
12563 | echo creating "$ac_file" | |
12564 | rm -f "$ac_file" | |
12565 | configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." | |
12566 | case "$ac_file" in | |
12567 | *Makefile*) ac_comsub="1i\\ | |
12568 | # $configure_input" ;; | |
12569 | *) ac_comsub= ;; | |
12570 | esac | |
12571 | ||
12572 | ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` | |
12573 | sed -e "$ac_comsub | |
12574 | s%@configure_input@%$configure_input%g | |
12575 | s%@srcdir@%$srcdir%g | |
12576 | s%@top_srcdir@%$top_srcdir%g | |
12577 | s%@INSTALL@%$INSTALL%g | |
12578 | " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file | |
12579 | fi; done | |
12580 | rm -f conftest.s* | |
12581 | ||
12582 | # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where | |
12583 | # NAME is the cpp macro being defined and VALUE is the value it is being given. | |
12584 | # | |
12585 | # ac_d sets the value in "#define NAME VALUE" lines. | |
12586 | ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)' | |
12587 | ac_dB='\([ ][ ]*\)[^ ]*%\1#\2' | |
12588 | ac_dC='\3' | |
12589 | ac_dD='%g' | |
12590 | # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE". | |
12591 | ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' | |
12592 | ac_uB='\([ ]\)%\1#\2define\3' | |
12593 | ac_uC=' ' | |
12594 | ac_uD='\4%g' | |
12595 | # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE". | |
12596 | ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' | |
12597 | ac_eB='$%\1#\2define\3' | |
12598 | ac_eC=' ' | |
12599 | ac_eD='%g' | |
12600 | ||
12601 | if test "${CONFIG_HEADERS+set}" != set; then | |
12602 | EOF | |
12603 | cat >> $CONFIG_STATUS <<EOF | |
12604 | CONFIG_HEADERS="setup.h:setup.h.in" | |
12605 | EOF | |
12606 | cat >> $CONFIG_STATUS <<\EOF | |
12607 | fi | |
12608 | for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then | |
12609 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | |
12610 | case "$ac_file" in | |
12611 | *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` | |
12612 | ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; | |
12613 | *) ac_file_in="${ac_file}.in" ;; | |
12614 | esac | |
12615 | ||
12616 | echo creating $ac_file | |
12617 | ||
12618 | rm -f conftest.frag conftest.in conftest.out | |
12619 | ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` | |
12620 | cat $ac_file_inputs > conftest.in | |
12621 | ||
12622 | EOF | |
12623 | ||
12624 | # Transform confdefs.h into a sed script conftest.vals that substitutes | |
12625 | # the proper values into config.h.in to produce config.h. And first: | |
12626 | # Protect against being on the right side of a sed subst in config.status. | |
12627 | # Protect against being in an unquoted here document in config.status. | |
12628 | rm -f conftest.vals | |
12629 | cat > conftest.hdr <<\EOF | |
12630 | s/[\\&%]/\\&/g | |
12631 | s%[\\$`]%\\&%g | |
12632 | s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp | |
12633 | s%ac_d%ac_u%gp | |
12634 | s%ac_u%ac_e%gp | |
12635 | EOF | |
12636 | sed -n -f conftest.hdr confdefs.h > conftest.vals | |
12637 | rm -f conftest.hdr | |
12638 | ||
12639 | # This sed command replaces #undef with comments. This is necessary, for | |
12640 | # example, in the case of _POSIX_SOURCE, which is predefined and required | |
12641 | # on some systems where configure will not decide to define it. | |
12642 | cat >> conftest.vals <<\EOF | |
12643 | s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */% | |
12644 | EOF | |
12645 | ||
12646 | # Break up conftest.vals because some shells have a limit on | |
12647 | # the size of here documents, and old seds have small limits too. | |
12648 | ||
12649 | rm -f conftest.tail | |
12650 | while : | |
12651 | do | |
12652 | ac_lines=`grep -c . conftest.vals` | |
12653 | # grep -c gives empty output for an empty file on some AIX systems. | |
12654 | if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi | |
12655 | # Write a limited-size here document to conftest.frag. | |
12656 | echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS | |
12657 | sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS | |
12658 | echo 'CEOF | |
12659 | sed -f conftest.frag conftest.in > conftest.out | |
12660 | rm -f conftest.in | |
12661 | mv conftest.out conftest.in | |
12662 | ' >> $CONFIG_STATUS | |
12663 | sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail | |
12664 | rm -f conftest.vals | |
12665 | mv conftest.tail conftest.vals | |
12666 | done | |
12667 | rm -f conftest.vals | |
12668 | ||
12669 | cat >> $CONFIG_STATUS <<\EOF | |
12670 | rm -f conftest.frag conftest.h | |
12671 | echo "/* $ac_file. Generated automatically by configure. */" > conftest.h | |
12672 | cat conftest.in >> conftest.h | |
12673 | rm -f conftest.in | |
12674 | if cmp -s $ac_file conftest.h 2>/dev/null; then | |
12675 | echo "$ac_file is unchanged" | |
12676 | rm -f conftest.h | |
12677 | else | |
12678 | # Remove last slash and all that follows it. Not all systems have dirname. | |
12679 | ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` | |
12680 | if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then | |
12681 | # The file is in a subdirectory. | |
12682 | test ! -d "$ac_dir" && mkdir "$ac_dir" | |
12683 | fi | |
12684 | rm -f $ac_file | |
12685 | mv conftest.h $ac_file | |
12686 | fi | |
12687 | fi; done | |
12688 | ||
12689 | EOF | |
12690 | cat >> $CONFIG_STATUS <<EOF | |
12691 | ||
12692 | LN_S="${ac_cv_prog_LN_S}" | |
12693 | TOOLKIT_DIR="${TOOLKIT_DIR}" | |
12694 | ||
12695 | ||
12696 | EOF | |
12697 | cat >> $CONFIG_STATUS <<\EOF | |
12698 | ||
12699 | chmod +x wx-config | |
f7a11f8c RR |
12700 | if test ! -d include; then |
12701 | mkdir include | |
12702 | fi | |
12703 | if test ! -d include/wx; then | |
12704 | mkdir include/wx | |
12705 | fi | |
12706 | if test ! -d include/wx/${TOOLKIT_DIR}; then | |
12707 | mkdir include/wx/${TOOLKIT_DIR} | |
12708 | fi | |
12709 | cp -f setup.h include/wx/${TOOLKIT_DIR}/setup.h | |
a16d3c04 KB |
12710 | |
12711 | exit 0 | |
12712 | EOF | |
12713 | chmod +x $CONFIG_STATUS | |
12714 | rm -fr confdefs* $ac_clean_files | |
12715 | test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 | |
12716 | ||
12717 |