]>
Commit | Line | Data |
---|---|---|
10f2d63a VZ |
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 | ||
10f2d63a VZ |
36 | |
37 | ||
38 | ||
39 | ||
40 | # Guess values for system-dependent variables and create Makefiles. | |
2224580a | 41 | # Generated automatically using autoconf version 2.13 |
10f2d63a VZ |
42 | # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. |
43 | # | |
44 | # This configure script is free software; the Free Software Foundation | |
45 | # gives unlimited permission to copy, distribute and modify it. | |
46 | ||
47 | # Defaults: | |
48 | ac_help= | |
49 | ac_default_prefix=/usr/local | |
50 | # Any additions from configure.in: | |
51 | ac_help="$ac_help | |
52 | --enable-gui use GUI classes" | |
53 | ac_help="$ac_help | |
54 | --with-gtk use GTK+" | |
55 | ac_help="$ac_help | |
56 | --with-motif use Motif/Lesstif" | |
57 | ac_help="$ac_help | |
58 | --with-wine use WINE" | |
59 | ac_help="$ac_help | |
60 | --with-cygwin use Cygwin for MS-Windows" | |
61 | ac_help="$ac_help | |
62 | --with-mingw use GCC Minimal MS-Windows" | |
e07802fc VZ |
63 | ac_help="$ac_help |
64 | --with-pm use OS/2 Presentation Manager" | |
10f2d63a VZ |
65 | ac_help="$ac_help |
66 | --with-gtk-prefix=PFX Prefix where GTK is installed" | |
67 | ac_help="$ac_help | |
68 | --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed" | |
69 | ac_help="$ac_help | |
10f2d63a VZ |
70 | --with-libpng use libpng (PNG image format)" |
71 | ac_help="$ac_help | |
72 | --with-libjpeg use libjpeg (JPEG file format)" | |
73 | ac_help="$ac_help | |
c7a2bf27 RR |
74 | --with-libtiff use libtiff (TIFF file format)" |
75 | ac_help="$ac_help | |
10f2d63a VZ |
76 | --with-opengl use OpenGL (or Mesa)" |
77 | ac_help="$ac_help | |
b12915c1 VZ |
78 | --with-dmalloc use dmalloc library (www.letters.com/dmalloc)" |
79 | ac_help="$ac_help | |
80 | --with-zlib use zlib for LZW compression" | |
81 | ac_help="$ac_help | |
10f2d63a VZ |
82 | --with-odbc use the IODBC and wxODBC classes" |
83 | ac_help="$ac_help | |
84 | --enable-shared create shared library code" | |
85 | ac_help="$ac_help | |
86 | --enable-optimise create optimised code" | |
87 | ac_help="$ac_help | |
88 | --enable-debug same as debug_flag and debug_info" | |
89 | ac_help="$ac_help | |
90 | --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)" | |
91 | ac_help="$ac_help | |
92 | --enable-debug_info create code with debugging information" | |
93 | ac_help="$ac_help | |
94 | --enable-debug_gdb create code with extra GDB debugging information" | |
95 | ac_help="$ac_help | |
96 | --enable-debug_cntxt use wxDebugContext" | |
97 | ac_help="$ac_help | |
98 | --enable-mem_tracing create code with memory tracing" | |
99 | ac_help="$ac_help | |
100 | --enable-profile create code with profiling information" | |
101 | ac_help="$ac_help | |
102 | --enable-no_rtti create code without RTTI information" | |
103 | ac_help="$ac_help | |
104 | --enable-no_exceptions create code without exceptions information" | |
105 | ac_help="$ac_help | |
106 | --enable-permissive compile code disregarding strict ANSI" | |
107 | ac_help="$ac_help | |
108 | --enable-no_deps create code without dependency information" | |
109 | ac_help="$ac_help | |
110 | --enable-intl use internationalization system" | |
111 | ac_help="$ac_help | |
112 | --enable-config use wxConfig (and derived) classes" | |
113 | ac_help="$ac_help | |
114 | --enable-sockets use socket/network classes" | |
115 | ac_help="$ac_help | |
116 | --enable-dialupman use dialup network classes" | |
117 | ac_help="$ac_help | |
118 | --enable-ipc use interprocess communication (wxSocket etc.)" | |
119 | ac_help="$ac_help | |
120 | --enable-apple_ieee use the Apple IEEE codec" | |
121 | ac_help="$ac_help | |
122 | --enable-timedate use date/time classes" | |
123 | ac_help="$ac_help | |
124 | --enable-wave use wxWave class" | |
125 | ac_help="$ac_help | |
126 | --enable-fraction use wxFraction class" | |
127 | ac_help="$ac_help | |
128 | --enable-dynlib use wxLibrary class for DLL loading" | |
129 | ac_help="$ac_help | |
130 | --enable-longlong use wxLongLong class" | |
131 | ac_help="$ac_help | |
132 | --enable-log use logging system" | |
133 | ac_help="$ac_help | |
134 | --enable-streams use wxStream etc classes" | |
135 | ac_help="$ac_help | |
136 | --enable-file use wxFile classes" | |
137 | ac_help="$ac_help | |
138 | --enable-textfile use wxTextFile classes" | |
139 | ac_help="$ac_help | |
140 | --enable-unicode compile wxString with Unicode support" | |
141 | ac_help="$ac_help | |
142 | --enable-wcsrtombs use wcsrtombs instead of buggy (GNU libc1/Linux libc5) wcstombs" | |
143 | ac_help="$ac_help | |
144 | --enable-wxprintfv use wxWindows implementation of vprintf()" | |
145 | ac_help="$ac_help | |
146 | --enable-joystick compile in joystick support (Linux only)" | |
147 | ac_help="$ac_help | |
148 | --enable-std_iostreams use standard C++ stream classes" | |
149 | ac_help="$ac_help | |
150 | --enable-fs_inet use virtual HTTP/FTP filesystems" | |
151 | ac_help="$ac_help | |
152 | --enable-fs_zip use virtual ZIP filesystems" | |
153 | ac_help="$ac_help | |
154 | --enable-zipstream use wxZipInputStream" | |
155 | ac_help="$ac_help | |
156 | --enable-threads use threads" | |
157 | ac_help="$ac_help | |
158 | --enable-serial use class serialization" | |
159 | ac_help="$ac_help | |
160 | --enable-docview use document view architecture" | |
161 | ac_help="$ac_help | |
162 | --enable-help use help (using external browser at present)" | |
163 | ac_help="$ac_help | |
164 | --enable-constraints use layout-constraints system" | |
165 | ac_help="$ac_help | |
166 | --enable-printarch use printing architecture" | |
167 | ac_help="$ac_help | |
168 | --enable-mdi use multiple document interface architecture" | |
169 | ac_help="$ac_help | |
170 | --enable-postscript use wxPostscriptDC device context (default for gtk+)" | |
171 | ac_help="$ac_help | |
172 | --enable-prologio use Prolog IO library" | |
173 | ac_help="$ac_help | |
174 | --enable-resources use wxWindows resources" | |
175 | ac_help="$ac_help | |
176 | --enable-xresources use X resources for save (default for gtk+)" | |
177 | ac_help="$ac_help | |
178 | --enable-clipboard use wxClipboard classes" | |
179 | ac_help="$ac_help | |
180 | --enable-dnd use Drag'n'Drop classes" | |
181 | ac_help="$ac_help | |
182 | --enable-wxtree make wxTree library" | |
183 | ac_help="$ac_help | |
184 | --enable-controls use all usual controls" | |
185 | ac_help="$ac_help | |
186 | --enable-accel use accelerators" | |
187 | ac_help="$ac_help | |
188 | --enable-caret use wxCaret class" | |
189 | ac_help="$ac_help | |
190 | --enable-bmpbutton use wxBitmapButton class" | |
191 | ac_help="$ac_help | |
192 | --enable-checkbox use wxCheckBox class" | |
193 | ac_help="$ac_help | |
194 | --enable-checklst use wxCheckListBox (listbox with checkboxes) class" | |
195 | ac_help="$ac_help | |
196 | --enable-choice use wxChoice class" | |
197 | ac_help="$ac_help | |
198 | --enable-combobox use wxComboBox classes" | |
199 | ac_help="$ac_help | |
200 | --enable-gauge use wxGauge class" | |
201 | ac_help="$ac_help | |
202 | --enable-grid use wxGrid class" | |
203 | ac_help="$ac_help | |
204 | --enable-newgrid use new wxGrid class" | |
205 | ac_help="$ac_help | |
206 | --enable-imaglist use wxImageList class" | |
207 | ac_help="$ac_help | |
208 | --enable-listbox use wxListBox class" | |
209 | ac_help="$ac_help | |
210 | --enable-listctrl use wxListCtrl class" | |
211 | ac_help="$ac_help | |
212 | --enable-notebook use wxNotebook class" | |
213 | ac_help="$ac_help | |
214 | --enable-radiobox use wxRadioBox class" | |
215 | ac_help="$ac_help | |
216 | --enable-radiobtn use wxRadioButton class" | |
217 | ac_help="$ac_help | |
218 | --enable-sash use wxSashWindow class" | |
219 | ac_help="$ac_help | |
220 | --enable-scrollbar use wxScrollBar class and scrollable windows" | |
221 | ac_help="$ac_help | |
222 | --enable-slider use wxSlider class" | |
223 | ac_help="$ac_help | |
224 | --enable-spinbtn use wxSpinButton class" | |
225 | ac_help="$ac_help | |
56cfaa52 RR |
226 | --enable-spinctrl use wxSpinCtrl class" |
227 | ac_help="$ac_help | |
10f2d63a VZ |
228 | --enable-splitter use wxSplitterWindow class" |
229 | ac_help="$ac_help | |
230 | --enable-statbmp use wxStaticBitmap class" | |
231 | ac_help="$ac_help | |
232 | --enable-statbox use wxStaticBox class" | |
233 | ac_help="$ac_help | |
234 | --enable-statline use wxStaticLine class" | |
235 | ac_help="$ac_help | |
236 | --enable-statusbar use wxStatusBar class" | |
237 | ac_help="$ac_help | |
238 | --enable-tabdialog use wxTabControl class" | |
239 | ac_help="$ac_help | |
240 | --enable-toolbar use wxToolBar class" | |
241 | ac_help="$ac_help | |
360d6699 VZ |
242 | --enable-tbarnative use native wxToolBar class" |
243 | ac_help="$ac_help | |
244 | --enable-tbarsmpl use wxToolBarSimple class" | |
245 | ac_help="$ac_help | |
10f2d63a VZ |
246 | --enable-treectrl use wxTreeCtrl class" |
247 | ac_help="$ac_help | |
248 | --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)" | |
249 | ac_help="$ac_help | |
250 | --enable-dirdlg use wxDirDialog" | |
251 | ac_help="$ac_help | |
252 | --enable-textdlg use wxTextDialog" | |
253 | ac_help="$ac_help | |
254 | --enable-tipdlg use startup tips" | |
255 | ac_help="$ac_help | |
256 | --enable-progressdlg use wxProgressDialog" | |
257 | ac_help="$ac_help | |
258 | --enable-miniframe use wxMiniFrame class" | |
259 | ac_help="$ac_help | |
260 | --enable-html use wxHTML sub-library" | |
261 | ac_help="$ac_help | |
262 | --enable-tooltips use wxToolTip class" | |
263 | ac_help="$ac_help | |
264 | --enable-splines use spline drawing code" | |
265 | ac_help="$ac_help | |
266 | --enable-validators use wxValidator and derived classes" | |
267 | ac_help="$ac_help | |
268 | --enable-busyinfo use wxBusyInfo" | |
269 | ac_help="$ac_help | |
270 | --enable-gif use gif images (GIF file format)" | |
271 | ac_help="$ac_help | |
272 | --enable-pcx use pcx images (PCX file format)" | |
273 | ac_help="$ac_help | |
274 | --enable-pnm use pnm images (PNM file format)" | |
ab9b9eab VZ |
275 | ac_help="$ac_help |
276 | --with-x use the X Window System" | |
10f2d63a VZ |
277 | |
278 | # Initialize some variables set by options. | |
279 | # The variables have the same names as the options, with | |
280 | # dashes changed to underlines. | |
281 | build=NONE | |
282 | cache_file=./config.cache | |
283 | exec_prefix=NONE | |
284 | host=NONE | |
285 | no_create= | |
286 | nonopt=NONE | |
287 | no_recursion= | |
288 | prefix=NONE | |
289 | program_prefix=NONE | |
290 | program_suffix=NONE | |
291 | program_transform_name=s,x,x, | |
292 | silent= | |
293 | site= | |
294 | srcdir= | |
295 | target=NONE | |
296 | verbose= | |
297 | x_includes=NONE | |
298 | x_libraries=NONE | |
299 | bindir='${exec_prefix}/bin' | |
300 | sbindir='${exec_prefix}/sbin' | |
301 | libexecdir='${exec_prefix}/libexec' | |
302 | datadir='${prefix}/share' | |
303 | sysconfdir='${prefix}/etc' | |
304 | sharedstatedir='${prefix}/com' | |
305 | localstatedir='${prefix}/var' | |
306 | libdir='${exec_prefix}/lib' | |
307 | includedir='${prefix}/include' | |
308 | oldincludedir='/usr/include' | |
309 | infodir='${prefix}/info' | |
310 | mandir='${prefix}/man' | |
311 | ||
312 | # Initialize some other variables. | |
313 | subdirs= | |
314 | MFLAGS= MAKEFLAGS= | |
315 | SHELL=${CONFIG_SHELL-/bin/sh} | |
316 | # Maximum number of lines to put in a shell here document. | |
317 | ac_max_here_lines=12 | |
318 | ||
319 | ac_prev= | |
320 | for ac_option | |
321 | do | |
322 | ||
323 | # If the previous option needs an argument, assign it. | |
324 | if test -n "$ac_prev"; then | |
325 | eval "$ac_prev=\$ac_option" | |
326 | ac_prev= | |
327 | continue | |
328 | fi | |
329 | ||
330 | case "$ac_option" in | |
331 | -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; | |
332 | *) ac_optarg= ;; | |
333 | esac | |
334 | ||
335 | # Accept the important Cygnus configure options, so we can diagnose typos. | |
336 | ||
337 | case "$ac_option" in | |
338 | ||
339 | -bindir | --bindir | --bindi | --bind | --bin | --bi) | |
340 | ac_prev=bindir ;; | |
341 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | |
342 | bindir="$ac_optarg" ;; | |
343 | ||
344 | -build | --build | --buil | --bui | --bu) | |
345 | ac_prev=build ;; | |
346 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) | |
347 | build="$ac_optarg" ;; | |
348 | ||
349 | -cache-file | --cache-file | --cache-fil | --cache-fi \ | |
350 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | |
351 | ac_prev=cache_file ;; | |
352 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | |
353 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | |
354 | cache_file="$ac_optarg" ;; | |
355 | ||
356 | -datadir | --datadir | --datadi | --datad | --data | --dat | --da) | |
357 | ac_prev=datadir ;; | |
358 | -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | |
359 | | --da=*) | |
360 | datadir="$ac_optarg" ;; | |
361 | ||
362 | -disable-* | --disable-*) | |
363 | ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` | |
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 | eval "enable_${ac_feature}=no" ;; | |
370 | ||
371 | -enable-* | --enable-*) | |
372 | ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` | |
373 | # Reject names that are not valid shell variable names. | |
374 | if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then | |
375 | { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } | |
376 | fi | |
377 | ac_feature=`echo $ac_feature| sed 's/-/_/g'` | |
378 | case "$ac_option" in | |
379 | *=*) ;; | |
380 | *) ac_optarg=yes ;; | |
381 | esac | |
382 | eval "enable_${ac_feature}='$ac_optarg'" ;; | |
383 | ||
384 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | |
385 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | |
386 | | --exec | --exe | --ex) | |
387 | ac_prev=exec_prefix ;; | |
388 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | |
389 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | |
390 | | --exec=* | --exe=* | --ex=*) | |
391 | exec_prefix="$ac_optarg" ;; | |
392 | ||
393 | -gas | --gas | --ga | --g) | |
394 | # Obsolete; use --with-gas. | |
395 | with_gas=yes ;; | |
396 | ||
397 | -help | --help | --hel | --he) | |
398 | # Omit some internal or obsolete options to make the list less imposing. | |
399 | # This message is too long to be a string in the A/UX 3.1 sh. | |
400 | cat << EOF | |
401 | Usage: configure [options] [host] | |
402 | Options: [defaults in brackets after descriptions] | |
403 | Configuration: | |
404 | --cache-file=FILE cache test results in FILE | |
405 | --help print this message | |
406 | --no-create do not create output files | |
407 | --quiet, --silent do not print \`checking...' messages | |
408 | --version print the version of autoconf that created configure | |
409 | Directory and file names: | |
410 | --prefix=PREFIX install architecture-independent files in PREFIX | |
411 | [$ac_default_prefix] | |
412 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | |
413 | [same as prefix] | |
414 | --bindir=DIR user executables in DIR [EPREFIX/bin] | |
415 | --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] | |
416 | --libexecdir=DIR program executables in DIR [EPREFIX/libexec] | |
417 | --datadir=DIR read-only architecture-independent data in DIR | |
418 | [PREFIX/share] | |
419 | --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] | |
420 | --sharedstatedir=DIR modifiable architecture-independent data in DIR | |
421 | [PREFIX/com] | |
422 | --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] | |
423 | --libdir=DIR object code libraries in DIR [EPREFIX/lib] | |
424 | --includedir=DIR C header files in DIR [PREFIX/include] | |
425 | --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] | |
426 | --infodir=DIR info documentation in DIR [PREFIX/info] | |
427 | --mandir=DIR man documentation in DIR [PREFIX/man] | |
428 | --srcdir=DIR find the sources in DIR [configure dir or ..] | |
429 | --program-prefix=PREFIX prepend PREFIX to installed program names | |
430 | --program-suffix=SUFFIX append SUFFIX to installed program names | |
431 | --program-transform-name=PROGRAM | |
432 | run sed PROGRAM on installed program names | |
433 | EOF | |
434 | cat << EOF | |
435 | Host type: | |
436 | --build=BUILD configure for building on BUILD [BUILD=HOST] | |
437 | --host=HOST configure for HOST [guessed] | |
438 | --target=TARGET configure for TARGET [TARGET=HOST] | |
439 | Features and packages: | |
440 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | |
441 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | |
442 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | |
443 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | |
444 | --x-includes=DIR X include files are in DIR | |
445 | --x-libraries=DIR X library files are in DIR | |
446 | EOF | |
447 | if test -n "$ac_help"; then | |
448 | echo "--enable and --with options recognized:$ac_help" | |
449 | fi | |
450 | exit 0 ;; | |
451 | ||
452 | -host | --host | --hos | --ho) | |
453 | ac_prev=host ;; | |
454 | -host=* | --host=* | --hos=* | --ho=*) | |
455 | host="$ac_optarg" ;; | |
456 | ||
457 | -includedir | --includedir | --includedi | --included | --include \ | |
458 | | --includ | --inclu | --incl | --inc) | |
459 | ac_prev=includedir ;; | |
460 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | |
461 | | --includ=* | --inclu=* | --incl=* | --inc=*) | |
462 | includedir="$ac_optarg" ;; | |
463 | ||
464 | -infodir | --infodir | --infodi | --infod | --info | --inf) | |
465 | ac_prev=infodir ;; | |
466 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | |
467 | infodir="$ac_optarg" ;; | |
468 | ||
469 | -libdir | --libdir | --libdi | --libd) | |
470 | ac_prev=libdir ;; | |
471 | -libdir=* | --libdir=* | --libdi=* | --libd=*) | |
472 | libdir="$ac_optarg" ;; | |
473 | ||
474 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | |
475 | | --libexe | --libex | --libe) | |
476 | ac_prev=libexecdir ;; | |
477 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | |
478 | | --libexe=* | --libex=* | --libe=*) | |
479 | libexecdir="$ac_optarg" ;; | |
480 | ||
481 | -localstatedir | --localstatedir | --localstatedi | --localstated \ | |
482 | | --localstate | --localstat | --localsta | --localst \ | |
483 | | --locals | --local | --loca | --loc | --lo) | |
484 | ac_prev=localstatedir ;; | |
485 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | |
486 | | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | |
487 | | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) | |
488 | localstatedir="$ac_optarg" ;; | |
489 | ||
490 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | |
491 | ac_prev=mandir ;; | |
492 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | |
493 | mandir="$ac_optarg" ;; | |
494 | ||
495 | -nfp | --nfp | --nf) | |
496 | # Obsolete; use --without-fp. | |
497 | with_fp=no ;; | |
498 | ||
499 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | |
500 | | --no-cr | --no-c) | |
501 | no_create=yes ;; | |
502 | ||
503 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | |
504 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | |
505 | no_recursion=yes ;; | |
506 | ||
507 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | |
508 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | |
509 | | --oldin | --oldi | --old | --ol | --o) | |
510 | ac_prev=oldincludedir ;; | |
511 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | |
512 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | |
513 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | |
514 | oldincludedir="$ac_optarg" ;; | |
515 | ||
516 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | |
517 | ac_prev=prefix ;; | |
518 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | |
519 | prefix="$ac_optarg" ;; | |
520 | ||
521 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ | |
522 | | --program-pre | --program-pr | --program-p) | |
523 | ac_prev=program_prefix ;; | |
524 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ | |
525 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | |
526 | program_prefix="$ac_optarg" ;; | |
527 | ||
528 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ | |
529 | | --program-suf | --program-su | --program-s) | |
530 | ac_prev=program_suffix ;; | |
531 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ | |
532 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | |
533 | program_suffix="$ac_optarg" ;; | |
534 | ||
535 | -program-transform-name | --program-transform-name \ | |
536 | | --program-transform-nam | --program-transform-na \ | |
537 | | --program-transform-n | --program-transform- \ | |
538 | | --program-transform | --program-transfor \ | |
539 | | --program-transfo | --program-transf \ | |
540 | | --program-trans | --program-tran \ | |
541 | | --progr-tra | --program-tr | --program-t) | |
542 | ac_prev=program_transform_name ;; | |
543 | -program-transform-name=* | --program-transform-name=* \ | |
544 | | --program-transform-nam=* | --program-transform-na=* \ | |
545 | | --program-transform-n=* | --program-transform-=* \ | |
546 | | --program-transform=* | --program-transfor=* \ | |
547 | | --program-transfo=* | --program-transf=* \ | |
548 | | --program-trans=* | --program-tran=* \ | |
549 | | --progr-tra=* | --program-tr=* | --program-t=*) | |
550 | program_transform_name="$ac_optarg" ;; | |
551 | ||
552 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
553 | | -silent | --silent | --silen | --sile | --sil) | |
554 | silent=yes ;; | |
555 | ||
556 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | |
557 | ac_prev=sbindir ;; | |
558 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | |
559 | | --sbi=* | --sb=*) | |
560 | sbindir="$ac_optarg" ;; | |
561 | ||
562 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ | |
563 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | |
564 | | --sharedst | --shareds | --shared | --share | --shar \ | |
565 | | --sha | --sh) | |
566 | ac_prev=sharedstatedir ;; | |
567 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | |
568 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | |
569 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | |
570 | | --sha=* | --sh=*) | |
571 | sharedstatedir="$ac_optarg" ;; | |
572 | ||
573 | -site | --site | --sit) | |
574 | ac_prev=site ;; | |
575 | -site=* | --site=* | --sit=*) | |
576 | site="$ac_optarg" ;; | |
577 | ||
578 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | |
579 | ac_prev=srcdir ;; | |
580 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | |
581 | srcdir="$ac_optarg" ;; | |
582 | ||
583 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | |
584 | | --syscon | --sysco | --sysc | --sys | --sy) | |
585 | ac_prev=sysconfdir ;; | |
586 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | |
587 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | |
588 | sysconfdir="$ac_optarg" ;; | |
589 | ||
590 | -target | --target | --targe | --targ | --tar | --ta | --t) | |
591 | ac_prev=target ;; | |
592 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | |
593 | target="$ac_optarg" ;; | |
594 | ||
595 | -v | -verbose | --verbose | --verbos | --verbo | --verb) | |
596 | verbose=yes ;; | |
597 | ||
598 | -version | --version | --versio | --versi | --vers) | |
2224580a | 599 | echo "configure generated by autoconf version 2.13" |
10f2d63a VZ |
600 | exit 0 ;; |
601 | ||
602 | -with-* | --with-*) | |
603 | ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` | |
604 | # Reject names that are not valid shell variable names. | |
605 | if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then | |
606 | { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } | |
607 | fi | |
608 | ac_package=`echo $ac_package| sed 's/-/_/g'` | |
609 | case "$ac_option" in | |
610 | *=*) ;; | |
611 | *) ac_optarg=yes ;; | |
612 | esac | |
613 | eval "with_${ac_package}='$ac_optarg'" ;; | |
614 | ||
615 | -without-* | --without-*) | |
616 | ac_package=`echo $ac_option|sed -e 's/-*without-//'` | |
617 | # Reject names that are not valid shell variable names. | |
618 | if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then | |
619 | { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } | |
620 | fi | |
621 | ac_package=`echo $ac_package| sed 's/-/_/g'` | |
622 | eval "with_${ac_package}=no" ;; | |
623 | ||
624 | --x) | |
625 | # Obsolete; use --with-x. | |
626 | with_x=yes ;; | |
627 | ||
628 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | |
629 | | --x-incl | --x-inc | --x-in | --x-i) | |
630 | ac_prev=x_includes ;; | |
631 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | |
632 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | |
633 | x_includes="$ac_optarg" ;; | |
634 | ||
635 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ | |
636 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | |
637 | ac_prev=x_libraries ;; | |
638 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | |
639 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | |
640 | x_libraries="$ac_optarg" ;; | |
641 | ||
642 | -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } | |
643 | ;; | |
644 | ||
645 | *) | |
646 | if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then | |
647 | echo "configure: warning: $ac_option: invalid host type" 1>&2 | |
648 | fi | |
649 | if test "x$nonopt" != xNONE; then | |
650 | { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } | |
651 | fi | |
652 | nonopt="$ac_option" | |
653 | ;; | |
654 | ||
655 | esac | |
656 | done | |
657 | ||
658 | if test -n "$ac_prev"; then | |
659 | { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } | |
660 | fi | |
661 | ||
662 | trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 | |
663 | ||
664 | # File descriptor usage: | |
665 | # 0 standard input | |
666 | # 1 file creation | |
667 | # 2 errors and warnings | |
668 | # 3 some systems may open it to /dev/tty | |
669 | # 4 used on the Kubota Titan | |
670 | # 6 checking for... messages and results | |
671 | # 5 compiler messages saved in config.log | |
672 | if test "$silent" = yes; then | |
673 | exec 6>/dev/null | |
674 | else | |
675 | exec 6>&1 | |
676 | fi | |
677 | exec 5>./config.log | |
678 | ||
679 | echo "\ | |
680 | This file contains any messages produced by compilers while | |
681 | running configure, to aid debugging if configure makes a mistake. | |
682 | " 1>&5 | |
683 | ||
684 | # Strip out --no-create and --no-recursion so they do not pile up. | |
685 | # Also quote any args containing shell metacharacters. | |
686 | ac_configure_args= | |
687 | for ac_arg | |
688 | do | |
689 | case "$ac_arg" in | |
690 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | |
691 | | --no-cr | --no-c) ;; | |
692 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | |
693 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; | |
694 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) | |
695 | ac_configure_args="$ac_configure_args '$ac_arg'" ;; | |
696 | *) ac_configure_args="$ac_configure_args $ac_arg" ;; | |
697 | esac | |
698 | done | |
699 | ||
700 | # NLS nuisances. | |
701 | # Only set these to C if already set. These must not be set unconditionally | |
702 | # because not all systems understand e.g. LANG=C (notably SCO). | |
703 | # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! | |
704 | # Non-C LC_CTYPE values break the ctype check. | |
705 | if test "${LANG+set}" = set; then LANG=C; export LANG; fi | |
706 | if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi | |
707 | if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi | |
708 | if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi | |
709 | ||
710 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | |
711 | rm -rf conftest* confdefs.h | |
712 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. | |
713 | echo > confdefs.h | |
714 | ||
715 | # A filename unique to this package, relative to the directory that | |
716 | # configure is in, which we can look for to find out if srcdir is correct. | |
717 | ac_unique_file=wx-config.in | |
718 | ||
719 | # Find the source files, if location was not specified. | |
720 | if test -z "$srcdir"; then | |
721 | ac_srcdir_defaulted=yes | |
722 | # Try the directory containing this script, then its parent. | |
723 | ac_prog=$0 | |
724 | ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` | |
725 | test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. | |
726 | srcdir=$ac_confdir | |
727 | if test ! -r $srcdir/$ac_unique_file; then | |
728 | srcdir=.. | |
729 | fi | |
730 | else | |
731 | ac_srcdir_defaulted=no | |
732 | fi | |
733 | if test ! -r $srcdir/$ac_unique_file; then | |
734 | if test "$ac_srcdir_defaulted" = yes; then | |
735 | { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } | |
736 | else | |
737 | { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } | |
738 | fi | |
739 | fi | |
740 | srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` | |
741 | ||
742 | # Prefer explicitly selected file to automatically selected ones. | |
743 | if test -z "$CONFIG_SITE"; then | |
744 | if test "x$prefix" != xNONE; then | |
745 | CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" | |
746 | else | |
747 | CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" | |
748 | fi | |
749 | fi | |
750 | for ac_site_file in $CONFIG_SITE; do | |
751 | if test -r "$ac_site_file"; then | |
752 | echo "loading site script $ac_site_file" | |
753 | . "$ac_site_file" | |
754 | fi | |
755 | done | |
756 | ||
757 | if test -r "$cache_file"; then | |
758 | echo "loading cache $cache_file" | |
759 | . $cache_file | |
760 | else | |
761 | echo "creating cache $cache_file" | |
762 | > $cache_file | |
763 | fi | |
764 | ||
765 | ac_ext=c | |
766 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
767 | ac_cpp='$CPP $CPPFLAGS' | |
768 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | |
769 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | |
770 | cross_compiling=$ac_cv_prog_cc_cross | |
771 | ||
772 | ac_exeext= | |
773 | ac_objext=o | |
774 | if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then | |
775 | # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. | |
776 | if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then | |
777 | ac_n= ac_c=' | |
778 | ' ac_t=' ' | |
779 | else | |
780 | ac_n=-n ac_c= ac_t= | |
781 | fi | |
782 | else | |
783 | ac_n= ac_c='\c' ac_t= | |
784 | fi | |
785 | ||
786 | ||
787 | ||
788 | ac_aux_dir= | |
789 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do | |
790 | if test -f $ac_dir/install-sh; then | |
791 | ac_aux_dir=$ac_dir | |
792 | ac_install_sh="$ac_aux_dir/install-sh -c" | |
793 | break | |
794 | elif test -f $ac_dir/install.sh; then | |
795 | ac_aux_dir=$ac_dir | |
796 | ac_install_sh="$ac_aux_dir/install.sh -c" | |
797 | break | |
798 | fi | |
799 | done | |
800 | if test -z "$ac_aux_dir"; then | |
801 | { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } | |
802 | fi | |
803 | ac_config_guess=$ac_aux_dir/config.guess | |
804 | ac_config_sub=$ac_aux_dir/config.sub | |
805 | ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. | |
806 | ||
807 | ||
808 | # Do some error checking and defaulting for the host and target type. | |
809 | # The inputs are: | |
810 | # configure --host=HOST --target=TARGET --build=BUILD NONOPT | |
811 | # | |
812 | # The rules are: | |
813 | # 1. You are not allowed to specify --host, --target, and nonopt at the | |
814 | # same time. | |
815 | # 2. Host defaults to nonopt. | |
816 | # 3. If nonopt is not specified, then host defaults to the current host, | |
817 | # as determined by config.guess. | |
818 | # 4. Target and build default to nonopt. | |
819 | # 5. If nonopt is not specified, then target and build default to host. | |
820 | ||
821 | # The aliases save the names the user supplied, while $host etc. | |
822 | # will get canonicalized. | |
823 | case $host---$target---$nonopt in | |
824 | NONE---*---* | *---NONE---* | *---*---NONE) ;; | |
825 | *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;; | |
826 | esac | |
827 | ||
828 | ||
829 | # Make sure we can run config.sub. | |
830 | if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : | |
831 | else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } | |
832 | fi | |
833 | ||
834 | echo $ac_n "checking host system type""... $ac_c" 1>&6 | |
e07802fc | 835 | echo "configure:836: checking host system type" >&5 |
10f2d63a VZ |
836 | |
837 | host_alias=$host | |
838 | case "$host_alias" in | |
839 | NONE) | |
840 | case $nonopt in | |
841 | NONE) | |
842 | if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then : | |
843 | else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } | |
844 | fi ;; | |
845 | *) host_alias=$nonopt ;; | |
846 | esac ;; | |
847 | esac | |
848 | ||
849 | host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias` | |
850 | host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | |
851 | host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | |
852 | host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | |
853 | echo "$ac_t""$host" 1>&6 | |
854 | ||
855 | echo $ac_n "checking target system type""... $ac_c" 1>&6 | |
e07802fc | 856 | echo "configure:857: checking target system type" >&5 |
10f2d63a VZ |
857 | |
858 | target_alias=$target | |
859 | case "$target_alias" in | |
860 | NONE) | |
861 | case $nonopt in | |
862 | NONE) target_alias=$host_alias ;; | |
863 | *) target_alias=$nonopt ;; | |
864 | esac ;; | |
865 | esac | |
866 | ||
867 | target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` | |
868 | target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | |
869 | target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | |
870 | target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | |
871 | echo "$ac_t""$target" 1>&6 | |
872 | ||
873 | echo $ac_n "checking build system type""... $ac_c" 1>&6 | |
e07802fc | 874 | echo "configure:875: checking build system type" >&5 |
10f2d63a VZ |
875 | |
876 | build_alias=$build | |
877 | case "$build_alias" in | |
878 | NONE) | |
879 | case $nonopt in | |
880 | NONE) build_alias=$host_alias ;; | |
881 | *) build_alias=$nonopt ;; | |
882 | esac ;; | |
883 | esac | |
884 | ||
885 | build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | |
886 | build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | |
887 | build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | |
888 | build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | |
889 | echo "$ac_t""$build" 1>&6 | |
890 | ||
891 | test "$host_alias" != "$target_alias" && | |
892 | test "$program_prefix$program_suffix$program_transform_name" = \ | |
893 | NONENONEs,x,x, && | |
894 | program_prefix=${target_alias}- | |
895 | ||
896 | ||
897 | ||
898 | WX_MAJOR_VERSION_NUMBER=2 | |
899 | WX_MINOR_VERSION_NUMBER=1 | |
88413fec | 900 | WX_RELEASE_NUMBER=13 |
10f2d63a VZ |
901 | |
902 | WX_INTERFACE_AGE=0 | |
903 | WX_BINARY_AGE=0 | |
904 | ||
905 | WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER | |
906 | ||
907 | WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER | |
908 | WX_CURRENT=`expr $WX_RELEASE_NUMBER - $WX_INTERFACE_AGE` | |
909 | WX_REVISION=$WX_INTERFACE_AGE | |
910 | WX_AGE=`expr $WX_BINARY_AGE - $WX_INTERFACE_AGE` | |
911 | ||
912 | ||
913 | USE_UNIX=1 | |
914 | USE_WIN32=0 | |
b12915c1 VZ |
915 | USE_BEOS=0 |
916 | ||
10f2d63a VZ |
917 | USE_LINUX= |
918 | USE_SGI= | |
919 | USE_HPUX= | |
920 | USE_SYSV= | |
921 | USE_SVR4= | |
922 | USE_AIX= | |
923 | USE_SUN= | |
924 | USE_SOLARIS= | |
925 | USE_SUNOS= | |
926 | USE_ALPHA= | |
927 | USE_OSF= | |
928 | USE_BSD= | |
929 | USE_FREEBSD= | |
930 | USE_VMS= | |
931 | USE_ULTRIX= | |
932 | USE_CYGWIN= | |
933 | USE_MINGW= | |
934 | USE_DATA_GENERAL= | |
935 | ||
ab9b9eab VZ |
936 | NEEDS_D_REENTRANT_FOR_R_FUNCS=0 |
937 | ||
e07802fc | 938 | ALL_TOOLKITS="CYGWIN GTK MINGW MOTIF WINE PM" |
10f2d63a VZ |
939 | |
940 | DEFAULT_wxUSE_GTK=0 | |
941 | DEFAULT_wxUSE_MOTIF=0 | |
942 | DEFAULT_wxUSE_MSW=0 | |
943 | DEFAULT_wxUSE_WINE=0 | |
e07802fc | 944 | DEFAULT_wxUSE_PM=0 |
10f2d63a VZ |
945 | |
946 | DEFAULT_DEFAULT_wxUSE_GTK=0 | |
947 | DEFAULT_DEFAULT_wxUSE_MOTIF=0 | |
948 | DEFAULT_DEFAULT_wxUSE_MSW=0 | |
949 | DEFAULT_DEFAULT_wxUSE_WINE=0 | |
e07802fc | 950 | DEFAULT_DEFAULT_wxUSE_PM=0 |
10f2d63a VZ |
951 | |
952 | case "${host}" in | |
953 | *-hp-hpux* ) | |
954 | USE_HPUX=1 | |
955 | DEFAULT_DEFAULT_wxUSE_MOTIF=1 | |
ab9b9eab | 956 | NEEDS_D_REENTRANT_FOR_R_FUNCS=1 |
10f2d63a VZ |
957 | cat >> confdefs.h <<\EOF |
958 | #define __HPUX__ 1 | |
959 | EOF | |
960 | ||
961 | ;; | |
962 | *-*-linux* ) | |
963 | USE_LINUX=1 | |
964 | cat >> confdefs.h <<\EOF | |
965 | #define __LINUX__ 1 | |
966 | EOF | |
967 | ||
968 | TMP=`uname -m` | |
969 | if test "x$TMP" = "xalpha"; then | |
970 | USE_ALPHA=1 | |
971 | cat >> confdefs.h <<\EOF | |
972 | #define __ALPHA__ 1 | |
973 | EOF | |
974 | ||
975 | fi | |
976 | DEFAULT_DEFAULT_wxUSE_GTK=1 | |
977 | ;; | |
978 | *-*-irix5* | *-*-irix6* ) | |
979 | USE_SGI=1 | |
980 | USE_SVR4=1 | |
981 | cat >> confdefs.h <<\EOF | |
982 | #define __SGI__ 1 | |
983 | EOF | |
984 | ||
985 | cat >> confdefs.h <<\EOF | |
986 | #define __SVR4__ 1 | |
987 | EOF | |
988 | ||
989 | DEFAULT_DEFAULT_wxUSE_MOTIF=1 | |
990 | ;; | |
991 | *-*-solaris2* ) | |
992 | USE_SUN=1 | |
993 | USE_SOLARIS=1 | |
994 | USE_SVR4=1 | |
995 | cat >> confdefs.h <<\EOF | |
996 | #define __SUN__ 1 | |
997 | EOF | |
998 | ||
999 | cat >> confdefs.h <<\EOF | |
1000 | #define __SOLARIS__ 1 | |
1001 | EOF | |
1002 | ||
1003 | cat >> confdefs.h <<\EOF | |
1004 | #define __SVR4__ 1 | |
1005 | EOF | |
1006 | ||
1007 | DEFAULT_DEFAULT_wxUSE_MOTIF=1 | |
ab9b9eab | 1008 | NEEDS_D_REENTRANT_FOR_R_FUNCS=1 |
10f2d63a VZ |
1009 | ;; |
1010 | *-*-sunos4* ) | |
1011 | USE_SUN=1 | |
1012 | USE_SUNOS=1 | |
1013 | USE_BSD=1 | |
1014 | cat >> confdefs.h <<\EOF | |
1015 | #define __SUN__ 1 | |
1016 | EOF | |
1017 | ||
1018 | cat >> confdefs.h <<\EOF | |
1019 | #define __SUNOS__ 1 | |
1020 | EOF | |
1021 | ||
1022 | cat >> confdefs.h <<\EOF | |
1023 | #define __BSD__ 1 | |
1024 | EOF | |
1025 | ||
1026 | DEFAULT_DEFAULT_wxUSE_MOTIF=1 | |
1027 | ;; | |
1028 | *-*-freebsd* | *-*-netbsd*) | |
1029 | USE_BSD=1 | |
1030 | USE_FREEBSD=1 | |
1031 | cat >> confdefs.h <<\EOF | |
1032 | #define __FREEBSD__ 1 | |
1033 | EOF | |
1034 | ||
1035 | cat >> confdefs.h <<\EOF | |
1036 | #define __BSD__ 1 | |
1037 | EOF | |
1038 | ||
1039 | DEFAULT_DEFAULT_wxUSE_GTK=1 | |
1040 | ;; | |
1041 | *-*-osf* ) | |
1042 | USE_ALPHA=1 | |
1043 | USE_OSF=1 | |
1044 | cat >> confdefs.h <<\EOF | |
1045 | #define __ALPHA__ 1 | |
1046 | EOF | |
1047 | ||
1048 | cat >> confdefs.h <<\EOF | |
1049 | #define __OSF__ 1 | |
1050 | EOF | |
1051 | ||
1052 | DEFAULT_DEFAULT_wxUSE_MOTIF=1 | |
1053 | ;; | |
1054 | *-*-dgux5* ) | |
1055 | USE_ALPHA=1 | |
1056 | USE_SVR4=1 | |
1057 | cat >> confdefs.h <<\EOF | |
1058 | #define __ALPHA__ 1 | |
1059 | EOF | |
1060 | ||
1061 | cat >> confdefs.h <<\EOF | |
1062 | #define __SVR4__ 1 | |
1063 | EOF | |
1064 | ||
1065 | DEFAULT_DEFAULT_wxUSE_MOTIF=1 | |
1066 | ;; | |
1067 | *-*-sysv5* ) | |
1068 | USE_SYSV=1 | |
1069 | USE_SVR4=1 | |
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 | *-*-aix* ) | |
1081 | USE_AIX=1 | |
1082 | USE_SYSV=1 | |
1083 | USE_SVR4=1 | |
1084 | cat >> confdefs.h <<\EOF | |
1085 | #define __AIX__ 1 | |
1086 | EOF | |
1087 | ||
1088 | cat >> confdefs.h <<\EOF | |
1089 | #define __SYSV__ 1 | |
1090 | EOF | |
1091 | ||
1092 | cat >> confdefs.h <<\EOF | |
1093 | #define __SVR4__ 1 | |
1094 | EOF | |
1095 | ||
1096 | DEFAULT_DEFAULT_wxUSE_MOTIF=1 | |
1097 | ;; | |
1098 | ||
7eef8db2 | 1099 | *-*-cygwin32* | *-*-mingw32* ) |
10f2d63a VZ |
1100 | USE_UNIX=0 |
1101 | USE_WIN32=1 | |
1102 | cat >> confdefs.h <<\EOF | |
1103 | #define __WIN32__ 1 | |
1104 | EOF | |
1105 | ||
1106 | cat >> confdefs.h <<\EOF | |
1107 | #define __WIN95__ 1 | |
1108 | EOF | |
1109 | ||
1110 | cat >> confdefs.h <<\EOF | |
1111 | #define __WINDOWS__ 1 | |
1112 | EOF | |
1113 | ||
1114 | cat >> confdefs.h <<\EOF | |
1115 | #define __GNUWIN32__ 1 | |
1116 | EOF | |
1117 | ||
1118 | cat >> confdefs.h <<\EOF | |
1119 | #define STRICT 1 | |
1120 | EOF | |
1121 | ||
1122 | cat >> confdefs.h <<\EOF | |
1123 | #define WINVER 0x0400 | |
1124 | EOF | |
1125 | ||
cf27ef00 | 1126 | PROGRAM_EXT=".exe" |
10f2d63a VZ |
1127 | DEFAULT_DEFAULT_wxUSE_MSW=1 |
1128 | ;; | |
1129 | ||
1130 | *-pc-os2_emx ) | |
1131 | cat >> confdefs.h <<\EOF | |
1132 | #define __EMX__ 1 | |
1133 | EOF | |
1134 | ||
cf27ef00 | 1135 | PROGRAM_EXT=".exe" |
e07802fc | 1136 | DEFAULT_DEFAULT_wxUSE_PM=1 |
10f2d63a VZ |
1137 | ;; |
1138 | ||
b12915c1 VZ |
1139 | *-*-beos* ) |
1140 | USE_BEOS=1 | |
1141 | cat >> confdefs.h <<\EOF | |
1142 | #define __BEOS__ 1 | |
1143 | EOF | |
1144 | ||
1145 | ;; | |
1146 | ||
10f2d63a VZ |
1147 | *) |
1148 | { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; } | |
1149 | esac | |
1150 | ||
1151 | if test "$USE_UNIX" = 1 ; then | |
b12915c1 VZ |
1152 | wxUSE_UNIX=yes |
1153 | cat >> confdefs.h <<\EOF | |
10f2d63a VZ |
1154 | #define __UNIX__ 1 |
1155 | EOF | |
1156 | ||
b12915c1 VZ |
1157 | |
1158 | SRC_SUBDIRS="$SRC_SUBDIRS unix" | |
1159 | INCLUDE_SUBDIRS="$INCLUDE_SUBDIRS unix" | |
1160 | fi | |
1161 | ||
1162 | if test "$USE_BEOS" = 1; then | |
1163 | SRC_SUBDIRS="$SRC_SUBDIRS be" | |
1164 | INCLUDE_SUBDIRS="$INCLUDE_SUBDIRS be" | |
10f2d63a VZ |
1165 | fi |
1166 | ||
1167 | if test "$USE_LINUX" = 1; then | |
1168 | echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6 | |
cf27ef00 | 1169 | echo "configure:1170: checking for gettext in -lc" >&5 |
10f2d63a VZ |
1170 | ac_lib_var=`echo c'_'gettext | sed 'y%./+-%__p_%'` |
1171 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
1172 | echo $ac_n "(cached) $ac_c" 1>&6 | |
1173 | else | |
1174 | ac_save_LIBS="$LIBS" | |
1175 | LIBS="-lc $LIBS" | |
1176 | cat > conftest.$ac_ext <<EOF | |
cf27ef00 | 1177 | #line 1178 "configure" |
10f2d63a VZ |
1178 | #include "confdefs.h" |
1179 | /* Override any gcc2 internal prototype to avoid an error. */ | |
1180 | /* We use char because int might match the return type of a gcc2 | |
1181 | builtin and then its argument prototype would still apply. */ | |
1182 | char gettext(); | |
1183 | ||
1184 | int main() { | |
1185 | gettext() | |
1186 | ; return 0; } | |
1187 | EOF | |
cf27ef00 | 1188 | if { (eval echo configure:1189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10f2d63a VZ |
1189 | rm -rf conftest* |
1190 | eval "ac_cv_lib_$ac_lib_var=yes" | |
1191 | else | |
1192 | echo "configure: failed program was:" >&5 | |
1193 | cat conftest.$ac_ext >&5 | |
1194 | rm -rf conftest* | |
1195 | eval "ac_cv_lib_$ac_lib_var=no" | |
1196 | fi | |
1197 | rm -f conftest* | |
1198 | LIBS="$ac_save_LIBS" | |
1199 | ||
1200 | fi | |
1201 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
1202 | echo "$ac_t""yes" 1>&6 | |
1203 | cat >> confdefs.h <<\EOF | |
1204 | #define wxHAVE_GLIBC2 1 | |
1205 | EOF | |
1206 | ||
1207 | else | |
1208 | echo "$ac_t""no" 1>&6 | |
1209 | fi | |
1210 | ||
1211 | fi | |
1212 | ||
1213 | ||
1214 | ||
1215 | ||
1216 | wx_arg_cache_file="configarg.cache" | |
1217 | echo "loading argument cache $wx_arg_cache_file" | |
1218 | rm -f ${wx_arg_cache_file}.tmp | |
1219 | touch ${wx_arg_cache_file}.tmp | |
1220 | touch ${wx_arg_cache_file} | |
1221 | ||
1222 | ||
1223 | DEBUG_CONFIGURE=0 | |
1224 | if test $DEBUG_CONFIGURE = 1; then | |
1225 | DEFAULT_wxUSE_THREADS=yes | |
1226 | ||
1227 | DEFAULT_wxUSE_SHARED=yes | |
1228 | DEFAULT_wxUSE_OPTIMISE=yes | |
1229 | DEFAULT_wxUSE_PROFILE=no | |
1230 | DEFAULT_wxUSE_NO_DEPS=no | |
1231 | DEFAULT_wxUSE_NO_RTTI=no | |
1232 | DEFAULT_wxUSE_NO_EXCEPTIONS=no | |
1233 | DEFAULT_wxUSE_PERMISSIVE=no | |
1234 | DEFAULT_wxUSE_DEBUG_FLAG=yes | |
1235 | DEFAULT_wxUSE_DEBUG_INFO=yes | |
1236 | DEFAULT_wxUSE_DEBUG_GDB=yes | |
1237 | DEFAULT_wxUSE_MEM_TRACING=no | |
1238 | DEFAULT_wxUSE_DEBUG_CONTEXT=no | |
1239 | DEFAULT_wxUSE_DMALLOC=no | |
1240 | DEFAULT_wxUSE_APPLE_IEEE=no | |
1241 | ||
1242 | DEFAULT_wxUSE_LOG=yes | |
1243 | ||
1244 | DEFAULT_wxUSE_GUI=yes | |
1245 | ||
1246 | DEFAULT_wxUSE_ZLIB=no | |
1247 | DEFAULT_wxUSE_LIBPNG=no | |
1248 | DEFAULT_wxUSE_LIBJPEG=no | |
c7a2bf27 | 1249 | DEFAULT_wxUSE_LIBTIFF=no |
10f2d63a VZ |
1250 | DEFAULT_wxUSE_ODBC=no |
1251 | ||
1252 | DEFAULT_wxUSE_STD_IOSTREAM=no | |
1253 | DEFAULT_wxUSE_FILE=no | |
1254 | DEFAULT_wxUSE_TEXTFILE=no | |
1255 | DEFAULT_wxUSE_TIMEDATE=no | |
1256 | DEFAULT_wxUSE_WAVE=no | |
1257 | DEFAULT_wxUSE_INTL=no | |
1258 | DEFAULT_wxUSE_CONFIG=no | |
1259 | DEFAULT_wxUSE_STREAMS=no | |
1260 | DEFAULT_wxUSE_SOCKETS=no | |
1261 | DEFAULT_wxUSE_DIALUP_MANAGER=no | |
1262 | DEFAULT_wxUSE_SERIAL=no | |
1263 | DEFAULT_wxUSE_JOYSTICK=no | |
1264 | DEFAULT_wxUSE_DYNLIB_CLASS=no | |
1265 | DEFAULT_wxUSE_LONGLONG=no | |
1266 | ||
1267 | DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no | |
1268 | DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no | |
1269 | DEFAULT_wxUSE_POSTSCRIPT=no | |
1270 | ||
1271 | DEFAULT_wxUSE_X_RESOURCES=no | |
1272 | DEFAULT_wxUSE_CLIPBOARD=no | |
1273 | DEFAULT_wxUSE_TOOLTIPS=no | |
1274 | DEFAULT_wxUSE_DRAG_AND_DROP=no | |
1275 | DEFAULT_wxUSE_SPLINES=no | |
1276 | ||
1277 | DEFAULT_wxUSE_MDI_ARCHITECTURE=no | |
1278 | DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no | |
1279 | DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no | |
1280 | ||
1281 | DEFAULT_wxUSE_PROLOGIO=no | |
1282 | DEFAULT_wxUSE_RESOURCES=no | |
1283 | DEFAULT_wxUSE_CONSTRAINTS=no | |
1284 | DEFAULT_wxUSE_IPC=no | |
1285 | DEFAULT_wxUSE_HELP=no | |
1286 | DEFAULT_wxUSE_WXTREE=no | |
1287 | DEFAULT_wxUSE_METAFILE=no | |
1288 | ||
1289 | DEFAULT_wxUSE_COMMONDLGS=no | |
1290 | DEFAULT_wxUSE_DIRDLG=no | |
1291 | DEFAULT_wxUSE_TEXTDLG=no | |
1292 | DEFAULT_wxUSE_STARTUP_TIPS=no | |
1293 | DEFAULT_wxUSE_PROGRESSDLG=no | |
1294 | DEFAULT_wxUSE_MINIFRAME=no | |
1295 | DEFAULT_wxUSE_HTML=no | |
1296 | DEFAULT_wxUSE_FS_INET=no | |
1297 | DEFAULT_wxUSE_FS_ZIP=no | |
1298 | DEFAULT_wxUSE_BUSYINFO=no | |
1299 | DEFAULT_wxUSE_ZIPSTREAM=no | |
1300 | DEFAULT_wxUSE_VALIDATORS=yes | |
1301 | ||
1302 | DEFAULT_wxUSE_ACCEL=no | |
1303 | DEFAULT_wxUSE_CARET=no | |
1304 | DEFAULT_wxUSE_BMPBUTTON=no | |
1305 | DEFAULT_wxUSE_CHECKBOX=no | |
1306 | DEFAULT_wxUSE_CHECKLST=no | |
1307 | DEFAULT_wxUSE_CHOICE=yes | |
1308 | DEFAULT_wxUSE_COMBOBOX=no | |
1309 | DEFAULT_wxUSE_GAUGE=no | |
1310 | DEFAULT_wxUSE_GRID=no | |
1311 | DEFAULT_wxUSE_NEW_GRID=no | |
1312 | DEFAULT_wxUSE_IMAGLIST=no | |
1313 | DEFAULT_wxUSE_LISTBOX=no | |
1314 | DEFAULT_wxUSE_LISTCTRL=no | |
1315 | DEFAULT_wxUSE_NOTEBOOK=no | |
1316 | DEFAULT_wxUSE_RADIOBOX=no | |
1317 | DEFAULT_wxUSE_RADIOBTN=no | |
1318 | DEFAULT_wxUSE_SASH=no | |
1319 | DEFAULT_wxUSE_SCROLLBAR=no | |
1320 | DEFAULT_wxUSE_SLIDER=no | |
1321 | DEFAULT_wxUSE_SPINBTN=no | |
56cfaa52 | 1322 | DEFAULT_wxUSE_SPINCTRL=no |
10f2d63a VZ |
1323 | DEFAULT_wxUSE_SPLITTER=no |
1324 | DEFAULT_wxUSE_STATBMP=no | |
1325 | DEFAULT_wxUSE_STATBOX=no | |
1326 | DEFAULT_wxUSE_STATLINE=no | |
1327 | DEFAULT_wxUSE_STATUSBAR=yes | |
1328 | DEFAULT_wxUSE_TABDIALOG=no | |
1329 | DEFAULT_wxUSE_TOOLBAR=no | |
360d6699 VZ |
1330 | DEFAULT_wxUSE_TOOLBAR_NATIVE=no |
1331 | DEFAULT_wxUSE_TOOLBAR_SIMPLE=no | |
10f2d63a VZ |
1332 | DEFAULT_wxUSE_TREECTRL=no |
1333 | ||
1334 | DEFAULT_wxUSE_UNICODE=no | |
1335 | DEFAULT_wxUSE_WCSRTOMBS=no | |
1336 | ||
1337 | DEFAULT_wxUSE_GIF=no | |
1338 | DEFAULT_wxUSE_PCX=no | |
1339 | DEFAULT_wxUSE_PNM=no | |
1340 | else | |
1341 | DEFAULT_wxUSE_THREADS=yes | |
1342 | ||
1343 | DEFAULT_wxUSE_SHARED=yes | |
1344 | DEFAULT_wxUSE_OPTIMISE=yes | |
1345 | DEFAULT_wxUSE_PROFILE=no | |
1346 | DEFAULT_wxUSE_NO_DEPS=no | |
1347 | DEFAULT_wxUSE_NO_RTTI=no | |
1348 | DEFAULT_wxUSE_NO_EXCEPTIONS=no | |
1349 | DEFAULT_wxUSE_PERMISSIVE=no | |
1350 | DEFAULT_wxUSE_DEBUG_FLAG=no | |
1351 | DEFAULT_wxUSE_DEBUG_INFO=no | |
1352 | DEFAULT_wxUSE_DEBUG_GDB=no | |
1353 | DEFAULT_wxUSE_MEM_TRACING=no | |
1354 | DEFAULT_wxUSE_DEBUG_CONTEXT=no | |
1355 | DEFAULT_wxUSE_DMALLOC=no | |
1356 | DEFAULT_wxUSE_APPLE_IEEE=yes | |
1357 | ||
1358 | DEFAULT_wxUSE_LOG=yes | |
1359 | ||
1360 | DEFAULT_wxUSE_GUI=yes | |
1361 | ||
1362 | DEFAULT_wxUSE_ZLIB=yes | |
1363 | DEFAULT_wxUSE_LIBPNG=yes | |
1364 | DEFAULT_wxUSE_LIBJPEG=yes | |
b47c832e | 1365 | DEFAULT_wxUSE_LIBTIFF=yes |
16b52fa1 | 1366 | DEFAULT_wxUSE_ODBC=no |
10f2d63a VZ |
1367 | |
1368 | DEFAULT_wxUSE_STD_IOSTREAM=no | |
1369 | DEFAULT_wxUSE_FILE=yes | |
1370 | DEFAULT_wxUSE_TEXTFILE=yes | |
1371 | DEFAULT_wxUSE_TIMEDATE=yes | |
1372 | DEFAULT_wxUSE_WAVE=no | |
1373 | DEFAULT_wxUSE_INTL=yes | |
1374 | DEFAULT_wxUSE_CONFIG=yes | |
1375 | DEFAULT_wxUSE_STREAMS=yes | |
1376 | DEFAULT_wxUSE_SOCKETS=yes | |
1377 | DEFAULT_wxUSE_DIALUP_MANAGER=yes | |
1378 | DEFAULT_wxUSE_SERIAL=yes | |
1379 | DEFAULT_wxUSE_JOYSTICK=yes | |
1380 | DEFAULT_wxUSE_DYNLIB_CLASS=yes | |
b685cd9b | 1381 | DEFAULT_wxUSE_LONGLONG=yes |
10f2d63a VZ |
1382 | |
1383 | DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes | |
1384 | DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes | |
1385 | DEFAULT_wxUSE_POSTSCRIPT=yes | |
1386 | ||
1387 | DEFAULT_wxUSE_X_RESOURCES=no | |
1388 | DEFAULT_wxUSE_CLIPBOARD=yes | |
1389 | DEFAULT_wxUSE_TOOLTIPS=yes | |
1390 | DEFAULT_wxUSE_DRAG_AND_DROP=yes | |
1391 | DEFAULT_wxUSE_SPLINES=yes | |
1392 | ||
1393 | DEFAULT_wxUSE_MDI_ARCHITECTURE=yes | |
1394 | DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes | |
1395 | DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes | |
1396 | ||
1397 | DEFAULT_wxUSE_PROLOGIO=yes | |
1398 | DEFAULT_wxUSE_RESOURCES=yes | |
1399 | DEFAULT_wxUSE_CONSTRAINTS=yes | |
1400 | DEFAULT_wxUSE_IPC=yes | |
1401 | DEFAULT_wxUSE_HELP=yes | |
1402 | DEFAULT_wxUSE_WXTREE=yes | |
1403 | DEFAULT_wxUSE_METAFILE=yes | |
1404 | ||
1405 | DEFAULT_wxUSE_COMMONDLGS=yes | |
1406 | DEFAULT_wxUSE_DIRDLG=yes | |
1407 | DEFAULT_wxUSE_TEXTDLG=yes | |
1408 | DEFAULT_wxUSE_STARTUP_TIPS=yes | |
1409 | DEFAULT_wxUSE_PROGRESSDLG=yes | |
1410 | DEFAULT_wxUSE_MINIFRAME=yes | |
1411 | DEFAULT_wxUSE_HTML=yes | |
1412 | DEFAULT_wxUSE_FS_INET=yes | |
1413 | DEFAULT_wxUSE_FS_ZIP=yes | |
1414 | DEFAULT_wxUSE_BUSYINFO=yes | |
1415 | DEFAULT_wxUSE_ZIPSTREAM=yes | |
1416 | DEFAULT_wxUSE_VALIDATORS=yes | |
1417 | ||
1418 | DEFAULT_wxUSE_ACCEL=yes | |
1419 | DEFAULT_wxUSE_CARET=yes | |
1420 | DEFAULT_wxUSE_BMPBUTTON=yes | |
1421 | DEFAULT_wxUSE_CHECKBOX=yes | |
1422 | DEFAULT_wxUSE_CHECKLST=yes | |
1423 | DEFAULT_wxUSE_CHOICE=yes | |
1424 | DEFAULT_wxUSE_COMBOBOX=yes | |
1425 | DEFAULT_wxUSE_GAUGE=yes | |
1426 | DEFAULT_wxUSE_GRID=yes | |
fc9c7c09 | 1427 | DEFAULT_wxUSE_NEW_GRID=no |
10f2d63a VZ |
1428 | DEFAULT_wxUSE_IMAGLIST=yes |
1429 | DEFAULT_wxUSE_LISTBOX=yes | |
1430 | DEFAULT_wxUSE_LISTCTRL=yes | |
1431 | DEFAULT_wxUSE_NOTEBOOK=yes | |
1432 | DEFAULT_wxUSE_RADIOBOX=yes | |
1433 | DEFAULT_wxUSE_RADIOBTN=yes | |
1434 | DEFAULT_wxUSE_SASH=yes | |
1435 | DEFAULT_wxUSE_SCROLLBAR=yes | |
1436 | DEFAULT_wxUSE_SLIDER=yes | |
1437 | DEFAULT_wxUSE_SPINBTN=yes | |
56cfaa52 | 1438 | DEFAULT_wxUSE_SPINCTRL=yes |
10f2d63a VZ |
1439 | DEFAULT_wxUSE_SPLITTER=yes |
1440 | DEFAULT_wxUSE_STATBMP=yes | |
1441 | DEFAULT_wxUSE_STATBOX=yes | |
1442 | DEFAULT_wxUSE_STATLINE=yes | |
1443 | DEFAULT_wxUSE_STATUSBAR=yes | |
1444 | DEFAULT_wxUSE_TABDIALOG=no | |
1445 | DEFAULT_wxUSE_TOOLBAR=yes | |
360d6699 VZ |
1446 | DEFAULT_wxUSE_TOOLBAR_NATIVE=yes |
1447 | DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes | |
10f2d63a VZ |
1448 | DEFAULT_wxUSE_TREECTRL=yes |
1449 | ||
1450 | DEFAULT_wxUSE_UNICODE=no | |
1451 | DEFAULT_wxUSE_WCSRTOMBS=no | |
1452 | ||
1453 | DEFAULT_wxUSE_GIF=yes | |
1454 | DEFAULT_wxUSE_PCX=yes | |
1455 | DEFAULT_wxUSE_PNM=yes | |
1456 | fi | |
1457 | ||
1458 | ||
1459 | ||
1460 | for toolkit in `echo $ALL_TOOLKITS`; do | |
1461 | LINE=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}` | |
1462 | if test "x$LINE" != x ; then | |
1463 | has_toolkit_in_cache=1 | |
1464 | eval "DEFAULT_$LINE" | |
1465 | eval "CACHE_$toolkit=1" | |
1466 | fi | |
1467 | done | |
1468 | ||
1469 | ||
1470 | ||
1471 | echo $ac_n "checking "for --enable-gui"""... $ac_c" 1>&6 | |
cf27ef00 | 1472 | echo "configure:1473: checking "for --enable-gui"" >&5 |
10f2d63a VZ |
1473 | no_cache=0 |
1474 | # Check whether --enable-gui or --disable-gui was given. | |
1475 | if test "${enable_gui+set}" = set; then | |
1476 | enableval="$enable_gui" | |
1477 | ||
1478 | if test "$enableval" = yes; then | |
1479 | ac_cv_use_gui='wxUSE_GUI=yes' | |
1480 | else | |
1481 | ac_cv_use_gui='wxUSE_GUI=no' | |
1482 | fi | |
1483 | ||
1484 | else | |
1485 | ||
1486 | LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}` | |
1487 | if test "x$LINE" != x ; then | |
1488 | eval "DEFAULT_$LINE" | |
1489 | else | |
1490 | no_cache=1 | |
1491 | fi | |
1492 | ||
1493 | ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI | |
1494 | ||
1495 | fi | |
1496 | ||
1497 | ||
1498 | eval "$ac_cv_use_gui" | |
1499 | if test "$no_cache" != 1; then | |
1500 | echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp | |
1501 | fi | |
1502 | ||
1503 | if test "$wxUSE_GUI" = yes; then | |
1504 | echo "$ac_t""yes" 1>&6 | |
1505 | else | |
1506 | echo "$ac_t""no" 1>&6 | |
1507 | fi | |
1508 | ||
1509 | ||
b12915c1 | 1510 | if test "$wxUSE_GUI" = "yes"; then |
10f2d63a VZ |
1511 | |
1512 | # Check whether --with-gtk or --without-gtk was given. | |
1513 | if test "${with_gtk+set}" = set; then | |
1514 | withval="$with_gtk" | |
1515 | wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1 | |
1516 | fi | |
1517 | ||
1518 | # Check whether --with-motif or --without-motif was given. | |
1519 | if test "${with_motif+set}" = set; then | |
1520 | withval="$with_motif" | |
1521 | wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1 | |
1522 | fi | |
1523 | ||
1524 | # Check whether --with-wine or --without-wine was given. | |
1525 | if test "${with_wine+set}" = set; then | |
1526 | withval="$with_wine" | |
1527 | wxUSE_WINE="$withval" CACHE_WINE=1 TOOLKIT_GIVEN=1 | |
1528 | fi | |
1529 | ||
1530 | # Check whether --with-cygwin or --without-cygwin was given. | |
1531 | if test "${with_cygwin+set}" = set; then | |
1532 | withval="$with_cygwin" | |
1533 | wxUSE_CYGWIN="$withval" CACHE_CYGWIN=1 TOOLKIT_GIVEN=1 | |
1534 | fi | |
1535 | ||
1536 | # Check whether --with-mingw or --without-mingw was given. | |
1537 | if test "${with_mingw+set}" = set; then | |
1538 | withval="$with_mingw" | |
1539 | wxUSE_MINGW="$withval" CACHE_MINGW=1 TOOLKIT_GIVEN=1 | |
1540 | fi | |
1541 | ||
e07802fc VZ |
1542 | # Check whether --with-pm or --without-pm was given. |
1543 | if test "${with_pm+set}" = set; then | |
1544 | withval="$with_pm" | |
1545 | wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1 | |
1546 | fi | |
1547 | ||
10f2d63a VZ |
1548 | |
1549 | # Check whether --with-gtk-prefix or --without-gtk-prefix was given. | |
1550 | if test "${with_gtk_prefix+set}" = set; then | |
1551 | withval="$with_gtk_prefix" | |
1552 | gtk_config_prefix="$withval" | |
1553 | else | |
1554 | gtk_config_prefix="" | |
1555 | fi | |
1556 | ||
1557 | # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given. | |
1558 | if test "${with_gtk_exec_prefix+set}" = set; then | |
1559 | withval="$with_gtk_exec_prefix" | |
1560 | gtk_config_exec_prefix="$withval" | |
1561 | else | |
1562 | gtk_config_exec_prefix="" | |
1563 | fi | |
1564 | ||
1565 | ||
1566 | ||
b12915c1 | 1567 | echo $ac_n "checking "for --with-libpng"""... $ac_c" 1>&6 |
cf27ef00 | 1568 | echo "configure:1569: checking "for --with-libpng"" >&5 |
10f2d63a | 1569 | no_cache=0 |
b12915c1 VZ |
1570 | # Check whether --with-libpng or --without-libpng was given. |
1571 | if test "${with_libpng+set}" = set; then | |
1572 | withval="$with_libpng" | |
10f2d63a VZ |
1573 | |
1574 | if test "$withval" = yes; then | |
b12915c1 | 1575 | ac_cv_use_libpng='wxUSE_LIBPNG=yes' |
10f2d63a | 1576 | else |
b12915c1 | 1577 | ac_cv_use_libpng='wxUSE_LIBPNG=no' |
10f2d63a VZ |
1578 | fi |
1579 | ||
1580 | else | |
1581 | ||
b12915c1 | 1582 | LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}` |
10f2d63a VZ |
1583 | if test "x$LINE" != x ; then |
1584 | eval "DEFAULT_$LINE" | |
1585 | else | |
1586 | no_cache=1 | |
1587 | fi | |
1588 | ||
b12915c1 | 1589 | ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG |
10f2d63a VZ |
1590 | |
1591 | fi | |
1592 | ||
1593 | ||
b12915c1 | 1594 | eval "$ac_cv_use_libpng" |
10f2d63a | 1595 | if test "$no_cache" != 1; then |
b12915c1 | 1596 | echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp |
10f2d63a VZ |
1597 | fi |
1598 | ||
b12915c1 | 1599 | if test "$wxUSE_LIBPNG" = yes; then |
10f2d63a VZ |
1600 | echo "$ac_t""yes" 1>&6 |
1601 | else | |
1602 | echo "$ac_t""no" 1>&6 | |
1603 | fi | |
1604 | ||
1605 | ||
b12915c1 | 1606 | echo $ac_n "checking "for --with-libjpeg"""... $ac_c" 1>&6 |
cf27ef00 | 1607 | echo "configure:1608: checking "for --with-libjpeg"" >&5 |
10f2d63a | 1608 | no_cache=0 |
b12915c1 VZ |
1609 | # Check whether --with-libjpeg or --without-libjpeg was given. |
1610 | if test "${with_libjpeg+set}" = set; then | |
1611 | withval="$with_libjpeg" | |
10f2d63a VZ |
1612 | |
1613 | if test "$withval" = yes; then | |
b12915c1 | 1614 | ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes' |
10f2d63a | 1615 | else |
b12915c1 | 1616 | ac_cv_use_libjpeg='wxUSE_LIBJPEG=no' |
10f2d63a VZ |
1617 | fi |
1618 | ||
1619 | else | |
1620 | ||
b12915c1 | 1621 | LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}` |
10f2d63a VZ |
1622 | if test "x$LINE" != x ; then |
1623 | eval "DEFAULT_$LINE" | |
1624 | else | |
1625 | no_cache=1 | |
1626 | fi | |
1627 | ||
b12915c1 | 1628 | ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG |
10f2d63a VZ |
1629 | |
1630 | fi | |
1631 | ||
1632 | ||
b12915c1 | 1633 | eval "$ac_cv_use_libjpeg" |
10f2d63a | 1634 | if test "$no_cache" != 1; then |
b12915c1 | 1635 | echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp |
10f2d63a VZ |
1636 | fi |
1637 | ||
b12915c1 | 1638 | if test "$wxUSE_LIBJPEG" = yes; then |
10f2d63a VZ |
1639 | echo "$ac_t""yes" 1>&6 |
1640 | else | |
1641 | echo "$ac_t""no" 1>&6 | |
1642 | fi | |
1643 | ||
1644 | ||
b12915c1 | 1645 | echo $ac_n "checking "for --with-libtiff"""... $ac_c" 1>&6 |
cf27ef00 | 1646 | echo "configure:1647: checking "for --with-libtiff"" >&5 |
10f2d63a | 1647 | no_cache=0 |
b12915c1 VZ |
1648 | # Check whether --with-libtiff or --without-libtiff was given. |
1649 | if test "${with_libtiff+set}" = set; then | |
1650 | withval="$with_libtiff" | |
10f2d63a VZ |
1651 | |
1652 | if test "$withval" = yes; then | |
b12915c1 | 1653 | ac_cv_use_libtiff='wxUSE_LIBTIFF=yes' |
10f2d63a | 1654 | else |
b12915c1 | 1655 | ac_cv_use_libtiff='wxUSE_LIBTIFF=no' |
10f2d63a VZ |
1656 | fi |
1657 | ||
1658 | else | |
1659 | ||
b12915c1 | 1660 | LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}` |
10f2d63a VZ |
1661 | if test "x$LINE" != x ; then |
1662 | eval "DEFAULT_$LINE" | |
1663 | else | |
1664 | no_cache=1 | |
1665 | fi | |
1666 | ||
b12915c1 | 1667 | ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF |
10f2d63a VZ |
1668 | |
1669 | fi | |
1670 | ||
1671 | ||
b12915c1 | 1672 | eval "$ac_cv_use_libtiff" |
10f2d63a | 1673 | if test "$no_cache" != 1; then |
b12915c1 | 1674 | echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp |
10f2d63a VZ |
1675 | fi |
1676 | ||
b12915c1 | 1677 | if test "$wxUSE_LIBTIFF" = yes; then |
10f2d63a VZ |
1678 | echo "$ac_t""yes" 1>&6 |
1679 | else | |
1680 | echo "$ac_t""no" 1>&6 | |
1681 | fi | |
1682 | ||
1683 | ||
b12915c1 | 1684 | echo $ac_n "checking "for --with-opengl"""... $ac_c" 1>&6 |
cf27ef00 | 1685 | echo "configure:1686: checking "for --with-opengl"" >&5 |
10f2d63a | 1686 | no_cache=0 |
b12915c1 VZ |
1687 | # Check whether --with-opengl or --without-opengl was given. |
1688 | if test "${with_opengl+set}" = set; then | |
1689 | withval="$with_opengl" | |
10f2d63a VZ |
1690 | |
1691 | if test "$withval" = yes; then | |
b12915c1 | 1692 | ac_cv_use_opengl='wxUSE_OPENGL=yes' |
10f2d63a | 1693 | else |
b12915c1 | 1694 | ac_cv_use_opengl='wxUSE_OPENGL=no' |
10f2d63a VZ |
1695 | fi |
1696 | ||
1697 | else | |
1698 | ||
b12915c1 | 1699 | LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}` |
10f2d63a VZ |
1700 | if test "x$LINE" != x ; then |
1701 | eval "DEFAULT_$LINE" | |
1702 | else | |
1703 | no_cache=1 | |
1704 | fi | |
1705 | ||
b12915c1 | 1706 | ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL |
10f2d63a VZ |
1707 | |
1708 | fi | |
1709 | ||
1710 | ||
b12915c1 | 1711 | eval "$ac_cv_use_opengl" |
10f2d63a | 1712 | if test "$no_cache" != 1; then |
b12915c1 | 1713 | echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp |
10f2d63a VZ |
1714 | fi |
1715 | ||
b12915c1 | 1716 | if test "$wxUSE_OPENGL" = yes; then |
10f2d63a VZ |
1717 | echo "$ac_t""yes" 1>&6 |
1718 | else | |
1719 | echo "$ac_t""no" 1>&6 | |
1720 | fi | |
1721 | ||
1722 | ||
b12915c1 VZ |
1723 | fi |
1724 | ||
1725 | ||
1726 | echo $ac_n "checking "for --with-dmalloc"""... $ac_c" 1>&6 | |
cf27ef00 | 1727 | echo "configure:1728: checking "for --with-dmalloc"" >&5 |
c7a2bf27 | 1728 | no_cache=0 |
b12915c1 VZ |
1729 | # Check whether --with-dmalloc or --without-dmalloc was given. |
1730 | if test "${with_dmalloc+set}" = set; then | |
1731 | withval="$with_dmalloc" | |
c7a2bf27 RR |
1732 | |
1733 | if test "$withval" = yes; then | |
b12915c1 | 1734 | ac_cv_use_dmalloc='wxUSE_DMALLOC=yes' |
c7a2bf27 | 1735 | else |
b12915c1 | 1736 | ac_cv_use_dmalloc='wxUSE_DMALLOC=no' |
c7a2bf27 RR |
1737 | fi |
1738 | ||
1739 | else | |
1740 | ||
b12915c1 | 1741 | LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}` |
c7a2bf27 RR |
1742 | if test "x$LINE" != x ; then |
1743 | eval "DEFAULT_$LINE" | |
1744 | else | |
1745 | no_cache=1 | |
1746 | fi | |
1747 | ||
b12915c1 | 1748 | ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC |
c7a2bf27 RR |
1749 | |
1750 | fi | |
1751 | ||
1752 | ||
b12915c1 | 1753 | eval "$ac_cv_use_dmalloc" |
c7a2bf27 | 1754 | if test "$no_cache" != 1; then |
b12915c1 | 1755 | echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp |
c7a2bf27 RR |
1756 | fi |
1757 | ||
b12915c1 | 1758 | if test "$wxUSE_DMALLOC" = yes; then |
c7a2bf27 RR |
1759 | echo "$ac_t""yes" 1>&6 |
1760 | else | |
1761 | echo "$ac_t""no" 1>&6 | |
1762 | fi | |
1763 | ||
1764 | ||
b12915c1 | 1765 | echo $ac_n "checking "for --with-zlib"""... $ac_c" 1>&6 |
cf27ef00 | 1766 | echo "configure:1767: checking "for --with-zlib"" >&5 |
10f2d63a | 1767 | no_cache=0 |
b12915c1 VZ |
1768 | # Check whether --with-zlib or --without-zlib was given. |
1769 | if test "${with_zlib+set}" = set; then | |
1770 | withval="$with_zlib" | |
10f2d63a VZ |
1771 | |
1772 | if test "$withval" = yes; then | |
b12915c1 | 1773 | ac_cv_use_zlib='wxUSE_ZLIB=yes' |
10f2d63a | 1774 | else |
b12915c1 | 1775 | ac_cv_use_zlib='wxUSE_ZLIB=no' |
10f2d63a VZ |
1776 | fi |
1777 | ||
1778 | else | |
1779 | ||
b12915c1 | 1780 | LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}` |
10f2d63a VZ |
1781 | if test "x$LINE" != x ; then |
1782 | eval "DEFAULT_$LINE" | |
1783 | else | |
1784 | no_cache=1 | |
1785 | fi | |
1786 | ||
b12915c1 | 1787 | ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB |
10f2d63a VZ |
1788 | |
1789 | fi | |
1790 | ||
1791 | ||
b12915c1 | 1792 | eval "$ac_cv_use_zlib" |
10f2d63a | 1793 | if test "$no_cache" != 1; then |
b12915c1 | 1794 | echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp |
10f2d63a VZ |
1795 | fi |
1796 | ||
b12915c1 | 1797 | if test "$wxUSE_ZLIB" = yes; then |
10f2d63a VZ |
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 | |
cf27ef00 | 1805 | echo "configure:1806: checking "for --with-odbc"" >&5 |
10f2d63a VZ |
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 | |
cf27ef00 | 1847 | echo "configure:1848: checking "for --enable-shared"" >&5 |
10f2d63a VZ |
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 | |
cf27ef00 | 1886 | echo "configure:1887: checking "for --enable-optimise"" >&5 |
10f2d63a VZ |
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 | |
cf27ef00 | 1925 | echo "configure:1926: checking "for --enable-debug"" >&5 |
10f2d63a VZ |
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 | |
cf27ef00 | 1973 | echo "configure:1974: checking "for --enable-debug_flag"" >&5 |
10f2d63a VZ |
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 | |
cf27ef00 | 2012 | echo "configure:2013: checking "for --enable-debug_info"" >&5 |
10f2d63a VZ |
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 | |
cf27ef00 | 2051 | echo "configure:2052: checking "for --enable-debug_gdb"" >&5 |
10f2d63a VZ |
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 | |
cf27ef00 | 2090 | echo "configure:2091: checking "for --enable-debug_cntxt"" >&5 |
10f2d63a VZ |
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 | |
cf27ef00 | 2129 | echo "configure:2130: checking "for --enable-mem_tracing"" >&5 |
10f2d63a VZ |
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 | |
cf27ef00 | 2168 | echo "configure:2169: checking "for --enable-profile"" >&5 |
10f2d63a VZ |
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 | |
cf27ef00 | 2207 | echo "configure:2208: checking "for --enable-no_rtti"" >&5 |
10f2d63a VZ |
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 | |
cf27ef00 | 2246 | echo "configure:2247: checking "for --enable-no_exceptions"" >&5 |
10f2d63a VZ |
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 | |
cf27ef00 | 2285 | echo "configure:2286: checking "for --enable-permissive"" >&5 |
10f2d63a VZ |
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 | |
cf27ef00 | 2324 | echo "configure:2325: checking "for --enable-no_deps"" >&5 |
10f2d63a VZ |
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 | ||
2364 | echo $ac_n "checking "for --enable-intl"""... $ac_c" 1>&6 | |
cf27ef00 | 2365 | echo "configure:2366: checking "for --enable-intl"" >&5 |
10f2d63a VZ |
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 | |
cf27ef00 | 2404 | echo "configure:2405: checking "for --enable-config"" >&5 |
10f2d63a VZ |
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 | ||
b12915c1 VZ |
2442 | if test "$wxUSE_GUI" = "yes"; then |
2443 | ||
10f2d63a | 2444 | echo $ac_n "checking "for --enable-sockets"""... $ac_c" 1>&6 |
cf27ef00 | 2445 | echo "configure:2446: checking "for --enable-sockets"" >&5 |
10f2d63a VZ |
2446 | no_cache=0 |
2447 | # Check whether --enable-sockets or --disable-sockets was given. | |
2448 | if test "${enable_sockets+set}" = set; then | |
2449 | enableval="$enable_sockets" | |
2450 | ||
2451 | if test "$enableval" = yes; then | |
2452 | ac_cv_use_sockets='wxUSE_SOCKETS=yes' | |
2453 | else | |
2454 | ac_cv_use_sockets='wxUSE_SOCKETS=no' | |
2455 | fi | |
2456 | ||
2457 | else | |
2458 | ||
2459 | LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}` | |
2460 | if test "x$LINE" != x ; then | |
2461 | eval "DEFAULT_$LINE" | |
2462 | else | |
2463 | no_cache=1 | |
2464 | fi | |
2465 | ||
2466 | ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS | |
2467 | ||
2468 | fi | |
2469 | ||
2470 | ||
2471 | eval "$ac_cv_use_sockets" | |
2472 | if test "$no_cache" != 1; then | |
2473 | echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp | |
2474 | fi | |
2475 | ||
2476 | if test "$wxUSE_SOCKETS" = yes; then | |
2477 | echo "$ac_t""yes" 1>&6 | |
2478 | else | |
2479 | echo "$ac_t""no" 1>&6 | |
2480 | fi | |
2481 | ||
b12915c1 VZ |
2482 | else |
2483 | wxUSE_SOCKETS=no | |
2484 | fi | |
2485 | ||
10f2d63a VZ |
2486 | |
2487 | echo $ac_n "checking "for --enable-dialupman"""... $ac_c" 1>&6 | |
cf27ef00 | 2488 | echo "configure:2489: checking "for --enable-dialupman"" >&5 |
10f2d63a VZ |
2489 | no_cache=0 |
2490 | # Check whether --enable-dialupman or --disable-dialupman was given. | |
2491 | if test "${enable_dialupman+set}" = set; then | |
2492 | enableval="$enable_dialupman" | |
2493 | ||
2494 | if test "$enableval" = yes; then | |
2495 | ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes' | |
2496 | else | |
2497 | ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no' | |
2498 | fi | |
2499 | ||
2500 | else | |
2501 | ||
2502 | LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}` | |
2503 | if test "x$LINE" != x ; then | |
2504 | eval "DEFAULT_$LINE" | |
2505 | else | |
2506 | no_cache=1 | |
2507 | fi | |
2508 | ||
2509 | ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER | |
2510 | ||
2511 | fi | |
2512 | ||
2513 | ||
2514 | eval "$ac_cv_use_dialupman" | |
2515 | if test "$no_cache" != 1; then | |
2516 | echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp | |
2517 | fi | |
2518 | ||
2519 | if test "$wxUSE_DIALUP_MANAGER" = yes; then | |
2520 | echo "$ac_t""yes" 1>&6 | |
2521 | else | |
2522 | echo "$ac_t""no" 1>&6 | |
2523 | fi | |
2524 | ||
2525 | ||
2526 | echo $ac_n "checking "for --enable-ipc"""... $ac_c" 1>&6 | |
cf27ef00 | 2527 | echo "configure:2528: checking "for --enable-ipc"" >&5 |
10f2d63a VZ |
2528 | no_cache=0 |
2529 | # Check whether --enable-ipc or --disable-ipc was given. | |
2530 | if test "${enable_ipc+set}" = set; then | |
2531 | enableval="$enable_ipc" | |
2532 | ||
2533 | if test "$enableval" = yes; then | |
2534 | ac_cv_use_ipc='wxUSE_IPC=yes' | |
2535 | else | |
2536 | ac_cv_use_ipc='wxUSE_IPC=no' | |
2537 | fi | |
2538 | ||
2539 | else | |
2540 | ||
2541 | LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}` | |
2542 | if test "x$LINE" != x ; then | |
2543 | eval "DEFAULT_$LINE" | |
2544 | else | |
2545 | no_cache=1 | |
2546 | fi | |
2547 | ||
2548 | ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC | |
2549 | ||
2550 | fi | |
2551 | ||
2552 | ||
2553 | eval "$ac_cv_use_ipc" | |
2554 | if test "$no_cache" != 1; then | |
2555 | echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp | |
2556 | fi | |
2557 | ||
2558 | if test "$wxUSE_IPC" = yes; then | |
2559 | echo "$ac_t""yes" 1>&6 | |
2560 | else | |
2561 | echo "$ac_t""no" 1>&6 | |
2562 | fi | |
2563 | ||
2564 | ||
2565 | echo $ac_n "checking "for --enable-apple_ieee"""... $ac_c" 1>&6 | |
cf27ef00 | 2566 | echo "configure:2567: checking "for --enable-apple_ieee"" >&5 |
10f2d63a VZ |
2567 | no_cache=0 |
2568 | # Check whether --enable-apple_ieee or --disable-apple_ieee was given. | |
2569 | if test "${enable_apple_ieee+set}" = set; then | |
2570 | enableval="$enable_apple_ieee" | |
2571 | ||
2572 | if test "$enableval" = yes; then | |
2573 | ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes' | |
2574 | else | |
2575 | ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no' | |
2576 | fi | |
2577 | ||
2578 | else | |
2579 | ||
2580 | LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}` | |
2581 | if test "x$LINE" != x ; then | |
2582 | eval "DEFAULT_$LINE" | |
2583 | else | |
2584 | no_cache=1 | |
2585 | fi | |
2586 | ||
2587 | ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE | |
2588 | ||
2589 | fi | |
2590 | ||
2591 | ||
2592 | eval "$ac_cv_use_apple_ieee" | |
2593 | if test "$no_cache" != 1; then | |
2594 | echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp | |
2595 | fi | |
2596 | ||
2597 | if test "$wxUSE_APPLE_IEEE" = yes; then | |
2598 | echo "$ac_t""yes" 1>&6 | |
2599 | else | |
2600 | echo "$ac_t""no" 1>&6 | |
2601 | fi | |
2602 | ||
2603 | ||
2604 | echo $ac_n "checking "for --enable-timedate"""... $ac_c" 1>&6 | |
cf27ef00 | 2605 | echo "configure:2606: checking "for --enable-timedate"" >&5 |
10f2d63a VZ |
2606 | no_cache=0 |
2607 | # Check whether --enable-timedate or --disable-timedate was given. | |
2608 | if test "${enable_timedate+set}" = set; then | |
2609 | enableval="$enable_timedate" | |
2610 | ||
2611 | if test "$enableval" = yes; then | |
2612 | ac_cv_use_timedate='wxUSE_TIMEDATE=yes' | |
2613 | else | |
2614 | ac_cv_use_timedate='wxUSE_TIMEDATE=no' | |
2615 | fi | |
2616 | ||
2617 | else | |
2618 | ||
2619 | LINE=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}` | |
2620 | if test "x$LINE" != x ; then | |
2621 | eval "DEFAULT_$LINE" | |
2622 | else | |
2623 | no_cache=1 | |
2624 | fi | |
2625 | ||
2626 | ac_cv_use_timedate='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE | |
2627 | ||
2628 | fi | |
2629 | ||
2630 | ||
2631 | eval "$ac_cv_use_timedate" | |
2632 | if test "$no_cache" != 1; then | |
2633 | echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp | |
2634 | fi | |
2635 | ||
2636 | if test "$wxUSE_TIMEDATE" = yes; then | |
2637 | echo "$ac_t""yes" 1>&6 | |
2638 | else | |
2639 | echo "$ac_t""no" 1>&6 | |
2640 | fi | |
2641 | ||
2642 | ||
2643 | echo $ac_n "checking "for --enable-wave"""... $ac_c" 1>&6 | |
cf27ef00 | 2644 | echo "configure:2645: checking "for --enable-wave"" >&5 |
10f2d63a VZ |
2645 | no_cache=0 |
2646 | # Check whether --enable-wave or --disable-wave was given. | |
2647 | if test "${enable_wave+set}" = set; then | |
2648 | enableval="$enable_wave" | |
2649 | ||
2650 | if test "$enableval" = yes; then | |
2651 | ac_cv_use_wave='wxUSE_WAVE=yes' | |
2652 | else | |
2653 | ac_cv_use_wave='wxUSE_WAVE=no' | |
2654 | fi | |
2655 | ||
2656 | else | |
2657 | ||
2658 | LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}` | |
2659 | if test "x$LINE" != x ; then | |
2660 | eval "DEFAULT_$LINE" | |
2661 | else | |
2662 | no_cache=1 | |
2663 | fi | |
2664 | ||
2665 | ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE | |
2666 | ||
2667 | fi | |
2668 | ||
2669 | ||
2670 | eval "$ac_cv_use_wave" | |
2671 | if test "$no_cache" != 1; then | |
2672 | echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp | |
2673 | fi | |
2674 | ||
2675 | if test "$wxUSE_WAVE" = yes; then | |
2676 | echo "$ac_t""yes" 1>&6 | |
2677 | else | |
2678 | echo "$ac_t""no" 1>&6 | |
2679 | fi | |
2680 | ||
2681 | ||
2682 | echo $ac_n "checking "for --enable-fraction"""... $ac_c" 1>&6 | |
cf27ef00 | 2683 | echo "configure:2684: checking "for --enable-fraction"" >&5 |
10f2d63a VZ |
2684 | no_cache=0 |
2685 | # Check whether --enable-fraction or --disable-fraction was given. | |
2686 | if test "${enable_fraction+set}" = set; then | |
2687 | enableval="$enable_fraction" | |
2688 | ||
2689 | if test "$enableval" = yes; then | |
2690 | ac_cv_use_fraction='wxUSE_FRACTION=yes' | |
2691 | else | |
2692 | ac_cv_use_fraction='wxUSE_FRACTION=no' | |
2693 | fi | |
2694 | ||
2695 | else | |
2696 | ||
2697 | LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}` | |
2698 | if test "x$LINE" != x ; then | |
2699 | eval "DEFAULT_$LINE" | |
2700 | else | |
2701 | no_cache=1 | |
2702 | fi | |
2703 | ||
2704 | ac_cv_use_fraction='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION | |
2705 | ||
2706 | fi | |
2707 | ||
2708 | ||
2709 | eval "$ac_cv_use_fraction" | |
2710 | if test "$no_cache" != 1; then | |
2711 | echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp | |
2712 | fi | |
2713 | ||
2714 | if test "$wxUSE_FRACTION" = yes; then | |
2715 | echo "$ac_t""yes" 1>&6 | |
2716 | else | |
2717 | echo "$ac_t""no" 1>&6 | |
2718 | fi | |
2719 | ||
2720 | ||
2721 | echo $ac_n "checking "for --enable-dynlib"""... $ac_c" 1>&6 | |
cf27ef00 | 2722 | echo "configure:2723: checking "for --enable-dynlib"" >&5 |
10f2d63a VZ |
2723 | no_cache=0 |
2724 | # Check whether --enable-dynlib or --disable-dynlib was given. | |
2725 | if test "${enable_dynlib+set}" = set; then | |
2726 | enableval="$enable_dynlib" | |
2727 | ||
2728 | if test "$enableval" = yes; then | |
2729 | ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes' | |
2730 | else | |
2731 | ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no' | |
2732 | fi | |
2733 | ||
2734 | else | |
2735 | ||
2736 | LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}` | |
2737 | if test "x$LINE" != x ; then | |
2738 | eval "DEFAULT_$LINE" | |
2739 | else | |
2740 | no_cache=1 | |
2741 | fi | |
2742 | ||
2743 | ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS | |
2744 | ||
2745 | fi | |
2746 | ||
2747 | ||
2748 | eval "$ac_cv_use_dynlib" | |
2749 | if test "$no_cache" != 1; then | |
2750 | echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp | |
2751 | fi | |
2752 | ||
2753 | if test "$wxUSE_DYNLIB_CLASS" = yes; then | |
2754 | echo "$ac_t""yes" 1>&6 | |
2755 | else | |
2756 | echo "$ac_t""no" 1>&6 | |
2757 | fi | |
2758 | ||
2759 | ||
2760 | echo $ac_n "checking "for --enable-longlong"""... $ac_c" 1>&6 | |
cf27ef00 | 2761 | echo "configure:2762: checking "for --enable-longlong"" >&5 |
10f2d63a VZ |
2762 | no_cache=0 |
2763 | # Check whether --enable-longlong or --disable-longlong was given. | |
2764 | if test "${enable_longlong+set}" = set; then | |
2765 | enableval="$enable_longlong" | |
2766 | ||
2767 | if test "$enableval" = yes; then | |
2768 | ac_cv_use_longlong='wxUSE_LONGLONG=yes' | |
2769 | else | |
2770 | ac_cv_use_longlong='wxUSE_LONGLONG=no' | |
2771 | fi | |
2772 | ||
2773 | else | |
2774 | ||
2775 | LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}` | |
2776 | if test "x$LINE" != x ; then | |
2777 | eval "DEFAULT_$LINE" | |
2778 | else | |
2779 | no_cache=1 | |
2780 | fi | |
2781 | ||
2782 | ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG | |
2783 | ||
2784 | fi | |
2785 | ||
2786 | ||
2787 | eval "$ac_cv_use_longlong" | |
2788 | if test "$no_cache" != 1; then | |
2789 | echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp | |
2790 | fi | |
2791 | ||
2792 | if test "$wxUSE_LONGLONG" = yes; then | |
2793 | echo "$ac_t""yes" 1>&6 | |
2794 | else | |
2795 | echo "$ac_t""no" 1>&6 | |
2796 | fi | |
2797 | ||
2798 | ||
2799 | echo $ac_n "checking "for --enable-log"""... $ac_c" 1>&6 | |
cf27ef00 | 2800 | echo "configure:2801: checking "for --enable-log"" >&5 |
10f2d63a VZ |
2801 | no_cache=0 |
2802 | # Check whether --enable-log or --disable-log was given. | |
2803 | if test "${enable_log+set}" = set; then | |
2804 | enableval="$enable_log" | |
2805 | ||
2806 | if test "$enableval" = yes; then | |
2807 | ac_cv_use_log='wxUSE_LOG=yes' | |
2808 | else | |
2809 | ac_cv_use_log='wxUSE_LOG=no' | |
2810 | fi | |
2811 | ||
2812 | else | |
2813 | ||
2814 | LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}` | |
2815 | if test "x$LINE" != x ; then | |
2816 | eval "DEFAULT_$LINE" | |
2817 | else | |
2818 | no_cache=1 | |
2819 | fi | |
2820 | ||
2821 | ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG | |
2822 | ||
2823 | fi | |
2824 | ||
2825 | ||
2826 | eval "$ac_cv_use_log" | |
2827 | if test "$no_cache" != 1; then | |
2828 | echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp | |
2829 | fi | |
2830 | ||
2831 | if test "$wxUSE_LOG" = yes; then | |
2832 | echo "$ac_t""yes" 1>&6 | |
2833 | else | |
2834 | echo "$ac_t""no" 1>&6 | |
2835 | fi | |
2836 | ||
2837 | ||
2838 | echo $ac_n "checking "for --enable-streams"""... $ac_c" 1>&6 | |
cf27ef00 | 2839 | echo "configure:2840: checking "for --enable-streams"" >&5 |
10f2d63a VZ |
2840 | no_cache=0 |
2841 | # Check whether --enable-streams or --disable-streams was given. | |
2842 | if test "${enable_streams+set}" = set; then | |
2843 | enableval="$enable_streams" | |
2844 | ||
2845 | if test "$enableval" = yes; then | |
2846 | ac_cv_use_streams='wxUSE_STREAMS=yes' | |
2847 | else | |
2848 | ac_cv_use_streams='wxUSE_STREAMS=no' | |
2849 | fi | |
2850 | ||
2851 | else | |
2852 | ||
2853 | LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}` | |
2854 | if test "x$LINE" != x ; then | |
2855 | eval "DEFAULT_$LINE" | |
2856 | else | |
2857 | no_cache=1 | |
2858 | fi | |
2859 | ||
2860 | ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS | |
2861 | ||
2862 | fi | |
2863 | ||
2864 | ||
2865 | eval "$ac_cv_use_streams" | |
2866 | if test "$no_cache" != 1; then | |
2867 | echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp | |
2868 | fi | |
2869 | ||
2870 | if test "$wxUSE_STREAMS" = yes; then | |
2871 | echo "$ac_t""yes" 1>&6 | |
2872 | else | |
2873 | echo "$ac_t""no" 1>&6 | |
2874 | fi | |
2875 | ||
2876 | ||
2877 | echo $ac_n "checking "for --enable-file"""... $ac_c" 1>&6 | |
cf27ef00 | 2878 | echo "configure:2879: checking "for --enable-file"" >&5 |
10f2d63a VZ |
2879 | no_cache=0 |
2880 | # Check whether --enable-file or --disable-file was given. | |
2881 | if test "${enable_file+set}" = set; then | |
2882 | enableval="$enable_file" | |
2883 | ||
2884 | if test "$enableval" = yes; then | |
2885 | ac_cv_use_file='wxUSE_FILE=yes' | |
2886 | else | |
2887 | ac_cv_use_file='wxUSE_FILE=no' | |
2888 | fi | |
2889 | ||
2890 | else | |
2891 | ||
2892 | LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}` | |
2893 | if test "x$LINE" != x ; then | |
2894 | eval "DEFAULT_$LINE" | |
2895 | else | |
2896 | no_cache=1 | |
2897 | fi | |
2898 | ||
2899 | ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE | |
2900 | ||
2901 | fi | |
2902 | ||
2903 | ||
2904 | eval "$ac_cv_use_file" | |
2905 | if test "$no_cache" != 1; then | |
2906 | echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp | |
2907 | fi | |
2908 | ||
2909 | if test "$wxUSE_FILE" = yes; then | |
2910 | echo "$ac_t""yes" 1>&6 | |
2911 | else | |
2912 | echo "$ac_t""no" 1>&6 | |
2913 | fi | |
2914 | ||
2915 | ||
2916 | echo $ac_n "checking "for --enable-textfile"""... $ac_c" 1>&6 | |
cf27ef00 | 2917 | echo "configure:2918: checking "for --enable-textfile"" >&5 |
10f2d63a VZ |
2918 | no_cache=0 |
2919 | # Check whether --enable-textfile or --disable-textfile was given. | |
2920 | if test "${enable_textfile+set}" = set; then | |
2921 | enableval="$enable_textfile" | |
2922 | ||
2923 | if test "$enableval" = yes; then | |
2924 | ac_cv_use_textfile='wxUSE_TEXTFILE=yes' | |
2925 | else | |
2926 | ac_cv_use_textfile='wxUSE_TEXTFILE=no' | |
2927 | fi | |
2928 | ||
2929 | else | |
2930 | ||
2931 | LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}` | |
2932 | if test "x$LINE" != x ; then | |
2933 | eval "DEFAULT_$LINE" | |
2934 | else | |
2935 | no_cache=1 | |
2936 | fi | |
2937 | ||
2938 | ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE | |
2939 | ||
2940 | fi | |
2941 | ||
2942 | ||
2943 | eval "$ac_cv_use_textfile" | |
2944 | if test "$no_cache" != 1; then | |
2945 | echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp | |
2946 | fi | |
2947 | ||
2948 | if test "$wxUSE_TEXTFILE" = yes; then | |
2949 | echo "$ac_t""yes" 1>&6 | |
2950 | else | |
2951 | echo "$ac_t""no" 1>&6 | |
2952 | fi | |
2953 | ||
2954 | ||
2955 | echo $ac_n "checking "for --enable-unicode"""... $ac_c" 1>&6 | |
cf27ef00 | 2956 | echo "configure:2957: checking "for --enable-unicode"" >&5 |
10f2d63a VZ |
2957 | no_cache=0 |
2958 | # Check whether --enable-unicode or --disable-unicode was given. | |
2959 | if test "${enable_unicode+set}" = set; then | |
2960 | enableval="$enable_unicode" | |
2961 | ||
2962 | if test "$enableval" = yes; then | |
2963 | ac_cv_use_unicode='wxUSE_UNICODE=yes' | |
2964 | else | |
2965 | ac_cv_use_unicode='wxUSE_UNICODE=no' | |
2966 | fi | |
2967 | ||
2968 | else | |
2969 | ||
2970 | LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}` | |
2971 | if test "x$LINE" != x ; then | |
2972 | eval "DEFAULT_$LINE" | |
2973 | else | |
2974 | no_cache=1 | |
2975 | fi | |
2976 | ||
2977 | ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE | |
2978 | ||
2979 | fi | |
2980 | ||
2981 | ||
2982 | eval "$ac_cv_use_unicode" | |
2983 | if test "$no_cache" != 1; then | |
2984 | echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp | |
2985 | fi | |
2986 | ||
2987 | if test "$wxUSE_UNICODE" = yes; then | |
2988 | echo "$ac_t""yes" 1>&6 | |
2989 | else | |
2990 | echo "$ac_t""no" 1>&6 | |
2991 | fi | |
2992 | ||
2993 | ||
2994 | echo $ac_n "checking "for --enable-wcsrtombs"""... $ac_c" 1>&6 | |
cf27ef00 | 2995 | echo "configure:2996: checking "for --enable-wcsrtombs"" >&5 |
10f2d63a VZ |
2996 | no_cache=0 |
2997 | # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given. | |
2998 | if test "${enable_wcsrtombs+set}" = set; then | |
2999 | enableval="$enable_wcsrtombs" | |
3000 | ||
3001 | if test "$enableval" = yes; then | |
3002 | ac_cv_use_wcsrtombs='wxUSE_WCSRTOMBS=yes' | |
3003 | else | |
3004 | ac_cv_use_wcsrtombs='wxUSE_WCSRTOMBS=no' | |
3005 | fi | |
3006 | ||
3007 | else | |
3008 | ||
3009 | LINE=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}` | |
3010 | if test "x$LINE" != x ; then | |
3011 | eval "DEFAULT_$LINE" | |
3012 | else | |
3013 | no_cache=1 | |
3014 | fi | |
3015 | ||
3016 | ac_cv_use_wcsrtombs='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS | |
3017 | ||
3018 | fi | |
3019 | ||
3020 | ||
3021 | eval "$ac_cv_use_wcsrtombs" | |
3022 | if test "$no_cache" != 1; then | |
3023 | echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp | |
3024 | fi | |
3025 | ||
3026 | if test "$wxUSE_WCSRTOMBS" = yes; then | |
3027 | echo "$ac_t""yes" 1>&6 | |
3028 | else | |
3029 | echo "$ac_t""no" 1>&6 | |
3030 | fi | |
3031 | ||
3032 | ||
3033 | echo $ac_n "checking "for --enable-wxprintfv"""... $ac_c" 1>&6 | |
cf27ef00 | 3034 | echo "configure:3035: checking "for --enable-wxprintfv"" >&5 |
10f2d63a VZ |
3035 | no_cache=0 |
3036 | # Check whether --enable-wxprintfv or --disable-wxprintfv was given. | |
3037 | if test "${enable_wxprintfv+set}" = set; then | |
3038 | enableval="$enable_wxprintfv" | |
3039 | ||
3040 | if test "$enableval" = yes; then | |
3041 | ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes' | |
3042 | else | |
3043 | ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no' | |
3044 | fi | |
3045 | ||
3046 | else | |
3047 | ||
3048 | LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}` | |
3049 | if test "x$LINE" != x ; then | |
3050 | eval "DEFAULT_$LINE" | |
3051 | else | |
3052 | no_cache=1 | |
3053 | fi | |
3054 | ||
3055 | ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF | |
3056 | ||
3057 | fi | |
3058 | ||
3059 | ||
3060 | eval "$ac_cv_use_wxprintfv" | |
3061 | if test "$no_cache" != 1; then | |
3062 | echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp | |
3063 | fi | |
3064 | ||
3065 | if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then | |
3066 | echo "$ac_t""yes" 1>&6 | |
3067 | else | |
3068 | echo "$ac_t""no" 1>&6 | |
3069 | fi | |
3070 | ||
3071 | ||
3072 | echo $ac_n "checking "for --enable-joystick"""... $ac_c" 1>&6 | |
cf27ef00 | 3073 | echo "configure:3074: checking "for --enable-joystick"" >&5 |
10f2d63a VZ |
3074 | no_cache=0 |
3075 | # Check whether --enable-joystick or --disable-joystick was given. | |
3076 | if test "${enable_joystick+set}" = set; then | |
3077 | enableval="$enable_joystick" | |
3078 | ||
3079 | if test "$enableval" = yes; then | |
3080 | ac_cv_use_joystick='wxUSE_JOYSTICK=yes' | |
3081 | else | |
3082 | ac_cv_use_joystick='wxUSE_JOYSTICK=no' | |
3083 | fi | |
3084 | ||
3085 | else | |
3086 | ||
3087 | LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}` | |
3088 | if test "x$LINE" != x ; then | |
3089 | eval "DEFAULT_$LINE" | |
3090 | else | |
3091 | no_cache=1 | |
3092 | fi | |
3093 | ||
3094 | ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK | |
3095 | ||
3096 | fi | |
3097 | ||
3098 | ||
3099 | eval "$ac_cv_use_joystick" | |
3100 | if test "$no_cache" != 1; then | |
3101 | echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp | |
3102 | fi | |
3103 | ||
3104 | if test "$wxUSE_JOYSTICK" = yes; then | |
3105 | echo "$ac_t""yes" 1>&6 | |
3106 | else | |
3107 | echo "$ac_t""no" 1>&6 | |
3108 | fi | |
3109 | ||
3110 | ||
3111 | echo $ac_n "checking "for --enable-std_iostreams"""... $ac_c" 1>&6 | |
cf27ef00 | 3112 | echo "configure:3113: checking "for --enable-std_iostreams"" >&5 |
10f2d63a VZ |
3113 | no_cache=0 |
3114 | # Check whether --enable-std_iostreams or --disable-std_iostreams was given. | |
3115 | if test "${enable_std_iostreams+set}" = set; then | |
3116 | enableval="$enable_std_iostreams" | |
3117 | ||
3118 | if test "$enableval" = yes; then | |
3119 | ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes' | |
3120 | else | |
3121 | ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no' | |
3122 | fi | |
3123 | ||
3124 | else | |
3125 | ||
3126 | LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}` | |
3127 | if test "x$LINE" != x ; then | |
3128 | eval "DEFAULT_$LINE" | |
3129 | else | |
3130 | no_cache=1 | |
3131 | fi | |
3132 | ||
3133 | ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM | |
3134 | ||
3135 | fi | |
3136 | ||
3137 | ||
3138 | eval "$ac_cv_use_std_iostreams" | |
3139 | if test "$no_cache" != 1; then | |
3140 | echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp | |
3141 | fi | |
3142 | ||
3143 | if test "$wxUSE_STD_IOSTREAM" = yes; then | |
3144 | echo "$ac_t""yes" 1>&6 | |
3145 | else | |
3146 | echo "$ac_t""no" 1>&6 | |
3147 | fi | |
3148 | ||
3149 | ||
3150 | echo $ac_n "checking "for --enable-fs_inet"""... $ac_c" 1>&6 | |
cf27ef00 | 3151 | echo "configure:3152: checking "for --enable-fs_inet"" >&5 |
10f2d63a VZ |
3152 | no_cache=0 |
3153 | # Check whether --enable-fs_inet or --disable-fs_inet was given. | |
3154 | if test "${enable_fs_inet+set}" = set; then | |
3155 | enableval="$enable_fs_inet" | |
3156 | ||
3157 | if test "$enableval" = yes; then | |
3158 | ac_cv_use_fs_inet='wxUSE_FS_INET=yes' | |
3159 | else | |
3160 | ac_cv_use_fs_inet='wxUSE_FS_INET=no' | |
3161 | fi | |
3162 | ||
3163 | else | |
3164 | ||
3165 | LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}` | |
3166 | if test "x$LINE" != x ; then | |
3167 | eval "DEFAULT_$LINE" | |
3168 | else | |
3169 | no_cache=1 | |
3170 | fi | |
3171 | ||
3172 | ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET | |
3173 | ||
3174 | fi | |
3175 | ||
3176 | ||
3177 | eval "$ac_cv_use_fs_inet" | |
3178 | if test "$no_cache" != 1; then | |
3179 | echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp | |
3180 | fi | |
3181 | ||
3182 | if test "$wxUSE_FS_INET" = yes; then | |
3183 | echo "$ac_t""yes" 1>&6 | |
3184 | else | |
3185 | echo "$ac_t""no" 1>&6 | |
3186 | fi | |
3187 | ||
3188 | ||
3189 | echo $ac_n "checking "for --enable-fs_zip"""... $ac_c" 1>&6 | |
cf27ef00 | 3190 | echo "configure:3191: checking "for --enable-fs_zip"" >&5 |
10f2d63a VZ |
3191 | no_cache=0 |
3192 | # Check whether --enable-fs_zip or --disable-fs_zip was given. | |
3193 | if test "${enable_fs_zip+set}" = set; then | |
3194 | enableval="$enable_fs_zip" | |
3195 | ||
3196 | if test "$enableval" = yes; then | |
3197 | ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes' | |
3198 | else | |
3199 | ac_cv_use_fs_zip='wxUSE_FS_ZIP=no' | |
3200 | fi | |
3201 | ||
3202 | else | |
3203 | ||
3204 | LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}` | |
3205 | if test "x$LINE" != x ; then | |
3206 | eval "DEFAULT_$LINE" | |
3207 | else | |
3208 | no_cache=1 | |
3209 | fi | |
3210 | ||
3211 | ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP | |
3212 | ||
3213 | fi | |
3214 | ||
3215 | ||
3216 | eval "$ac_cv_use_fs_zip" | |
3217 | if test "$no_cache" != 1; then | |
3218 | echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp | |
3219 | fi | |
3220 | ||
3221 | if test "$wxUSE_FS_ZIP" = yes; then | |
3222 | echo "$ac_t""yes" 1>&6 | |
3223 | else | |
3224 | echo "$ac_t""no" 1>&6 | |
3225 | fi | |
3226 | ||
3227 | ||
3228 | echo $ac_n "checking "for --enable-zipstream"""... $ac_c" 1>&6 | |
cf27ef00 | 3229 | echo "configure:3230: checking "for --enable-zipstream"" >&5 |
10f2d63a VZ |
3230 | no_cache=0 |
3231 | # Check whether --enable-zipstream or --disable-zipstream was given. | |
3232 | if test "${enable_zipstream+set}" = set; then | |
3233 | enableval="$enable_zipstream" | |
3234 | ||
3235 | if test "$enableval" = yes; then | |
3236 | ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes' | |
3237 | else | |
3238 | ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no' | |
3239 | fi | |
3240 | ||
3241 | else | |
3242 | ||
3243 | LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}` | |
3244 | if test "x$LINE" != x ; then | |
3245 | eval "DEFAULT_$LINE" | |
3246 | else | |
3247 | no_cache=1 | |
3248 | fi | |
3249 | ||
3250 | ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM | |
3251 | ||
3252 | fi | |
3253 | ||
3254 | ||
3255 | eval "$ac_cv_use_zipstream" | |
3256 | if test "$no_cache" != 1; then | |
3257 | echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp | |
3258 | fi | |
3259 | ||
3260 | if test "$wxUSE_ZIPSTREAM" = yes; then | |
3261 | echo "$ac_t""yes" 1>&6 | |
3262 | else | |
3263 | echo "$ac_t""no" 1>&6 | |
3264 | fi | |
3265 | ||
3266 | ||
3267 | ||
3268 | ||
3269 | echo $ac_n "checking "for --enable-threads"""... $ac_c" 1>&6 | |
cf27ef00 | 3270 | echo "configure:3271: checking "for --enable-threads"" >&5 |
10f2d63a VZ |
3271 | no_cache=0 |
3272 | # Check whether --enable-threads or --disable-threads was given. | |
3273 | if test "${enable_threads+set}" = set; then | |
3274 | enableval="$enable_threads" | |
3275 | ||
3276 | if test "$enableval" = yes; then | |
3277 | ac_cv_use_threads='wxUSE_THREADS=yes' | |
3278 | else | |
3279 | ac_cv_use_threads='wxUSE_THREADS=no' | |
3280 | fi | |
3281 | ||
3282 | else | |
3283 | ||
3284 | LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}` | |
3285 | if test "x$LINE" != x ; then | |
3286 | eval "DEFAULT_$LINE" | |
3287 | else | |
3288 | no_cache=1 | |
3289 | fi | |
3290 | ||
3291 | ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS | |
3292 | ||
3293 | fi | |
3294 | ||
3295 | ||
3296 | eval "$ac_cv_use_threads" | |
3297 | if test "$no_cache" != 1; then | |
3298 | echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp | |
3299 | fi | |
3300 | ||
3301 | if test "$wxUSE_THREADS" = yes; then | |
3302 | echo "$ac_t""yes" 1>&6 | |
3303 | else | |
3304 | echo "$ac_t""no" 1>&6 | |
3305 | fi | |
3306 | ||
3307 | ||
3308 | echo $ac_n "checking "for --enable-serial"""... $ac_c" 1>&6 | |
cf27ef00 | 3309 | echo "configure:3310: checking "for --enable-serial"" >&5 |
10f2d63a VZ |
3310 | no_cache=0 |
3311 | # Check whether --enable-serial or --disable-serial was given. | |
3312 | if test "${enable_serial+set}" = set; then | |
3313 | enableval="$enable_serial" | |
3314 | ||
3315 | if test "$enableval" = yes; then | |
3316 | ac_cv_use_serial='wxUSE_SERIAL=yes' | |
3317 | else | |
3318 | ac_cv_use_serial='wxUSE_SERIAL=no' | |
3319 | fi | |
3320 | ||
3321 | else | |
3322 | ||
3323 | LINE=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}` | |
3324 | if test "x$LINE" != x ; then | |
3325 | eval "DEFAULT_$LINE" | |
3326 | else | |
3327 | no_cache=1 | |
3328 | fi | |
3329 | ||
3330 | ac_cv_use_serial='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL | |
3331 | ||
3332 | fi | |
3333 | ||
3334 | ||
3335 | eval "$ac_cv_use_serial" | |
3336 | if test "$no_cache" != 1; then | |
3337 | echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp | |
3338 | fi | |
3339 | ||
3340 | if test "$wxUSE_SERIAL" = yes; then | |
3341 | echo "$ac_t""yes" 1>&6 | |
3342 | else | |
3343 | echo "$ac_t""no" 1>&6 | |
3344 | fi | |
3345 | ||
3346 | ||
b12915c1 VZ |
3347 | if test "$wxUSE_GUI" = "yes"; then |
3348 | ||
10f2d63a VZ |
3349 | |
3350 | ||
3351 | echo $ac_n "checking "for --enable-docview"""... $ac_c" 1>&6 | |
cf27ef00 | 3352 | echo "configure:3353: checking "for --enable-docview"" >&5 |
10f2d63a VZ |
3353 | no_cache=0 |
3354 | # Check whether --enable-docview or --disable-docview was given. | |
3355 | if test "${enable_docview+set}" = set; then | |
3356 | enableval="$enable_docview" | |
3357 | ||
3358 | if test "$enableval" = yes; then | |
3359 | ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes' | |
3360 | else | |
3361 | ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no' | |
3362 | fi | |
3363 | ||
3364 | else | |
3365 | ||
3366 | LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}` | |
3367 | if test "x$LINE" != x ; then | |
3368 | eval "DEFAULT_$LINE" | |
3369 | else | |
3370 | no_cache=1 | |
3371 | fi | |
3372 | ||
3373 | ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE | |
3374 | ||
3375 | fi | |
3376 | ||
3377 | ||
3378 | eval "$ac_cv_use_docview" | |
3379 | if test "$no_cache" != 1; then | |
3380 | echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp | |
3381 | fi | |
3382 | ||
3383 | if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then | |
3384 | echo "$ac_t""yes" 1>&6 | |
3385 | else | |
3386 | echo "$ac_t""no" 1>&6 | |
3387 | fi | |
3388 | ||
3389 | ||
3390 | echo $ac_n "checking "for --enable-help"""... $ac_c" 1>&6 | |
cf27ef00 | 3391 | echo "configure:3392: checking "for --enable-help"" >&5 |
10f2d63a VZ |
3392 | no_cache=0 |
3393 | # Check whether --enable-help or --disable-help was given. | |
3394 | if test "${enable_help+set}" = set; then | |
3395 | enableval="$enable_help" | |
3396 | ||
3397 | if test "$enableval" = yes; then | |
3398 | ac_cv_use_help='wxUSE_HELP=yes' | |
3399 | else | |
3400 | ac_cv_use_help='wxUSE_HELP=no' | |
3401 | fi | |
3402 | ||
3403 | else | |
3404 | ||
3405 | LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}` | |
3406 | if test "x$LINE" != x ; then | |
3407 | eval "DEFAULT_$LINE" | |
3408 | else | |
3409 | no_cache=1 | |
3410 | fi | |
3411 | ||
3412 | ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP | |
3413 | ||
3414 | fi | |
3415 | ||
3416 | ||
3417 | eval "$ac_cv_use_help" | |
3418 | if test "$no_cache" != 1; then | |
3419 | echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp | |
3420 | fi | |
3421 | ||
3422 | if test "$wxUSE_HELP" = yes; then | |
3423 | echo "$ac_t""yes" 1>&6 | |
3424 | else | |
3425 | echo "$ac_t""no" 1>&6 | |
3426 | fi | |
3427 | ||
3428 | ||
3429 | echo $ac_n "checking "for --enable-constraints"""... $ac_c" 1>&6 | |
cf27ef00 | 3430 | echo "configure:3431: checking "for --enable-constraints"" >&5 |
10f2d63a VZ |
3431 | no_cache=0 |
3432 | # Check whether --enable-constraints or --disable-constraints was given. | |
3433 | if test "${enable_constraints+set}" = set; then | |
3434 | enableval="$enable_constraints" | |
3435 | ||
3436 | if test "$enableval" = yes; then | |
3437 | ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes' | |
3438 | else | |
3439 | ac_cv_use_constraints='wxUSE_CONSTRAINTS=no' | |
3440 | fi | |
3441 | ||
3442 | else | |
3443 | ||
3444 | LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}` | |
3445 | if test "x$LINE" != x ; then | |
3446 | eval "DEFAULT_$LINE" | |
3447 | else | |
3448 | no_cache=1 | |
3449 | fi | |
3450 | ||
3451 | ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS | |
3452 | ||
3453 | fi | |
3454 | ||
3455 | ||
3456 | eval "$ac_cv_use_constraints" | |
3457 | if test "$no_cache" != 1; then | |
3458 | echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp | |
3459 | fi | |
3460 | ||
3461 | if test "$wxUSE_CONSTRAINTS" = yes; then | |
3462 | echo "$ac_t""yes" 1>&6 | |
3463 | else | |
3464 | echo "$ac_t""no" 1>&6 | |
3465 | fi | |
3466 | ||
3467 | ||
3468 | echo $ac_n "checking "for --enable-printarch"""... $ac_c" 1>&6 | |
cf27ef00 | 3469 | echo "configure:3470: checking "for --enable-printarch"" >&5 |
10f2d63a VZ |
3470 | no_cache=0 |
3471 | # Check whether --enable-printarch or --disable-printarch was given. | |
3472 | if test "${enable_printarch+set}" = set; then | |
3473 | enableval="$enable_printarch" | |
3474 | ||
3475 | if test "$enableval" = yes; then | |
3476 | ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes' | |
3477 | else | |
3478 | ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no' | |
3479 | fi | |
3480 | ||
3481 | else | |
3482 | ||
3483 | LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}` | |
3484 | if test "x$LINE" != x ; then | |
3485 | eval "DEFAULT_$LINE" | |
3486 | else | |
3487 | no_cache=1 | |
3488 | fi | |
3489 | ||
3490 | ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE | |
3491 | ||
3492 | fi | |
3493 | ||
3494 | ||
3495 | eval "$ac_cv_use_printarch" | |
3496 | if test "$no_cache" != 1; then | |
3497 | echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp | |
3498 | fi | |
3499 | ||
3500 | if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then | |
3501 | echo "$ac_t""yes" 1>&6 | |
3502 | else | |
3503 | echo "$ac_t""no" 1>&6 | |
3504 | fi | |
3505 | ||
3506 | ||
3507 | echo $ac_n "checking "for --enable-mdi"""... $ac_c" 1>&6 | |
cf27ef00 | 3508 | echo "configure:3509: checking "for --enable-mdi"" >&5 |
10f2d63a VZ |
3509 | no_cache=0 |
3510 | # Check whether --enable-mdi or --disable-mdi was given. | |
3511 | if test "${enable_mdi+set}" = set; then | |
3512 | enableval="$enable_mdi" | |
3513 | ||
3514 | if test "$enableval" = yes; then | |
3515 | ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes' | |
3516 | else | |
3517 | ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no' | |
3518 | fi | |
3519 | ||
3520 | else | |
3521 | ||
3522 | LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}` | |
3523 | if test "x$LINE" != x ; then | |
3524 | eval "DEFAULT_$LINE" | |
3525 | else | |
3526 | no_cache=1 | |
3527 | fi | |
3528 | ||
3529 | ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE | |
3530 | ||
3531 | fi | |
3532 | ||
3533 | ||
3534 | eval "$ac_cv_use_mdi" | |
3535 | if test "$no_cache" != 1; then | |
3536 | echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp | |
3537 | fi | |
3538 | ||
3539 | if test "$wxUSE_MDI_ARCHITECTURE" = yes; then | |
3540 | echo "$ac_t""yes" 1>&6 | |
3541 | else | |
3542 | echo "$ac_t""no" 1>&6 | |
3543 | fi | |
3544 | ||
3545 | ||
3546 | ||
3547 | echo $ac_n "checking "for --enable-postscript"""... $ac_c" 1>&6 | |
cf27ef00 | 3548 | echo "configure:3549: checking "for --enable-postscript"" >&5 |
10f2d63a VZ |
3549 | no_cache=0 |
3550 | # Check whether --enable-postscript or --disable-postscript was given. | |
3551 | if test "${enable_postscript+set}" = set; then | |
3552 | enableval="$enable_postscript" | |
3553 | ||
3554 | if test "$enableval" = yes; then | |
3555 | ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes' | |
3556 | else | |
3557 | ac_cv_use_postscript='wxUSE_POSTSCRIPT=no' | |
3558 | fi | |
3559 | ||
3560 | else | |
3561 | ||
3562 | LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}` | |
3563 | if test "x$LINE" != x ; then | |
3564 | eval "DEFAULT_$LINE" | |
3565 | else | |
3566 | no_cache=1 | |
3567 | fi | |
3568 | ||
3569 | ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT | |
3570 | ||
3571 | fi | |
3572 | ||
3573 | ||
3574 | eval "$ac_cv_use_postscript" | |
3575 | if test "$no_cache" != 1; then | |
3576 | echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp | |
3577 | fi | |
3578 | ||
3579 | if test "$wxUSE_POSTSCRIPT" = yes; then | |
3580 | echo "$ac_t""yes" 1>&6 | |
3581 | else | |
3582 | echo "$ac_t""no" 1>&6 | |
3583 | fi | |
3584 | ||
3585 | ||
3586 | ||
3587 | ||
3588 | echo $ac_n "checking "for --enable-prologio"""... $ac_c" 1>&6 | |
cf27ef00 | 3589 | echo "configure:3590: checking "for --enable-prologio"" >&5 |
10f2d63a VZ |
3590 | no_cache=0 |
3591 | # Check whether --enable-prologio or --disable-prologio was given. | |
3592 | if test "${enable_prologio+set}" = set; then | |
3593 | enableval="$enable_prologio" | |
3594 | ||
3595 | if test "$enableval" = yes; then | |
3596 | ac_cv_use_prologio='wxUSE_PROLOGIO=yes' | |
3597 | else | |
3598 | ac_cv_use_prologio='wxUSE_PROLOGIO=no' | |
3599 | fi | |
3600 | ||
3601 | else | |
3602 | ||
3603 | LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}` | |
3604 | if test "x$LINE" != x ; then | |
3605 | eval "DEFAULT_$LINE" | |
3606 | else | |
3607 | no_cache=1 | |
3608 | fi | |
3609 | ||
3610 | ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO | |
3611 | ||
3612 | fi | |
3613 | ||
3614 | ||
3615 | eval "$ac_cv_use_prologio" | |
3616 | if test "$no_cache" != 1; then | |
3617 | echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp | |
3618 | fi | |
3619 | ||
3620 | if test "$wxUSE_PROLOGIO" = yes; then | |
3621 | echo "$ac_t""yes" 1>&6 | |
3622 | else | |
3623 | echo "$ac_t""no" 1>&6 | |
3624 | fi | |
3625 | ||
3626 | ||
3627 | echo $ac_n "checking "for --enable-resources"""... $ac_c" 1>&6 | |
cf27ef00 | 3628 | echo "configure:3629: checking "for --enable-resources"" >&5 |
10f2d63a VZ |
3629 | no_cache=0 |
3630 | # Check whether --enable-resources or --disable-resources was given. | |
3631 | if test "${enable_resources+set}" = set; then | |
3632 | enableval="$enable_resources" | |
3633 | ||
3634 | if test "$enableval" = yes; then | |
3635 | ac_cv_use_resources='wxUSE_RESOURCES=yes' | |
3636 | else | |
3637 | ac_cv_use_resources='wxUSE_RESOURCES=no' | |
3638 | fi | |
3639 | ||
3640 | else | |
3641 | ||
3642 | LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}` | |
3643 | if test "x$LINE" != x ; then | |
3644 | eval "DEFAULT_$LINE" | |
3645 | else | |
3646 | no_cache=1 | |
3647 | fi | |
3648 | ||
3649 | ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES | |
3650 | ||
3651 | fi | |
3652 | ||
3653 | ||
3654 | eval "$ac_cv_use_resources" | |
3655 | if test "$no_cache" != 1; then | |
3656 | echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp | |
3657 | fi | |
3658 | ||
3659 | if test "$wxUSE_RESOURCES" = yes; then | |
3660 | echo "$ac_t""yes" 1>&6 | |
3661 | else | |
3662 | echo "$ac_t""no" 1>&6 | |
3663 | fi | |
3664 | ||
3665 | ||
3666 | ||
3667 | echo $ac_n "checking "for --enable-xresources"""... $ac_c" 1>&6 | |
cf27ef00 | 3668 | echo "configure:3669: checking "for --enable-xresources"" >&5 |
10f2d63a VZ |
3669 | no_cache=0 |
3670 | # Check whether --enable-xresources or --disable-xresources was given. | |
3671 | if test "${enable_xresources+set}" = set; then | |
3672 | enableval="$enable_xresources" | |
3673 | ||
3674 | if test "$enableval" = yes; then | |
3675 | ac_cv_use_xresources='wxUSE_X_RESOURCES=yes' | |
3676 | else | |
3677 | ac_cv_use_xresources='wxUSE_X_RESOURCES=no' | |
3678 | fi | |
3679 | ||
3680 | else | |
3681 | ||
3682 | LINE=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}` | |
3683 | if test "x$LINE" != x ; then | |
3684 | eval "DEFAULT_$LINE" | |
3685 | else | |
3686 | no_cache=1 | |
3687 | fi | |
3688 | ||
3689 | ac_cv_use_xresources='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES | |
3690 | ||
3691 | fi | |
3692 | ||
3693 | ||
3694 | eval "$ac_cv_use_xresources" | |
3695 | if test "$no_cache" != 1; then | |
3696 | echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp | |
3697 | fi | |
3698 | ||
3699 | if test "$wxUSE_X_RESOURCES" = yes; then | |
3700 | echo "$ac_t""yes" 1>&6 | |
3701 | else | |
3702 | echo "$ac_t""no" 1>&6 | |
3703 | fi | |
3704 | ||
3705 | ||
3706 | ||
3707 | ||
3708 | echo $ac_n "checking "for --enable-clipboard"""... $ac_c" 1>&6 | |
cf27ef00 | 3709 | echo "configure:3710: checking "for --enable-clipboard"" >&5 |
10f2d63a VZ |
3710 | no_cache=0 |
3711 | # Check whether --enable-clipboard or --disable-clipboard was given. | |
3712 | if test "${enable_clipboard+set}" = set; then | |
3713 | enableval="$enable_clipboard" | |
3714 | ||
3715 | if test "$enableval" = yes; then | |
3716 | ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes' | |
3717 | else | |
3718 | ac_cv_use_clipboard='wxUSE_CLIPBOARD=no' | |
3719 | fi | |
3720 | ||
3721 | else | |
3722 | ||
3723 | LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}` | |
3724 | if test "x$LINE" != x ; then | |
3725 | eval "DEFAULT_$LINE" | |
3726 | else | |
3727 | no_cache=1 | |
3728 | fi | |
3729 | ||
3730 | ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD | |
3731 | ||
3732 | fi | |
3733 | ||
3734 | ||
3735 | eval "$ac_cv_use_clipboard" | |
3736 | if test "$no_cache" != 1; then | |
3737 | echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp | |
3738 | fi | |
3739 | ||
3740 | if test "$wxUSE_CLIPBOARD" = yes; then | |
3741 | echo "$ac_t""yes" 1>&6 | |
3742 | else | |
3743 | echo "$ac_t""no" 1>&6 | |
3744 | fi | |
3745 | ||
3746 | ||
3747 | echo $ac_n "checking "for --enable-dnd"""... $ac_c" 1>&6 | |
cf27ef00 | 3748 | echo "configure:3749: checking "for --enable-dnd"" >&5 |
10f2d63a VZ |
3749 | no_cache=0 |
3750 | # Check whether --enable-dnd or --disable-dnd was given. | |
3751 | if test "${enable_dnd+set}" = set; then | |
3752 | enableval="$enable_dnd" | |
3753 | ||
3754 | if test "$enableval" = yes; then | |
3755 | ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes' | |
3756 | else | |
3757 | ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no' | |
3758 | fi | |
3759 | ||
3760 | else | |
3761 | ||
3762 | LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}` | |
3763 | if test "x$LINE" != x ; then | |
3764 | eval "DEFAULT_$LINE" | |
3765 | else | |
3766 | no_cache=1 | |
3767 | fi | |
3768 | ||
3769 | ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP | |
3770 | ||
3771 | fi | |
3772 | ||
3773 | ||
3774 | eval "$ac_cv_use_dnd" | |
3775 | if test "$no_cache" != 1; then | |
3776 | echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp | |
3777 | fi | |
3778 | ||
3779 | if test "$wxUSE_DRAG_AND_DROP" = yes; then | |
3780 | echo "$ac_t""yes" 1>&6 | |
3781 | else | |
3782 | echo "$ac_t""no" 1>&6 | |
3783 | fi | |
3784 | ||
3785 | ||
3786 | ||
3787 | echo $ac_n "checking "for --enable-wxtree"""... $ac_c" 1>&6 | |
cf27ef00 | 3788 | echo "configure:3789: checking "for --enable-wxtree"" >&5 |
10f2d63a VZ |
3789 | no_cache=0 |
3790 | # Check whether --enable-wxtree or --disable-wxtree was given. | |
3791 | if test "${enable_wxtree+set}" = set; then | |
3792 | enableval="$enable_wxtree" | |
3793 | ||
3794 | if test "$enableval" = yes; then | |
3795 | ac_cv_use_wxtree='wxUSE_WXTREE=yes' | |
3796 | else | |
3797 | ac_cv_use_wxtree='wxUSE_WXTREE=no' | |
3798 | fi | |
3799 | ||
3800 | else | |
3801 | ||
3802 | LINE=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}` | |
3803 | if test "x$LINE" != x ; then | |
3804 | eval "DEFAULT_$LINE" | |
3805 | else | |
3806 | no_cache=1 | |
3807 | fi | |
3808 | ||
3809 | ac_cv_use_wxtree='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE | |
3810 | ||
3811 | fi | |
3812 | ||
3813 | ||
3814 | eval "$ac_cv_use_wxtree" | |
3815 | if test "$no_cache" != 1; then | |
3816 | echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp | |
3817 | fi | |
3818 | ||
3819 | if test "$wxUSE_WXTREE" = yes; then | |
3820 | echo "$ac_t""yes" 1>&6 | |
3821 | else | |
3822 | echo "$ac_t""no" 1>&6 | |
3823 | fi | |
3824 | ||
3825 | ||
3826 | ||
3827 | ||
3828 | echo $ac_n "checking "for --enable-controls"""... $ac_c" 1>&6 | |
cf27ef00 | 3829 | echo "configure:3830: checking "for --enable-controls"" >&5 |
10f2d63a VZ |
3830 | no_cache=0 |
3831 | # Check whether --enable-controls or --disable-controls was given. | |
3832 | if test "${enable_controls+set}" = set; then | |
3833 | enableval="$enable_controls" | |
3834 | ||
3835 | if test "$enableval" = yes; then | |
3836 | ac_cv_use_controls='wxUSE_CONTROLS=yes' | |
3837 | else | |
3838 | ac_cv_use_controls='wxUSE_CONTROLS=no' | |
3839 | fi | |
3840 | ||
3841 | else | |
3842 | ||
3843 | LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}` | |
3844 | if test "x$LINE" != x ; then | |
3845 | eval "DEFAULT_$LINE" | |
3846 | else | |
3847 | no_cache=1 | |
3848 | fi | |
3849 | ||
3850 | ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS | |
3851 | ||
3852 | fi | |
3853 | ||
3854 | ||
3855 | eval "$ac_cv_use_controls" | |
3856 | if test "$no_cache" != 1; then | |
3857 | echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp | |
3858 | fi | |
3859 | ||
3860 | if test "$wxUSE_CONTROLS" = yes; then | |
3861 | echo "$ac_t""yes" 1>&6 | |
3862 | else | |
3863 | echo "$ac_t""no" 1>&6 | |
3864 | fi | |
3865 | ||
3866 | ||
3867 | if test "$wxUSE_CONTROLS" = "yes"; then | |
3868 | DEFAULT_wxUSE_ACCEL=yes | |
3869 | DEFAULT_wxUSE_CARET=yes | |
3870 | DEFAULT_wxUSE_COMBOBOX=yes | |
3871 | DEFAULT_wxUSE_BMPBUTTON=yes | |
3872 | DEFAULT_wxUSE_CHECKBOX=yes | |
3873 | DEFAULT_wxUSE_CHECKLISTBOX=yes | |
3874 | DEFAULT_wxUSE_CHOICE=yes | |
3875 | DEFAULT_wxUSE_GAUGE=yes | |
3876 | DEFAULT_wxUSE_GRID=yes | |
fc9c7c09 | 3877 | DEFAULT_wxUSE_NEW_GRID=no |
10f2d63a VZ |
3878 | DEFAULT_wxUSE_IMAGLIST=yes |
3879 | DEFAULT_wxUSE_LISTBOX=yes | |
3880 | DEFAULT_wxUSE_LISTCTRL=yes | |
3881 | DEFAULT_wxUSE_NOTEBOOK=yes | |
3882 | DEFAULT_wxUSE_RADIOBOX=yes | |
3883 | DEFAULT_wxUSE_RADIOBTN=yes | |
3884 | DEFAULT_wxUSE_SASH=yes | |
3885 | DEFAULT_wxUSE_SCROLLBAR=yes | |
3886 | DEFAULT_wxUSE_SLIDER=yes | |
3887 | DEFAULT_wxUSE_SPINBTN=yes | |
56cfaa52 | 3888 | DEFAULT_wxUSE_SPINCTRL=yes |
10f2d63a VZ |
3889 | DEFAULT_wxUSE_SPLITTER=yes |
3890 | DEFAULT_wxUSE_STATBMP=yes | |
3891 | DEFAULT_wxUSE_STATBOX=yes | |
3892 | DEFAULT_wxUSE_STATLINE=yes | |
3893 | DEFAULT_wxUSE_STATUSBAR=yes | |
3894 | DEFAULT_wxUSE_TAB_DIALOG=yes | |
3895 | DEFAULT_wxUSE_TOOLBAR=yes | |
360d6699 VZ |
3896 | DEFAULT_wxUSE_TOOLBAR_NATIVE=yes |
3897 | DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes | |
10f2d63a VZ |
3898 | DEFAULT_wxUSE_TOOLTIPS=yes |
3899 | DEFAULT_wxUSE_TREECTRL=yes | |
3900 | elif test "$wxUSE_CONTROLS" = "no"; then | |
3901 | DEFAULT_wxUSE_ACCEL=no | |
3902 | DEFAULT_wxUSE_CARET=no | |
3903 | DEFAULT_wxUSE_COMBOBOX=no | |
3904 | DEFAULT_wxUSE_BMPBUTTON=no | |
3905 | DEFAULT_wxUSE_CHECKBOX=no | |
3906 | DEFAULT_wxUSE_CHECKLISTBOX=no | |
3907 | DEFAULT_wxUSE_CHOICE=no | |
3908 | DEFAULT_wxUSE_GAUGE=no | |
3909 | DEFAULT_wxUSE_GRID=no | |
3910 | DEFAULT_wxUSE_NEW_GRID=no | |
3911 | DEFAULT_wxUSE_IMAGLIST=no | |
3912 | DEFAULT_wxUSE_LISTBOX=no | |
3913 | DEFAULT_wxUSE_LISTCTRL=no | |
3914 | DEFAULT_wxUSE_NOTEBOOK=no | |
3915 | DEFAULT_wxUSE_RADIOBOX=no | |
3916 | DEFAULT_wxUSE_RADIOBTN=no | |
3917 | DEFAULT_wxUSE_SASH=no | |
3918 | DEFAULT_wxUSE_SCROLLBAR=no | |
3919 | DEFAULT_wxUSE_SLIDER=no | |
3920 | DEFAULT_wxUSE_SPINBTN=no | |
56cfaa52 | 3921 | DEFAULT_wxUSE_SPINCTRL=no |
10f2d63a VZ |
3922 | DEFAULT_wxUSE_SPLITTER=no |
3923 | DEFAULT_wxUSE_STATBMP=no | |
3924 | DEFAULT_wxUSE_STATBOX=no | |
3925 | DEFAULT_wxUSE_STATLINE=no | |
3926 | DEFAULT_wxUSE_STATUSBAR=no | |
3927 | DEFAULT_wxUSE_TAB_DIALOG=no | |
3928 | DEFAULT_wxUSE_TOOLBAR=no | |
360d6699 VZ |
3929 | DEFAULT_wxUSE_TOOLBAR_NATIVE=no |
3930 | DEFAULT_wxUSE_TOOLBAR_SIMPLE=no | |
10f2d63a VZ |
3931 | DEFAULT_wxUSE_TOOLTIPS=no |
3932 | DEFAULT_wxUSE_TREECTRL=no | |
3933 | fi | |
3934 | ||
3935 | ||
3936 | echo $ac_n "checking "for --enable-accel"""... $ac_c" 1>&6 | |
cf27ef00 | 3937 | echo "configure:3938: checking "for --enable-accel"" >&5 |
10f2d63a VZ |
3938 | no_cache=0 |
3939 | # Check whether --enable-accel or --disable-accel was given. | |
3940 | if test "${enable_accel+set}" = set; then | |
3941 | enableval="$enable_accel" | |
3942 | ||
3943 | if test "$enableval" = yes; then | |
3944 | ac_cv_use_accel='wxUSE_ACCEL=yes' | |
3945 | else | |
3946 | ac_cv_use_accel='wxUSE_ACCEL=no' | |
3947 | fi | |
3948 | ||
3949 | else | |
3950 | ||
3951 | LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}` | |
3952 | if test "x$LINE" != x ; then | |
3953 | eval "DEFAULT_$LINE" | |
3954 | else | |
3955 | no_cache=1 | |
3956 | fi | |
3957 | ||
3958 | ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL | |
3959 | ||
3960 | fi | |
3961 | ||
3962 | ||
3963 | eval "$ac_cv_use_accel" | |
3964 | if test "$no_cache" != 1; then | |
3965 | echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp | |
3966 | fi | |
3967 | ||
3968 | if test "$wxUSE_ACCEL" = yes; then | |
3969 | echo "$ac_t""yes" 1>&6 | |
3970 | else | |
3971 | echo "$ac_t""no" 1>&6 | |
3972 | fi | |
3973 | ||
3974 | ||
3975 | echo $ac_n "checking "for --enable-caret"""... $ac_c" 1>&6 | |
cf27ef00 | 3976 | echo "configure:3977: checking "for --enable-caret"" >&5 |
10f2d63a VZ |
3977 | no_cache=0 |
3978 | # Check whether --enable-caret or --disable-caret was given. | |
3979 | if test "${enable_caret+set}" = set; then | |
3980 | enableval="$enable_caret" | |
3981 | ||
3982 | if test "$enableval" = yes; then | |
3983 | ac_cv_use_caret='wxUSE_CARET=yes' | |
3984 | else | |
3985 | ac_cv_use_caret='wxUSE_CARET=no' | |
3986 | fi | |
3987 | ||
3988 | else | |
3989 | ||
3990 | LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}` | |
3991 | if test "x$LINE" != x ; then | |
3992 | eval "DEFAULT_$LINE" | |
3993 | else | |
3994 | no_cache=1 | |
3995 | fi | |
3996 | ||
3997 | ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET | |
3998 | ||
3999 | fi | |
4000 | ||
4001 | ||
4002 | eval "$ac_cv_use_caret" | |
4003 | if test "$no_cache" != 1; then | |
4004 | echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp | |
4005 | fi | |
4006 | ||
4007 | if test "$wxUSE_CARET" = yes; then | |
4008 | echo "$ac_t""yes" 1>&6 | |
4009 | else | |
4010 | echo "$ac_t""no" 1>&6 | |
4011 | fi | |
4012 | ||
4013 | ||
4014 | echo $ac_n "checking "for --enable-bmpbutton"""... $ac_c" 1>&6 | |
cf27ef00 | 4015 | echo "configure:4016: checking "for --enable-bmpbutton"" >&5 |
10f2d63a VZ |
4016 | no_cache=0 |
4017 | # Check whether --enable-bmpbutton or --disable-bmpbutton was given. | |
4018 | if test "${enable_bmpbutton+set}" = set; then | |
4019 | enableval="$enable_bmpbutton" | |
4020 | ||
4021 | if test "$enableval" = yes; then | |
4022 | ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes' | |
4023 | else | |
4024 | ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no' | |
4025 | fi | |
4026 | ||
4027 | else | |
4028 | ||
4029 | LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}` | |
4030 | if test "x$LINE" != x ; then | |
4031 | eval "DEFAULT_$LINE" | |
4032 | else | |
4033 | no_cache=1 | |
4034 | fi | |
4035 | ||
4036 | ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON | |
4037 | ||
4038 | fi | |
4039 | ||
4040 | ||
4041 | eval "$ac_cv_use_bmpbutton" | |
4042 | if test "$no_cache" != 1; then | |
4043 | echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp | |
4044 | fi | |
4045 | ||
4046 | if test "$wxUSE_BMPBUTTON" = yes; then | |
4047 | echo "$ac_t""yes" 1>&6 | |
4048 | else | |
4049 | echo "$ac_t""no" 1>&6 | |
4050 | fi | |
4051 | ||
4052 | ||
4053 | echo $ac_n "checking "for --enable-checkbox"""... $ac_c" 1>&6 | |
cf27ef00 | 4054 | echo "configure:4055: checking "for --enable-checkbox"" >&5 |
10f2d63a VZ |
4055 | no_cache=0 |
4056 | # Check whether --enable-checkbox or --disable-checkbox was given. | |
4057 | if test "${enable_checkbox+set}" = set; then | |
4058 | enableval="$enable_checkbox" | |
4059 | ||
4060 | if test "$enableval" = yes; then | |
4061 | ac_cv_use_checkbox='wxUSE_CHECKBOX=yes' | |
4062 | else | |
4063 | ac_cv_use_checkbox='wxUSE_CHECKBOX=no' | |
4064 | fi | |
4065 | ||
4066 | else | |
4067 | ||
4068 | LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}` | |
4069 | if test "x$LINE" != x ; then | |
4070 | eval "DEFAULT_$LINE" | |
4071 | else | |
4072 | no_cache=1 | |
4073 | fi | |
4074 | ||
4075 | ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX | |
4076 | ||
4077 | fi | |
4078 | ||
4079 | ||
4080 | eval "$ac_cv_use_checkbox" | |
4081 | if test "$no_cache" != 1; then | |
4082 | echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp | |
4083 | fi | |
4084 | ||
4085 | if test "$wxUSE_CHECKBOX" = yes; then | |
4086 | echo "$ac_t""yes" 1>&6 | |
4087 | else | |
4088 | echo "$ac_t""no" 1>&6 | |
4089 | fi | |
4090 | ||
4091 | ||
4092 | echo $ac_n "checking "for --enable-checklst"""... $ac_c" 1>&6 | |
cf27ef00 | 4093 | echo "configure:4094: checking "for --enable-checklst"" >&5 |
10f2d63a VZ |
4094 | no_cache=0 |
4095 | # Check whether --enable-checklst or --disable-checklst was given. | |
4096 | if test "${enable_checklst+set}" = set; then | |
4097 | enableval="$enable_checklst" | |
4098 | ||
4099 | if test "$enableval" = yes; then | |
4100 | ac_cv_use_checklst='wxUSE_CHECKLST=yes' | |
4101 | else | |
4102 | ac_cv_use_checklst='wxUSE_CHECKLST=no' | |
4103 | fi | |
4104 | ||
4105 | else | |
4106 | ||
4107 | LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}` | |
4108 | if test "x$LINE" != x ; then | |
4109 | eval "DEFAULT_$LINE" | |
4110 | else | |
4111 | no_cache=1 | |
4112 | fi | |
4113 | ||
4114 | ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST | |
4115 | ||
4116 | fi | |
4117 | ||
4118 | ||
4119 | eval "$ac_cv_use_checklst" | |
4120 | if test "$no_cache" != 1; then | |
4121 | echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp | |
4122 | fi | |
4123 | ||
4124 | if test "$wxUSE_CHECKLST" = yes; then | |
4125 | echo "$ac_t""yes" 1>&6 | |
4126 | else | |
4127 | echo "$ac_t""no" 1>&6 | |
4128 | fi | |
4129 | ||
4130 | ||
4131 | echo $ac_n "checking "for --enable-choice"""... $ac_c" 1>&6 | |
cf27ef00 | 4132 | echo "configure:4133: checking "for --enable-choice"" >&5 |
10f2d63a VZ |
4133 | no_cache=0 |
4134 | # Check whether --enable-choice or --disable-choice was given. | |
4135 | if test "${enable_choice+set}" = set; then | |
4136 | enableval="$enable_choice" | |
4137 | ||
4138 | if test "$enableval" = yes; then | |
4139 | ac_cv_use_choice='wxUSE_CHOICE=yes' | |
4140 | else | |
4141 | ac_cv_use_choice='wxUSE_CHOICE=no' | |
4142 | fi | |
4143 | ||
4144 | else | |
4145 | ||
4146 | LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}` | |
4147 | if test "x$LINE" != x ; then | |
4148 | eval "DEFAULT_$LINE" | |
4149 | else | |
4150 | no_cache=1 | |
4151 | fi | |
4152 | ||
4153 | ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE | |
4154 | ||
4155 | fi | |
4156 | ||
4157 | ||
4158 | eval "$ac_cv_use_choice" | |
4159 | if test "$no_cache" != 1; then | |
4160 | echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp | |
4161 | fi | |
4162 | ||
4163 | if test "$wxUSE_CHOICE" = yes; then | |
4164 | echo "$ac_t""yes" 1>&6 | |
4165 | else | |
4166 | echo "$ac_t""no" 1>&6 | |
4167 | fi | |
4168 | ||
4169 | ||
4170 | echo $ac_n "checking "for --enable-combobox"""... $ac_c" 1>&6 | |
cf27ef00 | 4171 | echo "configure:4172: checking "for --enable-combobox"" >&5 |
10f2d63a VZ |
4172 | no_cache=0 |
4173 | # Check whether --enable-combobox or --disable-combobox was given. | |
4174 | if test "${enable_combobox+set}" = set; then | |
4175 | enableval="$enable_combobox" | |
4176 | ||
4177 | if test "$enableval" = yes; then | |
4178 | ac_cv_use_combobox='wxUSE_COMBOBOX=yes' | |
4179 | else | |
4180 | ac_cv_use_combobox='wxUSE_COMBOBOX=no' | |
4181 | fi | |
4182 | ||
4183 | else | |
4184 | ||
4185 | LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}` | |
4186 | if test "x$LINE" != x ; then | |
4187 | eval "DEFAULT_$LINE" | |
4188 | else | |
4189 | no_cache=1 | |
4190 | fi | |
4191 | ||
4192 | ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX | |
4193 | ||
4194 | fi | |
4195 | ||
4196 | ||
4197 | eval "$ac_cv_use_combobox" | |
4198 | if test "$no_cache" != 1; then | |
4199 | echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp | |
4200 | fi | |
4201 | ||
4202 | if test "$wxUSE_COMBOBOX" = yes; then | |
4203 | echo "$ac_t""yes" 1>&6 | |
4204 | else | |
4205 | echo "$ac_t""no" 1>&6 | |
4206 | fi | |
4207 | ||
4208 | ||
4209 | echo $ac_n "checking "for --enable-gauge"""... $ac_c" 1>&6 | |
cf27ef00 | 4210 | echo "configure:4211: checking "for --enable-gauge"" >&5 |
10f2d63a VZ |
4211 | no_cache=0 |
4212 | # Check whether --enable-gauge or --disable-gauge was given. | |
4213 | if test "${enable_gauge+set}" = set; then | |
4214 | enableval="$enable_gauge" | |
4215 | ||
4216 | if test "$enableval" = yes; then | |
4217 | ac_cv_use_gauge='wxUSE_GAUGE=yes' | |
4218 | else | |
4219 | ac_cv_use_gauge='wxUSE_GAUGE=no' | |
4220 | fi | |
4221 | ||
4222 | else | |
4223 | ||
4224 | LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}` | |
4225 | if test "x$LINE" != x ; then | |
4226 | eval "DEFAULT_$LINE" | |
4227 | else | |
4228 | no_cache=1 | |
4229 | fi | |
4230 | ||
4231 | ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE | |
4232 | ||
4233 | fi | |
4234 | ||
4235 | ||
4236 | eval "$ac_cv_use_gauge" | |
4237 | if test "$no_cache" != 1; then | |
4238 | echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp | |
4239 | fi | |
4240 | ||
4241 | if test "$wxUSE_GAUGE" = yes; then | |
4242 | echo "$ac_t""yes" 1>&6 | |
4243 | else | |
4244 | echo "$ac_t""no" 1>&6 | |
4245 | fi | |
4246 | ||
4247 | ||
4248 | echo $ac_n "checking "for --enable-grid"""... $ac_c" 1>&6 | |
cf27ef00 | 4249 | echo "configure:4250: checking "for --enable-grid"" >&5 |
10f2d63a VZ |
4250 | no_cache=0 |
4251 | # Check whether --enable-grid or --disable-grid was given. | |
4252 | if test "${enable_grid+set}" = set; then | |
4253 | enableval="$enable_grid" | |
4254 | ||
4255 | if test "$enableval" = yes; then | |
4256 | ac_cv_use_grid='wxUSE_GRID=yes' | |
4257 | else | |
4258 | ac_cv_use_grid='wxUSE_GRID=no' | |
4259 | fi | |
4260 | ||
4261 | else | |
4262 | ||
4263 | LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}` | |
4264 | if test "x$LINE" != x ; then | |
4265 | eval "DEFAULT_$LINE" | |
4266 | else | |
4267 | no_cache=1 | |
4268 | fi | |
4269 | ||
4270 | ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID | |
4271 | ||
4272 | fi | |
4273 | ||
4274 | ||
4275 | eval "$ac_cv_use_grid" | |
4276 | if test "$no_cache" != 1; then | |
4277 | echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp | |
4278 | fi | |
4279 | ||
4280 | if test "$wxUSE_GRID" = yes; then | |
4281 | echo "$ac_t""yes" 1>&6 | |
4282 | else | |
4283 | echo "$ac_t""no" 1>&6 | |
4284 | fi | |
4285 | ||
4286 | ||
4287 | echo $ac_n "checking "for --enable-newgrid"""... $ac_c" 1>&6 | |
cf27ef00 | 4288 | echo "configure:4289: checking "for --enable-newgrid"" >&5 |
10f2d63a VZ |
4289 | no_cache=0 |
4290 | # Check whether --enable-newgrid or --disable-newgrid was given. | |
4291 | if test "${enable_newgrid+set}" = set; then | |
4292 | enableval="$enable_newgrid" | |
4293 | ||
4294 | if test "$enableval" = yes; then | |
4295 | ac_cv_use_newgrid='wxUSE_NEW_GRID=yes' | |
4296 | else | |
4297 | ac_cv_use_newgrid='wxUSE_NEW_GRID=no' | |
4298 | fi | |
4299 | ||
4300 | else | |
4301 | ||
4302 | LINE=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}` | |
4303 | if test "x$LINE" != x ; then | |
4304 | eval "DEFAULT_$LINE" | |
4305 | else | |
4306 | no_cache=1 | |
4307 | fi | |
4308 | ||
4309 | ac_cv_use_newgrid='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID | |
4310 | ||
4311 | fi | |
4312 | ||
4313 | ||
4314 | eval "$ac_cv_use_newgrid" | |
4315 | if test "$no_cache" != 1; then | |
4316 | echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp | |
4317 | fi | |
4318 | ||
4319 | if test "$wxUSE_NEW_GRID" = yes; then | |
4320 | echo "$ac_t""yes" 1>&6 | |
4321 | else | |
4322 | echo "$ac_t""no" 1>&6 | |
4323 | fi | |
4324 | ||
4325 | ||
4326 | echo $ac_n "checking "for --enable-imaglist"""... $ac_c" 1>&6 | |
cf27ef00 | 4327 | echo "configure:4328: checking "for --enable-imaglist"" >&5 |
10f2d63a VZ |
4328 | no_cache=0 |
4329 | # Check whether --enable-imaglist or --disable-imaglist was given. | |
4330 | if test "${enable_imaglist+set}" = set; then | |
4331 | enableval="$enable_imaglist" | |
4332 | ||
4333 | if test "$enableval" = yes; then | |
4334 | ac_cv_use_imaglist='wxUSE_IMAGLIST=yes' | |
4335 | else | |
4336 | ac_cv_use_imaglist='wxUSE_IMAGLIST=no' | |
4337 | fi | |
4338 | ||
4339 | else | |
4340 | ||
4341 | LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}` | |
4342 | if test "x$LINE" != x ; then | |
4343 | eval "DEFAULT_$LINE" | |
4344 | else | |
4345 | no_cache=1 | |
4346 | fi | |
4347 | ||
4348 | ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST | |
4349 | ||
4350 | fi | |
4351 | ||
4352 | ||
4353 | eval "$ac_cv_use_imaglist" | |
4354 | if test "$no_cache" != 1; then | |
4355 | echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp | |
4356 | fi | |
4357 | ||
4358 | if test "$wxUSE_IMAGLIST" = yes; then | |
4359 | echo "$ac_t""yes" 1>&6 | |
4360 | else | |
4361 | echo "$ac_t""no" 1>&6 | |
4362 | fi | |
4363 | ||
4364 | ||
4365 | echo $ac_n "checking "for --enable-listbox"""... $ac_c" 1>&6 | |
cf27ef00 | 4366 | echo "configure:4367: checking "for --enable-listbox"" >&5 |
10f2d63a VZ |
4367 | no_cache=0 |
4368 | # Check whether --enable-listbox or --disable-listbox was given. | |
4369 | if test "${enable_listbox+set}" = set; then | |
4370 | enableval="$enable_listbox" | |
4371 | ||
4372 | if test "$enableval" = yes; then | |
4373 | ac_cv_use_listbox='wxUSE_LISTBOX=yes' | |
4374 | else | |
4375 | ac_cv_use_listbox='wxUSE_LISTBOX=no' | |
4376 | fi | |
4377 | ||
4378 | else | |
4379 | ||
4380 | LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}` | |
4381 | if test "x$LINE" != x ; then | |
4382 | eval "DEFAULT_$LINE" | |
4383 | else | |
4384 | no_cache=1 | |
4385 | fi | |
4386 | ||
4387 | ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX | |
4388 | ||
4389 | fi | |
4390 | ||
4391 | ||
4392 | eval "$ac_cv_use_listbox" | |
4393 | if test "$no_cache" != 1; then | |
4394 | echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp | |
4395 | fi | |
4396 | ||
4397 | if test "$wxUSE_LISTBOX" = yes; then | |
4398 | echo "$ac_t""yes" 1>&6 | |
4399 | else | |
4400 | echo "$ac_t""no" 1>&6 | |
4401 | fi | |
4402 | ||
4403 | ||
4404 | echo $ac_n "checking "for --enable-listctrl"""... $ac_c" 1>&6 | |
cf27ef00 | 4405 | echo "configure:4406: checking "for --enable-listctrl"" >&5 |
10f2d63a VZ |
4406 | no_cache=0 |
4407 | # Check whether --enable-listctrl or --disable-listctrl was given. | |
4408 | if test "${enable_listctrl+set}" = set; then | |
4409 | enableval="$enable_listctrl" | |
4410 | ||
4411 | if test "$enableval" = yes; then | |
4412 | ac_cv_use_listctrl='wxUSE_LISTCTRL=yes' | |
4413 | else | |
4414 | ac_cv_use_listctrl='wxUSE_LISTCTRL=no' | |
4415 | fi | |
4416 | ||
4417 | else | |
4418 | ||
4419 | LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}` | |
4420 | if test "x$LINE" != x ; then | |
4421 | eval "DEFAULT_$LINE" | |
4422 | else | |
4423 | no_cache=1 | |
4424 | fi | |
4425 | ||
4426 | ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL | |
4427 | ||
4428 | fi | |
4429 | ||
4430 | ||
4431 | eval "$ac_cv_use_listctrl" | |
4432 | if test "$no_cache" != 1; then | |
4433 | echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp | |
4434 | fi | |
4435 | ||
4436 | if test "$wxUSE_LISTCTRL" = yes; then | |
4437 | echo "$ac_t""yes" 1>&6 | |
4438 | else | |
4439 | echo "$ac_t""no" 1>&6 | |
4440 | fi | |
4441 | ||
4442 | ||
4443 | echo $ac_n "checking "for --enable-notebook"""... $ac_c" 1>&6 | |
cf27ef00 | 4444 | echo "configure:4445: checking "for --enable-notebook"" >&5 |
10f2d63a VZ |
4445 | no_cache=0 |
4446 | # Check whether --enable-notebook or --disable-notebook was given. | |
4447 | if test "${enable_notebook+set}" = set; then | |
4448 | enableval="$enable_notebook" | |
4449 | ||
4450 | if test "$enableval" = yes; then | |
4451 | ac_cv_use_notebook='wxUSE_NOTEBOOK=yes' | |
4452 | else | |
4453 | ac_cv_use_notebook='wxUSE_NOTEBOOK=no' | |
4454 | fi | |
4455 | ||
4456 | else | |
4457 | ||
4458 | LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}` | |
4459 | if test "x$LINE" != x ; then | |
4460 | eval "DEFAULT_$LINE" | |
4461 | else | |
4462 | no_cache=1 | |
4463 | fi | |
4464 | ||
4465 | ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK | |
4466 | ||
4467 | fi | |
4468 | ||
4469 | ||
4470 | eval "$ac_cv_use_notebook" | |
4471 | if test "$no_cache" != 1; then | |
4472 | echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp | |
4473 | fi | |
4474 | ||
4475 | if test "$wxUSE_NOTEBOOK" = yes; then | |
4476 | echo "$ac_t""yes" 1>&6 | |
4477 | else | |
4478 | echo "$ac_t""no" 1>&6 | |
4479 | fi | |
4480 | ||
4481 | ||
4482 | echo $ac_n "checking "for --enable-radiobox"""... $ac_c" 1>&6 | |
cf27ef00 | 4483 | echo "configure:4484: checking "for --enable-radiobox"" >&5 |
10f2d63a VZ |
4484 | no_cache=0 |
4485 | # Check whether --enable-radiobox or --disable-radiobox was given. | |
4486 | if test "${enable_radiobox+set}" = set; then | |
4487 | enableval="$enable_radiobox" | |
4488 | ||
4489 | if test "$enableval" = yes; then | |
4490 | ac_cv_use_radiobox='wxUSE_RADIOBOX=yes' | |
4491 | else | |
4492 | ac_cv_use_radiobox='wxUSE_RADIOBOX=no' | |
4493 | fi | |
4494 | ||
4495 | else | |
4496 | ||
4497 | LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}` | |
4498 | if test "x$LINE" != x ; then | |
4499 | eval "DEFAULT_$LINE" | |
4500 | else | |
4501 | no_cache=1 | |
4502 | fi | |
4503 | ||
4504 | ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX | |
4505 | ||
4506 | fi | |
4507 | ||
4508 | ||
4509 | eval "$ac_cv_use_radiobox" | |
4510 | if test "$no_cache" != 1; then | |
4511 | echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp | |
4512 | fi | |
4513 | ||
4514 | if test "$wxUSE_RADIOBOX" = yes; then | |
4515 | echo "$ac_t""yes" 1>&6 | |
4516 | else | |
4517 | echo "$ac_t""no" 1>&6 | |
4518 | fi | |
4519 | ||
4520 | ||
4521 | echo $ac_n "checking "for --enable-radiobtn"""... $ac_c" 1>&6 | |
cf27ef00 | 4522 | echo "configure:4523: checking "for --enable-radiobtn"" >&5 |
10f2d63a VZ |
4523 | no_cache=0 |
4524 | # Check whether --enable-radiobtn or --disable-radiobtn was given. | |
4525 | if test "${enable_radiobtn+set}" = set; then | |
4526 | enableval="$enable_radiobtn" | |
4527 | ||
4528 | if test "$enableval" = yes; then | |
4529 | ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes' | |
4530 | else | |
4531 | ac_cv_use_radiobtn='wxUSE_RADIOBTN=no' | |
4532 | fi | |
4533 | ||
4534 | else | |
4535 | ||
4536 | LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}` | |
4537 | if test "x$LINE" != x ; then | |
4538 | eval "DEFAULT_$LINE" | |
4539 | else | |
4540 | no_cache=1 | |
4541 | fi | |
4542 | ||
4543 | ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN | |
4544 | ||
4545 | fi | |
4546 | ||
4547 | ||
4548 | eval "$ac_cv_use_radiobtn" | |
4549 | if test "$no_cache" != 1; then | |
4550 | echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp | |
4551 | fi | |
4552 | ||
4553 | if test "$wxUSE_RADIOBTN" = yes; then | |
4554 | echo "$ac_t""yes" 1>&6 | |
4555 | else | |
4556 | echo "$ac_t""no" 1>&6 | |
4557 | fi | |
4558 | ||
4559 | ||
4560 | echo $ac_n "checking "for --enable-sash"""... $ac_c" 1>&6 | |
cf27ef00 | 4561 | echo "configure:4562: checking "for --enable-sash"" >&5 |
10f2d63a VZ |
4562 | no_cache=0 |
4563 | # Check whether --enable-sash or --disable-sash was given. | |
4564 | if test "${enable_sash+set}" = set; then | |
4565 | enableval="$enable_sash" | |
4566 | ||
4567 | if test "$enableval" = yes; then | |
4568 | ac_cv_use_sash='wxUSE_SASH=yes' | |
4569 | else | |
4570 | ac_cv_use_sash='wxUSE_SASH=no' | |
4571 | fi | |
4572 | ||
4573 | else | |
4574 | ||
4575 | LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}` | |
4576 | if test "x$LINE" != x ; then | |
4577 | eval "DEFAULT_$LINE" | |
4578 | else | |
4579 | no_cache=1 | |
4580 | fi | |
4581 | ||
4582 | ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH | |
4583 | ||
4584 | fi | |
4585 | ||
4586 | ||
4587 | eval "$ac_cv_use_sash" | |
4588 | if test "$no_cache" != 1; then | |
4589 | echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp | |
4590 | fi | |
4591 | ||
4592 | if test "$wxUSE_SASH" = yes; then | |
4593 | echo "$ac_t""yes" 1>&6 | |
4594 | else | |
4595 | echo "$ac_t""no" 1>&6 | |
4596 | fi | |
4597 | ||
4598 | ||
4599 | echo $ac_n "checking "for --enable-scrollbar"""... $ac_c" 1>&6 | |
cf27ef00 | 4600 | echo "configure:4601: checking "for --enable-scrollbar"" >&5 |
10f2d63a VZ |
4601 | no_cache=0 |
4602 | # Check whether --enable-scrollbar or --disable-scrollbar was given. | |
4603 | if test "${enable_scrollbar+set}" = set; then | |
4604 | enableval="$enable_scrollbar" | |
4605 | ||
4606 | if test "$enableval" = yes; then | |
4607 | ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes' | |
4608 | else | |
4609 | ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no' | |
4610 | fi | |
4611 | ||
4612 | else | |
4613 | ||
4614 | LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}` | |
4615 | if test "x$LINE" != x ; then | |
4616 | eval "DEFAULT_$LINE" | |
4617 | else | |
4618 | no_cache=1 | |
4619 | fi | |
4620 | ||
4621 | ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR | |
4622 | ||
4623 | fi | |
4624 | ||
4625 | ||
4626 | eval "$ac_cv_use_scrollbar" | |
4627 | if test "$no_cache" != 1; then | |
4628 | echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp | |
4629 | fi | |
4630 | ||
4631 | if test "$wxUSE_SCROLLBAR" = yes; then | |
4632 | echo "$ac_t""yes" 1>&6 | |
4633 | else | |
4634 | echo "$ac_t""no" 1>&6 | |
4635 | fi | |
4636 | ||
4637 | ||
4638 | echo $ac_n "checking "for --enable-slider"""... $ac_c" 1>&6 | |
cf27ef00 | 4639 | echo "configure:4640: checking "for --enable-slider"" >&5 |
10f2d63a VZ |
4640 | no_cache=0 |
4641 | # Check whether --enable-slider or --disable-slider was given. | |
4642 | if test "${enable_slider+set}" = set; then | |
4643 | enableval="$enable_slider" | |
4644 | ||
4645 | if test "$enableval" = yes; then | |
4646 | ac_cv_use_slider='wxUSE_SLIDER=yes' | |
4647 | else | |
4648 | ac_cv_use_slider='wxUSE_SLIDER=no' | |
4649 | fi | |
4650 | ||
4651 | else | |
4652 | ||
4653 | LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}` | |
4654 | if test "x$LINE" != x ; then | |
4655 | eval "DEFAULT_$LINE" | |
4656 | else | |
4657 | no_cache=1 | |
4658 | fi | |
4659 | ||
4660 | ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER | |
4661 | ||
4662 | fi | |
4663 | ||
4664 | ||
4665 | eval "$ac_cv_use_slider" | |
4666 | if test "$no_cache" != 1; then | |
4667 | echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp | |
4668 | fi | |
4669 | ||
4670 | if test "$wxUSE_SLIDER" = yes; then | |
4671 | echo "$ac_t""yes" 1>&6 | |
4672 | else | |
4673 | echo "$ac_t""no" 1>&6 | |
4674 | fi | |
4675 | ||
4676 | ||
4677 | echo $ac_n "checking "for --enable-spinbtn"""... $ac_c" 1>&6 | |
cf27ef00 | 4678 | echo "configure:4679: checking "for --enable-spinbtn"" >&5 |
10f2d63a VZ |
4679 | no_cache=0 |
4680 | # Check whether --enable-spinbtn or --disable-spinbtn was given. | |
4681 | if test "${enable_spinbtn+set}" = set; then | |
4682 | enableval="$enable_spinbtn" | |
4683 | ||
4684 | if test "$enableval" = yes; then | |
4685 | ac_cv_use_spinbtn='wxUSE_SPINBTN=yes' | |
4686 | else | |
4687 | ac_cv_use_spinbtn='wxUSE_SPINBTN=no' | |
4688 | fi | |
4689 | ||
4690 | else | |
4691 | ||
4692 | LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}` | |
4693 | if test "x$LINE" != x ; then | |
4694 | eval "DEFAULT_$LINE" | |
4695 | else | |
4696 | no_cache=1 | |
4697 | fi | |
4698 | ||
4699 | ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN | |
4700 | ||
4701 | fi | |
4702 | ||
4703 | ||
4704 | eval "$ac_cv_use_spinbtn" | |
4705 | if test "$no_cache" != 1; then | |
4706 | echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp | |
4707 | fi | |
4708 | ||
4709 | if test "$wxUSE_SPINBTN" = yes; then | |
4710 | echo "$ac_t""yes" 1>&6 | |
4711 | else | |
4712 | echo "$ac_t""no" 1>&6 | |
4713 | fi | |
4714 | ||
4715 | ||
56cfaa52 | 4716 | echo $ac_n "checking "for --enable-spinctrl"""... $ac_c" 1>&6 |
cf27ef00 | 4717 | echo "configure:4718: checking "for --enable-spinctrl"" >&5 |
56cfaa52 RR |
4718 | no_cache=0 |
4719 | # Check whether --enable-spinctrl or --disable-spinctrl was given. | |
4720 | if test "${enable_spinctrl+set}" = set; then | |
4721 | enableval="$enable_spinctrl" | |
4722 | ||
4723 | if test "$enableval" = yes; then | |
4724 | ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes' | |
4725 | else | |
4726 | ac_cv_use_spinctrl='wxUSE_SPINCTRL=no' | |
4727 | fi | |
4728 | ||
4729 | else | |
4730 | ||
4731 | LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}` | |
4732 | if test "x$LINE" != x ; then | |
4733 | eval "DEFAULT_$LINE" | |
4734 | else | |
4735 | no_cache=1 | |
4736 | fi | |
4737 | ||
4738 | ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL | |
4739 | ||
4740 | fi | |
4741 | ||
4742 | ||
4743 | eval "$ac_cv_use_spinctrl" | |
4744 | if test "$no_cache" != 1; then | |
4745 | echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp | |
4746 | fi | |
4747 | ||
4748 | if test "$wxUSE_SPINCTRL" = yes; then | |
4749 | echo "$ac_t""yes" 1>&6 | |
4750 | else | |
4751 | echo "$ac_t""no" 1>&6 | |
4752 | fi | |
4753 | ||
4754 | ||
10f2d63a | 4755 | echo $ac_n "checking "for --enable-splitter"""... $ac_c" 1>&6 |
cf27ef00 | 4756 | echo "configure:4757: checking "for --enable-splitter"" >&5 |
10f2d63a VZ |
4757 | no_cache=0 |
4758 | # Check whether --enable-splitter or --disable-splitter was given. | |
4759 | if test "${enable_splitter+set}" = set; then | |
4760 | enableval="$enable_splitter" | |
4761 | ||
4762 | if test "$enableval" = yes; then | |
4763 | ac_cv_use_splitter='wxUSE_SPLITTER=yes' | |
4764 | else | |
4765 | ac_cv_use_splitter='wxUSE_SPLITTER=no' | |
4766 | fi | |
4767 | ||
4768 | else | |
4769 | ||
4770 | LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}` | |
4771 | if test "x$LINE" != x ; then | |
4772 | eval "DEFAULT_$LINE" | |
4773 | else | |
4774 | no_cache=1 | |
4775 | fi | |
4776 | ||
4777 | ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER | |
4778 | ||
4779 | fi | |
4780 | ||
4781 | ||
4782 | eval "$ac_cv_use_splitter" | |
4783 | if test "$no_cache" != 1; then | |
4784 | echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp | |
4785 | fi | |
4786 | ||
4787 | if test "$wxUSE_SPLITTER" = yes; then | |
4788 | echo "$ac_t""yes" 1>&6 | |
4789 | else | |
4790 | echo "$ac_t""no" 1>&6 | |
4791 | fi | |
4792 | ||
4793 | ||
4794 | echo $ac_n "checking "for --enable-statbmp"""... $ac_c" 1>&6 | |
cf27ef00 | 4795 | echo "configure:4796: checking "for --enable-statbmp"" >&5 |
10f2d63a VZ |
4796 | no_cache=0 |
4797 | # Check whether --enable-statbmp or --disable-statbmp was given. | |
4798 | if test "${enable_statbmp+set}" = set; then | |
4799 | enableval="$enable_statbmp" | |
4800 | ||
4801 | if test "$enableval" = yes; then | |
4802 | ac_cv_use_statbmp='wxUSE_STATBMP=yes' | |
4803 | else | |
4804 | ac_cv_use_statbmp='wxUSE_STATBMP=no' | |
4805 | fi | |
4806 | ||
4807 | else | |
4808 | ||
4809 | LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}` | |
4810 | if test "x$LINE" != x ; then | |
4811 | eval "DEFAULT_$LINE" | |
4812 | else | |
4813 | no_cache=1 | |
4814 | fi | |
4815 | ||
4816 | ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP | |
4817 | ||
4818 | fi | |
4819 | ||
4820 | ||
4821 | eval "$ac_cv_use_statbmp" | |
4822 | if test "$no_cache" != 1; then | |
4823 | echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp | |
4824 | fi | |
4825 | ||
4826 | if test "$wxUSE_STATBMP" = yes; then | |
4827 | echo "$ac_t""yes" 1>&6 | |
4828 | else | |
4829 | echo "$ac_t""no" 1>&6 | |
4830 | fi | |
4831 | ||
4832 | ||
4833 | echo $ac_n "checking "for --enable-statbox"""... $ac_c" 1>&6 | |
cf27ef00 | 4834 | echo "configure:4835: checking "for --enable-statbox"" >&5 |
10f2d63a VZ |
4835 | no_cache=0 |
4836 | # Check whether --enable-statbox or --disable-statbox was given. | |
4837 | if test "${enable_statbox+set}" = set; then | |
4838 | enableval="$enable_statbox" | |
4839 | ||
4840 | if test "$enableval" = yes; then | |
4841 | ac_cv_use_statbox='wxUSE_STATBOX=yes' | |
4842 | else | |
4843 | ac_cv_use_statbox='wxUSE_STATBOX=no' | |
4844 | fi | |
4845 | ||
4846 | else | |
4847 | ||
4848 | LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}` | |
4849 | if test "x$LINE" != x ; then | |
4850 | eval "DEFAULT_$LINE" | |
4851 | else | |
4852 | no_cache=1 | |
4853 | fi | |
4854 | ||
4855 | ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX | |
4856 | ||
4857 | fi | |
4858 | ||
4859 | ||
4860 | eval "$ac_cv_use_statbox" | |
4861 | if test "$no_cache" != 1; then | |
4862 | echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp | |
4863 | fi | |
4864 | ||
4865 | if test "$wxUSE_STATBOX" = yes; then | |
4866 | echo "$ac_t""yes" 1>&6 | |
4867 | else | |
4868 | echo "$ac_t""no" 1>&6 | |
4869 | fi | |
4870 | ||
4871 | ||
4872 | echo $ac_n "checking "for --enable-statline"""... $ac_c" 1>&6 | |
cf27ef00 | 4873 | echo "configure:4874: checking "for --enable-statline"" >&5 |
10f2d63a VZ |
4874 | no_cache=0 |
4875 | # Check whether --enable-statline or --disable-statline was given. | |
4876 | if test "${enable_statline+set}" = set; then | |
4877 | enableval="$enable_statline" | |
4878 | ||
4879 | if test "$enableval" = yes; then | |
4880 | ac_cv_use_statline='wxUSE_STATLINE=yes' | |
4881 | else | |
4882 | ac_cv_use_statline='wxUSE_STATLINE=no' | |
4883 | fi | |
4884 | ||
4885 | else | |
4886 | ||
4887 | LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}` | |
4888 | if test "x$LINE" != x ; then | |
4889 | eval "DEFAULT_$LINE" | |
4890 | else | |
4891 | no_cache=1 | |
4892 | fi | |
4893 | ||
4894 | ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE | |
4895 | ||
4896 | fi | |
4897 | ||
4898 | ||
4899 | eval "$ac_cv_use_statline" | |
4900 | if test "$no_cache" != 1; then | |
4901 | echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp | |
4902 | fi | |
4903 | ||
4904 | if test "$wxUSE_STATLINE" = yes; then | |
4905 | echo "$ac_t""yes" 1>&6 | |
4906 | else | |
4907 | echo "$ac_t""no" 1>&6 | |
4908 | fi | |
4909 | ||
4910 | ||
4911 | echo $ac_n "checking "for --enable-statusbar"""... $ac_c" 1>&6 | |
cf27ef00 | 4912 | echo "configure:4913: checking "for --enable-statusbar"" >&5 |
10f2d63a VZ |
4913 | no_cache=0 |
4914 | # Check whether --enable-statusbar or --disable-statusbar was given. | |
4915 | if test "${enable_statusbar+set}" = set; then | |
4916 | enableval="$enable_statusbar" | |
4917 | ||
4918 | if test "$enableval" = yes; then | |
4919 | ac_cv_use_statusbar='wxUSE_STATUSBAR=yes' | |
4920 | else | |
4921 | ac_cv_use_statusbar='wxUSE_STATUSBAR=no' | |
4922 | fi | |
4923 | ||
4924 | else | |
4925 | ||
4926 | LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}` | |
4927 | if test "x$LINE" != x ; then | |
4928 | eval "DEFAULT_$LINE" | |
4929 | else | |
4930 | no_cache=1 | |
4931 | fi | |
4932 | ||
4933 | ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR | |
4934 | ||
4935 | fi | |
4936 | ||
4937 | ||
4938 | eval "$ac_cv_use_statusbar" | |
4939 | if test "$no_cache" != 1; then | |
4940 | echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp | |
4941 | fi | |
4942 | ||
4943 | if test "$wxUSE_STATUSBAR" = yes; then | |
4944 | echo "$ac_t""yes" 1>&6 | |
4945 | else | |
4946 | echo "$ac_t""no" 1>&6 | |
4947 | fi | |
4948 | ||
4949 | ||
4950 | echo $ac_n "checking "for --enable-tabdialog"""... $ac_c" 1>&6 | |
cf27ef00 | 4951 | echo "configure:4952: checking "for --enable-tabdialog"" >&5 |
10f2d63a VZ |
4952 | no_cache=0 |
4953 | # Check whether --enable-tabdialog or --disable-tabdialog was given. | |
4954 | if test "${enable_tabdialog+set}" = set; then | |
4955 | enableval="$enable_tabdialog" | |
4956 | ||
4957 | if test "$enableval" = yes; then | |
4958 | ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes' | |
4959 | else | |
4960 | ac_cv_use_tabdialog='wxUSE_TABDIALOG=no' | |
4961 | fi | |
4962 | ||
4963 | else | |
4964 | ||
4965 | LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}` | |
4966 | if test "x$LINE" != x ; then | |
4967 | eval "DEFAULT_$LINE" | |
4968 | else | |
4969 | no_cache=1 | |
4970 | fi | |
4971 | ||
4972 | ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG | |
4973 | ||
4974 | fi | |
4975 | ||
4976 | ||
4977 | eval "$ac_cv_use_tabdialog" | |
4978 | if test "$no_cache" != 1; then | |
4979 | echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp | |
4980 | fi | |
4981 | ||
4982 | if test "$wxUSE_TABDIALOG" = yes; then | |
4983 | echo "$ac_t""yes" 1>&6 | |
4984 | else | |
4985 | echo "$ac_t""no" 1>&6 | |
4986 | fi | |
4987 | ||
4988 | ||
4989 | echo $ac_n "checking "for --enable-toolbar"""... $ac_c" 1>&6 | |
cf27ef00 | 4990 | echo "configure:4991: checking "for --enable-toolbar"" >&5 |
10f2d63a VZ |
4991 | no_cache=0 |
4992 | # Check whether --enable-toolbar or --disable-toolbar was given. | |
4993 | if test "${enable_toolbar+set}" = set; then | |
4994 | enableval="$enable_toolbar" | |
4995 | ||
4996 | if test "$enableval" = yes; then | |
4997 | ac_cv_use_toolbar='wxUSE_TOOLBAR=yes' | |
4998 | else | |
4999 | ac_cv_use_toolbar='wxUSE_TOOLBAR=no' | |
5000 | fi | |
5001 | ||
5002 | else | |
5003 | ||
5004 | LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}` | |
5005 | if test "x$LINE" != x ; then | |
5006 | eval "DEFAULT_$LINE" | |
5007 | else | |
5008 | no_cache=1 | |
5009 | fi | |
5010 | ||
5011 | ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR | |
5012 | ||
5013 | fi | |
5014 | ||
5015 | ||
5016 | eval "$ac_cv_use_toolbar" | |
5017 | if test "$no_cache" != 1; then | |
5018 | echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp | |
5019 | fi | |
5020 | ||
5021 | if test "$wxUSE_TOOLBAR" = yes; then | |
5022 | echo "$ac_t""yes" 1>&6 | |
5023 | else | |
5024 | echo "$ac_t""no" 1>&6 | |
5025 | fi | |
5026 | ||
5027 | ||
360d6699 | 5028 | echo $ac_n "checking "for --enable-tbarnative"""... $ac_c" 1>&6 |
cf27ef00 | 5029 | echo "configure:5030: checking "for --enable-tbarnative"" >&5 |
360d6699 VZ |
5030 | no_cache=0 |
5031 | # Check whether --enable-tbarnative or --disable-tbarnative was given. | |
5032 | if test "${enable_tbarnative+set}" = set; then | |
5033 | enableval="$enable_tbarnative" | |
5034 | ||
5035 | if test "$enableval" = yes; then | |
5036 | ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes' | |
5037 | else | |
5038 | ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no' | |
5039 | fi | |
5040 | ||
5041 | else | |
5042 | ||
5043 | LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}` | |
5044 | if test "x$LINE" != x ; then | |
5045 | eval "DEFAULT_$LINE" | |
5046 | else | |
5047 | no_cache=1 | |
5048 | fi | |
5049 | ||
5050 | ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE | |
5051 | ||
5052 | fi | |
5053 | ||
5054 | ||
5055 | eval "$ac_cv_use_tbarnative" | |
5056 | if test "$no_cache" != 1; then | |
5057 | echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp | |
5058 | fi | |
5059 | ||
5060 | if test "$wxUSE_TOOLBAR_NATIVE" = yes; then | |
5061 | echo "$ac_t""yes" 1>&6 | |
5062 | else | |
5063 | echo "$ac_t""no" 1>&6 | |
5064 | fi | |
5065 | ||
5066 | ||
5067 | echo $ac_n "checking "for --enable-tbarsmpl"""... $ac_c" 1>&6 | |
cf27ef00 | 5068 | echo "configure:5069: checking "for --enable-tbarsmpl"" >&5 |
360d6699 VZ |
5069 | no_cache=0 |
5070 | # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given. | |
5071 | if test "${enable_tbarsmpl+set}" = set; then | |
5072 | enableval="$enable_tbarsmpl" | |
5073 | ||
5074 | if test "$enableval" = yes; then | |
5075 | ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes' | |
5076 | else | |
5077 | ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no' | |
5078 | fi | |
5079 | ||
5080 | else | |
5081 | ||
5082 | LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}` | |
5083 | if test "x$LINE" != x ; then | |
5084 | eval "DEFAULT_$LINE" | |
5085 | else | |
5086 | no_cache=1 | |
5087 | fi | |
5088 | ||
5089 | ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE | |
5090 | ||
5091 | fi | |
5092 | ||
5093 | ||
5094 | eval "$ac_cv_use_tbarsmpl" | |
5095 | if test "$no_cache" != 1; then | |
5096 | echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp | |
5097 | fi | |
5098 | ||
5099 | if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then | |
5100 | echo "$ac_t""yes" 1>&6 | |
5101 | else | |
5102 | echo "$ac_t""no" 1>&6 | |
5103 | fi | |
5104 | ||
5105 | ||
10f2d63a | 5106 | echo $ac_n "checking "for --enable-treectrl"""... $ac_c" 1>&6 |
cf27ef00 | 5107 | echo "configure:5108: checking "for --enable-treectrl"" >&5 |
10f2d63a VZ |
5108 | no_cache=0 |
5109 | # Check whether --enable-treectrl or --disable-treectrl was given. | |
5110 | if test "${enable_treectrl+set}" = set; then | |
5111 | enableval="$enable_treectrl" | |
5112 | ||
5113 | if test "$enableval" = yes; then | |
5114 | ac_cv_use_treectrl='wxUSE_TREECTRL=yes' | |
5115 | else | |
5116 | ac_cv_use_treectrl='wxUSE_TREECTRL=no' | |
5117 | fi | |
5118 | ||
5119 | else | |
5120 | ||
5121 | LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}` | |
5122 | if test "x$LINE" != x ; then | |
5123 | eval "DEFAULT_$LINE" | |
5124 | else | |
5125 | no_cache=1 | |
5126 | fi | |
5127 | ||
5128 | ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL | |
5129 | ||
5130 | fi | |
5131 | ||
5132 | ||
5133 | eval "$ac_cv_use_treectrl" | |
5134 | if test "$no_cache" != 1; then | |
5135 | echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp | |
5136 | fi | |
5137 | ||
5138 | if test "$wxUSE_TREECTRL" = yes; then | |
5139 | echo "$ac_t""yes" 1>&6 | |
5140 | else | |
5141 | echo "$ac_t""no" 1>&6 | |
5142 | fi | |
5143 | ||
5144 | ||
5145 | ||
5146 | ||
5147 | echo $ac_n "checking "for --enable-commondlg"""... $ac_c" 1>&6 | |
cf27ef00 | 5148 | echo "configure:5149: checking "for --enable-commondlg"" >&5 |
10f2d63a VZ |
5149 | no_cache=0 |
5150 | # Check whether --enable-commondlg or --disable-commondlg was given. | |
5151 | if test "${enable_commondlg+set}" = set; then | |
5152 | enableval="$enable_commondlg" | |
5153 | ||
5154 | if test "$enableval" = yes; then | |
5155 | ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes' | |
5156 | else | |
5157 | ac_cv_use_commondlg='wxUSE_COMMONDLGS=no' | |
5158 | fi | |
5159 | ||
5160 | else | |
5161 | ||
5162 | LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}` | |
5163 | if test "x$LINE" != x ; then | |
5164 | eval "DEFAULT_$LINE" | |
5165 | else | |
5166 | no_cache=1 | |
5167 | fi | |
5168 | ||
5169 | ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS | |
5170 | ||
5171 | fi | |
5172 | ||
5173 | ||
5174 | eval "$ac_cv_use_commondlg" | |
5175 | if test "$no_cache" != 1; then | |
5176 | echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp | |
5177 | fi | |
5178 | ||
5179 | if test "$wxUSE_COMMONDLGS" = yes; then | |
5180 | echo "$ac_t""yes" 1>&6 | |
5181 | else | |
5182 | echo "$ac_t""no" 1>&6 | |
5183 | fi | |
5184 | ||
5185 | ||
5186 | echo $ac_n "checking "for --enable-dirdlg"""... $ac_c" 1>&6 | |
cf27ef00 | 5187 | echo "configure:5188: checking "for --enable-dirdlg"" >&5 |
10f2d63a VZ |
5188 | no_cache=0 |
5189 | # Check whether --enable-dirdlg or --disable-dirdlg was given. | |
5190 | if test "${enable_dirdlg+set}" = set; then | |
5191 | enableval="$enable_dirdlg" | |
5192 | ||
5193 | if test "$enableval" = yes; then | |
5194 | ac_cv_use_dirdlg='wxUSE_DIRDLG=yes' | |
5195 | else | |
5196 | ac_cv_use_dirdlg='wxUSE_DIRDLG=no' | |
5197 | fi | |
5198 | ||
5199 | else | |
5200 | ||
5201 | LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}` | |
5202 | if test "x$LINE" != x ; then | |
5203 | eval "DEFAULT_$LINE" | |
5204 | else | |
5205 | no_cache=1 | |
5206 | fi | |
5207 | ||
5208 | ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG | |
5209 | ||
5210 | fi | |
5211 | ||
5212 | ||
5213 | eval "$ac_cv_use_dirdlg" | |
5214 | if test "$no_cache" != 1; then | |
5215 | echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp | |
5216 | fi | |
5217 | ||
5218 | if test "$wxUSE_DIRDLG" = yes; then | |
5219 | echo "$ac_t""yes" 1>&6 | |
5220 | else | |
5221 | echo "$ac_t""no" 1>&6 | |
5222 | fi | |
5223 | ||
5224 | ||
5225 | echo $ac_n "checking "for --enable-textdlg"""... $ac_c" 1>&6 | |
cf27ef00 | 5226 | echo "configure:5227: checking "for --enable-textdlg"" >&5 |
10f2d63a VZ |
5227 | no_cache=0 |
5228 | # Check whether --enable-textdlg or --disable-textdlg was given. | |
5229 | if test "${enable_textdlg+set}" = set; then | |
5230 | enableval="$enable_textdlg" | |
5231 | ||
5232 | if test "$enableval" = yes; then | |
5233 | ac_cv_use_textdlg='wxUSE_TEXTDLG=yes' | |
5234 | else | |
5235 | ac_cv_use_textdlg='wxUSE_TEXTDLG=no' | |
5236 | fi | |
5237 | ||
5238 | else | |
5239 | ||
5240 | LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}` | |
5241 | if test "x$LINE" != x ; then | |
5242 | eval "DEFAULT_$LINE" | |
5243 | else | |
5244 | no_cache=1 | |
5245 | fi | |
5246 | ||
5247 | ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG | |
5248 | ||
5249 | fi | |
5250 | ||
5251 | ||
5252 | eval "$ac_cv_use_textdlg" | |
5253 | if test "$no_cache" != 1; then | |
5254 | echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp | |
5255 | fi | |
5256 | ||
5257 | if test "$wxUSE_TEXTDLG" = yes; then | |
5258 | echo "$ac_t""yes" 1>&6 | |
5259 | else | |
5260 | echo "$ac_t""no" 1>&6 | |
5261 | fi | |
5262 | ||
5263 | ||
5264 | echo $ac_n "checking "for --enable-tipdlg"""... $ac_c" 1>&6 | |
cf27ef00 | 5265 | echo "configure:5266: checking "for --enable-tipdlg"" >&5 |
10f2d63a VZ |
5266 | no_cache=0 |
5267 | # Check whether --enable-tipdlg or --disable-tipdlg was given. | |
5268 | if test "${enable_tipdlg+set}" = set; then | |
5269 | enableval="$enable_tipdlg" | |
5270 | ||
5271 | if test "$enableval" = yes; then | |
5272 | ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes' | |
5273 | else | |
5274 | ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no' | |
5275 | fi | |
5276 | ||
5277 | else | |
5278 | ||
5279 | LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}` | |
5280 | if test "x$LINE" != x ; then | |
5281 | eval "DEFAULT_$LINE" | |
5282 | else | |
5283 | no_cache=1 | |
5284 | fi | |
5285 | ||
5286 | ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS | |
5287 | ||
5288 | fi | |
5289 | ||
5290 | ||
5291 | eval "$ac_cv_use_tipdlg" | |
5292 | if test "$no_cache" != 1; then | |
5293 | echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp | |
5294 | fi | |
5295 | ||
5296 | if test "$wxUSE_STARTUP_TIPS" = yes; then | |
5297 | echo "$ac_t""yes" 1>&6 | |
5298 | else | |
5299 | echo "$ac_t""no" 1>&6 | |
5300 | fi | |
5301 | ||
5302 | ||
5303 | echo $ac_n "checking "for --enable-progressdlg"""... $ac_c" 1>&6 | |
cf27ef00 | 5304 | echo "configure:5305: checking "for --enable-progressdlg"" >&5 |
10f2d63a VZ |
5305 | no_cache=0 |
5306 | # Check whether --enable-progressdlg or --disable-progressdlg was given. | |
5307 | if test "${enable_progressdlg+set}" = set; then | |
5308 | enableval="$enable_progressdlg" | |
5309 | ||
5310 | if test "$enableval" = yes; then | |
5311 | ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes' | |
5312 | else | |
5313 | ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no' | |
5314 | fi | |
5315 | ||
5316 | else | |
5317 | ||
5318 | LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}` | |
5319 | if test "x$LINE" != x ; then | |
5320 | eval "DEFAULT_$LINE" | |
5321 | else | |
5322 | no_cache=1 | |
5323 | fi | |
5324 | ||
5325 | ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG | |
5326 | ||
5327 | fi | |
5328 | ||
5329 | ||
5330 | eval "$ac_cv_use_progressdlg" | |
5331 | if test "$no_cache" != 1; then | |
5332 | echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp | |
5333 | fi | |
5334 | ||
5335 | if test "$wxUSE_PROGRESSDLG" = yes; then | |
5336 | echo "$ac_t""yes" 1>&6 | |
5337 | else | |
5338 | echo "$ac_t""no" 1>&6 | |
5339 | fi | |
5340 | ||
5341 | ||
5342 | echo $ac_n "checking "for --enable-miniframe"""... $ac_c" 1>&6 | |
cf27ef00 | 5343 | echo "configure:5344: checking "for --enable-miniframe"" >&5 |
10f2d63a VZ |
5344 | no_cache=0 |
5345 | # Check whether --enable-miniframe or --disable-miniframe was given. | |
5346 | if test "${enable_miniframe+set}" = set; then | |
5347 | enableval="$enable_miniframe" | |
5348 | ||
5349 | if test "$enableval" = yes; then | |
5350 | ac_cv_use_miniframe='wxUSE_MINIFRAME=yes' | |
5351 | else | |
5352 | ac_cv_use_miniframe='wxUSE_MINIFRAME=no' | |
5353 | fi | |
5354 | ||
5355 | else | |
5356 | ||
5357 | LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}` | |
5358 | if test "x$LINE" != x ; then | |
5359 | eval "DEFAULT_$LINE" | |
5360 | else | |
5361 | no_cache=1 | |
5362 | fi | |
5363 | ||
5364 | ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME | |
5365 | ||
5366 | fi | |
5367 | ||
5368 | ||
5369 | eval "$ac_cv_use_miniframe" | |
5370 | if test "$no_cache" != 1; then | |
5371 | echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp | |
5372 | fi | |
5373 | ||
5374 | if test "$wxUSE_MINIFRAME" = yes; then | |
5375 | echo "$ac_t""yes" 1>&6 | |
5376 | else | |
5377 | echo "$ac_t""no" 1>&6 | |
5378 | fi | |
5379 | ||
5380 | ||
5381 | echo $ac_n "checking "for --enable-html"""... $ac_c" 1>&6 | |
cf27ef00 | 5382 | echo "configure:5383: checking "for --enable-html"" >&5 |
10f2d63a VZ |
5383 | no_cache=0 |
5384 | # Check whether --enable-html or --disable-html was given. | |
5385 | if test "${enable_html+set}" = set; then | |
5386 | enableval="$enable_html" | |
5387 | ||
5388 | if test "$enableval" = yes; then | |
5389 | ac_cv_use_html='wxUSE_HTML=yes' | |
5390 | else | |
5391 | ac_cv_use_html='wxUSE_HTML=no' | |
5392 | fi | |
5393 | ||
5394 | else | |
5395 | ||
5396 | LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}` | |
5397 | if test "x$LINE" != x ; then | |
5398 | eval "DEFAULT_$LINE" | |
5399 | else | |
5400 | no_cache=1 | |
5401 | fi | |
5402 | ||
5403 | ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML | |
5404 | ||
5405 | fi | |
5406 | ||
5407 | ||
5408 | eval "$ac_cv_use_html" | |
5409 | if test "$no_cache" != 1; then | |
5410 | echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp | |
5411 | fi | |
5412 | ||
5413 | if test "$wxUSE_HTML" = yes; then | |
5414 | echo "$ac_t""yes" 1>&6 | |
5415 | else | |
5416 | echo "$ac_t""no" 1>&6 | |
5417 | fi | |
5418 | ||
5419 | ||
5420 | echo $ac_n "checking "for --enable-tooltips"""... $ac_c" 1>&6 | |
cf27ef00 | 5421 | echo "configure:5422: checking "for --enable-tooltips"" >&5 |
10f2d63a VZ |
5422 | no_cache=0 |
5423 | # Check whether --enable-tooltips or --disable-tooltips was given. | |
5424 | if test "${enable_tooltips+set}" = set; then | |
5425 | enableval="$enable_tooltips" | |
5426 | ||
5427 | if test "$enableval" = yes; then | |
5428 | ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes' | |
5429 | else | |
5430 | ac_cv_use_tooltips='wxUSE_TOOLTIPS=no' | |
5431 | fi | |
5432 | ||
5433 | else | |
5434 | ||
5435 | LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}` | |
5436 | if test "x$LINE" != x ; then | |
5437 | eval "DEFAULT_$LINE" | |
5438 | else | |
5439 | no_cache=1 | |
5440 | fi | |
5441 | ||
5442 | ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS | |
5443 | ||
5444 | fi | |
5445 | ||
5446 | ||
5447 | eval "$ac_cv_use_tooltips" | |
5448 | if test "$no_cache" != 1; then | |
5449 | echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp | |
5450 | fi | |
5451 | ||
5452 | if test "$wxUSE_TOOLTIPS" = yes; then | |
5453 | echo "$ac_t""yes" 1>&6 | |
5454 | else | |
5455 | echo "$ac_t""no" 1>&6 | |
5456 | fi | |
5457 | ||
5458 | ||
5459 | echo $ac_n "checking "for --enable-splines"""... $ac_c" 1>&6 | |
cf27ef00 | 5460 | echo "configure:5461: checking "for --enable-splines"" >&5 |
10f2d63a VZ |
5461 | no_cache=0 |
5462 | # Check whether --enable-splines or --disable-splines was given. | |
5463 | if test "${enable_splines+set}" = set; then | |
5464 | enableval="$enable_splines" | |
5465 | ||
5466 | if test "$enableval" = yes; then | |
5467 | ac_cv_use_splines='wxUSE_SPLINES=yes' | |
5468 | else | |
5469 | ac_cv_use_splines='wxUSE_SPLINES=no' | |
5470 | fi | |
5471 | ||
5472 | else | |
5473 | ||
5474 | LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}` | |
5475 | if test "x$LINE" != x ; then | |
5476 | eval "DEFAULT_$LINE" | |
5477 | else | |
5478 | no_cache=1 | |
5479 | fi | |
5480 | ||
5481 | ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES | |
5482 | ||
5483 | fi | |
5484 | ||
5485 | ||
5486 | eval "$ac_cv_use_splines" | |
5487 | if test "$no_cache" != 1; then | |
5488 | echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp | |
5489 | fi | |
5490 | ||
5491 | if test "$wxUSE_SPLINES" = yes; then | |
5492 | echo "$ac_t""yes" 1>&6 | |
5493 | else | |
5494 | echo "$ac_t""no" 1>&6 | |
5495 | fi | |
5496 | ||
5497 | ||
5498 | echo $ac_n "checking "for --enable-validators"""... $ac_c" 1>&6 | |
cf27ef00 | 5499 | echo "configure:5500: checking "for --enable-validators"" >&5 |
10f2d63a VZ |
5500 | no_cache=0 |
5501 | # Check whether --enable-validators or --disable-validators was given. | |
5502 | if test "${enable_validators+set}" = set; then | |
5503 | enableval="$enable_validators" | |
5504 | ||
5505 | if test "$enableval" = yes; then | |
5506 | ac_cv_use_validators='wxUSE_VALIDATORS=yes' | |
5507 | else | |
5508 | ac_cv_use_validators='wxUSE_VALIDATORS=no' | |
5509 | fi | |
5510 | ||
5511 | else | |
5512 | ||
5513 | LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}` | |
5514 | if test "x$LINE" != x ; then | |
5515 | eval "DEFAULT_$LINE" | |
5516 | else | |
5517 | no_cache=1 | |
5518 | fi | |
5519 | ||
5520 | ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS | |
5521 | ||
5522 | fi | |
5523 | ||
5524 | ||
5525 | eval "$ac_cv_use_validators" | |
5526 | if test "$no_cache" != 1; then | |
5527 | echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp | |
5528 | fi | |
5529 | ||
5530 | if test "$wxUSE_VALIDATORS" = yes; then | |
5531 | echo "$ac_t""yes" 1>&6 | |
5532 | else | |
5533 | echo "$ac_t""no" 1>&6 | |
5534 | fi | |
5535 | ||
5536 | ||
5537 | echo $ac_n "checking "for --enable-busyinfo"""... $ac_c" 1>&6 | |
cf27ef00 | 5538 | echo "configure:5539: checking "for --enable-busyinfo"" >&5 |
10f2d63a VZ |
5539 | no_cache=0 |
5540 | # Check whether --enable-busyinfo or --disable-busyinfo was given. | |
5541 | if test "${enable_busyinfo+set}" = set; then | |
5542 | enableval="$enable_busyinfo" | |
5543 | ||
5544 | if test "$enableval" = yes; then | |
5545 | ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes' | |
5546 | else | |
5547 | ac_cv_use_busyinfo='wxUSE_BUSYINFO=no' | |
5548 | fi | |
5549 | ||
5550 | else | |
5551 | ||
5552 | LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}` | |
5553 | if test "x$LINE" != x ; then | |
5554 | eval "DEFAULT_$LINE" | |
5555 | else | |
5556 | no_cache=1 | |
5557 | fi | |
5558 | ||
5559 | ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO | |
5560 | ||
5561 | fi | |
5562 | ||
5563 | ||
5564 | eval "$ac_cv_use_busyinfo" | |
5565 | if test "$no_cache" != 1; then | |
5566 | echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp | |
5567 | fi | |
5568 | ||
5569 | if test "$wxUSE_BUSYINFO" = yes; then | |
5570 | echo "$ac_t""yes" 1>&6 | |
5571 | else | |
5572 | echo "$ac_t""no" 1>&6 | |
5573 | fi | |
5574 | ||
5575 | ||
5576 | ||
5577 | ||
5578 | echo $ac_n "checking "for --enable-gif"""... $ac_c" 1>&6 | |
cf27ef00 | 5579 | echo "configure:5580: checking "for --enable-gif"" >&5 |
10f2d63a VZ |
5580 | no_cache=0 |
5581 | # Check whether --enable-gif or --disable-gif was given. | |
5582 | if test "${enable_gif+set}" = set; then | |
5583 | enableval="$enable_gif" | |
5584 | ||
5585 | if test "$enableval" = yes; then | |
5586 | ac_cv_use_gif='wxUSE_GIF=yes' | |
5587 | else | |
5588 | ac_cv_use_gif='wxUSE_GIF=no' | |
5589 | fi | |
5590 | ||
5591 | else | |
5592 | ||
5593 | LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}` | |
5594 | if test "x$LINE" != x ; then | |
5595 | eval "DEFAULT_$LINE" | |
5596 | else | |
5597 | no_cache=1 | |
5598 | fi | |
5599 | ||
5600 | ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF | |
5601 | ||
5602 | fi | |
5603 | ||
5604 | ||
5605 | eval "$ac_cv_use_gif" | |
5606 | if test "$no_cache" != 1; then | |
5607 | echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp | |
5608 | fi | |
5609 | ||
5610 | if test "$wxUSE_GIF" = yes; then | |
5611 | echo "$ac_t""yes" 1>&6 | |
5612 | else | |
5613 | echo "$ac_t""no" 1>&6 | |
5614 | fi | |
5615 | ||
5616 | ||
5617 | echo $ac_n "checking "for --enable-pcx"""... $ac_c" 1>&6 | |
cf27ef00 | 5618 | echo "configure:5619: checking "for --enable-pcx"" >&5 |
10f2d63a VZ |
5619 | no_cache=0 |
5620 | # Check whether --enable-pcx or --disable-pcx was given. | |
5621 | if test "${enable_pcx+set}" = set; then | |
5622 | enableval="$enable_pcx" | |
5623 | ||
5624 | if test "$enableval" = yes; then | |
5625 | ac_cv_use_pcx='wxUSE_PCX=yes' | |
5626 | else | |
5627 | ac_cv_use_pcx='wxUSE_PCX=no' | |
5628 | fi | |
5629 | ||
5630 | else | |
5631 | ||
5632 | LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}` | |
5633 | if test "x$LINE" != x ; then | |
5634 | eval "DEFAULT_$LINE" | |
5635 | else | |
5636 | no_cache=1 | |
5637 | fi | |
5638 | ||
5639 | ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX | |
5640 | ||
5641 | fi | |
5642 | ||
5643 | ||
5644 | eval "$ac_cv_use_pcx" | |
5645 | if test "$no_cache" != 1; then | |
5646 | echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp | |
5647 | fi | |
5648 | ||
5649 | if test "$wxUSE_PCX" = yes; then | |
5650 | echo "$ac_t""yes" 1>&6 | |
5651 | else | |
5652 | echo "$ac_t""no" 1>&6 | |
5653 | fi | |
5654 | ||
5655 | ||
5656 | echo $ac_n "checking "for --enable-pnm"""... $ac_c" 1>&6 | |
cf27ef00 | 5657 | echo "configure:5658: checking "for --enable-pnm"" >&5 |
10f2d63a VZ |
5658 | no_cache=0 |
5659 | # Check whether --enable-pnm or --disable-pnm was given. | |
5660 | if test "${enable_pnm+set}" = set; then | |
5661 | enableval="$enable_pnm" | |
5662 | ||
5663 | if test "$enableval" = yes; then | |
5664 | ac_cv_use_pnm='wxUSE_PNM=yes' | |
5665 | else | |
5666 | ac_cv_use_pnm='wxUSE_PNM=no' | |
5667 | fi | |
5668 | ||
5669 | else | |
5670 | ||
5671 | LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}` | |
5672 | if test "x$LINE" != x ; then | |
5673 | eval "DEFAULT_$LINE" | |
5674 | else | |
5675 | no_cache=1 | |
5676 | fi | |
5677 | ||
5678 | ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM | |
5679 | ||
5680 | fi | |
5681 | ||
5682 | ||
5683 | eval "$ac_cv_use_pnm" | |
5684 | if test "$no_cache" != 1; then | |
5685 | echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp | |
5686 | fi | |
5687 | ||
5688 | if test "$wxUSE_PNM" = yes; then | |
5689 | echo "$ac_t""yes" 1>&6 | |
5690 | else | |
5691 | echo "$ac_t""no" 1>&6 | |
5692 | fi | |
5693 | ||
5694 | ||
b12915c1 VZ |
5695 | fi |
5696 | ||
10f2d63a VZ |
5697 | |
5698 | echo "saving argument cache $wx_arg_cache_file" | |
5699 | mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file} | |
5700 | ||
5701 | ||
5702 | ||
5703 | echo $ac_n "checking for toolkit""... $ac_c" 1>&6 | |
cf27ef00 | 5704 | echo "configure:5705: checking for toolkit" >&5 |
10f2d63a VZ |
5705 | |
5706 | if test "$wxUSE_GUI" = "yes"; then | |
5707 | ||
b12915c1 VZ |
5708 | if test "$USE_BEOS" = 1; then |
5709 | { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; } | |
5710 | fi | |
5711 | ||
10f2d63a VZ |
5712 | if test "$TOOLKIT_GIVEN" = 1; then |
5713 | for toolkit in `echo $ALL_TOOLKITS`; do | |
5714 | var=wxUSE_$toolkit | |
5715 | eval "value=\$${var}" | |
5716 | eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`" | |
5717 | done | |
5718 | else | |
5719 | for toolkit in `echo $ALL_TOOLKITS`; do | |
5720 | if test "$has_toolkit_in_cache" != 1; then | |
5721 | var=DEFAULT_DEFAULT_wxUSE_$toolkit | |
5722 | else | |
5723 | var=DEFAULT_wxUSE_$toolkit | |
5724 | fi | |
5725 | eval "wxUSE_$toolkit=\$${var}" | |
5726 | done | |
5727 | fi | |
5728 | ||
ec14dd32 | 5729 | NUM_TOOLKITS=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0}` |
cf27ef00 | 5730 | |
ec14dd32 VZ |
5731 | case "${host}" in |
5732 | *-pc-os2_emx ) | |
5733 | NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}` | |
5734 | # PATH_IFS is autodetected by OS/2's configure (usually ';') | |
5735 | LEX_STEM="lexyy" | |
5736 | ;; | |
5737 | *) | |
5738 | PATH_IFS=':' | |
5739 | LEX_STEM="lex.yy" | |
cf27ef00 | 5740 | PROGRAM_EXT= |
ec14dd32 VZ |
5741 | ;; |
5742 | esac | |
10f2d63a VZ |
5743 | |
5744 | case "$NUM_TOOLKITS" in | |
5745 | 1) | |
5746 | ;; | |
5747 | 0) | |
5748 | { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; } | |
5749 | ;; | |
5750 | *) | |
5751 | { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; } | |
5752 | esac | |
5753 | ||
5754 | for toolkit in `echo $ALL_TOOLKITS`; do | |
5755 | var=wxUSE_$toolkit | |
5756 | eval "value=\$${var}" | |
5757 | if test "x$value" != x; then | |
5758 | cache_var=CACHE_$toolkit | |
5759 | eval "cache=\$${cache_var}" | |
5760 | if test "$cache" = 1; then | |
5761 | echo "$var=$value" >> ${wx_arg_cache_file} | |
5762 | fi | |
5763 | if test "$value" = 1; then | |
5764 | echo "$ac_t""`echo $toolkit | tr A-Z a-z`" 1>&6 | |
5765 | fi | |
5766 | fi | |
5767 | done | |
5768 | ||
5769 | else | |
cf27ef00 | 5770 | PATH_IFS=':' |
10f2d63a VZ |
5771 | echo "$ac_t""base only" 1>&6 |
5772 | fi | |
5773 | ||
5774 | ||
5775 | cat > confcache <<\EOF | |
5776 | # This file is a shell script that caches the results of configure | |
5777 | # tests run on this system so they can be shared between configure | |
5778 | # scripts and configure runs. It is not useful on other systems. | |
5779 | # If it contains results you don't want to keep, you may remove or edit it. | |
5780 | # | |
5781 | # By default, configure uses ./config.cache as the cache file, | |
5782 | # creating it if it does not exist already. You can give configure | |
5783 | # the --cache-file=FILE option to use a different cache file; that is | |
5784 | # what configure does when it calls configure scripts in | |
5785 | # subdirectories, so they share the cache. | |
5786 | # Giving --cache-file=/dev/null disables caching, for debugging configure. | |
5787 | # config.status only pays attention to the cache file if you give it the | |
5788 | # --recheck option to rerun configure. | |
5789 | # | |
5790 | EOF | |
5791 | # The following way of writing the cache mishandles newlines in values, | |
5792 | # but we know of no workaround that is simple, portable, and efficient. | |
5793 | # So, don't put newlines in cache variables' values. | |
5794 | # Ultrix sh set writes to stderr and can't be redirected directly, | |
5795 | # and sets the high bit in the cache file unless we assign to the vars. | |
5796 | (set) 2>&1 | | |
5797 | case `(ac_space=' '; set | grep ac_space) 2>&1` in | |
5798 | *ac_space=\ *) | |
5799 | # `set' does not quote correctly, so add quotes (double-quote substitution | |
5800 | # turns \\\\ into \\, and sed turns \\ into \). | |
5801 | sed -n \ | |
5802 | -e "s/'/'\\\\''/g" \ | |
5803 | -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" | |
5804 | ;; | |
5805 | *) | |
5806 | # `set' quotes correctly as required by POSIX, so do not add quotes. | |
5807 | sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' | |
5808 | ;; | |
5809 | esac >> confcache | |
5810 | if cmp -s $cache_file confcache; then | |
5811 | : | |
5812 | else | |
5813 | if test -w $cache_file; then | |
5814 | echo "updating cache $cache_file" | |
5815 | cat confcache > $cache_file | |
5816 | else | |
5817 | echo "not updating unwritable cache $cache_file" | |
5818 | fi | |
5819 | fi | |
5820 | rm -f confcache | |
5821 | ||
5822 | ||
5823 | if eval "test $host != $build"; then | |
5824 | if eval "test $host_alias != NONE"; then | |
5825 | CC=$host_alias-gcc | |
5826 | CXX=$host_alias-c++ | |
5827 | AR=$host_alias-ar | |
5828 | RANLIB=$host_alias-ranlib | |
5829 | DLLTOOL=$host_alias-dlltool | |
5830 | LD=$host_alias-ld | |
5831 | NM=$host_alias-nm | |
5832 | STRIP=$host_alias-strip | |
5833 | fi | |
5834 | fi | |
5835 | ||
5836 | # Extract the first word of "gcc", so it can be a program name with args. | |
5837 | set dummy gcc; ac_word=$2 | |
5838 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
cf27ef00 | 5839 | echo "configure:5840: checking for $ac_word" >&5 |
10f2d63a VZ |
5840 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
5841 | echo $ac_n "(cached) $ac_c" 1>&6 | |
5842 | else | |
5843 | if test -n "$CC"; then | |
5844 | ac_cv_prog_CC="$CC" # Let the user override the test. | |
5845 | else | |
5846 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
5847 | ac_dummy="$PATH" | |
5848 | for ac_dir in $ac_dummy; do | |
5849 | test -z "$ac_dir" && ac_dir=. | |
5850 | if test -f $ac_dir/$ac_word; then | |
5851 | ac_cv_prog_CC="gcc" | |
5852 | break | |
5853 | fi | |
5854 | done | |
5855 | IFS="$ac_save_ifs" | |
5856 | fi | |
5857 | fi | |
5858 | CC="$ac_cv_prog_CC" | |
5859 | if test -n "$CC"; then | |
5860 | echo "$ac_t""$CC" 1>&6 | |
5861 | else | |
5862 | echo "$ac_t""no" 1>&6 | |
5863 | fi | |
5864 | ||
5865 | if test -z "$CC"; then | |
5866 | # Extract the first word of "cc", so it can be a program name with args. | |
5867 | set dummy cc; ac_word=$2 | |
5868 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
cf27ef00 | 5869 | echo "configure:5870: checking for $ac_word" >&5 |
10f2d63a VZ |
5870 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
5871 | echo $ac_n "(cached) $ac_c" 1>&6 | |
5872 | else | |
5873 | if test -n "$CC"; then | |
5874 | ac_cv_prog_CC="$CC" # Let the user override the test. | |
5875 | else | |
5876 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
5877 | ac_prog_rejected=no | |
5878 | ac_dummy="$PATH" | |
5879 | for ac_dir in $ac_dummy; do | |
5880 | test -z "$ac_dir" && ac_dir=. | |
5881 | if test -f $ac_dir/$ac_word; then | |
5882 | if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then | |
5883 | ac_prog_rejected=yes | |
5884 | continue | |
5885 | fi | |
5886 | ac_cv_prog_CC="cc" | |
5887 | break | |
5888 | fi | |
5889 | done | |
5890 | IFS="$ac_save_ifs" | |
5891 | if test $ac_prog_rejected = yes; then | |
5892 | # We found a bogon in the path, so make sure we never use it. | |
5893 | set dummy $ac_cv_prog_CC | |
5894 | shift | |
5895 | if test $# -gt 0; then | |
5896 | # We chose a different compiler from the bogus one. | |
5897 | # However, it has the same basename, so the bogon will be chosen | |
5898 | # first if we set CC to just the basename; use the full file name. | |
5899 | shift | |
5900 | set dummy "$ac_dir/$ac_word" "$@" | |
5901 | shift | |
5902 | ac_cv_prog_CC="$@" | |
5903 | fi | |
5904 | fi | |
5905 | fi | |
5906 | fi | |
5907 | CC="$ac_cv_prog_CC" | |
5908 | if test -n "$CC"; then | |
5909 | echo "$ac_t""$CC" 1>&6 | |
5910 | else | |
5911 | echo "$ac_t""no" 1>&6 | |
5912 | fi | |
5913 | ||
5914 | if test -z "$CC"; then | |
5915 | case "`uname -s`" in | |
5916 | *win32* | *WIN32*) | |
5917 | # Extract the first word of "cl", so it can be a program name with args. | |
5918 | set dummy cl; ac_word=$2 | |
5919 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
cf27ef00 | 5920 | echo "configure:5921: checking for $ac_word" >&5 |
10f2d63a VZ |
5921 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
5922 | echo $ac_n "(cached) $ac_c" 1>&6 | |
5923 | else | |
5924 | if test -n "$CC"; then | |
5925 | ac_cv_prog_CC="$CC" # Let the user override the test. | |
5926 | else | |
5927 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
5928 | ac_dummy="$PATH" | |
5929 | for ac_dir in $ac_dummy; do | |
5930 | test -z "$ac_dir" && ac_dir=. | |
5931 | if test -f $ac_dir/$ac_word; then | |
5932 | ac_cv_prog_CC="cl" | |
5933 | break | |
5934 | fi | |
5935 | done | |
5936 | IFS="$ac_save_ifs" | |
5937 | fi | |
5938 | fi | |
5939 | CC="$ac_cv_prog_CC" | |
5940 | if test -n "$CC"; then | |
5941 | echo "$ac_t""$CC" 1>&6 | |
5942 | else | |
5943 | echo "$ac_t""no" 1>&6 | |
5944 | fi | |
5945 | ;; | |
5946 | esac | |
5947 | fi | |
5948 | test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | |
5949 | fi | |
5950 | ||
5951 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | |
cf27ef00 | 5952 | echo "configure:5953: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
10f2d63a VZ |
5953 | |
5954 | ac_ext=c | |
5955 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
5956 | ac_cpp='$CPP $CPPFLAGS' | |
5957 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | |
5958 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | |
5959 | cross_compiling=$ac_cv_prog_cc_cross | |
5960 | ||
5961 | cat > conftest.$ac_ext << EOF | |
5962 | ||
cf27ef00 | 5963 | #line 5964 "configure" |
10f2d63a VZ |
5964 | #include "confdefs.h" |
5965 | ||
5966 | main(){return(0);} | |
5967 | EOF | |
cf27ef00 | 5968 | if { (eval echo configure:5969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10f2d63a VZ |
5969 | ac_cv_prog_cc_works=yes |
5970 | # If we can't run a trivial program, we are probably using a cross compiler. | |
5971 | if (./conftest; exit) 2>/dev/null; then | |
5972 | ac_cv_prog_cc_cross=no | |
5973 | else | |
5974 | ac_cv_prog_cc_cross=yes | |
5975 | fi | |
5976 | else | |
5977 | echo "configure: failed program was:" >&5 | |
5978 | cat conftest.$ac_ext >&5 | |
5979 | ac_cv_prog_cc_works=no | |
5980 | fi | |
5981 | rm -fr conftest* | |
5982 | ac_ext=c | |
5983 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
5984 | ac_cpp='$CPP $CPPFLAGS' | |
5985 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | |
5986 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | |
5987 | cross_compiling=$ac_cv_prog_cc_cross | |
5988 | ||
5989 | echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | |
5990 | if test $ac_cv_prog_cc_works = no; then | |
5991 | { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | |
5992 | fi | |
5993 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | |
cf27ef00 | 5994 | echo "configure:5995: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
10f2d63a VZ |
5995 | echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
5996 | cross_compiling=$ac_cv_prog_cc_cross | |
5997 | ||
5998 | echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | |
cf27ef00 | 5999 | echo "configure:6000: checking whether we are using GNU C" >&5 |
10f2d63a VZ |
6000 | if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
6001 | echo $ac_n "(cached) $ac_c" 1>&6 | |
6002 | else | |
6003 | cat > conftest.c <<EOF | |
6004 | #ifdef __GNUC__ | |
6005 | yes; | |
6006 | #endif | |
6007 | EOF | |
cf27ef00 | 6008 | if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:6009: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
10f2d63a VZ |
6009 | ac_cv_prog_gcc=yes |
6010 | else | |
6011 | ac_cv_prog_gcc=no | |
6012 | fi | |
6013 | fi | |
6014 | ||
6015 | echo "$ac_t""$ac_cv_prog_gcc" 1>&6 | |
6016 | ||
6017 | if test $ac_cv_prog_gcc = yes; then | |
6018 | GCC=yes | |
6019 | else | |
6020 | GCC= | |
6021 | fi | |
6022 | ||
6023 | ac_test_CFLAGS="${CFLAGS+set}" | |
6024 | ac_save_CFLAGS="$CFLAGS" | |
6025 | CFLAGS= | |
6026 | echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | |
cf27ef00 | 6027 | echo "configure:6028: checking whether ${CC-cc} accepts -g" >&5 |
10f2d63a VZ |
6028 | if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
6029 | echo $ac_n "(cached) $ac_c" 1>&6 | |
6030 | else | |
6031 | echo 'void f(){}' > conftest.c | |
6032 | if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | |
6033 | ac_cv_prog_cc_g=yes | |
6034 | else | |
6035 | ac_cv_prog_cc_g=no | |
6036 | fi | |
6037 | rm -f conftest* | |
6038 | ||
6039 | fi | |
6040 | ||
6041 | echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 | |
6042 | if test "$ac_test_CFLAGS" = set; then | |
6043 | CFLAGS="$ac_save_CFLAGS" | |
6044 | elif test $ac_cv_prog_cc_g = yes; then | |
6045 | if test "$GCC" = yes; then | |
6046 | CFLAGS="-g -O2" | |
6047 | else | |
6048 | CFLAGS="-g" | |
6049 | fi | |
6050 | else | |
6051 | if test "$GCC" = yes; then | |
6052 | CFLAGS="-O2" | |
6053 | else | |
6054 | CFLAGS= | |
6055 | fi | |
6056 | fi | |
6057 | ||
6058 | ||
6059 | CFLAGS=`echo "$CFLAGS" | sed 's/-g//g'` | |
6060 | ||
6061 | echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | |
cf27ef00 | 6062 | echo "configure:6063: checking how to run the C preprocessor" >&5 |
10f2d63a VZ |
6063 | # On Suns, sometimes $CPP names a directory. |
6064 | if test -n "$CPP" && test -d "$CPP"; then | |
6065 | CPP= | |
6066 | fi | |
6067 | if test -z "$CPP"; then | |
6068 | if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then | |
6069 | echo $ac_n "(cached) $ac_c" 1>&6 | |
6070 | else | |
6071 | # This must be in double quotes, not single quotes, because CPP may get | |
6072 | # substituted into the Makefile and "${CC-cc}" will confuse make. | |
6073 | CPP="${CC-cc} -E" | |
6074 | # On the NeXT, cc -E runs the code through the compiler's parser, | |
6075 | # not just through cpp. | |
6076 | cat > conftest.$ac_ext <<EOF | |
cf27ef00 | 6077 | #line 6078 "configure" |
10f2d63a VZ |
6078 | #include "confdefs.h" |
6079 | #include <assert.h> | |
6080 | Syntax Error | |
6081 | EOF | |
6082 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
cf27ef00 | 6083 | { (eval echo configure:6084: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10f2d63a VZ |
6084 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6085 | if test -z "$ac_err"; then | |
6086 | : | |
6087 | else | |
6088 | echo "$ac_err" >&5 | |
6089 | echo "configure: failed program was:" >&5 | |
6090 | cat conftest.$ac_ext >&5 | |
6091 | rm -rf conftest* | |
6092 | CPP="${CC-cc} -E -traditional-cpp" | |
6093 | cat > conftest.$ac_ext <<EOF | |
cf27ef00 | 6094 | #line 6095 "configure" |
10f2d63a VZ |
6095 | #include "confdefs.h" |
6096 | #include <assert.h> | |
6097 | Syntax Error | |
6098 | EOF | |
6099 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
cf27ef00 | 6100 | { (eval echo configure:6101: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10f2d63a VZ |
6101 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6102 | if test -z "$ac_err"; then | |
6103 | : | |
6104 | else | |
6105 | echo "$ac_err" >&5 | |
6106 | echo "configure: failed program was:" >&5 | |
6107 | cat conftest.$ac_ext >&5 | |
6108 | rm -rf conftest* | |
6109 | CPP="${CC-cc} -nologo -E" | |
6110 | cat > conftest.$ac_ext <<EOF | |
cf27ef00 | 6111 | #line 6112 "configure" |
10f2d63a VZ |
6112 | #include "confdefs.h" |
6113 | #include <assert.h> | |
6114 | Syntax Error | |
6115 | EOF | |
6116 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
cf27ef00 | 6117 | { (eval echo configure:6118: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10f2d63a VZ |
6118 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6119 | if test -z "$ac_err"; then | |
6120 | : | |
6121 | else | |
6122 | echo "$ac_err" >&5 | |
6123 | echo "configure: failed program was:" >&5 | |
6124 | cat conftest.$ac_ext >&5 | |
6125 | rm -rf conftest* | |
6126 | CPP=/lib/cpp | |
6127 | fi | |
6128 | rm -f conftest* | |
6129 | fi | |
6130 | rm -f conftest* | |
6131 | fi | |
6132 | rm -f conftest* | |
6133 | ac_cv_prog_CPP="$CPP" | |
6134 | fi | |
6135 | CPP="$ac_cv_prog_CPP" | |
6136 | else | |
6137 | ac_cv_prog_CPP="$CPP" | |
6138 | fi | |
6139 | echo "$ac_t""$CPP" 1>&6 | |
6140 | ||
6141 | ||
6142 | if test $ac_cv_prog_gcc = yes; then | |
6143 | echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 | |
cf27ef00 | 6144 | echo "configure:6145: checking whether ${CC-cc} needs -traditional" >&5 |
10f2d63a VZ |
6145 | if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then |
6146 | echo $ac_n "(cached) $ac_c" 1>&6 | |
6147 | else | |
6148 | ac_pattern="Autoconf.*'x'" | |
6149 | cat > conftest.$ac_ext <<EOF | |
cf27ef00 | 6150 | #line 6151 "configure" |
10f2d63a VZ |
6151 | #include "confdefs.h" |
6152 | #include <sgtty.h> | |
6153 | Autoconf TIOCGETP | |
6154 | EOF | |
6155 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
6156 | egrep "$ac_pattern" >/dev/null 2>&1; then | |
6157 | rm -rf conftest* | |
6158 | ac_cv_prog_gcc_traditional=yes | |
6159 | else | |
6160 | rm -rf conftest* | |
6161 | ac_cv_prog_gcc_traditional=no | |
6162 | fi | |
6163 | rm -f conftest* | |
6164 | ||
6165 | ||
6166 | if test $ac_cv_prog_gcc_traditional = no; then | |
6167 | cat > conftest.$ac_ext <<EOF | |
cf27ef00 | 6168 | #line 6169 "configure" |
10f2d63a VZ |
6169 | #include "confdefs.h" |
6170 | #include <termio.h> | |
6171 | Autoconf TCGETA | |
6172 | EOF | |
6173 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
6174 | egrep "$ac_pattern" >/dev/null 2>&1; then | |
6175 | rm -rf conftest* | |
6176 | ac_cv_prog_gcc_traditional=yes | |
6177 | fi | |
6178 | rm -f conftest* | |
6179 | ||
6180 | fi | |
6181 | fi | |
6182 | ||
6183 | echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6 | |
6184 | if test $ac_cv_prog_gcc_traditional = yes; then | |
6185 | CC="$CC -traditional" | |
6186 | fi | |
6187 | fi | |
6188 | ||
6189 | ||
6190 | ||
6191 | ac_ext=C | |
6192 | # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
6193 | ac_cpp='$CXXCPP $CPPFLAGS' | |
6194 | ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | |
6195 | ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | |
6196 | cross_compiling=$ac_cv_prog_cxx_cross | |
6197 | ||
6198 | ||
6199 | for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl | |
6200 | do | |
6201 | # Extract the first word of "$ac_prog", so it can be a program name with args. | |
6202 | set dummy $ac_prog; ac_word=$2 | |
6203 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
cf27ef00 | 6204 | echo "configure:6205: checking for $ac_word" >&5 |
10f2d63a VZ |
6205 | if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then |
6206 | echo $ac_n "(cached) $ac_c" 1>&6 | |
6207 | else | |
6208 | if test -n "$CXX"; then | |
6209 | ac_cv_prog_CXX="$CXX" # Let the user override the test. | |
6210 | else | |
6211 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
6212 | ac_dummy="$PATH" | |
6213 | for ac_dir in $ac_dummy; do | |
6214 | test -z "$ac_dir" && ac_dir=. | |
6215 | if test -f $ac_dir/$ac_word; then | |
6216 | ac_cv_prog_CXX="$ac_prog" | |
6217 | break | |
6218 | fi | |
6219 | done | |
6220 | IFS="$ac_save_ifs" | |
6221 | fi | |
6222 | fi | |
6223 | CXX="$ac_cv_prog_CXX" | |
6224 | if test -n "$CXX"; then | |
6225 | echo "$ac_t""$CXX" 1>&6 | |
6226 | else | |
6227 | echo "$ac_t""no" 1>&6 | |
6228 | fi | |
6229 | ||
6230 | test -n "$CXX" && break | |
6231 | done | |
6232 | test -n "$CXX" || CXX="gcc" | |
6233 | ||
6234 | ||
6235 | echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | |
cf27ef00 | 6236 | echo "configure:6237: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 |
10f2d63a VZ |
6237 | |
6238 | ac_ext=C | |
6239 | # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
6240 | ac_cpp='$CXXCPP $CPPFLAGS' | |
6241 | ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | |
6242 | ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | |
6243 | cross_compiling=$ac_cv_prog_cxx_cross | |
6244 | ||
6245 | cat > conftest.$ac_ext << EOF | |
6246 | ||
cf27ef00 | 6247 | #line 6248 "configure" |
10f2d63a VZ |
6248 | #include "confdefs.h" |
6249 | ||
6250 | int main(){return(0);} | |
6251 | EOF | |
cf27ef00 | 6252 | if { (eval echo configure:6253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10f2d63a VZ |
6253 | ac_cv_prog_cxx_works=yes |
6254 | # If we can't run a trivial program, we are probably using a cross compiler. | |
6255 | if (./conftest; exit) 2>/dev/null; then | |
6256 | ac_cv_prog_cxx_cross=no | |
6257 | else | |
6258 | ac_cv_prog_cxx_cross=yes | |
6259 | fi | |
6260 | else | |
6261 | echo "configure: failed program was:" >&5 | |
6262 | cat conftest.$ac_ext >&5 | |
6263 | ac_cv_prog_cxx_works=no | |
6264 | fi | |
6265 | rm -fr conftest* | |
6266 | ac_ext=C | |
6267 | # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
6268 | ac_cpp='$CXXCPP $CPPFLAGS' | |
6269 | ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | |
6270 | ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | |
6271 | cross_compiling=$ac_cv_prog_cxx_cross | |
6272 | ||
6273 | echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6 | |
6274 | if test $ac_cv_prog_cxx_works = no; then | |
6275 | { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; } | |
6276 | fi | |
6277 | echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | |
cf27ef00 | 6278 | echo "configure:6279: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 |
10f2d63a VZ |
6279 | echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 |
6280 | cross_compiling=$ac_cv_prog_cxx_cross | |
6281 | ||
6282 | echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 | |
cf27ef00 | 6283 | echo "configure:6284: checking whether we are using GNU C++" >&5 |
10f2d63a VZ |
6284 | if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then |
6285 | echo $ac_n "(cached) $ac_c" 1>&6 | |
6286 | else | |
6287 | cat > conftest.C <<EOF | |
6288 | #ifdef __GNUC__ | |
6289 | yes; | |
6290 | #endif | |
6291 | EOF | |
cf27ef00 | 6292 | if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:6293: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
10f2d63a VZ |
6293 | ac_cv_prog_gxx=yes |
6294 | else | |
6295 | ac_cv_prog_gxx=no | |
6296 | fi | |
6297 | fi | |
6298 | ||
6299 | echo "$ac_t""$ac_cv_prog_gxx" 1>&6 | |
6300 | ||
6301 | if test $ac_cv_prog_gxx = yes; then | |
6302 | GXX=yes | |
6303 | else | |
6304 | GXX= | |
6305 | fi | |
6306 | ||
6307 | ac_test_CXXFLAGS="${CXXFLAGS+set}" | |
6308 | ac_save_CXXFLAGS="$CXXFLAGS" | |
6309 | CXXFLAGS= | |
6310 | echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 | |
cf27ef00 | 6311 | echo "configure:6312: checking whether ${CXX-g++} accepts -g" >&5 |
10f2d63a VZ |
6312 | if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then |
6313 | echo $ac_n "(cached) $ac_c" 1>&6 | |
6314 | else | |
6315 | echo 'void f(){}' > conftest.cc | |
6316 | if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then | |
6317 | ac_cv_prog_cxx_g=yes | |
6318 | else | |
6319 | ac_cv_prog_cxx_g=no | |
6320 | fi | |
6321 | rm -f conftest* | |
6322 | ||
6323 | fi | |
6324 | ||
6325 | echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6 | |
6326 | if test "$ac_test_CXXFLAGS" = set; then | |
6327 | CXXFLAGS="$ac_save_CXXFLAGS" | |
6328 | elif test $ac_cv_prog_cxx_g = yes; then | |
6329 | if test "$GXX" = yes; then | |
6330 | CXXFLAGS="-g -O2" | |
6331 | else | |
6332 | CXXFLAGS="-g" | |
6333 | fi | |
6334 | else | |
6335 | if test "$GXX" = yes; then | |
6336 | CXXFLAGS="-O2" | |
6337 | else | |
6338 | CXXFLAGS= | |
6339 | fi | |
6340 | fi | |
6341 | ||
6342 | ||
6343 | echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6 | |
cf27ef00 | 6344 | echo "configure:6345: checking how to run the C++ preprocessor" >&5 |
10f2d63a VZ |
6345 | if test -z "$CXXCPP"; then |
6346 | if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then | |
6347 | echo $ac_n "(cached) $ac_c" 1>&6 | |
6348 | else | |
6349 | ac_ext=C | |
6350 | # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
6351 | ac_cpp='$CXXCPP $CPPFLAGS' | |
6352 | ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | |
6353 | ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | |
6354 | cross_compiling=$ac_cv_prog_cxx_cross | |
6355 | CXXCPP="${CXX-g++} -E" | |
6356 | cat > conftest.$ac_ext <<EOF | |
cf27ef00 | 6357 | #line 6358 "configure" |
10f2d63a VZ |
6358 | #include "confdefs.h" |
6359 | #include <stdlib.h> | |
6360 | EOF | |
6361 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
cf27ef00 | 6362 | { (eval echo configure:6363: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10f2d63a VZ |
6363 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6364 | if test -z "$ac_err"; then | |
6365 | : | |
6366 | else | |
6367 | echo "$ac_err" >&5 | |
6368 | echo "configure: failed program was:" >&5 | |
6369 | cat conftest.$ac_ext >&5 | |
6370 | rm -rf conftest* | |
6371 | CXXCPP=/lib/cpp | |
6372 | fi | |
6373 | rm -f conftest* | |
6374 | ac_cv_prog_CXXCPP="$CXXCPP" | |
6375 | ac_ext=C | |
6376 | # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
6377 | ac_cpp='$CXXCPP $CPPFLAGS' | |
6378 | ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | |
6379 | ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | |
6380 | cross_compiling=$ac_cv_prog_cxx_cross | |
6381 | fi | |
6382 | fi | |
6383 | CXXCPP="$ac_cv_prog_CXXCPP" | |
6384 | echo "$ac_t""$CXXCPP" 1>&6 | |
6385 | ||
6386 | ||
6387 | CXXFLAGS=`echo "$CXXFLAGS" | sed 's/-g//g'` | |
6388 | ||
6389 | ac_ext=c | |
6390 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
6391 | ac_cpp='$CPP $CPPFLAGS' | |
6392 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | |
6393 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | |
6394 | cross_compiling=$ac_cv_prog_cc_cross | |
6395 | ||
6396 | ||
6397 | # Extract the first word of "ranlib", so it can be a program name with args. | |
6398 | set dummy ranlib; ac_word=$2 | |
6399 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
cf27ef00 | 6400 | echo "configure:6401: checking for $ac_word" >&5 |
10f2d63a VZ |
6401 | if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then |
6402 | echo $ac_n "(cached) $ac_c" 1>&6 | |
6403 | else | |
6404 | if test -n "$RANLIB"; then | |
6405 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | |
6406 | else | |
6407 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
6408 | ac_dummy="$PATH" | |
6409 | for ac_dir in $ac_dummy; do | |
6410 | test -z "$ac_dir" && ac_dir=. | |
6411 | if test -f $ac_dir/$ac_word; then | |
6412 | ac_cv_prog_RANLIB="ranlib" | |
6413 | break | |
6414 | fi | |
6415 | done | |
6416 | IFS="$ac_save_ifs" | |
6417 | test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" | |
6418 | fi | |
6419 | fi | |
6420 | RANLIB="$ac_cv_prog_RANLIB" | |
6421 | if test -n "$RANLIB"; then | |
6422 | echo "$ac_t""$RANLIB" 1>&6 | |
6423 | else | |
6424 | echo "$ac_t""no" 1>&6 | |
6425 | fi | |
6426 | ||
6427 | ||
6428 | # Extract the first word of "ar", so it can be a program name with args. | |
6429 | set dummy ar; ac_word=$2 | |
6430 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
cf27ef00 | 6431 | echo "configure:6432: checking for $ac_word" >&5 |
10f2d63a VZ |
6432 | if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then |
6433 | echo $ac_n "(cached) $ac_c" 1>&6 | |
6434 | else | |
6435 | if test -n "$AR"; then | |
6436 | ac_cv_prog_AR="$AR" # Let the user override the test. | |
6437 | else | |
6438 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
6439 | ac_dummy="$PATH" | |
6440 | for ac_dir in $ac_dummy; do | |
6441 | test -z "$ac_dir" && ac_dir=. | |
6442 | if test -f $ac_dir/$ac_word; then | |
6443 | ac_cv_prog_AR="ar" | |
6444 | break | |
6445 | fi | |
6446 | done | |
6447 | IFS="$ac_save_ifs" | |
6448 | test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar" | |
6449 | fi | |
6450 | fi | |
6451 | AR="$ac_cv_prog_AR" | |
6452 | if test -n "$AR"; then | |
6453 | echo "$ac_t""$AR" 1>&6 | |
6454 | else | |
6455 | echo "$ac_t""no" 1>&6 | |
6456 | fi | |
6457 | ||
6458 | ||
6459 | # Find a good install program. We prefer a C program (faster), | |
6460 | # so one script is as good as another. But avoid the broken or | |
6461 | # incompatible versions: | |
6462 | # SysV /etc/install, /usr/sbin/install | |
6463 | # SunOS /usr/etc/install | |
6464 | # IRIX /sbin/install | |
6465 | # AIX /bin/install | |
6466 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | |
6467 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | |
6468 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | |
6469 | # ./install, which can be erroneously created by make from ./install.sh. | |
6470 | echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | |
cf27ef00 | 6471 | echo "configure:6472: checking for a BSD compatible install" >&5 |
10f2d63a VZ |
6472 | if test -z "$INSTALL"; then |
6473 | if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | |
6474 | echo $ac_n "(cached) $ac_c" 1>&6 | |
6475 | else | |
6476 | IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | |
6477 | for ac_dir in $PATH; do | |
6478 | # Account for people who put trailing slashes in PATH elements. | |
6479 | case "$ac_dir/" in | |
6480 | /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; | |
6481 | *) | |
6482 | # OSF1 and SCO ODT 3.0 have their own names for install. | |
6483 | # Don't use installbsd from OSF since it installs stuff as root | |
6484 | # by default. | |
6485 | for ac_prog in ginstall scoinst install; do | |
6486 | if test -f $ac_dir/$ac_prog; then | |
6487 | if test $ac_prog = install && | |
6488 | grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then | |
6489 | # AIX install. It has an incompatible calling convention. | |
6490 | : | |
6491 | else | |
6492 | ac_cv_path_install="$ac_dir/$ac_prog -c" | |
6493 | break 2 | |
6494 | fi | |
6495 | fi | |
6496 | done | |
6497 | ;; | |
6498 | esac | |
6499 | done | |
6500 | IFS="$ac_save_IFS" | |
6501 | ||
6502 | fi | |
6503 | if test "${ac_cv_path_install+set}" = set; then | |
6504 | INSTALL="$ac_cv_path_install" | |
6505 | else | |
6506 | # As a last resort, use the slow shell script. We don't cache a | |
6507 | # path for INSTALL within a source directory, because that will | |
6508 | # break other packages using the cache if that directory is | |
6509 | # removed, or if the path is relative. | |
6510 | INSTALL="$ac_install_sh" | |
6511 | fi | |
6512 | fi | |
6513 | echo "$ac_t""$INSTALL" 1>&6 | |
6514 | ||
6515 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | |
6516 | # It thinks the first close brace ends the variable substitution. | |
6517 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | |
6518 | ||
6519 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' | |
6520 | ||
6521 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | |
6522 | ||
6523 | ||
6524 | # Extract the first word of "strip", so it can be a program name with args. | |
6525 | set dummy strip; ac_word=$2 | |
6526 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
cf27ef00 | 6527 | echo "configure:6528: checking for $ac_word" >&5 |
10f2d63a VZ |
6528 | if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then |
6529 | echo $ac_n "(cached) $ac_c" 1>&6 | |
6530 | else | |
6531 | if test -n "$STRIP"; then | |
6532 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | |
6533 | else | |
6534 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
6535 | ac_dummy="$PATH" | |
6536 | for ac_dir in $ac_dummy; do | |
6537 | test -z "$ac_dir" && ac_dir=. | |
6538 | if test -f $ac_dir/$ac_word; then | |
6539 | ac_cv_prog_STRIP="strip" | |
6540 | break | |
6541 | fi | |
6542 | done | |
6543 | IFS="$ac_save_ifs" | |
6544 | test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true" | |
6545 | fi | |
6546 | fi | |
6547 | STRIP="$ac_cv_prog_STRIP" | |
6548 | if test -n "$STRIP"; then | |
6549 | echo "$ac_t""$STRIP" 1>&6 | |
6550 | else | |
6551 | echo "$ac_t""no" 1>&6 | |
6552 | fi | |
6553 | ||
6554 | ||
6555 | echo $ac_n "checking "make for VPATH support"""... $ac_c" 1>&6 | |
cf27ef00 | 6556 | echo "configure:6557: checking "make for VPATH support"" >&5 |
10f2d63a VZ |
6557 | cat - << EOF > confMake |
6558 | check : file | |
6559 | cp \$? \$@ | |
6560 | cp \$? final_file | |
6561 | EOF | |
6562 | ||
6563 | if test ! -d sub ; then | |
6564 | mkdir sub | |
6565 | fi | |
6566 | echo dummy > sub/file | |
6567 | ${MAKE-make} -f confMake VPATH=sub 2> config.log > /dev/null | |
6568 | RESULT=$? | |
6569 | rm -f sub/file check final_file confMake | |
6570 | rmdir sub | |
6571 | if test "$RESULT" = 0; then | |
6572 | echo "$ac_t""yes" 1>&6 | |
6573 | else | |
6574 | echo "$ac_t""no" 1>&6 | |
6575 | { echo "configure: error: You need a make-utility that is able to use the variable | |
6576 | VPATH correctly. | |
6577 | If your version of make does not support VPATH correctly" 1>&2; exit 1; } | |
6578 | fi | |
6579 | ||
6580 | for ac_prog in 'bison -y' byacc | |
6581 | do | |
6582 | # Extract the first word of "$ac_prog", so it can be a program name with args. | |
6583 | set dummy $ac_prog; ac_word=$2 | |
6584 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
cf27ef00 | 6585 | echo "configure:6586: checking for $ac_word" >&5 |
10f2d63a VZ |
6586 | if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then |
6587 | echo $ac_n "(cached) $ac_c" 1>&6 | |
6588 | else | |
6589 | if test -n "$YACC"; then | |
6590 | ac_cv_prog_YACC="$YACC" # Let the user override the test. | |
6591 | else | |
6592 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
6593 | ac_dummy="$PATH" | |
6594 | for ac_dir in $ac_dummy; do | |
6595 | test -z "$ac_dir" && ac_dir=. | |
6596 | if test -f $ac_dir/$ac_word; then | |
6597 | ac_cv_prog_YACC="$ac_prog" | |
6598 | break | |
6599 | fi | |
6600 | done | |
6601 | IFS="$ac_save_ifs" | |
6602 | fi | |
6603 | fi | |
6604 | YACC="$ac_cv_prog_YACC" | |
6605 | if test -n "$YACC"; then | |
6606 | echo "$ac_t""$YACC" 1>&6 | |
6607 | else | |
6608 | echo "$ac_t""no" 1>&6 | |
6609 | fi | |
6610 | ||
6611 | test -n "$YACC" && break | |
6612 | done | |
6613 | test -n "$YACC" || YACC="yacc" | |
6614 | ||
6615 | ||
6616 | # Extract the first word of "flex", so it can be a program name with args. | |
6617 | set dummy flex; ac_word=$2 | |
6618 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
cf27ef00 | 6619 | echo "configure:6620: checking for $ac_word" >&5 |
10f2d63a VZ |
6620 | if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then |
6621 | echo $ac_n "(cached) $ac_c" 1>&6 | |
6622 | else | |
6623 | if test -n "$LEX"; then | |
6624 | ac_cv_prog_LEX="$LEX" # Let the user override the test. | |
6625 | else | |
6626 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
6627 | ac_dummy="$PATH" | |
6628 | for ac_dir in $ac_dummy; do | |
6629 | test -z "$ac_dir" && ac_dir=. | |
6630 | if test -f $ac_dir/$ac_word; then | |
6631 | ac_cv_prog_LEX="flex" | |
6632 | break | |
6633 | fi | |
6634 | done | |
6635 | IFS="$ac_save_ifs" | |
6636 | test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX="lex" | |
6637 | fi | |
6638 | fi | |
6639 | LEX="$ac_cv_prog_LEX" | |
6640 | if test -n "$LEX"; then | |
6641 | echo "$ac_t""$LEX" 1>&6 | |
6642 | else | |
6643 | echo "$ac_t""no" 1>&6 | |
6644 | fi | |
6645 | ||
6646 | if test -z "$LEXLIB" | |
6647 | then | |
6648 | case "$LEX" in | |
6649 | flex*) ac_lib=fl ;; | |
6650 | *) ac_lib=l ;; | |
6651 | esac | |
6652 | echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6 | |
cf27ef00 | 6653 | echo "configure:6654: checking for yywrap in -l$ac_lib" >&5 |
10f2d63a VZ |
6654 | ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'` |
6655 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
6656 | echo $ac_n "(cached) $ac_c" 1>&6 | |
6657 | else | |
6658 | ac_save_LIBS="$LIBS" | |
6659 | LIBS="-l$ac_lib $LIBS" | |
6660 | cat > conftest.$ac_ext <<EOF | |
cf27ef00 | 6661 | #line 6662 "configure" |
10f2d63a VZ |
6662 | #include "confdefs.h" |
6663 | /* Override any gcc2 internal prototype to avoid an error. */ | |
6664 | /* We use char because int might match the return type of a gcc2 | |
6665 | builtin and then its argument prototype would still apply. */ | |
6666 | char yywrap(); | |
6667 | ||
6668 | int main() { | |
6669 | yywrap() | |
6670 | ; return 0; } | |
6671 | EOF | |
cf27ef00 | 6672 | if { (eval echo configure:6673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10f2d63a VZ |
6673 | rm -rf conftest* |
6674 | eval "ac_cv_lib_$ac_lib_var=yes" | |
6675 | else | |
6676 | echo "configure: failed program was:" >&5 | |
6677 | cat conftest.$ac_ext >&5 | |
6678 | rm -rf conftest* | |
6679 | eval "ac_cv_lib_$ac_lib_var=no" | |
6680 | fi | |
6681 | rm -f conftest* | |
6682 | LIBS="$ac_save_LIBS" | |
6683 | ||
6684 | fi | |
6685 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
6686 | echo "$ac_t""yes" 1>&6 | |
6687 | LEXLIB="-l$ac_lib" | |
6688 | else | |
6689 | echo "$ac_t""no" 1>&6 | |
6690 | fi | |
6691 | ||
6692 | fi | |
6693 | ||
6694 | ||
6695 | echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | |
cf27ef00 | 6696 | echo "configure:6697: checking whether ln -s works" >&5 |
10f2d63a VZ |
6697 | if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then |
6698 | echo $ac_n "(cached) $ac_c" 1>&6 | |
6699 | else | |
6700 | rm -f conftestdata | |
6701 | if ln -s X conftestdata 2>/dev/null | |
6702 | then | |
6703 | rm -f conftestdata | |
6704 | ac_cv_prog_LN_S="ln -s" | |
6705 | else | |
6706 | ac_cv_prog_LN_S=ln | |
6707 | fi | |
6708 | fi | |
6709 | LN_S="$ac_cv_prog_LN_S" | |
6710 | if test "$ac_cv_prog_LN_S" = "ln -s"; then | |
6711 | echo "$ac_t""yes" 1>&6 | |
6712 | else | |
6713 | echo "$ac_t""no" 1>&6 | |
6714 | fi | |
6715 | ||
6716 | ||
6717 | ||
6718 | SEARCH_INCLUDE="\ | |
6719 | /usr/local/include \ | |
6720 | \ | |
6721 | /usr/Motif-1.2/include \ | |
6722 | /usr/Motif-2.1/include \ | |
6723 | \ | |
6724 | /usr/include/Motif1.2 \ | |
6725 | /opt/xpm/include/X11 \ | |
6726 | /opt/GBxpm/include/ \ | |
6727 | /opt/GBxpm/X11/include/ \ | |
6728 | \ | |
6729 | /usr/Motif1.2/include \ | |
6730 | /usr/dt/include \ | |
afc31813 VZ |
6731 | /usr/openwin/include \ |
6732 | \ | |
10f2d63a VZ |
6733 | /usr/include/Xm \ |
6734 | \ | |
6735 | /usr/X11R6/include \ | |
afc31813 | 6736 | /usr/X11R6.4/include \ |
10f2d63a VZ |
6737 | /usr/X11R5/include \ |
6738 | /usr/X11R4/include \ | |
6739 | \ | |
10f2d63a VZ |
6740 | /usr/include/X11R6 \ |
6741 | /usr/include/X11R5 \ | |
6742 | /usr/include/X11R4 \ | |
6743 | \ | |
6744 | /usr/local/X11R6/include \ | |
6745 | /usr/local/X11R5/include \ | |
6746 | /usr/local/X11R4/include \ | |
6747 | \ | |
6748 | /usr/local/include/X11R6 \ | |
6749 | /usr/local/include/X11R5 \ | |
6750 | /usr/local/include/X11R4 \ | |
6751 | \ | |
6752 | /usr/X11/include \ | |
6753 | /usr/include/X11 \ | |
6754 | /usr/local/X11/include \ | |
6755 | /usr/local/include/X11 \ | |
6756 | \ | |
6757 | /usr/X386/include \ | |
6758 | /usr/x386/include \ | |
6759 | /usr/XFree86/include/X11 \ | |
6760 | \ | |
cf27ef00 | 6761 | X:/XFree86/include \ |
ec14dd32 VZ |
6762 | X:/XFree86/include/X11 \ |
6763 | \ | |
10f2d63a VZ |
6764 | /usr/include/gtk \ |
6765 | /usr/local/include/gtk \ | |
6766 | /usr/include/glib \ | |
6767 | /usr/local/include/glib \ | |
6768 | \ | |
6769 | /usr/include/qt \ | |
6770 | /usr/local/include/qt \ | |
6771 | \ | |
6772 | /usr/include/windows \ | |
6773 | /usr/include/wine \ | |
6774 | /usr/local/include/wine \ | |
6775 | \ | |
6776 | /usr/unsupported/include \ | |
6777 | /usr/athena/include \ | |
6778 | /usr/local/x11r5/include \ | |
6779 | /usr/lpp/Xamples/include \ | |
6780 | \ | |
10f2d63a | 6781 | /usr/openwin/share/include \ |
928b5c08 VZ |
6782 | \ |
6783 | /usr/include" | |
10f2d63a VZ |
6784 | |
6785 | SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` " | |
6786 | ||
6787 | ||
6788 | cat > confcache <<\EOF | |
6789 | # This file is a shell script that caches the results of configure | |
6790 | # tests run on this system so they can be shared between configure | |
6791 | # scripts and configure runs. It is not useful on other systems. | |
6792 | # If it contains results you don't want to keep, you may remove or edit it. | |
6793 | # | |
6794 | # By default, configure uses ./config.cache as the cache file, | |
6795 | # creating it if it does not exist already. You can give configure | |
6796 | # the --cache-file=FILE option to use a different cache file; that is | |
6797 | # what configure does when it calls configure scripts in | |
6798 | # subdirectories, so they share the cache. | |
6799 | # Giving --cache-file=/dev/null disables caching, for debugging configure. | |
6800 | # config.status only pays attention to the cache file if you give it the | |
6801 | # --recheck option to rerun configure. | |
6802 | # | |
6803 | EOF | |
6804 | # The following way of writing the cache mishandles newlines in values, | |
6805 | # but we know of no workaround that is simple, portable, and efficient. | |
6806 | # So, don't put newlines in cache variables' values. | |
6807 | # Ultrix sh set writes to stderr and can't be redirected directly, | |
6808 | # and sets the high bit in the cache file unless we assign to the vars. | |
6809 | (set) 2>&1 | | |
6810 | case `(ac_space=' '; set | grep ac_space) 2>&1` in | |
6811 | *ac_space=\ *) | |
6812 | # `set' does not quote correctly, so add quotes (double-quote substitution | |
6813 | # turns \\\\ into \\, and sed turns \\ into \). | |
6814 | sed -n \ | |
6815 | -e "s/'/'\\\\''/g" \ | |
6816 | -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" | |
6817 | ;; | |
6818 | *) | |
6819 | # `set' quotes correctly as required by POSIX, so do not add quotes. | |
6820 | sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' | |
6821 | ;; | |
6822 | esac >> confcache | |
6823 | if cmp -s $cache_file confcache; then | |
6824 | : | |
6825 | else | |
6826 | if test -w $cache_file; then | |
6827 | echo "updating cache $cache_file" | |
6828 | cat confcache > $cache_file | |
6829 | else | |
6830 | echo "not updating unwritable cache $cache_file" | |
6831 | fi | |
6832 | fi | |
6833 | rm -f confcache | |
6834 | ||
6835 | ||
6836 | ||
dad6c0ea VZ |
6837 | AFMINSTALL= |
6838 | ||
10f2d63a VZ |
6839 | if test "$wxUSE_GUI" = "yes"; then |
6840 | ||
dad6c0ea VZ |
6841 | USE_GUI=1 |
6842 | ||
10f2d63a VZ |
6843 | TOOLKIT= |
6844 | TOOLKIT_INCLUDE= | |
6845 | ||
6846 | GUIOBJS= | |
6847 | COMMONOBJS= | |
6848 | GENERICOBJS= | |
6849 | ||
6850 | GUI_TK_LIBRARY= | |
6851 | GUI_TK_LINK= | |
6852 | ||
6853 | WXGTK12= | |
13111b2a | 6854 | WXGTK13= |
10f2d63a VZ |
6855 | |
6856 | WXWINE= | |
6857 | ||
10f2d63a VZ |
6858 | if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then |
6859 | if test "$cross_compiling" = "yes" ; then | |
6860 | echo "configure: warning: Cross compiling --- skipping windows.h check" 1>&2 | |
6861 | else | |
6862 | echo $ac_n "checking for Windows headers""... $ac_c" 1>&6 | |
cf27ef00 | 6863 | echo "configure:6864: checking for Windows headers" >&5 |
10f2d63a VZ |
6864 | |
6865 | ac_find_includes= | |
6866 | for ac_dir in $SEARCH_INCLUDE; | |
6867 | do | |
6868 | if test -f "$ac_dir/windows.h"; then | |
6869 | ac_find_includes=$ac_dir | |
6870 | break | |
6871 | fi | |
6872 | done | |
6873 | ||
6874 | if test "$ac_find_includes" != "" ; then | |
6875 | echo "$ac_t""found $ac_find_includes" 1>&6 | |
6876 | TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -I$ac_find_includes" | |
6877 | else | |
6878 | echo "$ac_t""no" 1>&6 | |
6879 | { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; } | |
6880 | fi | |
6881 | fi | |
6882 | ||
6883 | INCLUDE_SUBDIRS="$INCLUDE_SUBDIRS msw" | |
6884 | LIBS="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32" | |
6885 | ||
6886 | if test "$wxUSE_MINGW" = 1; then | |
6887 | LDFLAGS="$LDFLAGS -mwindows" | |
6888 | fi | |
6889 | ||
6890 | TOOLKIT=MSW | |
6891 | ||
6892 | GUIOBJS="\$(MSW_GUIOBJS)" | |
6893 | GUIHEADERS="\$(MSW_HEADERS)" | |
6894 | COMMONOBJS="\$(MSW_COMMONOBJS)" | |
6895 | GENERICOBJS="\$(MSW_GENERICOBJS)" | |
6896 | UNIXOBJS= | |
6897 | GUIDIST=MSW_DIST | |
10f2d63a VZ |
6898 | fi |
6899 | ||
6900 | if test "$wxUSE_GTK" = 1; then | |
6901 | ||
6902 | if test x$gtk_config_exec_prefix != x ; then | |
6903 | gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix" | |
6904 | if test x${GTK_CONFIG+set} != xset ; then | |
6905 | GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config | |
6906 | fi | |
6907 | fi | |
6908 | if test x$gtk_config_prefix != x ; then | |
6909 | gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix" | |
6910 | if test x${GTK_CONFIG+set} != xset ; then | |
6911 | GTK_CONFIG=$gtk_config_prefix/bin/gtk-config | |
6912 | fi | |
6913 | fi | |
6914 | ||
6915 | # Extract the first word of "gtk-config", so it can be a program name with args. | |
6916 | set dummy gtk-config; ac_word=$2 | |
6917 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
cf27ef00 | 6918 | echo "configure:6919: checking for $ac_word" >&5 |
10f2d63a VZ |
6919 | if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then |
6920 | echo $ac_n "(cached) $ac_c" 1>&6 | |
6921 | else | |
6922 | case "$GTK_CONFIG" in | |
6923 | /*) | |
6924 | ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path. | |
6925 | ;; | |
6926 | ?:/*) | |
6927 | ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a dos path. | |
6928 | ;; | |
6929 | *) | |
6930 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
6931 | ac_dummy="$PATH" | |
6932 | for ac_dir in $ac_dummy; do | |
6933 | test -z "$ac_dir" && ac_dir=. | |
6934 | if test -f $ac_dir/$ac_word; then | |
6935 | ac_cv_path_GTK_CONFIG="$ac_dir/$ac_word" | |
6936 | break | |
6937 | fi | |
6938 | done | |
6939 | IFS="$ac_save_ifs" | |
6940 | test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no" | |
6941 | ;; | |
6942 | esac | |
6943 | fi | |
6944 | GTK_CONFIG="$ac_cv_path_GTK_CONFIG" | |
6945 | if test -n "$GTK_CONFIG"; then | |
6946 | echo "$ac_t""$GTK_CONFIG" 1>&6 | |
6947 | else | |
6948 | echo "$ac_t""no" 1>&6 | |
6949 | fi | |
6950 | ||
04165bec | 6951 | min_gtk_version=1.2.3 |
10f2d63a | 6952 | echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6 |
cf27ef00 | 6953 | echo "configure:6954: checking for GTK - version >= $min_gtk_version" >&5 |
10f2d63a VZ |
6954 | no_gtk="" |
6955 | if test "$GTK_CONFIG" != "no" ; then | |
6956 | GTK_CFLAGS=`$GTK_CONFIG --cflags` | |
2224580a | 6957 | GTK_LIBS=`$GTK_CONFIG --libs gthread` |
10f2d63a VZ |
6958 | ac_save_CFLAGS="$CFLAGS" |
6959 | ac_save_LIBS="$LIBS" | |
6960 | CFLAGS="$CFLAGS $GTK_CFLAGS" | |
6961 | LIBS="$LIBS $GTK_LIBS" | |
6962 | if test "$cross_compiling" = yes; then | |
6963 | echo $ac_n "cross compiling; assumed OK... $ac_c" | |
6964 | else | |
6965 | cat > conftest.$ac_ext <<EOF | |
cf27ef00 | 6966 | #line 6967 "configure" |
10f2d63a VZ |
6967 | #include "confdefs.h" |
6968 | ||
6969 | #include <gtk/gtk.h> | |
f49f2b0c | 6970 | #include <gtk/gtkfeatures.h> |
10f2d63a VZ |
6971 | #include <stdio.h> |
6972 | ||
6973 | int | |
6974 | main () | |
6975 | { | |
6976 | int major, minor, micro; | |
6977 | ||
6978 | if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) { | |
6979 | printf("%s, bad version string\n", "$min_gtk_version"); | |
6980 | exit(1); | |
6981 | } | |
6982 | ||
f49f2b0c RR |
6983 | if ((GTK_MAJOR_VERSION != gtk_major_version) || |
6984 | (GTK_MINOR_VERSION != gtk_minor_version) || | |
6985 | (GTK_MICRO_VERSION != gtk_micro_version)) { | |
6986 | printf("Headers vs. library version mismatch!\n"); | |
6987 | exit(1); | |
6988 | } | |
6989 | ||
10f2d63a VZ |
6990 | if (gtk_minor_version == 1) return FALSE; |
6991 | ||
6992 | return !((gtk_major_version > major) || | |
6993 | ((gtk_major_version == major) && (gtk_minor_version > minor)) || | |
6994 | ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro))); | |
6995 | } | |
6996 | ||
6997 | EOF | |
cf27ef00 | 6998 | if { (eval echo configure:6999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
10f2d63a VZ |
6999 | then |
7000 | : | |
7001 | else | |
7002 | echo "configure: failed program was:" >&5 | |
7003 | cat conftest.$ac_ext >&5 | |
7004 | rm -fr conftest* | |
7005 | no_gtk=yes | |
7006 | fi | |
7007 | rm -fr conftest* | |
7008 | fi | |
7009 | ||
7010 | CFLAGS="$ac_save_CFLAGS" | |
7011 | LIBS="$ac_save_LIBS" | |
7012 | else | |
7013 | no_gtk=yes | |
7014 | fi | |
7015 | if test "x$no_gtk" = x ; then | |
7016 | echo "$ac_t""yes" 1>&6 | |
7017 | WXGTK12=1 | |
7018 | else | |
7019 | echo "$ac_t""no" 1>&6 | |
7020 | GTK_CFLAGS="" | |
7021 | GTK_LIBS="" | |
04165bec | 7022 | { echo "configure: error: Is gtk-config in path and GTK+ is version 1.2.3 or above?" 1>&2; exit 1; } |
10f2d63a VZ |
7023 | fi |
7024 | ||
7025 | ||
7026 | ||
7027 | ||
7028 | TOOLKIT_INCLUDE="$GTK_CFLAGS" | |
2224580a VZ |
7029 | |
7030 | ||
7031 | GUI_TK_LIBRARY="$GTK_LIBS" | |
7032 | ||
10f2d63a VZ |
7033 | TOOLKIT=GTK |
7034 | ||
dad6c0ea VZ |
7035 | AFMINSTALL=afminstall |
7036 | ||
10f2d63a VZ |
7037 | GUIOBJS="\$(GTK_GUIOBJS)" |
7038 | GUIHEADERS="\$(GTK_HEADERS)" | |
7039 | COMMONOBJS="\$(GTK_COMMONOBJS)" | |
7040 | GENERICOBJS="\$(GTK_GENERICOBJS)" | |
7041 | GUIDEPS="\$(GTK_GUIDEPS)" | |
7042 | COMMONDEPS="\$(GTK_COMMONDEPS)" | |
7043 | GENERICDEPS="\$(GTK_GENERICDEPS)" | |
7044 | UNIXOBJS="\$(UNIX_OBJS)" | |
d9d8273d | 7045 | UNIXDEPS="\$(UNIX_DEPS)" |
10f2d63a | 7046 | GUIDIST=GTK_DIST |
7ec2881a | 7047 | |
2224580a VZ |
7048 | echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6 |
7049 | echo "configure:7050: checking for gdk_im_open in -lgdk" >&5 | |
7ec2881a RR |
7050 | ac_lib_var=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'` |
7051 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
7052 | echo $ac_n "(cached) $ac_c" 1>&6 | |
7053 | else | |
7054 | ac_save_LIBS="$LIBS" | |
7055 | LIBS="-lgdk $LIBS" | |
7056 | cat > conftest.$ac_ext <<EOF | |
2224580a | 7057 | #line 7058 "configure" |
7ec2881a RR |
7058 | #include "confdefs.h" |
7059 | /* Override any gcc2 internal prototype to avoid an error. */ | |
7060 | /* We use char because int might match the return type of a gcc2 | |
7061 | builtin and then its argument prototype would still apply. */ | |
7062 | char gdk_im_open(); | |
7063 | ||
7064 | int main() { | |
7065 | gdk_im_open() | |
7066 | ; return 0; } | |
7067 | EOF | |
2224580a | 7068 | if { (eval echo configure:7069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7ec2881a RR |
7069 | rm -rf conftest* |
7070 | eval "ac_cv_lib_$ac_lib_var=yes" | |
7071 | else | |
7072 | echo "configure: failed program was:" >&5 | |
7073 | cat conftest.$ac_ext >&5 | |
7074 | rm -rf conftest* | |
7075 | eval "ac_cv_lib_$ac_lib_var=no" | |
7076 | fi | |
7077 | rm -f conftest* | |
7078 | LIBS="$ac_save_LIBS" | |
7079 | ||
7080 | fi | |
7081 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
7082 | echo "$ac_t""yes" 1>&6 | |
7083 | cat >> confdefs.h <<\EOF | |
7084 | #define HAVE_XIM 1 | |
7085 | EOF | |
7086 | ||
7087 | else | |
7088 | echo "$ac_t""no" 1>&6 | |
7089 | fi | |
7090 | ||
10f2d63a VZ |
7091 | fi |
7092 | ||
7093 | if test "$wxUSE_WINE" = 1; then | |
7094 | echo $ac_n "checking for WINE includes""... $ac_c" 1>&6 | |
2224580a | 7095 | echo "configure:7096: checking for WINE includes" >&5 |
10f2d63a VZ |
7096 | |
7097 | ac_find_includes= | |
7098 | for ac_dir in $SEARCH_INCLUDE; | |
7099 | do | |
7100 | if test -f "$ac_dir/windows.h"; then | |
7101 | ac_find_includes=$ac_dir | |
7102 | break | |
7103 | fi | |
7104 | done | |
7105 | ||
7106 | if test "$ac_find_includes" != "" ; then | |
7107 | echo "$ac_t""found $ac_find_includes" 1>&6 | |
7108 | TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -I$ac_find_includes" | |
7109 | else | |
7110 | echo "$ac_t""no" 1>&6 | |
7111 | { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; } | |
7112 | fi | |
7113 | ||
7114 | XPM_LINK="" | |
7115 | echo $ac_n "checking for Xpm library""... $ac_c" 1>&6 | |
2224580a | 7116 | echo "configure:7117: checking for Xpm library" >&5 |
10f2d63a VZ |
7117 | |
7118 | ac_find_libraries= | |
7119 | for ac_dir in $SEARCH_LIB; | |
7120 | do | |
7121 | for ac_extension in a so sl; do | |
7122 | if test -f "$ac_dir/libXpm.$ac_extension"; then | |
7123 | ac_find_libraries=$ac_dir | |
7124 | break 2 | |
7125 | fi | |
7126 | done | |
7127 | done | |
7128 | ||
7129 | if test "$ac_find_libraries" != "" ; then | |
7130 | GUI_TK_LIBRARY="-L$ac_find_libraries" | |
7131 | XPM_LINK="-lXpm" | |
7132 | cat >> confdefs.h <<\EOF | |
7133 | #define wxHAVE_LIB_XPM 1 | |
7134 | EOF | |
7135 | ||
7136 | echo "$ac_t""found at $ac_find_libraries" 1>&6 | |
7137 | else | |
7138 | echo "$ac_t""no" 1>&6 | |
7139 | echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2 | |
7140 | fi | |
7141 | ||
7142 | MESA_LINK="" | |
7143 | echo $ac_n "checking for Mesa library""... $ac_c" 1>&6 | |
2224580a | 7144 | echo "configure:7145: checking for Mesa library" >&5 |
10f2d63a VZ |
7145 | |
7146 | ac_find_libraries= | |
7147 | for ac_dir in $SEARCH_LIB; | |
7148 | do | |
7149 | for ac_extension in a so sl; do | |
7150 | if test -f "$ac_dir/libMesaGL.$ac_extension"; then | |
7151 | ac_find_libraries=$ac_dir | |
7152 | break 2 | |
7153 | fi | |
7154 | done | |
7155 | done | |
7156 | ||
7157 | if test "$ac_find_libraries" != "" ; then | |
7158 | GUI_TK_LIBRARY="$GUI_TK_LIBRARY -L$ac_find_libraries" | |
7159 | MESA_LINK="-lMesaGL" | |
7160 | echo "$ac_t""found at $ac_find_libraries" 1>&6 | |
7161 | else | |
7162 | { echo "configure: error: no" 1>&2; exit 1; } | |
7163 | fi | |
7164 | ||
7165 | GUI_TK_LINK="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses -lm" | |
7166 | GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GUI_TK_LINK" | |
7167 | WXWINE=1 | |
7168 | TOOLKIT=MSW | |
7169 | ||
7170 | GUIHEADERS="\$(MSW_HEADERS)" | |
7171 | GUIOBJS="\$(MSW_GUIOBJS)" | |
7172 | COMMONOBJS="\$(MSW_COMMONOBJS)" | |
7173 | GENERICOBJS="\$(MSW_GENERICOBJS)" | |
7174 | GUIDEPS="\$(MSW_GUIDEPS)" | |
7175 | COMMONDEPS="\$(MSW_COMMONDEPS)" | |
7176 | GENERICDEPS="\$(MSW_GENERICDEPS)" | |
7177 | UNIXOBJS="\$(UNIX_OBJS)" | |
d9d8273d | 7178 | UNIXDEPS="\$(UNIX_DEPS)" |
10f2d63a VZ |
7179 | GUIDIST=MSW_DIST |
7180 | fi | |
7181 | ||
7182 | if test "$wxUSE_MOTIF" = 1; then | |
ab9b9eab VZ |
7183 | # If we find X, set shell vars x_includes and x_libraries to the |
7184 | # paths, otherwise set no_x=yes. | |
7185 | # Uses ac_ vars as temps to allow command line to override cache and checks. | |
7186 | # --without-x overrides everything else, but does not touch the cache. | |
7187 | echo $ac_n "checking for X""... $ac_c" 1>&6 | |
2224580a | 7188 | echo "configure:7189: checking for X" >&5 |
ab9b9eab VZ |
7189 | |
7190 | # Check whether --with-x or --without-x was given. | |
7191 | if test "${with_x+set}" = set; then | |
7192 | withval="$with_x" | |
7193 | : | |
7194 | fi | |
ba337fe7 | 7195 | |
ab9b9eab VZ |
7196 | # $have_x is `yes', `no', `disabled', or empty when we do not yet know. |
7197 | if test "x$with_x" = xno; then | |
7198 | # The user explicitly disabled X. | |
7199 | have_x=disabled | |
7200 | else | |
7201 | if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then | |
7202 | # Both variables are already set. | |
7203 | have_x=yes | |
7204 | else | |
7205 | if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then | |
7206 | echo $ac_n "(cached) $ac_c" 1>&6 | |
7207 | else | |
7208 | # One or both of the vars are not set, and there is no cached value. | |
7209 | ac_x_includes=NO ac_x_libraries=NO | |
7210 | rm -fr conftestdir | |
7211 | if mkdir conftestdir; then | |
7212 | cd conftestdir | |
7213 | # Make sure to not put "make" in the Imakefile rules, since we grep it out. | |
7214 | cat > Imakefile <<'EOF' | |
7215 | acfindx: | |
7216 | @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"' | |
7217 | EOF | |
7218 | if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then | |
7219 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | |
7220 | eval `${MAKE-make} acfindx 2>/dev/null | grep -v make` | |
7221 | # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. | |
10f2d63a | 7222 | for ac_extension in a so sl; do |
ab9b9eab VZ |
7223 | if test ! -f $ac_im_usrlibdir/libX11.$ac_extension && |
7224 | test -f $ac_im_libdir/libX11.$ac_extension; then | |
7225 | ac_im_usrlibdir=$ac_im_libdir; break | |
10f2d63a VZ |
7226 | fi |
7227 | done | |
ab9b9eab VZ |
7228 | # Screen out bogus values from the imake configuration. They are |
7229 | # bogus both because they are the default anyway, and because | |
7230 | # using them would break gcc on systems where it needs fixed includes. | |
7231 | case "$ac_im_incroot" in | |
7232 | /usr/include) ;; | |
7233 | *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes="$ac_im_incroot" ;; | |
7234 | esac | |
7235 | case "$ac_im_usrlibdir" in | |
7236 | /usr/lib | /lib) ;; | |
7237 | *) test -d "$ac_im_usrlibdir" && ac_x_libraries="$ac_im_usrlibdir" ;; | |
7238 | esac | |
ba337fe7 | 7239 | fi |
ab9b9eab VZ |
7240 | cd .. |
7241 | rm -fr conftestdir | |
7242 | fi | |
10f2d63a | 7243 | |
ab9b9eab VZ |
7244 | if test "$ac_x_includes" = NO; then |
7245 | # Guess where to find include files, by looking for this one X11 .h file. | |
7246 | test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | |
ba337fe7 | 7247 | |
ab9b9eab VZ |
7248 | # First, try using that file with no special directory specified. |
7249 | cat > conftest.$ac_ext <<EOF | |
2224580a | 7250 | #line 7251 "configure" |
ab9b9eab VZ |
7251 | #include "confdefs.h" |
7252 | #include <$x_direct_test_include> | |
7253 | EOF | |
7254 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
2224580a | 7255 | { (eval echo configure:7256: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
ab9b9eab VZ |
7256 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7257 | if test -z "$ac_err"; then | |
7258 | rm -rf conftest* | |
7259 | # We can compile using X headers with no special include directory. | |
7260 | ac_x_includes= | |
7261 | else | |
7262 | echo "$ac_err" >&5 | |
7263 | echo "configure: failed program was:" >&5 | |
7264 | cat conftest.$ac_ext >&5 | |
7265 | rm -rf conftest* | |
7266 | # Look for the header file in a standard set of common directories. | |
7267 | # Check X11 before X11Rn because it is often a symlink to the current release. | |
7268 | for ac_dir in \ | |
7269 | /usr/X11/include \ | |
7270 | /usr/X11R6/include \ | |
7271 | /usr/X11R5/include \ | |
7272 | /usr/X11R4/include \ | |
7273 | \ | |
7274 | /usr/include/X11 \ | |
7275 | /usr/include/X11R6 \ | |
7276 | /usr/include/X11R5 \ | |
7277 | /usr/include/X11R4 \ | |
7278 | \ | |
7279 | /usr/local/X11/include \ | |
7280 | /usr/local/X11R6/include \ | |
7281 | /usr/local/X11R5/include \ | |
7282 | /usr/local/X11R4/include \ | |
7283 | \ | |
7284 | /usr/local/include/X11 \ | |
7285 | /usr/local/include/X11R6 \ | |
7286 | /usr/local/include/X11R5 \ | |
7287 | /usr/local/include/X11R4 \ | |
7288 | \ | |
7289 | /usr/X386/include \ | |
7290 | /usr/x386/include \ | |
7291 | /usr/XFree86/include/X11 \ | |
7292 | \ | |
7293 | /usr/include \ | |
7294 | /usr/local/include \ | |
7295 | /usr/unsupported/include \ | |
7296 | /usr/athena/include \ | |
7297 | /usr/local/x11r5/include \ | |
7298 | /usr/lpp/Xamples/include \ | |
7299 | \ | |
7300 | /usr/openwin/include \ | |
7301 | /usr/openwin/share/include \ | |
7302 | ; \ | |
10f2d63a | 7303 | do |
ab9b9eab VZ |
7304 | if test -r "$ac_dir/$x_direct_test_include"; then |
7305 | ac_x_includes=$ac_dir | |
10f2d63a VZ |
7306 | break |
7307 | fi | |
7308 | done | |
ab9b9eab VZ |
7309 | fi |
7310 | rm -f conftest* | |
7311 | fi # $ac_x_includes = NO | |
10f2d63a | 7312 | |
ab9b9eab VZ |
7313 | if test "$ac_x_libraries" = NO; then |
7314 | # Check for the libraries. | |
10f2d63a | 7315 | |
ab9b9eab VZ |
7316 | test -z "$x_direct_test_library" && x_direct_test_library=Xt |
7317 | test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc | |
10f2d63a | 7318 | |
ab9b9eab VZ |
7319 | # See if we find them without any special options. |
7320 | # Don't add to $LIBS permanently. | |
7321 | ac_save_LIBS="$LIBS" | |
7322 | LIBS="-l$x_direct_test_library $LIBS" | |
7323 | cat > conftest.$ac_ext <<EOF | |
2224580a | 7324 | #line 7325 "configure" |
ab9b9eab | 7325 | #include "confdefs.h" |
10f2d63a | 7326 | |
ab9b9eab VZ |
7327 | int main() { |
7328 | ${x_direct_test_function}() | |
7329 | ; return 0; } | |
7330 | EOF | |
2224580a | 7331 | if { (eval echo configure:7332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
ab9b9eab VZ |
7332 | rm -rf conftest* |
7333 | LIBS="$ac_save_LIBS" | |
7334 | # We can link X programs with no special library path. | |
7335 | ac_x_libraries= | |
7336 | else | |
7337 | echo "configure: failed program was:" >&5 | |
7338 | cat conftest.$ac_ext >&5 | |
7339 | rm -rf conftest* | |
7340 | LIBS="$ac_save_LIBS" | |
7341 | # First see if replacing the include by lib works. | |
7342 | # Check X11 before X11Rn because it is often a symlink to the current release. | |
7343 | for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \ | |
7344 | /usr/X11/lib \ | |
7345 | /usr/X11R6/lib \ | |
7346 | /usr/X11R5/lib \ | |
7347 | /usr/X11R4/lib \ | |
7348 | \ | |
7349 | /usr/lib/X11 \ | |
7350 | /usr/lib/X11R6 \ | |
7351 | /usr/lib/X11R5 \ | |
7352 | /usr/lib/X11R4 \ | |
7353 | \ | |
7354 | /usr/local/X11/lib \ | |
7355 | /usr/local/X11R6/lib \ | |
7356 | /usr/local/X11R5/lib \ | |
7357 | /usr/local/X11R4/lib \ | |
7358 | \ | |
7359 | /usr/local/lib/X11 \ | |
7360 | /usr/local/lib/X11R6 \ | |
7361 | /usr/local/lib/X11R5 \ | |
7362 | /usr/local/lib/X11R4 \ | |
7363 | \ | |
7364 | /usr/X386/lib \ | |
7365 | /usr/x386/lib \ | |
7366 | /usr/XFree86/lib/X11 \ | |
7367 | \ | |
7368 | /usr/lib \ | |
7369 | /usr/local/lib \ | |
7370 | /usr/unsupported/lib \ | |
7371 | /usr/athena/lib \ | |
7372 | /usr/local/x11r5/lib \ | |
7373 | /usr/lpp/Xamples/lib \ | |
7374 | /lib/usr/lib/X11 \ | |
7375 | \ | |
7376 | /usr/openwin/lib \ | |
7377 | /usr/openwin/share/lib \ | |
7378 | ; \ | |
7379 | do | |
7380 | for ac_extension in a so sl; do | |
7381 | if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then | |
7382 | ac_x_libraries=$ac_dir | |
7383 | break 2 | |
10f2d63a | 7384 | fi |
10f2d63a | 7385 | done |
ab9b9eab VZ |
7386 | done |
7387 | fi | |
7388 | rm -f conftest* | |
7389 | fi # $ac_x_libraries = NO | |
10f2d63a | 7390 | |
ab9b9eab VZ |
7391 | if test "$ac_x_includes" = NO || test "$ac_x_libraries" = NO; then |
7392 | # Didn't find X anywhere. Cache the known absence of X. | |
7393 | ac_cv_have_x="have_x=no" | |
7394 | else | |
7395 | # Record where we found X for the cache. | |
7396 | ac_cv_have_x="have_x=yes \ | |
7397 | ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries" | |
7398 | fi | |
7399 | fi | |
10f2d63a | 7400 | fi |
ab9b9eab VZ |
7401 | eval "$ac_cv_have_x" |
7402 | fi # $with_x != no | |
10f2d63a | 7403 | |
ab9b9eab VZ |
7404 | if test "$have_x" != yes; then |
7405 | echo "$ac_t""$have_x" 1>&6 | |
7406 | no_x=yes | |
7407 | else | |
7408 | # If each of the values was on the command line, it overrides each guess. | |
7409 | test "x$x_includes" = xNONE && x_includes=$ac_x_includes | |
7410 | test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries | |
7411 | # Update the cache value to reflect the command line values. | |
7412 | ac_cv_have_x="have_x=yes \ | |
7413 | ac_x_includes=$x_includes ac_x_libraries=$x_libraries" | |
7414 | echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6 | |
7415 | fi | |
10f2d63a | 7416 | |
ab9b9eab VZ |
7417 | if test "$no_x" = yes; then |
7418 | # Not all programs may use this symbol, but it does not hurt to define it. | |
7419 | cat >> confdefs.h <<\EOF | |
7420 | #define X_DISPLAY_MISSING 1 | |
7421 | EOF | |
10f2d63a | 7422 | |
ab9b9eab VZ |
7423 | X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS= |
7424 | else | |
7425 | if test -n "$x_includes"; then | |
7426 | X_CFLAGS="$X_CFLAGS -I$x_includes" | |
10f2d63a VZ |
7427 | fi |
7428 | ||
ab9b9eab VZ |
7429 | # It would also be nice to do this for all -L options, not just this one. |
7430 | if test -n "$x_libraries"; then | |
7431 | X_LIBS="$X_LIBS -L$x_libraries" | |
7432 | # For Solaris; some versions of Sun CC require a space after -R and | |
7433 | # others require no space. Words are not sufficient . . . . | |
7434 | case "`(uname -sr) 2>/dev/null`" in | |
7435 | "SunOS 5"*) | |
7436 | echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | |
2224580a | 7437 | echo "configure:7438: checking whether -R must be followed by a space" >&5 |
ab9b9eab VZ |
7438 | ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
7439 | cat > conftest.$ac_ext <<EOF | |
2224580a | 7440 | #line 7441 "configure" |
ab9b9eab | 7441 | #include "confdefs.h" |
10f2d63a | 7442 | |
ab9b9eab | 7443 | int main() { |
788deba1 | 7444 | |
ab9b9eab VZ |
7445 | ; return 0; } |
7446 | EOF | |
2224580a | 7447 | if { (eval echo configure:7448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
ab9b9eab VZ |
7448 | rm -rf conftest* |
7449 | ac_R_nospace=yes | |
7450 | else | |
7451 | echo "configure: failed program was:" >&5 | |
7452 | cat conftest.$ac_ext >&5 | |
7453 | rm -rf conftest* | |
7454 | ac_R_nospace=no | |
7455 | fi | |
7456 | rm -f conftest* | |
7457 | if test $ac_R_nospace = yes; then | |
7458 | echo "$ac_t""no" 1>&6 | |
7459 | X_LIBS="$X_LIBS -R$x_libraries" | |
7460 | else | |
7461 | LIBS="$ac_xsave_LIBS -R $x_libraries" | |
7462 | cat > conftest.$ac_ext <<EOF | |
2224580a | 7463 | #line 7464 "configure" |
ab9b9eab | 7464 | #include "confdefs.h" |
788deba1 | 7465 | |
ab9b9eab VZ |
7466 | int main() { |
7467 | ||
7468 | ; return 0; } | |
7469 | EOF | |
2224580a | 7470 | if { (eval echo configure:7471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
ab9b9eab VZ |
7471 | rm -rf conftest* |
7472 | ac_R_space=yes | |
7473 | else | |
7474 | echo "configure: failed program was:" >&5 | |
7475 | cat conftest.$ac_ext >&5 | |
7476 | rm -rf conftest* | |
7477 | ac_R_space=no | |
7478 | fi | |
7479 | rm -f conftest* | |
7480 | if test $ac_R_space = yes; then | |
7481 | echo "$ac_t""yes" 1>&6 | |
7482 | X_LIBS="$X_LIBS -R $x_libraries" | |
7483 | else | |
7484 | echo "$ac_t""neither works" 1>&6 | |
7485 | fi | |
7486 | fi | |
7487 | LIBS="$ac_xsave_LIBS" | |
7488 | esac | |
7489 | fi | |
7490 | ||
7491 | # Check for system-dependent libraries X programs must link with. | |
7492 | # Do this before checking for the system-independent R6 libraries | |
7493 | # (-lICE), since we may need -lsocket or whatever for X linking. | |
7494 | ||
7495 | if test "$ISC" = yes; then | |
7496 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet" | |
7497 | else | |
7498 | # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X | |
7499 | # libraries were built with DECnet support. And karl@cs.umb.edu says | |
7500 | # the Alpha needs dnet_stub (dnet does not exist). | |
7501 | echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | |
2224580a | 7502 | echo "configure:7503: checking for dnet_ntoa in -ldnet" >&5 |
ab9b9eab VZ |
7503 | ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
7504 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
7505 | echo $ac_n "(cached) $ac_c" 1>&6 | |
7506 | else | |
7507 | ac_save_LIBS="$LIBS" | |
7508 | LIBS="-ldnet $LIBS" | |
7509 | cat > conftest.$ac_ext <<EOF | |
2224580a | 7510 | #line 7511 "configure" |
ab9b9eab VZ |
7511 | #include "confdefs.h" |
7512 | /* Override any gcc2 internal prototype to avoid an error. */ | |
7513 | /* We use char because int might match the return type of a gcc2 | |
7514 | builtin and then its argument prototype would still apply. */ | |
7515 | char dnet_ntoa(); | |
7516 | ||
7517 | int main() { | |
7518 | dnet_ntoa() | |
7519 | ; return 0; } | |
7520 | EOF | |
2224580a | 7521 | if { (eval echo configure:7522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
ab9b9eab VZ |
7522 | rm -rf conftest* |
7523 | eval "ac_cv_lib_$ac_lib_var=yes" | |
7524 | else | |
7525 | echo "configure: failed program was:" >&5 | |
7526 | cat conftest.$ac_ext >&5 | |
7527 | rm -rf conftest* | |
7528 | eval "ac_cv_lib_$ac_lib_var=no" | |
7529 | fi | |
7530 | rm -f conftest* | |
7531 | LIBS="$ac_save_LIBS" | |
7532 | ||
7533 | fi | |
7534 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
7535 | echo "$ac_t""yes" 1>&6 | |
7536 | X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" | |
7537 | else | |
7538 | echo "$ac_t""no" 1>&6 | |
7539 | fi | |
7540 | ||
7541 | if test $ac_cv_lib_dnet_dnet_ntoa = no; then | |
7542 | echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | |
2224580a | 7543 | echo "configure:7544: checking for dnet_ntoa in -ldnet_stub" >&5 |
ab9b9eab VZ |
7544 | ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
7545 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
7546 | echo $ac_n "(cached) $ac_c" 1>&6 | |
7547 | else | |
7548 | ac_save_LIBS="$LIBS" | |
7549 | LIBS="-ldnet_stub $LIBS" | |
7550 | cat > conftest.$ac_ext <<EOF | |
2224580a | 7551 | #line 7552 "configure" |
ab9b9eab VZ |
7552 | #include "confdefs.h" |
7553 | /* Override any gcc2 internal prototype to avoid an error. */ | |
7554 | /* We use char because int might match the return type of a gcc2 | |
7555 | builtin and then its argument prototype would still apply. */ | |
7556 | char dnet_ntoa(); | |
7557 | ||
7558 | int main() { | |
7559 | dnet_ntoa() | |
7560 | ; return 0; } | |
7561 | EOF | |
2224580a | 7562 | if { (eval echo configure:7563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
ab9b9eab VZ |
7563 | rm -rf conftest* |
7564 | eval "ac_cv_lib_$ac_lib_var=yes" | |
7565 | else | |
7566 | echo "configure: failed program was:" >&5 | |
7567 | cat conftest.$ac_ext >&5 | |
7568 | rm -rf conftest* | |
7569 | eval "ac_cv_lib_$ac_lib_var=no" | |
7570 | fi | |
7571 | rm -f conftest* | |
7572 | LIBS="$ac_save_LIBS" | |
7573 | ||
7574 | fi | |
7575 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
7576 | echo "$ac_t""yes" 1>&6 | |
7577 | X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" | |
7578 | else | |
7579 | echo "$ac_t""no" 1>&6 | |
7580 | fi | |
7581 | ||
7582 | fi | |
7583 | ||
7584 | # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT, | |
7585 | # to get the SysV transport functions. | |
7586 | # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | |
7587 | # needs -lnsl. | |
7588 | # The nsl library prevents programs from opening the X display | |
7589 | # on Irix 5.2, according to dickey@clark.net. | |
7590 | echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | |
2224580a | 7591 | echo "configure:7592: checking for gethostbyname" >&5 |
ab9b9eab VZ |
7592 | if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
7593 | echo $ac_n "(cached) $ac_c" 1>&6 | |
7594 | else | |
7595 | cat > conftest.$ac_ext <<EOF | |
2224580a | 7596 | #line 7597 "configure" |
ab9b9eab VZ |
7597 | #include "confdefs.h" |
7598 | /* System header to define __stub macros and hopefully few prototypes, | |
7599 | which can conflict with char gethostbyname(); below. */ | |
7600 | #include <assert.h> | |
7601 | /* Override any gcc2 internal prototype to avoid an error. */ | |
7602 | /* We use char because int might match the return type of a gcc2 | |
7603 | builtin and then its argument prototype would still apply. */ | |
7604 | char gethostbyname(); | |
7605 | ||
7606 | int main() { | |
7607 | ||
7608 | /* The GNU C library defines this for functions which it implements | |
7609 | to always fail with ENOSYS. Some functions are actually named | |
7610 | something starting with __ and the normal name is an alias. */ | |
7611 | #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) | |
7612 | choke me | |
7613 | #else | |
2224580a | 7614 | gethostbyname(); |
ab9b9eab VZ |
7615 | #endif |
7616 | ||
7617 | ; return 0; } | |
7618 | EOF | |
2224580a | 7619 | if { (eval echo configure:7620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
ab9b9eab VZ |
7620 | rm -rf conftest* |
7621 | eval "ac_cv_func_gethostbyname=yes" | |
7622 | else | |
7623 | echo "configure: failed program was:" >&5 | |
7624 | cat conftest.$ac_ext >&5 | |
7625 | rm -rf conftest* | |
7626 | eval "ac_cv_func_gethostbyname=no" | |
7627 | fi | |
7628 | rm -f conftest* | |
7629 | fi | |
7630 | ||
7631 | if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then | |
7632 | echo "$ac_t""yes" 1>&6 | |
7633 | : | |
7634 | else | |
7635 | echo "$ac_t""no" 1>&6 | |
7636 | fi | |
7637 | ||
7638 | if test $ac_cv_func_gethostbyname = no; then | |
7639 | echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | |
2224580a | 7640 | echo "configure:7641: checking for gethostbyname in -lnsl" >&5 |
ab9b9eab VZ |
7641 | ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
7642 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
7643 | echo $ac_n "(cached) $ac_c" 1>&6 | |
7644 | else | |
7645 | ac_save_LIBS="$LIBS" | |
7646 | LIBS="-lnsl $LIBS" | |
7647 | cat > conftest.$ac_ext <<EOF | |
2224580a | 7648 | #line 7649 "configure" |
ab9b9eab VZ |
7649 | #include "confdefs.h" |
7650 | /* Override any gcc2 internal prototype to avoid an error. */ | |
7651 | /* We use char because int might match the return type of a gcc2 | |
7652 | builtin and then its argument prototype would still apply. */ | |
7653 | char gethostbyname(); | |
7654 | ||
7655 | int main() { | |
7656 | gethostbyname() | |
7657 | ; return 0; } | |
7658 | EOF | |
2224580a | 7659 | if { (eval echo configure:7660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
ab9b9eab VZ |
7660 | rm -rf conftest* |
7661 | eval "ac_cv_lib_$ac_lib_var=yes" | |
7662 | else | |
7663 | echo "configure: failed program was:" >&5 | |
7664 | cat conftest.$ac_ext >&5 | |
7665 | rm -rf conftest* | |
7666 | eval "ac_cv_lib_$ac_lib_var=no" | |
7667 | fi | |
7668 | rm -f conftest* | |
7669 | LIBS="$ac_save_LIBS" | |
7670 | ||
7671 | fi | |
7672 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
7673 | echo "$ac_t""yes" 1>&6 | |
7674 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" | |
7675 | else | |
7676 | echo "$ac_t""no" 1>&6 | |
7677 | fi | |
7678 | ||
7679 | fi | |
7680 | ||
7681 | # lieder@skyler.mavd.honeywell.com says without -lsocket, | |
7682 | # socket/setsockopt and other routines are undefined under SCO ODT | |
7683 | # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary | |
7684 | # on later versions), says simon@lia.di.epfl.ch: it contains | |
7685 | # gethostby* variants that don't use the nameserver (or something). | |
7686 | # -lsocket must be given before -lnsl if both are needed. | |
7687 | # We assume that if connect needs -lnsl, so does gethostbyname. | |
7688 | echo $ac_n "checking for connect""... $ac_c" 1>&6 | |
2224580a | 7689 | echo "configure:7690: checking for connect" >&5 |
ab9b9eab VZ |
7690 | if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
7691 | echo $ac_n "(cached) $ac_c" 1>&6 | |
7692 | else | |
7693 | cat > conftest.$ac_ext <<EOF | |
2224580a | 7694 | #line 7695 "configure" |
ab9b9eab VZ |
7695 | #include "confdefs.h" |
7696 | /* System header to define __stub macros and hopefully few prototypes, | |
7697 | which can conflict with char connect(); below. */ | |
7698 | #include <assert.h> | |
7699 | /* Override any gcc2 internal prototype to avoid an error. */ | |
7700 | /* We use char because int might match the return type of a gcc2 | |
7701 | builtin and then its argument prototype would still apply. */ | |
7702 | char connect(); | |
7703 | ||
7704 | int main() { | |
7705 | ||
7706 | /* The GNU C library defines this for functions which it implements | |
7707 | to always fail with ENOSYS. Some functions are actually named | |
7708 | something starting with __ and the normal name is an alias. */ | |
7709 | #if defined (__stub_connect) || defined (__stub___connect) | |
7710 | choke me | |
7711 | #else | |
2224580a | 7712 | connect(); |
ab9b9eab VZ |
7713 | #endif |
7714 | ||
7715 | ; return 0; } | |
7716 | EOF | |
16b52fa1 | 7717 | if { (eval echo configure:7718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
ab9b9eab VZ |
7718 | rm -rf conftest* |
7719 | eval "ac_cv_func_connect=yes" | |
7720 | else | |
7721 | echo "configure: failed program was:" >&5 | |
7722 | cat conftest.$ac_ext >&5 | |
7723 | rm -rf conftest* | |
7724 | eval "ac_cv_func_connect=no" | |
7725 | fi | |
7726 | rm -f conftest* | |
7727 | fi | |
7728 | ||
7729 | if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then | |
7730 | echo "$ac_t""yes" 1>&6 | |
7731 | : | |
7732 | else | |
7733 | echo "$ac_t""no" 1>&6 | |
7734 | fi | |
7735 | ||
7736 | if test $ac_cv_func_connect = no; then | |
7737 | echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 | |
16b52fa1 | 7738 | echo "configure:7739: checking for connect in -lsocket" >&5 |
ab9b9eab VZ |
7739 | ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
7740 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
7741 | echo $ac_n "(cached) $ac_c" 1>&6 | |
7742 | else | |
7743 | ac_save_LIBS="$LIBS" | |
7744 | LIBS="-lsocket $X_EXTRA_LIBS $LIBS" | |
7745 | cat > conftest.$ac_ext <<EOF | |
16b52fa1 | 7746 | #line 7747 "configure" |
ab9b9eab VZ |
7747 | #include "confdefs.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 connect(); | |
7752 | ||
7753 | int main() { | |
7754 | connect() | |
7755 | ; return 0; } | |
7756 | EOF | |
16b52fa1 | 7757 | if { (eval echo configure:7758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
ab9b9eab VZ |
7758 | rm -rf conftest* |
7759 | eval "ac_cv_lib_$ac_lib_var=yes" | |
7760 | else | |
7761 | echo "configure: failed program was:" >&5 | |
7762 | cat conftest.$ac_ext >&5 | |
7763 | rm -rf conftest* | |
7764 | eval "ac_cv_lib_$ac_lib_var=no" | |
7765 | fi | |
7766 | rm -f conftest* | |
7767 | LIBS="$ac_save_LIBS" | |
7768 | ||
7769 | fi | |
7770 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
7771 | echo "$ac_t""yes" 1>&6 | |
7772 | X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" | |
7773 | else | |
7774 | echo "$ac_t""no" 1>&6 | |
7775 | fi | |
7776 | ||
7777 | fi | |
7778 | ||
7779 | # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | |
7780 | echo $ac_n "checking for remove""... $ac_c" 1>&6 | |
16b52fa1 | 7781 | echo "configure:7782: checking for remove" >&5 |
ab9b9eab VZ |
7782 | if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then |
7783 | echo $ac_n "(cached) $ac_c" 1>&6 | |
7784 | else | |
7785 | cat > conftest.$ac_ext <<EOF | |
16b52fa1 | 7786 | #line 7787 "configure" |
ab9b9eab VZ |
7787 | #include "confdefs.h" |
7788 | /* System header to define __stub macros and hopefully few prototypes, | |
7789 | which can conflict with char remove(); below. */ | |
7790 | #include <assert.h> | |
7791 | /* Override any gcc2 internal prototype to avoid an error. */ | |
7792 | /* We use char because int might match the return type of a gcc2 | |
7793 | builtin and then its argument prototype would still apply. */ | |
7794 | char remove(); | |
7795 | ||
7796 | int main() { | |
7797 | ||
7798 | /* The GNU C library defines this for functions which it implements | |
7799 | to always fail with ENOSYS. Some functions are actually named | |
7800 | something starting with __ and the normal name is an alias. */ | |
7801 | #if defined (__stub_remove) || defined (__stub___remove) | |
7802 | choke me | |
7803 | #else | |
2224580a | 7804 | remove(); |
ab9b9eab VZ |
7805 | #endif |
7806 | ||
7807 | ; return 0; } | |
7808 | EOF | |
2224580a | 7809 | if { (eval echo configure:7810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
ab9b9eab VZ |
7810 | rm -rf conftest* |
7811 | eval "ac_cv_func_remove=yes" | |
7812 | else | |
7813 | echo "configure: failed program was:" >&5 | |
7814 | cat conftest.$ac_ext >&5 | |
7815 | rm -rf conftest* | |
7816 | eval "ac_cv_func_remove=no" | |
7817 | fi | |
7818 | rm -f conftest* | |
7819 | fi | |
7820 | ||
7821 | if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then | |
7822 | echo "$ac_t""yes" 1>&6 | |
7823 | : | |
7824 | else | |
7825 | echo "$ac_t""no" 1>&6 | |
7826 | fi | |
7827 | ||
7828 | if test $ac_cv_func_remove = no; then | |
7829 | echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | |
2224580a | 7830 | echo "configure:7831: checking for remove in -lposix" >&5 |
ab9b9eab VZ |
7831 | ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
7832 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
7833 | echo $ac_n "(cached) $ac_c" 1>&6 | |
7834 | else | |
7835 | ac_save_LIBS="$LIBS" | |
7836 | LIBS="-lposix $LIBS" | |
7837 | cat > conftest.$ac_ext <<EOF | |
2224580a | 7838 | #line 7839 "configure" |
ab9b9eab VZ |
7839 | #include "confdefs.h" |
7840 | /* Override any gcc2 internal prototype to avoid an error. */ | |
7841 | /* We use char because int might match the return type of a gcc2 | |
7842 | builtin and then its argument prototype would still apply. */ | |
7843 | char remove(); | |
7844 | ||
7845 | int main() { | |
7846 | remove() | |
7847 | ; return 0; } | |
7848 | EOF | |
2224580a | 7849 | if { (eval echo configure:7850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
ab9b9eab VZ |
7850 | rm -rf conftest* |
7851 | eval "ac_cv_lib_$ac_lib_var=yes" | |
7852 | else | |
7853 | echo "configure: failed program was:" >&5 | |
7854 | cat conftest.$ac_ext >&5 | |
7855 | rm -rf conftest* | |
7856 | eval "ac_cv_lib_$ac_lib_var=no" | |
7857 | fi | |
7858 | rm -f conftest* | |
7859 | LIBS="$ac_save_LIBS" | |
7860 | ||
7861 | fi | |
7862 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
7863 | echo "$ac_t""yes" 1>&6 | |
7864 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" | |
7865 | else | |
7866 | echo "$ac_t""no" 1>&6 | |
7867 | fi | |
7868 | ||
7869 | fi | |
7870 | ||
7871 | # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | |
7872 | echo $ac_n "checking for shmat""... $ac_c" 1>&6 | |
2224580a | 7873 | echo "configure:7874: checking for shmat" >&5 |
ab9b9eab VZ |
7874 | if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then |
7875 | echo $ac_n "(cached) $ac_c" 1>&6 | |
7876 | else | |
7877 | cat > conftest.$ac_ext <<EOF | |
2224580a | 7878 | #line 7879 "configure" |
ab9b9eab VZ |
7879 | #include "confdefs.h" |
7880 | /* System header to define __stub macros and hopefully few prototypes, | |
7881 | which can conflict with char shmat(); below. */ | |
7882 | #include <assert.h> | |
7883 | /* Override any gcc2 internal prototype to avoid an error. */ | |
7884 | /* We use char because int might match the return type of a gcc2 | |
7885 | builtin and then its argument prototype would still apply. */ | |
7886 | char shmat(); | |
7887 | ||
7888 | int main() { | |
7889 | ||
7890 | /* The GNU C library defines this for functions which it implements | |
7891 | to always fail with ENOSYS. Some functions are actually named | |
7892 | something starting with __ and the normal name is an alias. */ | |
7893 | #if defined (__stub_shmat) || defined (__stub___shmat) | |
7894 | choke me | |
7895 | #else | |
2224580a | 7896 | shmat(); |
ab9b9eab VZ |
7897 | #endif |
7898 | ||
7899 | ; return 0; } | |
7900 | EOF | |
2224580a | 7901 | if { (eval echo configure:7902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
ab9b9eab VZ |
7902 | rm -rf conftest* |
7903 | eval "ac_cv_func_shmat=yes" | |
7904 | else | |
7905 | echo "configure: failed program was:" >&5 | |
7906 | cat conftest.$ac_ext >&5 | |
7907 | rm -rf conftest* | |
7908 | eval "ac_cv_func_shmat=no" | |
7909 | fi | |
7910 | rm -f conftest* | |
7911 | fi | |
7912 | ||
7913 | if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then | |
7914 | echo "$ac_t""yes" 1>&6 | |
7915 | : | |
7916 | else | |
7917 | echo "$ac_t""no" 1>&6 | |
7918 | fi | |
7919 | ||
7920 | if test $ac_cv_func_shmat = no; then | |
7921 | echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | |
2224580a | 7922 | echo "configure:7923: checking for shmat in -lipc" >&5 |
ab9b9eab VZ |
7923 | ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
7924 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
7925 | echo $ac_n "(cached) $ac_c" 1>&6 | |
7926 | else | |
7927 | ac_save_LIBS="$LIBS" | |
7928 | LIBS="-lipc $LIBS" | |
7929 | cat > conftest.$ac_ext <<EOF | |
2224580a | 7930 | #line 7931 "configure" |
ab9b9eab VZ |
7931 | #include "confdefs.h" |
7932 | /* Override any gcc2 internal prototype to avoid an error. */ | |
7933 | /* We use char because int might match the return type of a gcc2 | |
7934 | builtin and then its argument prototype would still apply. */ | |
7935 | char shmat(); | |
7936 | ||
7937 | int main() { | |
7938 | shmat() | |
7939 | ; return 0; } | |
7940 | EOF | |
2224580a | 7941 | if { (eval echo configure:7942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
ab9b9eab VZ |
7942 | rm -rf conftest* |
7943 | eval "ac_cv_lib_$ac_lib_var=yes" | |
7944 | else | |
7945 | echo "configure: failed program was:" >&5 | |
7946 | cat conftest.$ac_ext >&5 | |
7947 | rm -rf conftest* | |
7948 | eval "ac_cv_lib_$ac_lib_var=no" | |
7949 | fi | |
7950 | rm -f conftest* | |
7951 | LIBS="$ac_save_LIBS" | |
7952 | ||
7953 | fi | |
7954 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
7955 | echo "$ac_t""yes" 1>&6 | |
7956 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" | |
7957 | else | |
7958 | echo "$ac_t""no" 1>&6 | |
7959 | fi | |
7960 | ||
7961 | fi | |
7962 | fi | |
7963 | ||
7964 | # Check for libraries that X11R6 Xt/Xaw programs need. | |
7965 | ac_save_LDFLAGS="$LDFLAGS" | |
7966 | test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries" | |
7967 | # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to | |
7968 | # check for ICE first), but we must link in the order -lSM -lICE or | |
7969 | # we get undefined symbols. So assume we have SM if we have ICE. | |
7970 | # These have to be linked with before -lX11, unlike the other | |
7971 | # libraries we check for below, so use a different variable. | |
7972 | # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | |
7973 | echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 | |
2224580a | 7974 | echo "configure:7975: checking for IceConnectionNumber in -lICE" >&5 |
ab9b9eab VZ |
7975 | ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
7976 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
7977 | echo $ac_n "(cached) $ac_c" 1>&6 | |
7978 | else | |
7979 | ac_save_LIBS="$LIBS" | |
7980 | LIBS="-lICE $X_EXTRA_LIBS $LIBS" | |
7981 | cat > conftest.$ac_ext <<EOF | |
2224580a | 7982 | #line 7983 "configure" |
ab9b9eab VZ |
7983 | #include "confdefs.h" |
7984 | /* Override any gcc2 internal prototype to avoid an error. */ | |
7985 | /* We use char because int might match the return type of a gcc2 | |
7986 | builtin and then its argument prototype would still apply. */ | |
7987 | char IceConnectionNumber(); | |
7988 | ||
7989 | int main() { | |
7990 | IceConnectionNumber() | |
7991 | ; return 0; } | |
7992 | EOF | |
2224580a | 7993 | if { (eval echo configure:7994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
ab9b9eab VZ |
7994 | rm -rf conftest* |
7995 | eval "ac_cv_lib_$ac_lib_var=yes" | |
7996 | else | |
7997 | echo "configure: failed program was:" >&5 | |
7998 | cat conftest.$ac_ext >&5 | |
7999 | rm -rf conftest* | |
8000 | eval "ac_cv_lib_$ac_lib_var=no" | |
8001 | fi | |
8002 | rm -f conftest* | |
8003 | LIBS="$ac_save_LIBS" | |
8004 | ||
8005 | fi | |
8006 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
8007 | echo "$ac_t""yes" 1>&6 | |
8008 | X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" | |
8009 | else | |
8010 | echo "$ac_t""no" 1>&6 | |
8011 | fi | |
8012 | ||
8013 | LDFLAGS="$ac_save_LDFLAGS" | |
8014 | ||
8015 | fi | |
8016 | ||
8017 | ||
8018 | if test "$no_x" = "yes"; then | |
8019 | { echo "configure: error: X11 not found" 1>&2; exit 1; } | |
8020 | fi | |
8021 | ||
8022 | GUI_TK_LIBRARY="$X_LIBS" | |
8023 | TOOLKIT_INCLUDE="$X_CFLAGS" | |
8024 | ||
dad6c0ea VZ |
8025 | AFMINSTALL=afminstall |
8026 | ||
ab9b9eab VZ |
8027 | |
8028 | echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6 | |
2224580a | 8029 | echo "configure:8030: checking for Motif/Lesstif headers" >&5 |
ab9b9eab VZ |
8030 | |
8031 | ac_find_includes= | |
8032 | for ac_dir in $SEARCH_INCLUDE; | |
8033 | do | |
8034 | if test -f "$ac_dir/Xm/Xm.h"; then | |
8035 | ac_find_includes=$ac_dir | |
8036 | break | |
8037 | fi | |
8038 | done | |
8039 | ||
8040 | if test "$ac_find_includes" != "" ; then | |
8041 | echo "$ac_t""found $ac_find_includes" 1>&6 | |
8042 | else | |
8043 | echo "$ac_t""no" 1>&6 | |
8044 | { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; } | |
8045 | fi | |
8046 | ||
8047 | echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6 | |
2224580a | 8048 | echo "configure:8049: checking for Motif/Lesstif library" >&5 |
ab9b9eab VZ |
8049 | |
8050 | ac_find_libraries= | |
8051 | for ac_dir in $SEARCH_LIB; | |
8052 | do | |
8053 | for ac_extension in a so sl; do | |
8054 | if test -f "$ac_dir/libXm.$ac_extension"; then | |
8055 | ac_find_libraries=$ac_dir | |
8056 | break 2 | |
8057 | fi | |
8058 | done | |
8059 | done | |
8060 | ||
8061 | if test "$ac_find_libraries" != "" ; then | |
8062 | ||
8063 | ac_path_to_include=$ac_find_includes | |
8064 | echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null | |
8065 | result=$? | |
8066 | if test $result = 0; then | |
8067 | ac_path_to_include="" | |
8068 | else | |
8069 | ac_path_to_include="-I$ac_find_includes" | |
8070 | fi | |
8071 | ||
8072 | ||
8073 | echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null | |
8074 | result=$? | |
8075 | if test $result = 0; then | |
8076 | ac_path_to_link="" | |
8077 | else | |
8078 | ac_path_to_link="-L$ac_find_libraries" | |
8079 | fi | |
8080 | ||
8081 | ||
8082 | GUI_TK_LIBRARY="$GUI_TK_LIBRARY $ac_path_to_link" | |
8083 | TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE $ac_path_to_include" | |
8084 | echo "$ac_t""found at $ac_find_libraries" 1>&6 | |
8085 | else | |
8086 | echo "$ac_t""no" 1>&6 | |
8087 | { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; } | |
8088 | fi | |
8089 | ||
8090 | echo $ac_n "checking for Xt library""... $ac_c" 1>&6 | |
2224580a | 8091 | echo "configure:8092: checking for Xt library" >&5 |
ab9b9eab VZ |
8092 | |
8093 | ac_find_libraries= | |
8094 | for ac_dir in $SEARCH_LIB; | |
8095 | do | |
8096 | for ac_extension in a so sl; do | |
8097 | if test -f "$ac_dir/libXt.$ac_extension"; then | |
8098 | ac_find_libraries=$ac_dir | |
8099 | break 2 | |
8100 | fi | |
8101 | done | |
8102 | done | |
8103 | ||
8104 | if test "$ac_find_libraries" != "" ; then | |
8105 | ||
8106 | echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null | |
8107 | result=$? | |
8108 | if test $result = 0; then | |
8109 | ac_path_to_link="" | |
8110 | else | |
8111 | ac_path_to_link="-L$ac_find_libraries" | |
8112 | fi | |
8113 | ||
8114 | GUI_TK_LIBRARY="$GUI_TK_LIBRARY $ac_path_to_link" | |
8115 | echo "$ac_t""found at $ac_find_libraries" 1>&6 | |
8116 | else | |
8117 | echo "$ac_t""no" 1>&6 | |
8118 | { echo "configure: error: please set LDFLAGS to contain the location of libXt" 1>&2; exit 1; } | |
8119 | fi | |
8120 | ||
8121 | XPM_LINK="" | |
8122 | echo $ac_n "checking for Xpm library""... $ac_c" 1>&6 | |
2224580a | 8123 | echo "configure:8124: checking for Xpm library" >&5 |
ab9b9eab VZ |
8124 | |
8125 | ac_find_libraries= | |
8126 | for ac_dir in $SEARCH_LIB; | |
8127 | do | |
8128 | for ac_extension in a so sl; do | |
8129 | if test -f "$ac_dir/libXpm.$ac_extension"; then | |
8130 | ac_find_libraries=$ac_dir | |
8131 | break 2 | |
8132 | fi | |
8133 | done | |
8134 | done | |
8135 | ||
8136 | if test "$ac_find_libraries" != "" ; then | |
8137 | ||
8138 | echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null | |
8139 | result=$? | |
8140 | if test $result = 0; then | |
8141 | ac_path_to_link="" | |
8142 | else | |
8143 | ac_path_to_link="-L$ac_find_libraries" | |
8144 | fi | |
8145 | ||
8146 | GUI_TK_LIBRARY="$GUI_TK_LIBRARY $ac_path_to_link" | |
8147 | XPM_LINK="-lXpm " | |
8148 | cat >> confdefs.h <<\EOF | |
8149 | #define wxHAVE_LIB_XPM 1 | |
8150 | EOF | |
8151 | ||
8152 | echo "$ac_t""found at $ac_find_libraries" 1>&6 | |
8153 | else | |
8154 | echo "$ac_t""no" 1>&6 | |
8155 | echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2 | |
8156 | fi | |
8157 | ||
8158 | GUI_TK_LINK="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11 -lm" | |
8159 | GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GUI_TK_LINK" | |
8160 | TOOLKIT=MOTIF | |
8161 | ||
8162 | GUIHEADERS="\$(MOTIF_HEADERS)" | |
8163 | GUIOBJS="\$(MOTIF_GUIOBJS)" | |
8164 | COMMONOBJS="\$(MOTIF_COMMONOBJS)" | |
788deba1 VZ |
8165 | GENERICOBJS="\$(MOTIF_GENERICOBJS)" |
8166 | GUIDEPS="\$(MOTIF_GUIDEPS)" | |
8167 | COMMONDEPS="\$(MOTIF_COMMONDEPS)" | |
10f2d63a VZ |
8168 | GENERICDEPS="\$(MOTIF_GENERICDEPS)" |
8169 | UNIXOBJS="\$(UNIX_OBJS)" | |
d9d8273d | 8170 | UNIXDEPS="\$(UNIX_DEPS)" |
10f2d63a VZ |
8171 | GUIDIST=MOTIF_DIST |
8172 | fi | |
8173 | ||
e07802fc VZ |
8174 | if test "$wxUSE_PM" = 1; then |
8175 | TOOLKIT=PM | |
8176 | ||
8177 | GUIOBJS="\$(PM_GUIOBJS)" | |
8178 | GUIHEADERS="\$(PM_HEADERS)" | |
8179 | COMMONOBJS="\$(PM_COMMONOBJS)" | |
8180 | GENERICOBJS="\$(PM_GENERICOBJS)" | |
8181 | GUIDEPS="\$(PM_GUIDEPS)" | |
8182 | COMMONDEPS="\$(PM_COMMONDEPS)" | |
8183 | GENERICDEPS="\$(PM_GENERICDEPS)" | |
8184 | UNIXOBJS= | |
8185 | UNIXDEPS= | |
8186 | GUIDIST=GTK_DIST | |
8187 | fi | |
8188 | ||
8189 | if test "$TOOLKIT" != "PM" ; then | |
ec14dd32 | 8190 | TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"` |
e07802fc VZ |
8191 | else |
8192 | TOOLKIT_DIR="os2" | |
8193 | fi | |
10f2d63a | 8194 | |
2224580a | 8195 | TOOLKIT_DEF="-D__WX${TOOLKIT}__" |
10f2d63a | 8196 | |
2224580a | 8197 | WX_LIBRARY="wx_${TOOLKIT_DIR}" |
10f2d63a | 8198 | |
d9d8273d RR |
8199 | ALL_OBJECTS="\$(GUIOBJS) \$(COMMONOBJS) \$(GENERICOBJS) \$(UNIXOBJS) \$(HTMLOBJS) \$(IODBCOBJS)" |
8200 | if test "$wxUSE_LIBJPEG" = "yes" ; then | |
2224580a | 8201 | ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)" |
d9d8273d RR |
8202 | fi |
8203 | if test "$wxUSE_LIBTIFF" = "yes" ; then | |
8204 | ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)" | |
8205 | fi | |
8206 | if test "$wxUSE_LIBPNG" = "yes" ; then | |
8207 | ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)" | |
8208 | fi | |
8209 | if test "$wxUSE_ZLIB" = "yes" ; then | |
8210 | ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)" | |
8211 | fi | |
10f2d63a | 8212 | ALL_DEPFILES="\$(GUIDEPS) \$(COMMONDEPS) \$(GENERICDEPS) \$(UNIXDEPS) \$(HTMLDEPS)" |
2224580a VZ |
8213 | |
8214 | PORT_FILES="src/\$(TOOLKITDIR)/files.lst" | |
8215 | RPM_FILES="src/\$(TOOLKITDIR)/rpmfiles.lst" | |
8216 | RPM_SPEC="wx\$(TOOLKIT).spec" | |
8217 | ||
8218 | GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST" | |
8219 | DISTDIR="wx\$(TOOLKIT)" | |
10f2d63a VZ |
8220 | else |
8221 | ||
dad6c0ea VZ |
8222 | USE_GUI=0 |
8223 | ||
2224580a VZ |
8224 | ALL_OBJECTS="\$(BASE_OBJS) \${BASE_UNIX_OBJS}" |
8225 | ALL_DEPFILES="\${BASE_DEPS} \${BASE_UNIX_DEPS}" | |
10f2d63a VZ |
8226 | |
8227 | WX_LIBRARY="wxbase" | |
2224580a VZ |
8228 | |
8229 | PORT_FILES="src/files.lst" | |
8230 | RPM_FILES="src/rpmfiles.lst" | |
8231 | RPM_SPEC="wxBase.spec" | |
8232 | ||
8233 | GUIDIST="BASE_DIST" | |
8234 | DISTDIR="wxBase" | |
10f2d63a VZ |
8235 | fi |
8236 | ||
8237 | WX_LIBRARY_NAME="lib${WX_LIBRARY}.la" | |
8238 | ||
8239 | WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a" | |
8240 | ||
8241 | WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}" | |
8242 | ||
8243 | WX_LIBRARY_LINK1="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}" | |
8244 | WX_LIBRARY_LINK2="lib${WX_LIBRARY}-${WX_RELEASE}.so" | |
8245 | WX_LIBRARY_LINK3="lib${WX_LIBRARY}.so" | |
8246 | ||
8247 | SHARED_LD= | |
8248 | PIC_FLAG= | |
8249 | WX_ALL= | |
8250 | WX_ALL_INSTALLED= | |
1d62a8b4 | 8251 | BURNT_LIBRARY_NAME= |
10f2d63a | 8252 | |
b12915c1 | 8253 | |
10f2d63a VZ |
8254 | if test "$wxUSE_SHARED" = "yes"; then |
8255 | case "${host}" in | |
8256 | *-hp-hpux* ) | |
8257 | if test "$GCC" = yes ; then | |
69ffe1d2 | 8258 | SHARED_LD="${CC} -shared -fPIC -o" |
10f2d63a VZ |
8259 | PIC_FLAG="-fPIC" |
8260 | else | |
8261 | SHARED_LD="${CXX} -b -o" | |
8262 | PIC_FLAG="+Z" | |
8263 | fi | |
8264 | WX_LIBRARY_NAME_SHARED="libwx_${TOOLKIT_DIR}.sl" | |
8265 | WX_ALL=${WX_LIBRARY_NAME_SHARED} | |
8266 | ;; | |
b12915c1 VZ |
8267 | |
8268 | *-*-linux* ) | |
10f2d63a VZ |
8269 | SHARED_LD="${CC} -shared -o" |
8270 | PIC_FLAG="-fPIC" | |
8271 | WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS" | |
8272 | WX_ALL="CREATE_LINKS" | |
b12915c1 | 8273 | ;; |
10f2d63a VZ |
8274 | *-*-irix5* | *-*-irix6* ) |
8275 | if test "$GCC" = yes ; then | |
8276 | SHARED_LD="${CC} -shared -o" | |
8277 | PIC_FLAG="-fPIC" | |
8278 | else | |
8279 | SHARED_LD="${CXX} -shared -o" | |
8280 | fi | |
8281 | WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS" | |
8282 | WX_ALL="CREATE_LINKS" | |
8283 | ;; | |
8284 | *-*-solaris2* ) | |
8285 | if test "$GCC" = yes ; then | |
8286 | SHARED_LD="${CC} -shared -o" | |
8287 | PIC_FLAG="-fPIC" | |
8288 | else | |
8289 | SHARED_LD="${CXX} -G -o" | |
8290 | PIC_FLAG="-KPIC" | |
8291 | fi | |
8292 | WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS" | |
8293 | WX_ALL="CREATE_LINKS" | |
8294 | ;; | |
8295 | *-*-sunos4* ) | |
8296 | SHARED_LD="${CC} -shared -o" | |
8297 | PIC_FLAG="-fPIC" | |
8298 | WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS" | |
8299 | WX_ALL="CREATE_LINKS" | |
8300 | ;; | |
8301 | *-*-freebsd* | *-*-netbsd*) | |
8302 | SHARED_LD="${CC} -shared -o" | |
8303 | PIC_FLAG="-fPIC" | |
8304 | WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS" | |
8305 | WX_ALL="CREATE_LINKS" | |
8306 | ;; | |
8307 | *-*-osf* ) | |
8308 | SHARED_LD="${CXX} -shared -o" | |
8309 | PIC_FLAG="-fPIC" | |
8310 | WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS" | |
8311 | WX_ALL="CREATE_LINKS" | |
8312 | ;; | |
8313 | *-*-dgux5* ) | |
8314 | SHARED_LD="${CXX} -shared -o" | |
8315 | PIC_FLAG="-fPIC" | |
8316 | WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS" | |
8317 | WX_ALL="CREATE_LINKS" | |
8318 | ;; | |
8319 | *-*-sysv5* ) | |
8320 | SHARED_LD="${CC} -shared -o" | |
8321 | PIC_FLAG="-fPIC" | |
8322 | WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS" | |
8323 | WX_ALL="CREATE_LINKS" | |
8324 | ;; | |
8325 | *-*-aix* ) | |
8326 | SHARED_LD="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o" | |
8327 | WX_ALL=${WX_LIBRARY_NAME_SHARED} | |
8328 | ;; | |
8329 | *-*-cygwin32* ) | |
8330 | WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}" | |
8331 | WX_ALL="${WX_LIBRARY_NAME_STATIC}" | |
8332 | ;; | |
b12915c1 | 8333 | *-*-mingw32* ) |
10f2d63a VZ |
8334 | WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}" |
8335 | WX_ALL="${WX_LIBRARY_NAME_STATIC}" | |
8336 | ;; | |
8337 | *-pc-os2_emx ) | |
e07802fc VZ |
8338 | WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}" |
8339 | WX_ALL="${WX_LIBRARY_NAME_STATIC}" | |
10f2d63a | 8340 | ;; |
b12915c1 | 8341 | *-*-beos* ) |
e2b8b066 | 8342 | SHARED_LD="${LD} -shared -o" |
b12915c1 VZ |
8343 | PIC_FLAG="-fPIC" |
8344 | WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS" | |
8345 | WX_ALL="CREATE_LINKS" | |
8346 | ;; | |
10f2d63a VZ |
8347 | *) |
8348 | { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; } | |
8349 | esac | |
8350 | ||
8351 | if test "x$WX_TARGET_LIBRARY" = "x"; then | |
8352 | WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}" | |
8353 | fi | |
8354 | else | |
8355 | WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}" | |
8356 | WX_ALL="${WX_LIBRARY_NAME_STATIC}" | |
8357 | fi | |
8358 | ||
8359 | ||
8360 | for ac_hdr in strings.h | |
8361 | do | |
8362 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | |
8363 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | |
2224580a | 8364 | echo "configure:8365: checking for $ac_hdr" >&5 |
10f2d63a VZ |
8365 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
8366 | echo $ac_n "(cached) $ac_c" 1>&6 | |
8367 | else | |
8368 | cat > conftest.$ac_ext <<EOF | |
2224580a | 8369 | #line 8370 "configure" |
10f2d63a VZ |
8370 | #include "confdefs.h" |
8371 | #include <$ac_hdr> | |
8372 | EOF | |
8373 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
2224580a | 8374 | { (eval echo configure:8375: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10f2d63a VZ |
8375 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8376 | if test -z "$ac_err"; then | |
8377 | rm -rf conftest* | |
8378 | eval "ac_cv_header_$ac_safe=yes" | |
8379 | else | |
8380 | echo "$ac_err" >&5 | |
8381 | echo "configure: failed program was:" >&5 | |
8382 | cat conftest.$ac_ext >&5 | |
8383 | rm -rf conftest* | |
8384 | eval "ac_cv_header_$ac_safe=no" | |
8385 | fi | |
8386 | rm -f conftest* | |
8387 | fi | |
8388 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
8389 | echo "$ac_t""yes" 1>&6 | |
8390 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` | |
8391 | cat >> confdefs.h <<EOF | |
8392 | #define $ac_tr_hdr 1 | |
8393 | EOF | |
8394 | ||
8395 | else | |
8396 | echo "$ac_t""no" 1>&6 | |
8397 | fi | |
8398 | done | |
8399 | ||
8400 | for ac_hdr in unistd.h | |
8401 | do | |
8402 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | |
8403 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | |
2224580a | 8404 | echo "configure:8405: checking for $ac_hdr" >&5 |
10f2d63a VZ |
8405 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
8406 | echo $ac_n "(cached) $ac_c" 1>&6 | |
8407 | else | |
8408 | cat > conftest.$ac_ext <<EOF | |
2224580a | 8409 | #line 8410 "configure" |
10f2d63a VZ |
8410 | #include "confdefs.h" |
8411 | #include <$ac_hdr> | |
8412 | EOF | |
8413 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
2224580a | 8414 | { (eval echo configure:8415: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10f2d63a VZ |
8415 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8416 | if test -z "$ac_err"; then | |
8417 | rm -rf conftest* | |
8418 | eval "ac_cv_header_$ac_safe=yes" | |
8419 | else | |
8420 | echo "$ac_err" >&5 | |
8421 | echo "configure: failed program was:" >&5 | |
8422 | cat conftest.$ac_ext >&5 | |
8423 | rm -rf conftest* | |
8424 | eval "ac_cv_header_$ac_safe=no" | |
8425 | fi | |
8426 | rm -f conftest* | |
8427 | fi | |
8428 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
8429 | echo "$ac_t""yes" 1>&6 | |
8430 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` | |
8431 | cat >> confdefs.h <<EOF | |
8432 | #define $ac_tr_hdr 1 | |
8433 | EOF | |
8434 | ||
8435 | else | |
8436 | echo "$ac_t""no" 1>&6 | |
8437 | fi | |
8438 | done | |
8439 | ||
8440 | for ac_hdr in wchar.h | |
8441 | do | |
8442 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | |
8443 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | |
2224580a | 8444 | echo "configure:8445: checking for $ac_hdr" >&5 |
10f2d63a VZ |
8445 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
8446 | echo $ac_n "(cached) $ac_c" 1>&6 | |
8447 | else | |
8448 | cat > conftest.$ac_ext <<EOF | |
2224580a | 8449 | #line 8450 "configure" |
10f2d63a VZ |
8450 | #include "confdefs.h" |
8451 | #include <$ac_hdr> | |
8452 | EOF | |
8453 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
2224580a | 8454 | { (eval echo configure:8455: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10f2d63a VZ |
8455 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8456 | if test -z "$ac_err"; then | |
8457 | rm -rf conftest* | |
8458 | eval "ac_cv_header_$ac_safe=yes" | |
8459 | else | |
8460 | echo "$ac_err" >&5 | |
8461 | echo "configure: failed program was:" >&5 | |
8462 | cat conftest.$ac_ext >&5 | |
8463 | rm -rf conftest* | |
8464 | eval "ac_cv_header_$ac_safe=no" | |
8465 | fi | |
8466 | rm -f conftest* | |
8467 | fi | |
8468 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
8469 | echo "$ac_t""yes" 1>&6 | |
8470 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` | |
8471 | cat >> confdefs.h <<EOF | |
8472 | #define $ac_tr_hdr 1 | |
8473 | EOF | |
8474 | ||
8475 | else | |
8476 | echo "$ac_t""no" 1>&6 | |
8477 | fi | |
8478 | done | |
8479 | ||
8480 | for ac_hdr in wcstr.h | |
8481 | do | |
8482 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | |
8483 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | |
2224580a | 8484 | echo "configure:8485: checking for $ac_hdr" >&5 |
10f2d63a VZ |
8485 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
8486 | echo $ac_n "(cached) $ac_c" 1>&6 | |
8487 | else | |
8488 | cat > conftest.$ac_ext <<EOF | |
2224580a | 8489 | #line 8490 "configure" |
10f2d63a VZ |
8490 | #include "confdefs.h" |
8491 | #include <$ac_hdr> | |
8492 | EOF | |
8493 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
2224580a | 8494 | { (eval echo configure:8495: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10f2d63a VZ |
8495 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8496 | if test -z "$ac_err"; then | |
8497 | rm -rf conftest* | |
8498 | eval "ac_cv_header_$ac_safe=yes" | |
8499 | else | |
8500 | echo "$ac_err" >&5 | |
8501 | echo "configure: failed program was:" >&5 | |
8502 | cat conftest.$ac_ext >&5 | |
8503 | rm -rf conftest* | |
8504 | eval "ac_cv_header_$ac_safe=no" | |
8505 | fi | |
8506 | rm -f conftest* | |
8507 | fi | |
8508 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
8509 | echo "$ac_t""yes" 1>&6 | |
8510 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` | |
8511 | cat >> confdefs.h <<EOF | |
8512 | #define $ac_tr_hdr 1 | |
8513 | EOF | |
8514 | ||
8515 | else | |
8516 | echo "$ac_t""no" 1>&6 | |
8517 | fi | |
8518 | done | |
8519 | ||
8520 | for ac_hdr in fnmatch.h | |
8521 | do | |
8522 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | |
8523 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | |
2224580a | 8524 | echo "configure:8525: checking for $ac_hdr" >&5 |
10f2d63a VZ |
8525 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
8526 | echo $ac_n "(cached) $ac_c" 1>&6 | |
8527 | else | |
8528 | cat > conftest.$ac_ext <<EOF | |
2224580a | 8529 | #line 8530 "configure" |
10f2d63a VZ |
8530 | #include "confdefs.h" |
8531 | #include <$ac_hdr> | |
8532 | EOF | |
8533 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
2224580a | 8534 | { (eval echo configure:8535: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10f2d63a VZ |
8535 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8536 | if test -z "$ac_err"; then | |
8537 | rm -rf conftest* | |
8538 | eval "ac_cv_header_$ac_safe=yes" | |
8539 | else | |
8540 | echo "$ac_err" >&5 | |
8541 | echo "configure: failed program was:" >&5 | |
8542 | cat conftest.$ac_ext >&5 | |
8543 | rm -rf conftest* | |
8544 | eval "ac_cv_header_$ac_safe=no" | |
8545 | fi | |
8546 | rm -f conftest* | |
8547 | fi | |
8548 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
8549 | echo "$ac_t""yes" 1>&6 | |
8550 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` | |
8551 | cat >> confdefs.h <<EOF | |
8552 | #define $ac_tr_hdr 1 | |
8553 | EOF | |
8554 | ||
8555 | else | |
8556 | echo "$ac_t""no" 1>&6 | |
8557 | fi | |
8558 | done | |
8559 | ||
8560 | ||
8561 | if test "$wxUSE_GUI" = "yes"; then | |
8562 | for ac_hdr in X11/XKBlib.h | |
8563 | do | |
8564 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | |
8565 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | |
2224580a | 8566 | echo "configure:8567: checking for $ac_hdr" >&5 |
10f2d63a VZ |
8567 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
8568 | echo $ac_n "(cached) $ac_c" 1>&6 | |
8569 | else | |
8570 | cat > conftest.$ac_ext <<EOF | |
2224580a | 8571 | #line 8572 "configure" |
10f2d63a VZ |
8572 | #include "confdefs.h" |
8573 | #include <$ac_hdr> | |
8574 | EOF | |
8575 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
2224580a | 8576 | { (eval echo configure:8577: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10f2d63a VZ |
8577 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8578 | if test -z "$ac_err"; then | |
8579 | rm -rf conftest* | |
8580 | eval "ac_cv_header_$ac_safe=yes" | |
8581 | else | |
8582 | echo "$ac_err" >&5 | |
8583 | echo "configure: failed program was:" >&5 | |
8584 | cat conftest.$ac_ext >&5 | |
8585 | rm -rf conftest* | |
8586 | eval "ac_cv_header_$ac_safe=no" | |
8587 | fi | |
8588 | rm -f conftest* | |
8589 | fi | |
8590 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
8591 | echo "$ac_t""yes" 1>&6 | |
8592 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` | |
8593 | cat >> confdefs.h <<EOF | |
8594 | #define $ac_tr_hdr 1 | |
8595 | EOF | |
8596 | ||
8597 | else | |
8598 | echo "$ac_t""no" 1>&6 | |
8599 | fi | |
8600 | done | |
8601 | ||
8602 | fi | |
8603 | ||
8604 | ||
8605 | echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | |
2224580a | 8606 | echo "configure:8607: checking for ANSI C header files" >&5 |
10f2d63a VZ |
8607 | if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then |
8608 | echo $ac_n "(cached) $ac_c" 1>&6 | |
8609 | else | |
8610 | cat > conftest.$ac_ext <<EOF | |
2224580a | 8611 | #line 8612 "configure" |
10f2d63a VZ |
8612 | #include "confdefs.h" |
8613 | #include <stdlib.h> | |
8614 | #include <stdarg.h> | |
8615 | #include <string.h> | |
8616 | #include <float.h> | |
8617 | EOF | |
8618 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
2224580a | 8619 | { (eval echo configure:8620: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10f2d63a VZ |
8620 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8621 | if test -z "$ac_err"; then | |
8622 | rm -rf conftest* | |
8623 | ac_cv_header_stdc=yes | |
8624 | else | |
8625 | echo "$ac_err" >&5 | |
8626 | echo "configure: failed program was:" >&5 | |
8627 | cat conftest.$ac_ext >&5 | |
8628 | rm -rf conftest* | |
8629 | ac_cv_header_stdc=no | |
8630 | fi | |
8631 | rm -f conftest* | |
8632 | ||
8633 | if test $ac_cv_header_stdc = yes; then | |
8634 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | |
8635 | cat > conftest.$ac_ext <<EOF | |
2224580a | 8636 | #line 8637 "configure" |
10f2d63a VZ |
8637 | #include "confdefs.h" |
8638 | #include <string.h> | |
8639 | EOF | |
8640 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
8641 | egrep "memchr" >/dev/null 2>&1; then | |
8642 | : | |
8643 | else | |
8644 | rm -rf conftest* | |
8645 | ac_cv_header_stdc=no | |
8646 | fi | |
8647 | rm -f conftest* | |
8648 | ||
8649 | fi | |
8650 | ||
8651 | if test $ac_cv_header_stdc = yes; then | |
8652 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | |
8653 | cat > conftest.$ac_ext <<EOF | |
2224580a | 8654 | #line 8655 "configure" |
10f2d63a VZ |
8655 | #include "confdefs.h" |
8656 | #include <stdlib.h> | |
8657 | EOF | |
8658 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
8659 | egrep "free" >/dev/null 2>&1; then | |
8660 | : | |
8661 | else | |
8662 | rm -rf conftest* | |
8663 | ac_cv_header_stdc=no | |
8664 | fi | |
8665 | rm -f conftest* | |
8666 | ||
8667 | fi | |
8668 | ||
8669 | if test $ac_cv_header_stdc = yes; then | |
8670 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | |
8671 | if test "$cross_compiling" = yes; then | |
8672 | : | |
8673 | else | |
8674 | cat > conftest.$ac_ext <<EOF | |
2224580a | 8675 | #line 8676 "configure" |
10f2d63a VZ |
8676 | #include "confdefs.h" |
8677 | #include <ctype.h> | |
8678 | #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | |
8679 | #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | |
8680 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | |
8681 | int main () { int i; for (i = 0; i < 256; i++) | |
8682 | if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | |
8683 | exit (0); } | |
8684 | ||
8685 | EOF | |
2224580a | 8686 | if { (eval echo configure:8687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
10f2d63a VZ |
8687 | then |
8688 | : | |
8689 | else | |
8690 | echo "configure: failed program was:" >&5 | |
8691 | cat conftest.$ac_ext >&5 | |
8692 | rm -fr conftest* | |
8693 | ac_cv_header_stdc=no | |
8694 | fi | |
8695 | rm -fr conftest* | |
8696 | fi | |
8697 | ||
8698 | fi | |
8699 | fi | |
8700 | ||
8701 | echo "$ac_t""$ac_cv_header_stdc" 1>&6 | |
8702 | if test $ac_cv_header_stdc = yes; then | |
8703 | cat >> confdefs.h <<\EOF | |
8704 | #define STDC_HEADERS 1 | |
8705 | EOF | |
8706 | ||
8707 | fi | |
8708 | ||
8709 | echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | |
2224580a | 8710 | echo "configure:8711: checking for mode_t" >&5 |
10f2d63a VZ |
8711 | if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then |
8712 | echo $ac_n "(cached) $ac_c" 1>&6 | |
8713 | else | |
8714 | cat > conftest.$ac_ext <<EOF | |
2224580a | 8715 | #line 8716 "configure" |
10f2d63a VZ |
8716 | #include "confdefs.h" |
8717 | #include <sys/types.h> | |
8718 | #if STDC_HEADERS | |
8719 | #include <stdlib.h> | |
8720 | #include <stddef.h> | |
8721 | #endif | |
8722 | EOF | |
8723 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
8724 | egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then | |
8725 | rm -rf conftest* | |
8726 | ac_cv_type_mode_t=yes | |
8727 | else | |
8728 | rm -rf conftest* | |
8729 | ac_cv_type_mode_t=no | |
8730 | fi | |
8731 | rm -f conftest* | |
8732 | ||
8733 | fi | |
8734 | echo "$ac_t""$ac_cv_type_mode_t" 1>&6 | |
8735 | if test $ac_cv_type_mode_t = no; then | |
8736 | cat >> confdefs.h <<\EOF | |
8737 | #define mode_t int | |
8738 | EOF | |
8739 | ||
8740 | fi | |
8741 | ||
8742 | echo $ac_n "checking for off_t""... $ac_c" 1>&6 | |
2224580a | 8743 | echo "configure:8744: checking for off_t" >&5 |
10f2d63a VZ |
8744 | if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then |
8745 | echo $ac_n "(cached) $ac_c" 1>&6 | |
8746 | else | |
8747 | cat > conftest.$ac_ext <<EOF | |
2224580a | 8748 | #line 8749 "configure" |
10f2d63a VZ |
8749 | #include "confdefs.h" |
8750 | #include <sys/types.h> | |
8751 | #if STDC_HEADERS | |
8752 | #include <stdlib.h> | |
8753 | #include <stddef.h> | |
8754 | #endif | |
8755 | EOF | |
8756 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
8757 | egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then | |
8758 | rm -rf conftest* | |
8759 | ac_cv_type_off_t=yes | |
8760 | else | |
8761 | rm -rf conftest* | |
8762 | ac_cv_type_off_t=no | |
8763 | fi | |
8764 | rm -f conftest* | |
8765 | ||
8766 | fi | |
8767 | echo "$ac_t""$ac_cv_type_off_t" 1>&6 | |
8768 | if test $ac_cv_type_off_t = no; then | |
8769 | cat >> confdefs.h <<\EOF | |
8770 | #define off_t long | |
8771 | EOF | |
8772 | ||
8773 | fi | |
8774 | ||
8775 | echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | |
2224580a | 8776 | echo "configure:8777: checking for pid_t" >&5 |
10f2d63a VZ |
8777 | if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then |
8778 | echo $ac_n "(cached) $ac_c" 1>&6 | |
8779 | else | |
8780 | cat > conftest.$ac_ext <<EOF | |
2224580a | 8781 | #line 8782 "configure" |
10f2d63a VZ |
8782 | #include "confdefs.h" |
8783 | #include <sys/types.h> | |
8784 | #if STDC_HEADERS | |
8785 | #include <stdlib.h> | |
8786 | #include <stddef.h> | |
8787 | #endif | |
8788 | EOF | |
8789 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
8790 | egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then | |
8791 | rm -rf conftest* | |
8792 | ac_cv_type_pid_t=yes | |
8793 | else | |
8794 | rm -rf conftest* | |
8795 | ac_cv_type_pid_t=no | |
8796 | fi | |
8797 | rm -f conftest* | |
8798 | ||
8799 | fi | |
8800 | echo "$ac_t""$ac_cv_type_pid_t" 1>&6 | |
8801 | if test $ac_cv_type_pid_t = no; then | |
8802 | cat >> confdefs.h <<\EOF | |
8803 | #define pid_t int | |
8804 | EOF | |
8805 | ||
8806 | fi | |
8807 | ||
8808 | echo $ac_n "checking for size_t""... $ac_c" 1>&6 | |
2224580a | 8809 | echo "configure:8810: checking for size_t" >&5 |
10f2d63a VZ |
8810 | if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then |
8811 | echo $ac_n "(cached) $ac_c" 1>&6 | |
8812 | else | |
8813 | cat > conftest.$ac_ext <<EOF | |
2224580a | 8814 | #line 8815 "configure" |
10f2d63a VZ |
8815 | #include "confdefs.h" |
8816 | #include <sys/types.h> | |
8817 | #if STDC_HEADERS | |
8818 | #include <stdlib.h> | |
8819 | #include <stddef.h> | |
8820 | #endif | |
8821 | EOF | |
8822 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
8823 | egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then | |
8824 | rm -rf conftest* | |
8825 | ac_cv_type_size_t=yes | |
8826 | else | |
8827 | rm -rf conftest* | |
8828 | ac_cv_type_size_t=no | |
8829 | fi | |
8830 | rm -f conftest* | |
8831 | ||
8832 | fi | |
8833 | echo "$ac_t""$ac_cv_type_size_t" 1>&6 | |
8834 | if test $ac_cv_type_size_t = no; then | |
8835 | cat >> confdefs.h <<\EOF | |
8836 | #define size_t unsigned | |
8837 | EOF | |
8838 | ||
8839 | fi | |
8840 | ||
8841 | echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | |
2224580a | 8842 | echo "configure:8843: checking for uid_t in sys/types.h" >&5 |
10f2d63a VZ |
8843 | if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then |
8844 | echo $ac_n "(cached) $ac_c" 1>&6 | |
8845 | else | |
8846 | cat > conftest.$ac_ext <<EOF | |
2224580a | 8847 | #line 8848 "configure" |
10f2d63a VZ |
8848 | #include "confdefs.h" |
8849 | #include <sys/types.h> | |
8850 | EOF | |
8851 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
8852 | egrep "uid_t" >/dev/null 2>&1; then | |
8853 | rm -rf conftest* | |
8854 | ac_cv_type_uid_t=yes | |
8855 | else | |
8856 | rm -rf conftest* | |
8857 | ac_cv_type_uid_t=no | |
8858 | fi | |
8859 | rm -f conftest* | |
8860 | ||
8861 | fi | |
8862 | ||
8863 | echo "$ac_t""$ac_cv_type_uid_t" 1>&6 | |
8864 | if test $ac_cv_type_uid_t = no; then | |
8865 | cat >> confdefs.h <<\EOF | |
8866 | #define uid_t int | |
8867 | EOF | |
8868 | ||
8869 | cat >> confdefs.h <<\EOF | |
8870 | #define gid_t int | |
8871 | EOF | |
8872 | ||
8873 | fi | |
8874 | ||
8875 | ||
8876 | ||
b12915c1 | 8877 | echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6 |
2224580a | 8878 | echo "configure:8879: checking for pw_gecos in struct passwd" >&5 |
b12915c1 VZ |
8879 | if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then |
8880 | echo $ac_n "(cached) $ac_c" 1>&6 | |
8881 | else | |
8882 | ||
8883 | cat > conftest.$ac_ext <<EOF | |
2224580a | 8884 | #line 8885 "configure" |
b12915c1 VZ |
8885 | #include "confdefs.h" |
8886 | #include <pwd.h> | |
8887 | int main() { | |
8888 | ||
8889 | char *p; | |
8890 | struct passwd *pw; | |
8891 | p = pw->pw_gecos; | |
8892 | ||
8893 | ; return 0; } | |
8894 | EOF | |
2224580a | 8895 | if { (eval echo configure:8896: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
b12915c1 VZ |
8896 | rm -rf conftest* |
8897 | ||
8898 | wx_cv_struct_pw_gecos=yes | |
8899 | cat >> confdefs.h <<\EOF | |
8900 | #define HAVE_PW_GECOS 1 | |
8901 | EOF | |
8902 | ||
8903 | ||
8904 | else | |
8905 | echo "configure: failed program was:" >&5 | |
8906 | cat conftest.$ac_ext >&5 | |
8907 | rm -rf conftest* | |
8908 | ||
8909 | wx_cv_struct_pw_gecos=no | |
8910 | ||
8911 | ||
8912 | fi | |
8913 | rm -f conftest* | |
8914 | ||
8915 | ||
8916 | fi | |
8917 | ||
8918 | echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6 | |
8919 | ||
10f2d63a VZ |
8920 | |
8921 | echo $ac_n "checking for working const""... $ac_c" 1>&6 | |
2224580a | 8922 | echo "configure:8923: checking for working const" >&5 |
10f2d63a VZ |
8923 | if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then |
8924 | echo $ac_n "(cached) $ac_c" 1>&6 | |
8925 | else | |
8926 | cat > conftest.$ac_ext <<EOF | |
2224580a | 8927 | #line 8928 "configure" |
10f2d63a VZ |
8928 | #include "confdefs.h" |
8929 | ||
8930 | int main() { | |
8931 | ||
8932 | /* Ultrix mips cc rejects this. */ | |
8933 | typedef int charset[2]; const charset x; | |
8934 | /* SunOS 4.1.1 cc rejects this. */ | |
8935 | char const *const *ccp; | |
8936 | char **p; | |
8937 | /* NEC SVR4.0.2 mips cc rejects this. */ | |
8938 | struct point {int x, y;}; | |
8939 | static struct point const zero = {0,0}; | |
8940 | /* AIX XL C 1.02.0.0 rejects this. | |
8941 | It does not let you subtract one const X* pointer from another in an arm | |
8942 | of an if-expression whose if-part is not a constant expression */ | |
8943 | const char *g = "string"; | |
8944 | ccp = &g + (g ? g-g : 0); | |
8945 | /* HPUX 7.0 cc rejects these. */ | |
8946 | ++ccp; | |
8947 | p = (char**) ccp; | |
8948 | ccp = (char const *const *) p; | |
8949 | { /* SCO 3.2v4 cc rejects this. */ | |
8950 | char *t; | |
8951 | char const *s = 0 ? (char *) 0 : (char const *) 0; | |
8952 | ||
8953 | *t++ = 0; | |
8954 | } | |
8955 | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ | |
8956 | int x[] = {25, 17}; | |
8957 | const int *foo = &x[0]; | |
8958 | ++foo; | |
8959 | } | |
8960 | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ | |
8961 | typedef const int *iptr; | |
8962 | iptr p = 0; | |
8963 | ++p; | |
8964 | } | |
8965 | { /* AIX XL C 1.02.0.0 rejects this saying | |
8966 | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ | |
8967 | struct s { int j; const int *ap[3]; }; | |
8968 | struct s *b; b->j = 5; | |
8969 | } | |
8970 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ | |
8971 | const int foo = 10; | |
8972 | } | |
8973 | ||
8974 | ; return 0; } | |
8975 | EOF | |
2224580a | 8976 | if { (eval echo configure:8977: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
10f2d63a VZ |
8977 | rm -rf conftest* |
8978 | ac_cv_c_const=yes | |
8979 | else | |
8980 | echo "configure: failed program was:" >&5 | |
8981 | cat conftest.$ac_ext >&5 | |
8982 | rm -rf conftest* | |
8983 | ac_cv_c_const=no | |
8984 | fi | |
8985 | rm -f conftest* | |
8986 | fi | |
8987 | ||
8988 | echo "$ac_t""$ac_cv_c_const" 1>&6 | |
8989 | if test $ac_cv_c_const = no; then | |
8990 | cat >> confdefs.h <<\EOF | |
8991 | #define const | |
8992 | EOF | |
8993 | ||
8994 | fi | |
8995 | ||
8996 | echo $ac_n "checking for inline""... $ac_c" 1>&6 | |
2224580a | 8997 | echo "configure:8998: checking for inline" >&5 |
10f2d63a VZ |
8998 | if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then |
8999 | echo $ac_n "(cached) $ac_c" 1>&6 | |
9000 | else | |
9001 | ac_cv_c_inline=no | |
9002 | for ac_kw in inline __inline__ __inline; do | |
9003 | cat > conftest.$ac_ext <<EOF | |
2224580a | 9004 | #line 9005 "configure" |
10f2d63a VZ |
9005 | #include "confdefs.h" |
9006 | ||
9007 | int main() { | |
9008 | } $ac_kw foo() { | |
9009 | ; return 0; } | |
9010 | EOF | |
2224580a | 9011 | if { (eval echo configure:9012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
10f2d63a VZ |
9012 | rm -rf conftest* |
9013 | ac_cv_c_inline=$ac_kw; break | |
9014 | else | |
9015 | echo "configure: failed program was:" >&5 | |
9016 | cat conftest.$ac_ext >&5 | |
9017 | fi | |
9018 | rm -f conftest* | |
9019 | done | |
9020 | ||
9021 | fi | |
9022 | ||
9023 | echo "$ac_t""$ac_cv_c_inline" 1>&6 | |
9024 | case "$ac_cv_c_inline" in | |
9025 | inline | yes) ;; | |
9026 | no) cat >> confdefs.h <<\EOF | |
9027 | #define inline | |
9028 | EOF | |
9029 | ;; | |
9030 | *) cat >> confdefs.h <<EOF | |
9031 | #define inline $ac_cv_c_inline | |
9032 | EOF | |
9033 | ;; | |
9034 | esac | |
9035 | ||
9036 | ||
9037 | echo $ac_n "checking size of char""... $ac_c" 1>&6 | |
2224580a | 9038 | echo "configure:9039: checking size of char" >&5 |
10f2d63a VZ |
9039 | if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then |
9040 | echo $ac_n "(cached) $ac_c" 1>&6 | |
9041 | else | |
9042 | if test "$cross_compiling" = yes; then | |
9043 | ac_cv_sizeof_char=1 | |
9044 | else | |
9045 | cat > conftest.$ac_ext <<EOF | |
2224580a | 9046 | #line 9047 "configure" |
10f2d63a VZ |
9047 | #include "confdefs.h" |
9048 | #include <stdio.h> | |
9049 | main() | |
9050 | { | |
9051 | FILE *f=fopen("conftestval", "w"); | |
9052 | if (!f) exit(1); | |
9053 | fprintf(f, "%d\n", sizeof(char)); | |
9054 | exit(0); | |
9055 | } | |
9056 | EOF | |
2224580a | 9057 | if { (eval echo configure:9058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
10f2d63a VZ |
9058 | then |
9059 | ac_cv_sizeof_char=`cat conftestval` | |
9060 | else | |
9061 | echo "configure: failed program was:" >&5 | |
9062 | cat conftest.$ac_ext >&5 | |
9063 | rm -fr conftest* | |
9064 | ac_cv_sizeof_char=0 | |
9065 | fi | |
9066 | rm -fr conftest* | |
9067 | fi | |
9068 | ||
9069 | fi | |
9070 | echo "$ac_t""$ac_cv_sizeof_char" 1>&6 | |
9071 | cat >> confdefs.h <<EOF | |
9072 | #define SIZEOF_CHAR $ac_cv_sizeof_char | |
9073 | EOF | |
9074 | ||
9075 | ||
9076 | echo $ac_n "checking size of short""... $ac_c" 1>&6 | |
2224580a | 9077 | echo "configure:9078: checking size of short" >&5 |
10f2d63a VZ |
9078 | if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then |
9079 | echo $ac_n "(cached) $ac_c" 1>&6 | |
9080 | else | |
9081 | if test "$cross_compiling" = yes; then | |
9082 | ac_cv_sizeof_short=2 | |
9083 | else | |
9084 | cat > conftest.$ac_ext <<EOF | |
2224580a | 9085 | #line 9086 "configure" |
10f2d63a VZ |
9086 | #include "confdefs.h" |
9087 | #include <stdio.h> | |
9088 | main() | |
9089 | { | |
9090 | FILE *f=fopen("conftestval", "w"); | |
9091 | if (!f) exit(1); | |
9092 | fprintf(f, "%d\n", sizeof(short)); | |
9093 | exit(0); | |
9094 | } | |
9095 | EOF | |
2224580a | 9096 | if { (eval echo configure:9097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
10f2d63a VZ |
9097 | then |
9098 | ac_cv_sizeof_short=`cat conftestval` | |
9099 | else | |
9100 | echo "configure: failed program was:" >&5 | |
9101 | cat conftest.$ac_ext >&5 | |
9102 | rm -fr conftest* | |
9103 | ac_cv_sizeof_short=0 | |
9104 | fi | |
9105 | rm -fr conftest* | |
9106 | fi | |
9107 | ||
9108 | fi | |
9109 | echo "$ac_t""$ac_cv_sizeof_short" 1>&6 | |
9110 | cat >> confdefs.h <<EOF | |
9111 | #define SIZEOF_SHORT $ac_cv_sizeof_short | |
9112 | EOF | |
9113 | ||
9114 | ||
9115 | echo $ac_n "checking size of int *""... $ac_c" 1>&6 | |
2224580a | 9116 | echo "configure:9117: checking size of int *" >&5 |
10f2d63a VZ |
9117 | if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then |
9118 | echo $ac_n "(cached) $ac_c" 1>&6 | |
9119 | else | |
9120 | if test "$cross_compiling" = yes; then | |
9121 | ac_cv_sizeof_int_p=4 | |
9122 | else | |
9123 | cat > conftest.$ac_ext <<EOF | |
2224580a | 9124 | #line 9125 "configure" |
10f2d63a VZ |
9125 | #include "confdefs.h" |
9126 | #include <stdio.h> | |
9127 | main() | |
9128 | { | |
9129 | FILE *f=fopen("conftestval", "w"); | |
9130 | if (!f) exit(1); | |
9131 | fprintf(f, "%d\n", sizeof(int *)); | |
9132 | exit(0); | |
9133 | } | |
9134 | EOF | |
2224580a | 9135 | if { (eval echo configure:9136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
10f2d63a VZ |
9136 | then |
9137 | ac_cv_sizeof_int_p=`cat conftestval` | |
9138 | else | |
9139 | echo "configure: failed program was:" >&5 | |
9140 | cat conftest.$ac_ext >&5 | |
9141 | rm -fr conftest* | |
9142 | ac_cv_sizeof_int_p=0 | |
9143 | fi | |
9144 | rm -fr conftest* | |
9145 | fi | |
9146 | ||
9147 | fi | |
9148 | echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6 | |
9149 | cat >> confdefs.h <<EOF | |
9150 | #define SIZEOF_INT_P $ac_cv_sizeof_int_p | |
9151 | EOF | |
9152 | ||
9153 | ||
9154 | echo $ac_n "checking size of int""... $ac_c" 1>&6 | |
2224580a | 9155 | echo "configure:9156: checking size of int" >&5 |
10f2d63a VZ |
9156 | if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then |
9157 | echo $ac_n "(cached) $ac_c" 1>&6 | |
9158 | else | |
9159 | if test "$cross_compiling" = yes; then | |
9160 | ac_cv_sizeof_int=4 | |
9161 | else | |
9162 | cat > conftest.$ac_ext <<EOF | |
2224580a | 9163 | #line 9164 "configure" |
10f2d63a VZ |
9164 | #include "confdefs.h" |
9165 | #include <stdio.h> | |
9166 | main() | |
9167 | { | |
9168 | FILE *f=fopen("conftestval", "w"); | |
9169 | if (!f) exit(1); | |
9170 | fprintf(f, "%d\n", sizeof(int)); | |
9171 | exit(0); | |
9172 | } | |
9173 | EOF | |
2224580a | 9174 | if { (eval echo configure:9175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
10f2d63a VZ |
9175 | then |
9176 | ac_cv_sizeof_int=`cat conftestval` | |
9177 | else | |
9178 | echo "configure: failed program was:" >&5 | |
9179 | cat conftest.$ac_ext >&5 | |
9180 | rm -fr conftest* | |
9181 | ac_cv_sizeof_int=0 | |
9182 | fi | |
9183 | rm -fr conftest* | |
9184 | fi | |
9185 | ||
9186 | fi | |
9187 | echo "$ac_t""$ac_cv_sizeof_int" 1>&6 | |
9188 | cat >> confdefs.h <<EOF | |
9189 | #define SIZEOF_INT $ac_cv_sizeof_int | |
9190 | EOF | |
9191 | ||
9192 | ||
9193 | echo $ac_n "checking size of long""... $ac_c" 1>&6 | |
2224580a | 9194 | echo "configure:9195: checking size of long" >&5 |
10f2d63a VZ |
9195 | if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then |
9196 | echo $ac_n "(cached) $ac_c" 1>&6 | |
9197 | else | |
9198 | if test "$cross_compiling" = yes; then | |
9199 | ac_cv_sizeof_long=4 | |
9200 | else | |
9201 | cat > conftest.$ac_ext <<EOF | |
2224580a | 9202 | #line 9203 "configure" |
10f2d63a VZ |
9203 | #include "confdefs.h" |
9204 | #include <stdio.h> | |
9205 | main() | |
9206 | { | |
9207 | FILE *f=fopen("conftestval", "w"); | |
9208 | if (!f) exit(1); | |
9209 | fprintf(f, "%d\n", sizeof(long)); | |
9210 | exit(0); | |
9211 | } | |
9212 | EOF | |
2224580a | 9213 | if { (eval echo configure:9214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
10f2d63a VZ |
9214 | then |
9215 | ac_cv_sizeof_long=`cat conftestval` | |
9216 | else | |
9217 | echo "configure: failed program was:" >&5 | |
9218 | cat conftest.$ac_ext >&5 | |
9219 | rm -fr conftest* | |
9220 | ac_cv_sizeof_long=0 | |
9221 | fi | |
9222 | rm -fr conftest* | |
9223 | fi | |
9224 | ||
9225 | fi | |
9226 | echo "$ac_t""$ac_cv_sizeof_long" 1>&6 | |
9227 | cat >> confdefs.h <<EOF | |
9228 | #define SIZEOF_LONG $ac_cv_sizeof_long | |
9229 | EOF | |
9230 | ||
9231 | ||
9232 | echo $ac_n "checking size of long long""... $ac_c" 1>&6 | |
2224580a | 9233 | echo "configure:9234: checking size of long long" >&5 |
10f2d63a VZ |
9234 | if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then |
9235 | echo $ac_n "(cached) $ac_c" 1>&6 | |
9236 | else | |
9237 | if test "$cross_compiling" = yes; then | |
9238 | ac_cv_sizeof_long_long=0 | |
9239 | else | |
9240 | cat > conftest.$ac_ext <<EOF | |
2224580a | 9241 | #line 9242 "configure" |
10f2d63a VZ |
9242 | #include "confdefs.h" |
9243 | #include <stdio.h> | |
9244 | main() | |
9245 | { | |
9246 | FILE *f=fopen("conftestval", "w"); | |
9247 | if (!f) exit(1); | |
9248 | fprintf(f, "%d\n", sizeof(long long)); | |
9249 | exit(0); | |
9250 | } | |
9251 | EOF | |
2224580a | 9252 | if { (eval echo configure:9253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
10f2d63a VZ |
9253 | then |
9254 | ac_cv_sizeof_long_long=`cat conftestval` | |
9255 | else | |
9256 | echo "configure: failed program was:" >&5 | |
9257 | cat conftest.$ac_ext >&5 | |
9258 | rm -fr conftest* | |
9259 | ac_cv_sizeof_long_long=0 | |
9260 | fi | |
9261 | rm -fr conftest* | |
9262 | fi | |
9263 | ||
9264 | fi | |
9265 | echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6 | |
9266 | cat >> confdefs.h <<EOF | |
9267 | #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long | |
9268 | EOF | |
9269 | ||
9270 | ||
9271 | ||
9272 | echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | |
2224580a | 9273 | echo "configure:9274: checking whether byte ordering is bigendian" >&5 |
10f2d63a VZ |
9274 | if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then |
9275 | echo $ac_n "(cached) $ac_c" 1>&6 | |
9276 | else | |
9277 | ac_cv_c_bigendian=unknown | |
9278 | # See if sys/param.h defines the BYTE_ORDER macro. | |
9279 | cat > conftest.$ac_ext <<EOF | |
2224580a | 9280 | #line 9281 "configure" |
10f2d63a VZ |
9281 | #include "confdefs.h" |
9282 | #include <sys/types.h> | |
9283 | #include <sys/param.h> | |
9284 | int main() { | |
9285 | ||
9286 | #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | |
9287 | bogus endian macros | |
9288 | #endif | |
9289 | ; return 0; } | |
9290 | EOF | |
2224580a | 9291 | if { (eval echo configure:9292: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
10f2d63a VZ |
9292 | rm -rf conftest* |
9293 | # It does; now see whether it defined to BIG_ENDIAN or not. | |
9294 | cat > conftest.$ac_ext <<EOF | |
2224580a | 9295 | #line 9296 "configure" |
10f2d63a VZ |
9296 | #include "confdefs.h" |
9297 | #include <sys/types.h> | |
9298 | #include <sys/param.h> | |
9299 | int main() { | |
9300 | ||
9301 | #if BYTE_ORDER != BIG_ENDIAN | |
9302 | not big endian | |
9303 | #endif | |
9304 | ; return 0; } | |
9305 | EOF | |
2224580a | 9306 | if { (eval echo configure:9307: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
10f2d63a VZ |
9307 | rm -rf conftest* |
9308 | ac_cv_c_bigendian=yes | |
9309 | else | |
9310 | echo "configure: failed program was:" >&5 | |
9311 | cat conftest.$ac_ext >&5 | |
9312 | rm -rf conftest* | |
9313 | ac_cv_c_bigendian=no | |
9314 | fi | |
9315 | rm -f conftest* | |
9316 | else | |
9317 | echo "configure: failed program was:" >&5 | |
9318 | cat conftest.$ac_ext >&5 | |
9319 | fi | |
9320 | rm -f conftest* | |
9321 | if test $ac_cv_c_bigendian = unknown; then | |
9322 | if test "$cross_compiling" = yes; then | |
9323 | ac_cv_c_bigendian=unknown | |
9324 | else | |
9325 | cat > conftest.$ac_ext <<EOF | |
2224580a | 9326 | #line 9327 "configure" |
10f2d63a VZ |
9327 | #include "confdefs.h" |
9328 | main () { | |
9329 | /* Are we little or big endian? From Harbison&Steele. */ | |
9330 | union | |
9331 | { | |
9332 | long l; | |
9333 | char c[sizeof (long)]; | |
9334 | } u; | |
9335 | u.l = 1; | |
9336 | exit (u.c[sizeof (long) - 1] == 1); | |
9337 | } | |
9338 | EOF | |
2224580a | 9339 | if { (eval echo configure:9340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
10f2d63a VZ |
9340 | then |
9341 | ac_cv_c_bigendian=no | |
9342 | else | |
9343 | echo "configure: failed program was:" >&5 | |
9344 | cat conftest.$ac_ext >&5 | |
9345 | rm -fr conftest* | |
9346 | ac_cv_c_bigendian=yes | |
9347 | fi | |
9348 | rm -fr conftest* | |
9349 | fi | |
9350 | ||
9351 | fi | |
9352 | fi | |
9353 | ||
9354 | echo "$ac_t""$ac_cv_c_bigendian" 1>&6 | |
9355 | if test $ac_cv_c_bigendian = unknown; then | |
9356 | 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 | |
9357 | fi | |
9358 | if test $ac_cv_c_bigendian = yes; then | |
9359 | cat >> confdefs.h <<\EOF | |
9360 | #define WORDS_BIGENDIAN 1 | |
9361 | EOF | |
9362 | ||
9363 | fi | |
9364 | ||
9365 | ||
9366 | ||
9367 | if test "$cross_compiling" = "yes"; then | |
9368 | cat >> confdefs.h <<\EOF | |
9369 | #define wxUSE_IOSTREAMH 1 | |
9370 | EOF | |
9371 | ||
9372 | else | |
9373 | ||
9374 | ac_ext=C | |
9375 | # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
9376 | ac_cpp='$CXXCPP $CPPFLAGS' | |
9377 | ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | |
9378 | ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | |
9379 | cross_compiling=$ac_cv_prog_cxx_cross | |
9380 | ||
9381 | ||
9382 | for ac_hdr in iostream | |
9383 | do | |
9384 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | |
9385 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | |
2224580a | 9386 | echo "configure:9387: checking for $ac_hdr" >&5 |
10f2d63a VZ |
9387 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
9388 | echo $ac_n "(cached) $ac_c" 1>&6 | |
9389 | else | |
9390 | cat > conftest.$ac_ext <<EOF | |
2224580a | 9391 | #line 9392 "configure" |
10f2d63a VZ |
9392 | #include "confdefs.h" |
9393 | #include <$ac_hdr> | |
9394 | EOF | |
9395 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
2224580a | 9396 | { (eval echo configure:9397: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10f2d63a VZ |
9397 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9398 | if test -z "$ac_err"; then | |
9399 | rm -rf conftest* | |
9400 | eval "ac_cv_header_$ac_safe=yes" | |
9401 | else | |
9402 | echo "$ac_err" >&5 | |
9403 | echo "configure: failed program was:" >&5 | |
9404 | cat conftest.$ac_ext >&5 | |
9405 | rm -rf conftest* | |
9406 | eval "ac_cv_header_$ac_safe=no" | |
9407 | fi | |
9408 | rm -f conftest* | |
9409 | fi | |
9410 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
9411 | echo "$ac_t""yes" 1>&6 | |
9412 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` | |
9413 | cat >> confdefs.h <<EOF | |
9414 | #define $ac_tr_hdr 1 | |
9415 | EOF | |
9416 | ||
9417 | else | |
9418 | echo "$ac_t""no" 1>&6 | |
9419 | fi | |
9420 | done | |
9421 | ||
9422 | ||
9423 | if test "x$HAVE_IOSTREAM" = x ; then | |
9424 | cat >> confdefs.h <<\EOF | |
9425 | #define wxUSE_IOSTREAMH 1 | |
9426 | EOF | |
9427 | ||
9428 | else | |
9429 | : | |
9430 | fi | |
9431 | ||
9432 | ac_ext=c | |
9433 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
9434 | ac_cpp='$CPP $CPPFLAGS' | |
9435 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | |
9436 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | |
9437 | cross_compiling=$ac_cv_prog_cc_cross | |
9438 | ||
9439 | fi | |
9440 | ||
9441 | ||
9442 | ||
9443 | echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6 | |
2224580a | 9444 | echo "configure:9445: checking if C++ compiler supports bool" >&5 |
10f2d63a VZ |
9445 | if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then |
9446 | echo $ac_n "(cached) $ac_c" 1>&6 | |
9447 | else | |
9448 | ||
9449 | ||
9450 | ac_ext=C | |
9451 | # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
9452 | ac_cpp='$CXXCPP $CPPFLAGS' | |
9453 | ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | |
9454 | ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | |
9455 | cross_compiling=$ac_cv_prog_cxx_cross | |
9456 | ||
9457 | ||
9458 | cat > conftest.$ac_ext <<EOF | |
2224580a | 9459 | #line 9460 "configure" |
10f2d63a VZ |
9460 | #include "confdefs.h" |
9461 | ||
9462 | ||
9463 | int main() { | |
9464 | ||
9465 | bool b = true; | |
9466 | ||
9467 | return 0; | |
9468 | ||
9469 | ; return 0; } | |
9470 | EOF | |
2224580a | 9471 | if { (eval echo configure:9472: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
10f2d63a VZ |
9472 | rm -rf conftest* |
9473 | ||
9474 | cat >> confdefs.h <<\EOF | |
9475 | #define HAVE_BOOL 1 | |
9476 | EOF | |
9477 | ||
9478 | wx_cv_cpp_bool=yes | |
9479 | ||
9480 | else | |
9481 | echo "configure: failed program was:" >&5 | |
9482 | cat conftest.$ac_ext >&5 | |
9483 | rm -rf conftest* | |
9484 | ||
9485 | wx_cv_cpp_bool=no | |
9486 | ||
9487 | ||
9488 | fi | |
9489 | rm -f conftest* | |
9490 | ||
9491 | ac_ext=c | |
9492 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
9493 | ac_cpp='$CPP $CPPFLAGS' | |
9494 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | |
9495 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | |
9496 | cross_compiling=$ac_cv_prog_cc_cross | |
9497 | ||
9498 | ||
9499 | fi | |
9500 | ||
9501 | echo "$ac_t""$wx_cv_cpp_bool" 1>&6 | |
9502 | ||
9503 | if test "$wx_cv_cpp_bool" = "yes"; then | |
9504 | cat >> confdefs.h <<\EOF | |
9505 | #define HAVE_BOOL 1 | |
9506 | EOF | |
9507 | ||
9508 | fi | |
9509 | ||
9510 | ||
9511 | ||
10f2d63a | 9512 | echo $ac_n "checking if you need GNU extensions""... $ac_c" 1>&6 |
2224580a | 9513 | echo "configure:9514: checking if you need GNU extensions" >&5 |
10f2d63a VZ |
9514 | if eval "test \"`echo '$''{'wx_cv_gnu_extensions'+set}'`\" = set"; then |
9515 | echo $ac_n "(cached) $ac_c" 1>&6 | |
9516 | else | |
9517 | ||
9518 | cat > conftest.$ac_ext <<EOF | |
2224580a | 9519 | #line 9520 "configure" |
10f2d63a VZ |
9520 | #include "confdefs.h" |
9521 | #include <features.h> | |
9522 | int main() { | |
9523 | ||
9524 | ||
9525 | #ifndef __GNU_LIBRARY__ | |
9526 | Compile error wanted | |
9527 | #endif | |
9528 | ||
9529 | ||
9530 | ; return 0; } | |
9531 | EOF | |
2224580a | 9532 | if { (eval echo configure:9533: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
10f2d63a VZ |
9533 | rm -rf conftest* |
9534 | wx_cv_gnu_extensions=yes | |
9535 | else | |
9536 | echo "configure: failed program was:" >&5 | |
9537 | cat conftest.$ac_ext >&5 | |
9538 | rm -rf conftest* | |
9539 | wx_cv_gnu_extensions=no | |
9540 | fi | |
9541 | rm -f conftest* | |
9542 | ||
9543 | fi | |
9544 | ||
9545 | ||
9546 | echo "$ac_t""$wx_cv_gnu_extensions" 1>&6 | |
9547 | if test "$wx_cv_gnu_extensions" = "yes"; then | |
9548 | cat >> confdefs.h <<EOF | |
9549 | #define _GNU_SOURCE 1 | |
9550 | EOF | |
9551 | ||
9552 | fi | |
9553 | ||
9554 | ||
9555 | ||
9556 | echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6 | |
2224580a | 9557 | echo "configure:9558: checking for wcslen in -lc" >&5 |
10f2d63a VZ |
9558 | ac_lib_var=`echo c'_'wcslen | sed 'y%./+-%__p_%'` |
9559 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
9560 | echo $ac_n "(cached) $ac_c" 1>&6 | |
9561 | else | |
9562 | ac_save_LIBS="$LIBS" | |
9563 | LIBS="-lc $LIBS" | |
9564 | cat > conftest.$ac_ext <<EOF | |
2224580a | 9565 | #line 9566 "configure" |
10f2d63a VZ |
9566 | #include "confdefs.h" |
9567 | /* Override any gcc2 internal prototype to avoid an error. */ | |
9568 | /* We use char because int might match the return type of a gcc2 | |
9569 | builtin and then its argument prototype would still apply. */ | |
9570 | char wcslen(); | |
9571 | ||
9572 | int main() { | |
9573 | wcslen() | |
9574 | ; return 0; } | |
9575 | EOF | |
2224580a | 9576 | if { (eval echo configure:9577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10f2d63a VZ |
9577 | rm -rf conftest* |
9578 | eval "ac_cv_lib_$ac_lib_var=yes" | |
9579 | else | |
9580 | echo "configure: failed program was:" >&5 | |
9581 | cat conftest.$ac_ext >&5 | |
9582 | rm -rf conftest* | |
9583 | eval "ac_cv_lib_$ac_lib_var=no" | |
9584 | fi | |
9585 | rm -f conftest* | |
9586 | LIBS="$ac_save_LIBS" | |
9587 | ||
9588 | fi | |
9589 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
9590 | echo "$ac_t""yes" 1>&6 | |
9591 | ||
9592 | cat >> confdefs.h <<\EOF | |
9593 | #define HAVE_WCSLEN 1 | |
9594 | EOF | |
9595 | ||
9596 | WCHAR_LINK="" | |
9597 | ||
9598 | else | |
9599 | echo "$ac_t""no" 1>&6 | |
9600 | ||
9601 | echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6 | |
2224580a | 9602 | echo "configure:9603: checking for wcslen in -lw" >&5 |
10f2d63a VZ |
9603 | ac_lib_var=`echo w'_'wcslen | sed 'y%./+-%__p_%'` |
9604 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
9605 | echo $ac_n "(cached) $ac_c" 1>&6 | |
9606 | else | |
9607 | ac_save_LIBS="$LIBS" | |
9608 | LIBS="-lw $LIBS" | |
9609 | cat > conftest.$ac_ext <<EOF | |
2224580a | 9610 | #line 9611 "configure" |
10f2d63a VZ |
9611 | #include "confdefs.h" |
9612 | /* Override any gcc2 internal prototype to avoid an error. */ | |
9613 | /* We use char because int might match the return type of a gcc2 | |
9614 | builtin and then its argument prototype would still apply. */ | |
9615 | char wcslen(); | |
9616 | ||
9617 | int main() { | |
9618 | wcslen() | |
9619 | ; return 0; } | |
9620 | EOF | |
2224580a | 9621 | if { (eval echo configure:9622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10f2d63a VZ |
9622 | rm -rf conftest* |
9623 | eval "ac_cv_lib_$ac_lib_var=yes" | |
9624 | else | |
9625 | echo "configure: failed program was:" >&5 | |
9626 | cat conftest.$ac_ext >&5 | |
9627 | rm -rf conftest* | |
9628 | eval "ac_cv_lib_$ac_lib_var=no" | |
9629 | fi | |
9630 | rm -f conftest* | |
9631 | LIBS="$ac_save_LIBS" | |
9632 | ||
9633 | fi | |
9634 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
9635 | echo "$ac_t""yes" 1>&6 | |
9636 | ||
9637 | cat >> confdefs.h <<\EOF | |
9638 | #define HAVE_WCSLEN 1 | |
9639 | EOF | |
9640 | ||
9641 | WCHAR_LINK="-lw" | |
9642 | ||
9643 | else | |
9644 | echo "$ac_t""no" 1>&6 | |
9645 | fi | |
9646 | ||
9647 | ||
9648 | fi | |
9649 | ||
9650 | ||
9651 | echo $ac_n "checking for vprintf""... $ac_c" 1>&6 | |
2224580a | 9652 | echo "configure:9653: checking for vprintf" >&5 |
10f2d63a VZ |
9653 | if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then |
9654 | echo $ac_n "(cached) $ac_c" 1>&6 | |
9655 | else | |
9656 | cat > conftest.$ac_ext <<EOF | |
2224580a | 9657 | #line 9658 "configure" |
10f2d63a VZ |
9658 | #include "confdefs.h" |
9659 | /* System header to define __stub macros and hopefully few prototypes, | |
9660 | which can conflict with char vprintf(); below. */ | |
9661 | #include <assert.h> | |
9662 | /* Override any gcc2 internal prototype to avoid an error. */ | |
9663 | /* We use char because int might match the return type of a gcc2 | |
9664 | builtin and then its argument prototype would still apply. */ | |
9665 | char vprintf(); | |
9666 | ||
9667 | int main() { | |
9668 | ||
9669 | /* The GNU C library defines this for functions which it implements | |
9670 | to always fail with ENOSYS. Some functions are actually named | |
9671 | something starting with __ and the normal name is an alias. */ | |
9672 | #if defined (__stub_vprintf) || defined (__stub___vprintf) | |
9673 | choke me | |
9674 | #else | |
2224580a | 9675 | vprintf(); |
10f2d63a VZ |
9676 | #endif |
9677 | ||
9678 | ; return 0; } | |
9679 | EOF | |
2224580a | 9680 | if { (eval echo configure:9681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10f2d63a VZ |
9681 | rm -rf conftest* |
9682 | eval "ac_cv_func_vprintf=yes" | |
9683 | else | |
9684 | echo "configure: failed program was:" >&5 | |
9685 | cat conftest.$ac_ext >&5 | |
9686 | rm -rf conftest* | |
9687 | eval "ac_cv_func_vprintf=no" | |
9688 | fi | |
9689 | rm -f conftest* | |
9690 | fi | |
9691 | ||
9692 | if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then | |
9693 | echo "$ac_t""yes" 1>&6 | |
9694 | cat >> confdefs.h <<\EOF | |
9695 | #define HAVE_VPRINTF 1 | |
9696 | EOF | |
9697 | ||
9698 | else | |
9699 | echo "$ac_t""no" 1>&6 | |
9700 | fi | |
9701 | ||
9702 | if test "$ac_cv_func_vprintf" != yes; then | |
9703 | echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 | |
2224580a | 9704 | echo "configure:9705: checking for _doprnt" >&5 |
10f2d63a VZ |
9705 | if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then |
9706 | echo $ac_n "(cached) $ac_c" 1>&6 | |
9707 | else | |
9708 | cat > conftest.$ac_ext <<EOF | |
2224580a | 9709 | #line 9710 "configure" |
10f2d63a VZ |
9710 | #include "confdefs.h" |
9711 | /* System header to define __stub macros and hopefully few prototypes, | |
9712 | which can conflict with char _doprnt(); below. */ | |
9713 | #include <assert.h> | |
9714 | /* Override any gcc2 internal prototype to avoid an error. */ | |
9715 | /* We use char because int might match the return type of a gcc2 | |
9716 | builtin and then its argument prototype would still apply. */ | |
9717 | char _doprnt(); | |
9718 | ||
9719 | int main() { | |
9720 | ||
9721 | /* The GNU C library defines this for functions which it implements | |
9722 | to always fail with ENOSYS. Some functions are actually named | |
9723 | something starting with __ and the normal name is an alias. */ | |
9724 | #if defined (__stub__doprnt) || defined (__stub____doprnt) | |
9725 | choke me | |
9726 | #else | |
2224580a | 9727 | _doprnt(); |
10f2d63a VZ |
9728 | #endif |
9729 | ||
9730 | ; return 0; } | |
9731 | EOF | |
2224580a | 9732 | if { (eval echo configure:9733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10f2d63a VZ |
9733 | rm -rf conftest* |
9734 | eval "ac_cv_func__doprnt=yes" | |
9735 | else | |
9736 | echo "configure: failed program was:" >&5 | |
9737 | cat conftest.$ac_ext >&5 | |
9738 | rm -rf conftest* | |
9739 | eval "ac_cv_func__doprnt=no" | |
9740 | fi | |
9741 | rm -f conftest* | |
9742 | fi | |
9743 | ||
9744 | if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then | |
9745 | echo "$ac_t""yes" 1>&6 | |
9746 | cat >> confdefs.h <<\EOF | |
9747 | #define HAVE_DOPRNT 1 | |
9748 | EOF | |
9749 | ||
9750 | else | |
9751 | echo "$ac_t""no" 1>&6 | |
9752 | fi | |
9753 | ||
9754 | fi | |
9755 | ||
9756 | ||
9757 | for ac_func in vsnprintf | |
9758 | do | |
9759 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
2224580a | 9760 | echo "configure:9761: checking for $ac_func" >&5 |
10f2d63a VZ |
9761 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
9762 | echo $ac_n "(cached) $ac_c" 1>&6 | |
9763 | else | |
9764 | cat > conftest.$ac_ext <<EOF | |
2224580a | 9765 | #line 9766 "configure" |
10f2d63a VZ |
9766 | #include "confdefs.h" |
9767 | /* System header to define __stub macros and hopefully few prototypes, | |
9768 | which can conflict with char $ac_func(); below. */ | |
9769 | #include <assert.h> | |
9770 | /* Override any gcc2 internal prototype to avoid an error. */ | |
9771 | /* We use char because int might match the return type of a gcc2 | |
9772 | builtin and then its argument prototype would still apply. */ | |
9773 | char $ac_func(); | |
9774 | ||
9775 | int main() { | |
9776 | ||
9777 | /* The GNU C library defines this for functions which it implements | |
9778 | to always fail with ENOSYS. Some functions are actually named | |
9779 | something starting with __ and the normal name is an alias. */ | |
9780 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
9781 | choke me | |
9782 | #else | |
2224580a | 9783 | $ac_func(); |
10f2d63a VZ |
9784 | #endif |
9785 | ||
9786 | ; return 0; } | |
9787 | EOF | |
2224580a | 9788 | if { (eval echo configure:9789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10f2d63a VZ |
9789 | rm -rf conftest* |
9790 | eval "ac_cv_func_$ac_func=yes" | |
9791 | else | |
9792 | echo "configure: failed program was:" >&5 | |
9793 | cat conftest.$ac_ext >&5 | |
9794 | rm -rf conftest* | |
9795 | eval "ac_cv_func_$ac_func=no" | |
9796 | fi | |
9797 | rm -f conftest* | |
9798 | fi | |
9799 | ||
9800 | if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then | |
9801 | echo "$ac_t""yes" 1>&6 | |
9802 | ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` | |
9803 | cat >> confdefs.h <<EOF | |
9804 | #define $ac_tr_func 1 | |
9805 | EOF | |
9806 | cat >> confdefs.h <<\EOF | |
9807 | #define HAVE_VSNPRINTF 1 | |
9808 | EOF | |
9809 | ||
9810 | else | |
9811 | echo "$ac_t""no" 1>&6 | |
9812 | echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2 | |
9813 | ||
9814 | fi | |
9815 | done | |
9816 | ||
9817 | ||
9818 | ||
9819 | ac_ext=C | |
9820 | # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
9821 | ac_cpp='$CXXCPP $CPPFLAGS' | |
9822 | ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | |
9823 | ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | |
9824 | cross_compiling=$ac_cv_prog_cxx_cross | |
9825 | ||
9826 | ||
9827 | echo $ac_n "checking for vsscanf""... $ac_c" 1>&6 | |
2224580a | 9828 | echo "configure:9829: checking for vsscanf" >&5 |
10f2d63a VZ |
9829 | if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then |
9830 | echo $ac_n "(cached) $ac_c" 1>&6 | |
9831 | else | |
9832 | ||
9833 | if test "$cross_compiling" = yes; then | |
9834 | wx_cv_func_vsscanf=no | |
9835 | ||
9836 | else | |
9837 | cat > conftest.$ac_ext <<EOF | |
2224580a | 9838 | #line 9839 "configure" |
10f2d63a VZ |
9839 | #include "confdefs.h" |
9840 | #ifdef __cplusplus | |
9841 | extern "C" void exit(int); | |
9842 | #endif | |
9843 | ||
9844 | #include <stdio.h> | |
9845 | #include <stdarg.h> | |
9846 | ||
9847 | int try_vsscanf(const char *format, ...) | |
9848 | { | |
9849 | va_list ap; | |
9850 | va_start(ap, format); | |
9851 | ||
9852 | vsscanf("17", format, ap); | |
9853 | ||
9854 | va_end(ap); | |
9855 | } | |
9856 | ||
9857 | int main() | |
9858 | { | |
9859 | int i; | |
9860 | try_vsscanf("%d", &i); | |
9861 | return i == 17 ? 0 : 1; | |
9862 | } | |
9863 | ||
9864 | EOF | |
2224580a | 9865 | if { (eval echo configure:9866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
10f2d63a VZ |
9866 | then |
9867 | ||
9868 | cat >> confdefs.h <<\EOF | |
9869 | #define HAVE_VSSCANF 1 | |
9870 | EOF | |
9871 | ||
9872 | wx_cv_func_vsscanf=yes | |
9873 | ||
9874 | else | |
9875 | echo "configure: failed program was:" >&5 | |
9876 | cat conftest.$ac_ext >&5 | |
9877 | rm -fr conftest* | |
9878 | wx_cv_func_vsscanf=no | |
9879 | fi | |
9880 | rm -fr conftest* | |
9881 | fi | |
9882 | ||
9883 | ||
9884 | fi | |
9885 | ||
9886 | echo "$ac_t""$wx_cv_func_vsscanf" 1>&6 | |
9887 | ||
9888 | ac_ext=c | |
9889 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
9890 | ac_cpp='$CPP $CPPFLAGS' | |
9891 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | |
9892 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | |
9893 | cross_compiling=$ac_cv_prog_cc_cross | |
9894 | ||
9895 | ||
9896 | if test "$USE_UNIX" = 1; then | |
9897 | ||
9898 | for ac_func in vfork | |
9899 | do | |
9900 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
2224580a | 9901 | echo "configure:9902: checking for $ac_func" >&5 |
10f2d63a VZ |
9902 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
9903 | echo $ac_n "(cached) $ac_c" 1>&6 | |
9904 | else | |
9905 | cat > conftest.$ac_ext <<EOF | |
2224580a | 9906 | #line 9907 "configure" |
10f2d63a VZ |
9907 | #include "confdefs.h" |
9908 | /* System header to define __stub macros and hopefully few prototypes, | |
9909 | which can conflict with char $ac_func(); below. */ | |
9910 | #include <assert.h> | |
9911 | /* Override any gcc2 internal prototype to avoid an error. */ | |
9912 | /* We use char because int might match the return type of a gcc2 | |
9913 | builtin and then its argument prototype would still apply. */ | |
9914 | char $ac_func(); | |
9915 | ||
9916 | int main() { | |
9917 | ||
9918 | /* The GNU C library defines this for functions which it implements | |
9919 | to always fail with ENOSYS. Some functions are actually named | |
9920 | something starting with __ and the normal name is an alias. */ | |
9921 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
9922 | choke me | |
9923 | #else | |
2224580a | 9924 | $ac_func(); |
10f2d63a VZ |
9925 | #endif |
9926 | ||
9927 | ; return 0; } | |
9928 | EOF | |
2224580a | 9929 | if { (eval echo configure:9930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
270a909e VZ |
9930 | rm -rf conftest* |
9931 | eval "ac_cv_func_$ac_func=yes" | |
9932 | else | |
9933 | echo "configure: failed program was:" >&5 | |
9934 | cat conftest.$ac_ext >&5 | |
9935 | rm -rf conftest* | |
9936 | eval "ac_cv_func_$ac_func=no" | |
9937 | fi | |
9938 | rm -f conftest* | |
9939 | fi | |
9940 | ||
9941 | if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then | |
9942 | echo "$ac_t""yes" 1>&6 | |
9943 | ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` | |
9944 | cat >> confdefs.h <<EOF | |
9945 | #define $ac_tr_func 1 | |
9946 | EOF | |
9947 | ||
9948 | else | |
9949 | echo "$ac_t""no" 1>&6 | |
9950 | fi | |
9951 | done | |
9952 | ||
9953 | ||
9954 | for ac_func in timegm | |
9955 | do | |
9956 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
2224580a | 9957 | echo "configure:9958: checking for $ac_func" >&5 |
270a909e VZ |
9958 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
9959 | echo $ac_n "(cached) $ac_c" 1>&6 | |
9960 | else | |
9961 | cat > conftest.$ac_ext <<EOF | |
2224580a | 9962 | #line 9963 "configure" |
270a909e VZ |
9963 | #include "confdefs.h" |
9964 | /* System header to define __stub macros and hopefully few prototypes, | |
9965 | which can conflict with char $ac_func(); below. */ | |
9966 | #include <assert.h> | |
9967 | /* Override any gcc2 internal prototype to avoid an error. */ | |
9968 | /* We use char because int might match the return type of a gcc2 | |
9969 | builtin and then its argument prototype would still apply. */ | |
9970 | char $ac_func(); | |
9971 | ||
9972 | int main() { | |
9973 | ||
9974 | /* The GNU C library defines this for functions which it implements | |
9975 | to always fail with ENOSYS. Some functions are actually named | |
9976 | something starting with __ and the normal name is an alias. */ | |
9977 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
9978 | choke me | |
9979 | #else | |
2224580a | 9980 | $ac_func(); |
270a909e VZ |
9981 | #endif |
9982 | ||
9983 | ; return 0; } | |
9984 | EOF | |
2224580a | 9985 | if { (eval echo configure:9986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10f2d63a VZ |
9986 | rm -rf conftest* |
9987 | eval "ac_cv_func_$ac_func=yes" | |
9988 | else | |
9989 | echo "configure: failed program was:" >&5 | |
9990 | cat conftest.$ac_ext >&5 | |
9991 | rm -rf conftest* | |
9992 | eval "ac_cv_func_$ac_func=no" | |
9993 | fi | |
9994 | rm -f conftest* | |
9995 | fi | |
9996 | ||
9997 | if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then | |
9998 | echo "$ac_t""yes" 1>&6 | |
9999 | ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` | |
10000 | cat >> confdefs.h <<EOF | |
10001 | #define $ac_tr_func 1 | |
10002 | EOF | |
10003 | ||
10004 | else | |
10005 | echo "$ac_t""no" 1>&6 | |
10006 | fi | |
10007 | done | |
10008 | ||
10009 | ||
b12915c1 VZ |
10010 | HAVE_SOME_SLEEP_FUNC=0 |
10011 | if test "$USE_BEOS" = 1; then | |
10012 | cat >> confdefs.h <<\EOF | |
10013 | #define HAVE_SLEEP 1 | |
10014 | EOF | |
10015 | ||
10016 | HAVE_SOME_SLEEP_FUNC=1 | |
10017 | fi | |
10018 | ||
10019 | if test "$HAVE_SOME_SLEEP_FUNC" != 1; then | |
10020 | POSIX4_LINK= | |
10021 | for ac_func in nanosleep | |
10f2d63a VZ |
10022 | do |
10023 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
2224580a | 10024 | echo "configure:10025: checking for $ac_func" >&5 |
10f2d63a VZ |
10025 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
10026 | echo $ac_n "(cached) $ac_c" 1>&6 | |
10027 | else | |
10028 | cat > conftest.$ac_ext <<EOF | |
2224580a | 10029 | #line 10030 "configure" |
10f2d63a VZ |
10030 | #include "confdefs.h" |
10031 | /* System header to define __stub macros and hopefully few prototypes, | |
10032 | which can conflict with char $ac_func(); below. */ | |
10033 | #include <assert.h> | |
10034 | /* Override any gcc2 internal prototype to avoid an error. */ | |
10035 | /* We use char because int might match the return type of a gcc2 | |
10036 | builtin and then its argument prototype would still apply. */ | |
10037 | char $ac_func(); | |
10038 | ||
10039 | int main() { | |
10040 | ||
10041 | /* The GNU C library defines this for functions which it implements | |
10042 | to always fail with ENOSYS. Some functions are actually named | |
10043 | something starting with __ and the normal name is an alias. */ | |
10044 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
10045 | choke me | |
10046 | #else | |
2224580a | 10047 | $ac_func(); |
10f2d63a VZ |
10048 | #endif |
10049 | ||
10050 | ; return 0; } | |
10051 | EOF | |
2224580a | 10052 | if { (eval echo configure:10053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10f2d63a VZ |
10053 | rm -rf conftest* |
10054 | eval "ac_cv_func_$ac_func=yes" | |
10055 | else | |
10056 | echo "configure: failed program was:" >&5 | |
10057 | cat conftest.$ac_ext >&5 | |
10058 | rm -rf conftest* | |
10059 | eval "ac_cv_func_$ac_func=no" | |
10060 | fi | |
10061 | rm -f conftest* | |
10062 | fi | |
10063 | ||
10064 | if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then | |
10065 | echo "$ac_t""yes" 1>&6 | |
10066 | ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` | |
10067 | cat >> confdefs.h <<EOF | |
10068 | #define $ac_tr_func 1 | |
10069 | EOF | |
10070 | cat >> confdefs.h <<\EOF | |
10071 | #define HAVE_NANOSLEEP 1 | |
10072 | EOF | |
10073 | ||
10074 | else | |
10075 | echo "$ac_t""no" 1>&6 | |
10076 | echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6 | |
2224580a | 10077 | echo "configure:10078: checking for nanosleep in -lposix4" >&5 |
10f2d63a VZ |
10078 | ac_lib_var=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'` |
10079 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
10080 | echo $ac_n "(cached) $ac_c" 1>&6 | |
10081 | else | |
10082 | ac_save_LIBS="$LIBS" | |
10083 | LIBS="-lposix4 $LIBS" | |
10084 | cat > conftest.$ac_ext <<EOF | |
2224580a | 10085 | #line 10086 "configure" |
10f2d63a VZ |
10086 | #include "confdefs.h" |
10087 | /* Override any gcc2 internal prototype to avoid an error. */ | |
10088 | /* We use char because int might match the return type of a gcc2 | |
10089 | builtin and then its argument prototype would still apply. */ | |
10090 | char nanosleep(); | |
10091 | ||
10092 | int main() { | |
10093 | nanosleep() | |
10094 | ; return 0; } | |
10095 | EOF | |
2224580a | 10096 | if { (eval echo configure:10097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10f2d63a VZ |
10097 | rm -rf conftest* |
10098 | eval "ac_cv_lib_$ac_lib_var=yes" | |
10099 | else | |
10100 | echo "configure: failed program was:" >&5 | |
10101 | cat conftest.$ac_ext >&5 | |
10102 | rm -rf conftest* | |
10103 | eval "ac_cv_lib_$ac_lib_var=no" | |
10104 | fi | |
10105 | rm -f conftest* | |
10106 | LIBS="$ac_save_LIBS" | |
10107 | ||
10108 | fi | |
10109 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
10110 | echo "$ac_t""yes" 1>&6 | |
10111 | ||
b12915c1 | 10112 | cat >> confdefs.h <<\EOF |
10f2d63a VZ |
10113 | #define HAVE_NANOSLEEP 1 |
10114 | EOF | |
10115 | ||
b12915c1 VZ |
10116 | POSIX4_LINK="-lposix4" |
10117 | ||
10f2d63a VZ |
10118 | else |
10119 | echo "$ac_t""no" 1>&6 | |
10120 | ||
b12915c1 | 10121 | for ac_func in usleep |
10f2d63a VZ |
10122 | do |
10123 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
2224580a | 10124 | echo "configure:10125: checking for $ac_func" >&5 |
10f2d63a VZ |
10125 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
10126 | echo $ac_n "(cached) $ac_c" 1>&6 | |
10127 | else | |
10128 | cat > conftest.$ac_ext <<EOF | |
2224580a | 10129 | #line 10130 "configure" |
10f2d63a VZ |
10130 | #include "confdefs.h" |
10131 | /* System header to define __stub macros and hopefully few prototypes, | |
10132 | which can conflict with char $ac_func(); below. */ | |
10133 | #include <assert.h> | |
10134 | /* Override any gcc2 internal prototype to avoid an error. */ | |
10135 | /* We use char because int might match the return type of a gcc2 | |
10136 | builtin and then its argument prototype would still apply. */ | |
10137 | char $ac_func(); | |
10138 | ||
10139 | int main() { | |
10140 | ||
10141 | /* The GNU C library defines this for functions which it implements | |
10142 | to always fail with ENOSYS. Some functions are actually named | |
10143 | something starting with __ and the normal name is an alias. */ | |
10144 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
10145 | choke me | |
10146 | #else | |
2224580a | 10147 | $ac_func(); |
10f2d63a VZ |
10148 | #endif |
10149 | ||
10150 | ; return 0; } | |
10151 | EOF | |
2224580a | 10152 | if { (eval echo configure:10153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10f2d63a VZ |
10153 | rm -rf conftest* |
10154 | eval "ac_cv_func_$ac_func=yes" | |
10155 | else | |
10156 | echo "configure: failed program was:" >&5 | |
10157 | cat conftest.$ac_ext >&5 | |
10158 | rm -rf conftest* | |
10159 | eval "ac_cv_func_$ac_func=no" | |
10160 | fi | |
10161 | rm -f conftest* | |
10162 | fi | |
10163 | ||
10164 | if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then | |
10165 | echo "$ac_t""yes" 1>&6 | |
10166 | ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` | |
10167 | cat >> confdefs.h <<EOF | |
10168 | #define $ac_tr_func 1 | |
10169 | EOF | |
b12915c1 | 10170 | |
10f2d63a VZ |
10171 | else |
10172 | echo "$ac_t""no" 1>&6 | |
10f2d63a VZ |
10173 | fi |
10174 | done | |
10175 | ||
b12915c1 VZ |
10176 | echo "configure: warning: wxSleep() function will not work" 1>&2 |
10177 | ||
10178 | ||
10f2d63a VZ |
10179 | fi |
10180 | ||
b12915c1 VZ |
10181 | |
10182 | ||
10f2d63a VZ |
10183 | fi |
10184 | done | |
10185 | ||
b12915c1 | 10186 | fi |
10f2d63a VZ |
10187 | |
10188 | for ac_func in uname gethostname | |
10189 | do | |
10190 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
2224580a | 10191 | echo "configure:10192: checking for $ac_func" >&5 |
10f2d63a VZ |
10192 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
10193 | echo $ac_n "(cached) $ac_c" 1>&6 | |
10194 | else | |
10195 | cat > conftest.$ac_ext <<EOF | |
2224580a | 10196 | #line 10197 "configure" |
10f2d63a VZ |
10197 | #include "confdefs.h" |
10198 | /* System header to define __stub macros and hopefully few prototypes, | |
10199 | which can conflict with char $ac_func(); below. */ | |
10200 | #include <assert.h> | |
10201 | /* Override any gcc2 internal prototype to avoid an error. */ | |
10202 | /* We use char because int might match the return type of a gcc2 | |
10203 | builtin and then its argument prototype would still apply. */ | |
10204 | char $ac_func(); | |
10205 | ||
10206 | int main() { | |
10207 | ||
10208 | /* The GNU C library defines this for functions which it implements | |
10209 | to always fail with ENOSYS. Some functions are actually named | |
10210 | something starting with __ and the normal name is an alias. */ | |
10211 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
10212 | choke me | |
10213 | #else | |
2224580a | 10214 | $ac_func(); |
10f2d63a VZ |
10215 | #endif |
10216 | ||
10217 | ; return 0; } | |
10218 | EOF | |
2224580a | 10219 | if { (eval echo configure:10220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10f2d63a VZ |
10220 | rm -rf conftest* |
10221 | eval "ac_cv_func_$ac_func=yes" | |
10222 | else | |
10223 | echo "configure: failed program was:" >&5 | |
10224 | cat conftest.$ac_ext >&5 | |
10225 | rm -rf conftest* | |
10226 | eval "ac_cv_func_$ac_func=no" | |
10227 | fi | |
10228 | rm -f conftest* | |
10229 | fi | |
10230 | ||
10231 | if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then | |
10232 | echo "$ac_t""yes" 1>&6 | |
10233 | ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` | |
10234 | cat >> confdefs.h <<EOF | |
10235 | #define $ac_tr_func 1 | |
10236 | EOF | |
10237 | break | |
10238 | else | |
10239 | echo "$ac_t""no" 1>&6 | |
10240 | fi | |
10241 | done | |
10242 | ||
10243 | ||
10244 | for ac_func in strtok_r | |
10245 | do | |
10246 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
2224580a | 10247 | echo "configure:10248: checking for $ac_func" >&5 |
10f2d63a VZ |
10248 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
10249 | echo $ac_n "(cached) $ac_c" 1>&6 | |
10250 | else | |
10251 | cat > conftest.$ac_ext <<EOF | |
2224580a | 10252 | #line 10253 "configure" |
10f2d63a VZ |
10253 | #include "confdefs.h" |
10254 | /* System header to define __stub macros and hopefully few prototypes, | |
10255 | which can conflict with char $ac_func(); below. */ | |
10256 | #include <assert.h> | |
10257 | /* Override any gcc2 internal prototype to avoid an error. */ | |
10258 | /* We use char because int might match the return type of a gcc2 | |
10259 | builtin and then its argument prototype would still apply. */ | |
10260 | char $ac_func(); | |
10261 | ||
10262 | int main() { | |
10263 | ||
10264 | /* The GNU C library defines this for functions which it implements | |
10265 | to always fail with ENOSYS. Some functions are actually named | |
10266 | something starting with __ and the normal name is an alias. */ | |
10267 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
10268 | choke me | |
10269 | #else | |
2224580a | 10270 | $ac_func(); |
10f2d63a VZ |
10271 | #endif |
10272 | ||
10273 | ; return 0; } | |
10274 | EOF | |
2224580a | 10275 | if { (eval echo configure:10276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10f2d63a VZ |
10276 | rm -rf conftest* |
10277 | eval "ac_cv_func_$ac_func=yes" | |
10278 | else | |
10279 | echo "configure: failed program was:" >&5 | |
10280 | cat conftest.$ac_ext >&5 | |
10281 | rm -rf conftest* | |
10282 | eval "ac_cv_func_$ac_func=no" | |
10283 | fi | |
10284 | rm -f conftest* | |
10285 | fi | |
10286 | ||
10287 | if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then | |
10288 | echo "$ac_t""yes" 1>&6 | |
10289 | ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` | |
10290 | cat >> confdefs.h <<EOF | |
10291 | #define $ac_tr_func 1 | |
10292 | EOF | |
10293 | ||
10294 | else | |
10295 | echo "$ac_t""no" 1>&6 | |
10296 | fi | |
10297 | done | |
10298 | ||
10299 | ||
c63c7106 | 10300 | INET_LINK= |
10f2d63a VZ |
10301 | for ac_func in inet_addr |
10302 | do | |
10303 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
2224580a | 10304 | echo "configure:10305: checking for $ac_func" >&5 |
10f2d63a VZ |
10305 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
10306 | echo $ac_n "(cached) $ac_c" 1>&6 | |
10307 | else | |
10308 | cat > conftest.$ac_ext <<EOF | |
2224580a | 10309 | #line 10310 "configure" |
10f2d63a VZ |
10310 | #include "confdefs.h" |
10311 | /* System header to define __stub macros and hopefully few prototypes, | |
10312 | which can conflict with char $ac_func(); below. */ | |
10313 | #include <assert.h> | |
10314 | /* Override any gcc2 internal prototype to avoid an error. */ | |
10315 | /* We use char because int might match the return type of a gcc2 | |
10316 | builtin and then its argument prototype would still apply. */ | |
10317 | char $ac_func(); | |
10318 | ||
10319 | int main() { | |
10320 | ||
10321 | /* The GNU C library defines this for functions which it implements | |
10322 | to always fail with ENOSYS. Some functions are actually named | |
10323 | something starting with __ and the normal name is an alias. */ | |
10324 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
10325 | choke me | |
10326 | #else | |
2224580a | 10327 | $ac_func(); |
10f2d63a VZ |
10328 | #endif |
10329 | ||
10330 | ; return 0; } | |
10331 | EOF | |
16b52fa1 | 10332 | if { (eval echo configure:10333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10f2d63a VZ |
10333 | rm -rf conftest* |
10334 | eval "ac_cv_func_$ac_func=yes" | |
10335 | else | |
10336 | echo "configure: failed program was:" >&5 | |
10337 | cat conftest.$ac_ext >&5 | |
10338 | rm -rf conftest* | |
10339 | eval "ac_cv_func_$ac_func=no" | |
10340 | fi | |
10341 | rm -f conftest* | |
10342 | fi | |
10343 | ||
10344 | if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then | |
10345 | echo "$ac_t""yes" 1>&6 | |
10346 | ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` | |
10347 | cat >> confdefs.h <<EOF | |
10348 | #define $ac_tr_func 1 | |
10349 | EOF | |
c63c7106 VZ |
10350 | cat >> confdefs.h <<\EOF |
10351 | #define HAVE_INET_ADDR 1 | |
10352 | EOF | |
10353 | ||
10f2d63a VZ |
10354 | else |
10355 | echo "$ac_t""no" 1>&6 | |
c63c7106 | 10356 | echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6 |
16b52fa1 | 10357 | echo "configure:10358: checking for inet_addr in -lnsl" >&5 |
c63c7106 VZ |
10358 | ac_lib_var=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'` |
10359 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
10360 | echo $ac_n "(cached) $ac_c" 1>&6 | |
10361 | else | |
10362 | ac_save_LIBS="$LIBS" | |
10363 | LIBS="-lnsl $LIBS" | |
10364 | cat > conftest.$ac_ext <<EOF | |
16b52fa1 | 10365 | #line 10366 "configure" |
c63c7106 VZ |
10366 | #include "confdefs.h" |
10367 | /* Override any gcc2 internal prototype to avoid an error. */ | |
10368 | /* We use char because int might match the return type of a gcc2 | |
10369 | builtin and then its argument prototype would still apply. */ | |
10370 | char inet_addr(); | |
10371 | ||
10372 | int main() { | |
10373 | inet_addr() | |
10374 | ; return 0; } | |
10375 | EOF | |
16b52fa1 | 10376 | if { (eval echo configure:10377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
c63c7106 VZ |
10377 | rm -rf conftest* |
10378 | eval "ac_cv_lib_$ac_lib_var=yes" | |
10379 | else | |
10380 | echo "configure: failed program was:" >&5 | |
10381 | cat conftest.$ac_ext >&5 | |
10382 | rm -rf conftest* | |
10383 | eval "ac_cv_lib_$ac_lib_var=no" | |
10384 | fi | |
10385 | rm -f conftest* | |
10386 | LIBS="$ac_save_LIBS" | |
10387 | ||
10388 | fi | |
10389 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
10390 | echo "$ac_t""yes" 1>&6 | |
10391 | INET_LINK="nsl" | |
10392 | else | |
10393 | echo "$ac_t""no" 1>&6 | |
10394 | echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6 | |
16b52fa1 | 10395 | echo "configure:10396: checking for inet_addr in -lresolv" >&5 |
c63c7106 VZ |
10396 | ac_lib_var=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'` |
10397 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
10398 | echo $ac_n "(cached) $ac_c" 1>&6 | |
10399 | else | |
10400 | ac_save_LIBS="$LIBS" | |
10401 | LIBS="-lresolv $LIBS" | |
10402 | cat > conftest.$ac_ext <<EOF | |
16b52fa1 | 10403 | #line 10404 "configure" |
c63c7106 VZ |
10404 | #include "confdefs.h" |
10405 | /* Override any gcc2 internal prototype to avoid an error. */ | |
10406 | /* We use char because int might match the return type of a gcc2 | |
10407 | builtin and then its argument prototype would still apply. */ | |
10408 | char inet_addr(); | |
10409 | ||
10410 | int main() { | |
10411 | inet_addr() | |
10412 | ; return 0; } | |
10413 | EOF | |
16b52fa1 | 10414 | if { (eval echo configure:10415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
c63c7106 VZ |
10415 | rm -rf conftest* |
10416 | eval "ac_cv_lib_$ac_lib_var=yes" | |
10417 | else | |
10418 | echo "configure: failed program was:" >&5 | |
10419 | cat conftest.$ac_ext >&5 | |
10420 | rm -rf conftest* | |
10421 | eval "ac_cv_lib_$ac_lib_var=no" | |
10422 | fi | |
10423 | rm -f conftest* | |
10424 | LIBS="$ac_save_LIBS" | |
10425 | ||
10426 | fi | |
10427 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
10428 | echo "$ac_t""yes" 1>&6 | |
10429 | INET_LINK="resolv" | |
10430 | ||
10431 | else | |
10432 | echo "$ac_t""no" 1>&6 | |
10433 | fi | |
10434 | ||
10435 | ||
10436 | fi | |
10437 | ||
10438 | ||
10439 | ||
10f2d63a VZ |
10440 | fi |
10441 | done | |
10442 | ||
c63c7106 | 10443 | |
10f2d63a VZ |
10444 | for ac_func in inet_aton |
10445 | do | |
10446 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
16b52fa1 | 10447 | echo "configure:10448: checking for $ac_func" >&5 |
10f2d63a VZ |
10448 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
10449 | echo $ac_n "(cached) $ac_c" 1>&6 | |
10450 | else | |
10451 | cat > conftest.$ac_ext <<EOF | |
16b52fa1 | 10452 | #line 10453 "configure" |
10f2d63a VZ |
10453 | #include "confdefs.h" |
10454 | /* System header to define __stub macros and hopefully few prototypes, | |
10455 | which can conflict with char $ac_func(); below. */ | |
10456 | #include <assert.h> | |
10457 | /* Override any gcc2 internal prototype to avoid an error. */ | |
10458 | /* We use char because int might match the return type of a gcc2 | |
10459 | builtin and then its argument prototype would still apply. */ | |
10460 | char $ac_func(); | |
10461 | ||
10462 | int main() { | |
10463 | ||
10464 | /* The GNU C library defines this for functions which it implements | |
10465 | to always fail with ENOSYS. Some functions are actually named | |
10466 | something starting with __ and the normal name is an alias. */ | |
10467 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
10468 | choke me | |
10469 | #else | |
2224580a | 10470 | $ac_func(); |
10f2d63a VZ |
10471 | #endif |
10472 | ||
10473 | ; return 0; } | |
10474 | EOF | |
2224580a | 10475 | if { (eval echo configure:10476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10f2d63a VZ |
10476 | rm -rf conftest* |
10477 | eval "ac_cv_func_$ac_func=yes" | |
10478 | else | |
10479 | echo "configure: failed program was:" >&5 | |
10480 | cat conftest.$ac_ext >&5 | |
10481 | rm -rf conftest* | |
10482 | eval "ac_cv_func_$ac_func=no" | |
10483 | fi | |
10484 | rm -f conftest* | |
10485 | fi | |
10486 | ||
10487 | if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then | |
10488 | echo "$ac_t""yes" 1>&6 | |
10489 | ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` | |
10490 | cat >> confdefs.h <<EOF | |
10491 | #define $ac_tr_func 1 | |
10492 | EOF | |
c63c7106 VZ |
10493 | cat >> confdefs.h <<\EOF |
10494 | #define HAVE_INET_ATON 1 | |
10495 | EOF | |
10496 | ||
10f2d63a VZ |
10497 | else |
10498 | echo "$ac_t""no" 1>&6 | |
c63c7106 | 10499 | echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6 |
2224580a | 10500 | echo "configure:10501: checking for inet_aton in -l$INET_LINK" >&5 |
c63c7106 | 10501 | ac_lib_var=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'` |
10f2d63a VZ |
10502 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
10503 | echo $ac_n "(cached) $ac_c" 1>&6 | |
10504 | else | |
10505 | ac_save_LIBS="$LIBS" | |
c63c7106 | 10506 | LIBS="-l$INET_LINK $LIBS" |
10f2d63a | 10507 | cat > conftest.$ac_ext <<EOF |
2224580a | 10508 | #line 10509 "configure" |
10f2d63a VZ |
10509 | #include "confdefs.h" |
10510 | /* Override any gcc2 internal prototype to avoid an error. */ | |
10511 | /* We use char because int might match the return type of a gcc2 | |
10512 | builtin and then its argument prototype would still apply. */ | |
10513 | char inet_aton(); | |
10514 | ||
10515 | int main() { | |
10516 | inet_aton() | |
10517 | ; return 0; } | |
10518 | EOF | |
2224580a | 10519 | if { (eval echo configure:10520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10f2d63a VZ |
10520 | rm -rf conftest* |
10521 | eval "ac_cv_lib_$ac_lib_var=yes" | |
10522 | else | |
10523 | echo "configure: failed program was:" >&5 | |
10524 | cat conftest.$ac_ext >&5 | |
10525 | rm -rf conftest* | |
10526 | eval "ac_cv_lib_$ac_lib_var=no" | |
10527 | fi | |
10528 | rm -f conftest* | |
10529 | LIBS="$ac_save_LIBS" | |
10530 | ||
10531 | fi | |
10532 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
10533 | echo "$ac_t""yes" 1>&6 | |
c63c7106 VZ |
10534 | cat >> confdefs.h <<\EOF |
10535 | #define HAVE_INET_ATON 1 | |
10f2d63a VZ |
10536 | EOF |
10537 | ||
10f2d63a VZ |
10538 | else |
10539 | echo "$ac_t""no" 1>&6 | |
10540 | fi | |
10541 | ||
c63c7106 VZ |
10542 | |
10543 | fi | |
10544 | done | |
10545 | ||
10546 | ||
10547 | if test "x$INET_LINK" != "x"; then | |
10548 | cat >> confdefs.h <<\EOF | |
10549 | #define HAVE_INET_ADDR 1 | |
10550 | EOF | |
10551 | ||
10552 | INET_LINK="-l$INET_LINK" | |
10553 | fi | |
10f2d63a VZ |
10554 | |
10555 | fi | |
10556 | ||
10557 | ||
10558 | cat > confcache <<\EOF | |
10559 | # This file is a shell script that caches the results of configure | |
10560 | # tests run on this system so they can be shared between configure | |
10561 | # scripts and configure runs. It is not useful on other systems. | |
10562 | # If it contains results you don't want to keep, you may remove or edit it. | |
10563 | # | |
10564 | # By default, configure uses ./config.cache as the cache file, | |
10565 | # creating it if it does not exist already. You can give configure | |
10566 | # the --cache-file=FILE option to use a different cache file; that is | |
10567 | # what configure does when it calls configure scripts in | |
10568 | # subdirectories, so they share the cache. | |
10569 | # Giving --cache-file=/dev/null disables caching, for debugging configure. | |
10570 | # config.status only pays attention to the cache file if you give it the | |
10571 | # --recheck option to rerun configure. | |
10572 | # | |
10573 | EOF | |
10574 | # The following way of writing the cache mishandles newlines in values, | |
10575 | # but we know of no workaround that is simple, portable, and efficient. | |
10576 | # So, don't put newlines in cache variables' values. | |
10577 | # Ultrix sh set writes to stderr and can't be redirected directly, | |
10578 | # and sets the high bit in the cache file unless we assign to the vars. | |
10579 | (set) 2>&1 | | |
10580 | case `(ac_space=' '; set | grep ac_space) 2>&1` in | |
10581 | *ac_space=\ *) | |
10582 | # `set' does not quote correctly, so add quotes (double-quote substitution | |
10583 | # turns \\\\ into \\, and sed turns \\ into \). | |
10584 | sed -n \ | |
10585 | -e "s/'/'\\\\''/g" \ | |
10586 | -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" | |
10587 | ;; | |
10588 | *) | |
10589 | # `set' quotes correctly as required by POSIX, so do not add quotes. | |
10590 | sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' | |
10591 | ;; | |
10592 | esac >> confcache | |
10593 | if cmp -s $cache_file confcache; then | |
10594 | : | |
10595 | else | |
10596 | if test -w $cache_file; then | |
10597 | echo "updating cache $cache_file" | |
10598 | cat confcache > $cache_file | |
10599 | else | |
10600 | echo "not updating unwritable cache $cache_file" | |
10601 | fi | |
10602 | fi | |
10603 | rm -f confcache | |
10604 | ||
10605 | ||
10606 | ||
10607 | if test "$USE_UNIX" = 1; then | |
10608 | ||
10609 | ||
10610 | THREADS_LINK="" | |
10611 | THREADS_OBJ="" | |
10612 | ||
10613 | if test "$wxUSE_THREADS" = "yes" ; then | |
10614 | if test "$wxUSE_WINE" = 1 ; then | |
10615 | echo "configure: warning: Threads are not supported under WINE" 1>&2 | |
10616 | wxUSE_THREADS="no" | |
b12915c1 VZ |
10617 | elif test "$USE_BEOS" = 1; then |
10618 | echo "configure: warning: BeOS threads are not yet supported" 1>&2 | |
10619 | wxUSE_THREADS="no" | |
10f2d63a VZ |
10620 | fi |
10621 | fi | |
10622 | ||
10623 | if test "$wxUSE_THREADS" = "yes" ; then | |
10624 | ||
10625 | echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6 | |
2224580a | 10626 | echo "configure:10627: checking for pthread_create in -lpthread" >&5 |
10f2d63a VZ |
10627 | ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'` |
10628 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
10629 | echo $ac_n "(cached) $ac_c" 1>&6 | |
10630 | else | |
10631 | ac_save_LIBS="$LIBS" | |
10632 | LIBS="-lpthread $LIBS" | |
10633 | cat > conftest.$ac_ext <<EOF | |
2224580a | 10634 | #line 10635 "configure" |
10f2d63a VZ |
10635 | #include "confdefs.h" |
10636 | /* Override any gcc2 internal prototype to avoid an error. */ | |
10637 | /* We use char because int might match the return type of a gcc2 | |
10638 | builtin and then its argument prototype would still apply. */ | |
10639 | char pthread_create(); | |
10640 | ||
10641 | int main() { | |
10642 | pthread_create() | |
10643 | ; return 0; } | |
10644 | EOF | |
2224580a | 10645 | if { (eval echo configure:10646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10f2d63a VZ |
10646 | rm -rf conftest* |
10647 | eval "ac_cv_lib_$ac_lib_var=yes" | |
10648 | else | |
10649 | echo "configure: failed program was:" >&5 | |
10650 | cat conftest.$ac_ext >&5 | |
10651 | rm -rf conftest* | |
10652 | eval "ac_cv_lib_$ac_lib_var=no" | |
10653 | fi | |
10654 | rm -f conftest* | |
10655 | LIBS="$ac_save_LIBS" | |
10656 | ||
10657 | fi | |
10658 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
10659 | echo "$ac_t""yes" 1>&6 | |
10660 | ||
10661 | THREADS_OBJ="threadpsx.lo" | |
10662 | THREADS_LINK="pthread" | |
10663 | ||
10664 | else | |
10665 | echo "$ac_t""no" 1>&6 | |
10666 | ||
10667 | echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6 | |
2224580a | 10668 | echo "configure:10669: checking for pthread_create in -lc_r" >&5 |
10f2d63a VZ |
10669 | ac_lib_var=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'` |
10670 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
10671 | echo $ac_n "(cached) $ac_c" 1>&6 | |
10672 | else | |
10673 | ac_save_LIBS="$LIBS" | |
10674 | LIBS="-lc_r $LIBS" | |
10675 | cat > conftest.$ac_ext <<EOF | |
2224580a | 10676 | #line 10677 "configure" |
10f2d63a VZ |
10677 | #include "confdefs.h" |
10678 | /* Override any gcc2 internal prototype to avoid an error. */ | |
10679 | /* We use char because int might match the return type of a gcc2 | |
10680 | builtin and then its argument prototype would still apply. */ | |
10681 | char pthread_create(); | |
10682 | ||
10683 | int main() { | |
10684 | pthread_create() | |
10685 | ; return 0; } | |
10686 | EOF | |
2224580a | 10687 | if { (eval echo configure:10688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10f2d63a VZ |
10688 | rm -rf conftest* |
10689 | eval "ac_cv_lib_$ac_lib_var=yes" | |
10690 | else | |
10691 | echo "configure: failed program was:" >&5 | |
10692 | cat conftest.$ac_ext >&5 | |
10693 | rm -rf conftest* | |
10694 | eval "ac_cv_lib_$ac_lib_var=no" | |
10695 | fi | |
10696 | rm -f conftest* | |
10697 | LIBS="$ac_save_LIBS" | |
10698 | ||
10699 | fi | |
10700 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
10701 | echo "$ac_t""yes" 1>&6 | |
10702 | ||
10703 | THREADS_OBJ="threadpsx.lo" | |
10704 | THREADS_LINK="c_r" | |
10705 | ||
10706 | else | |
10707 | echo "$ac_t""no" 1>&6 | |
10708 | ||
10709 | ac_safe=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'` | |
10710 | echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6 | |
2224580a | 10711 | echo "configure:10712: checking for sys/prctl.h" >&5 |
10f2d63a VZ |
10712 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
10713 | echo $ac_n "(cached) $ac_c" 1>&6 | |
10714 | else | |
10715 | cat > conftest.$ac_ext <<EOF | |
2224580a | 10716 | #line 10717 "configure" |
10f2d63a VZ |
10717 | #include "confdefs.h" |
10718 | #include <sys/prctl.h> | |
10719 | EOF | |
10720 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
2224580a | 10721 | { (eval echo configure:10722: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10f2d63a VZ |
10722 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10723 | if test -z "$ac_err"; then | |
10724 | rm -rf conftest* | |
10725 | eval "ac_cv_header_$ac_safe=yes" | |
10726 | else | |
10727 | echo "$ac_err" >&5 | |
10728 | echo "configure: failed program was:" >&5 | |
10729 | cat conftest.$ac_ext >&5 | |
10730 | rm -rf conftest* | |
10731 | eval "ac_cv_header_$ac_safe=no" | |
10732 | fi | |
10733 | rm -f conftest* | |
10734 | fi | |
10735 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
10736 | echo "$ac_t""yes" 1>&6 | |
10737 | ||
10738 | THREADS_OBJ="threadsgi.lo" | |
10739 | ||
10740 | else | |
10741 | echo "$ac_t""no" 1>&6 | |
10742 | fi | |
10743 | ||
10744 | ||
10745 | fi | |
10746 | ||
10747 | ||
10748 | fi | |
10749 | ||
10750 | ||
10751 | if test -z "$THREADS_OBJ" ; then | |
10752 | wxUSE_THREADS=no | |
10753 | echo "configure: warning: No thread support on this system" 1>&2 | |
10754 | fi | |
10755 | fi | |
10756 | ||
10757 | if test "$wxUSE_THREADS" = "yes" ; then | |
70846f0a VZ |
10758 | for ac_func in thr_setconcurrency |
10759 | do | |
10760 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
2224580a | 10761 | echo "configure:10762: checking for $ac_func" >&5 |
70846f0a VZ |
10762 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
10763 | echo $ac_n "(cached) $ac_c" 1>&6 | |
10764 | else | |
10765 | cat > conftest.$ac_ext <<EOF | |
2224580a | 10766 | #line 10767 "configure" |
70846f0a VZ |
10767 | #include "confdefs.h" |
10768 | /* System header to define __stub macros and hopefully few prototypes, | |
10769 | which can conflict with char $ac_func(); below. */ | |
10770 | #include <assert.h> | |
10771 | /* Override any gcc2 internal prototype to avoid an error. */ | |
10772 | /* We use char because int might match the return type of a gcc2 | |
10773 | builtin and then its argument prototype would still apply. */ | |
10774 | char $ac_func(); | |
10775 | ||
10776 | int main() { | |
10777 | ||
10778 | /* The GNU C library defines this for functions which it implements | |
10779 | to always fail with ENOSYS. Some functions are actually named | |
10780 | something starting with __ and the normal name is an alias. */ | |
10781 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
10782 | choke me | |
10783 | #else | |
2224580a | 10784 | $ac_func(); |
70846f0a VZ |
10785 | #endif |
10786 | ||
10787 | ; return 0; } | |
10788 | EOF | |
2224580a | 10789 | if { (eval echo configure:10790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
70846f0a VZ |
10790 | rm -rf conftest* |
10791 | eval "ac_cv_func_$ac_func=yes" | |
10792 | else | |
10793 | echo "configure: failed program was:" >&5 | |
10794 | cat conftest.$ac_ext >&5 | |
10795 | rm -rf conftest* | |
10796 | eval "ac_cv_func_$ac_func=no" | |
10797 | fi | |
10798 | rm -f conftest* | |
10799 | fi | |
10800 | ||
10801 | if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then | |
10802 | echo "$ac_t""yes" 1>&6 | |
10803 | ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` | |
10804 | cat >> confdefs.h <<EOF | |
10805 | #define $ac_tr_func 1 | |
10806 | EOF | |
10807 | ||
10808 | else | |
10809 | echo "$ac_t""no" 1>&6 | |
10810 | fi | |
10811 | done | |
10812 | ||
10813 | ||
10f2d63a VZ |
10814 | |
10815 | for ac_hdr in sched.h | |
10816 | do | |
10817 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | |
10818 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | |
2224580a | 10819 | echo "configure:10820: checking for $ac_hdr" >&5 |
10f2d63a VZ |
10820 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
10821 | echo $ac_n "(cached) $ac_c" 1>&6 | |
10822 | else | |
10823 | cat > conftest.$ac_ext <<EOF | |
2224580a | 10824 | #line 10825 "configure" |
10f2d63a VZ |
10825 | #include "confdefs.h" |
10826 | #include <$ac_hdr> | |
10827 | EOF | |
10828 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
2224580a | 10829 | { (eval echo configure:10830: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10f2d63a VZ |
10830 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10831 | if test -z "$ac_err"; then | |
10832 | rm -rf conftest* | |
10833 | eval "ac_cv_header_$ac_safe=yes" | |
10834 | else | |
10835 | echo "$ac_err" >&5 | |
10836 | echo "configure: failed program was:" >&5 | |
10837 | cat conftest.$ac_ext >&5 | |
10838 | rm -rf conftest* | |
10839 | eval "ac_cv_header_$ac_safe=no" | |
10840 | fi | |
10841 | rm -f conftest* | |
10842 | fi | |
10843 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
10844 | echo "$ac_t""yes" 1>&6 | |
10845 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` | |
10846 | cat >> confdefs.h <<EOF | |
10847 | #define $ac_tr_hdr 1 | |
10848 | EOF | |
10849 | ||
10850 | else | |
10851 | echo "$ac_t""no" 1>&6 | |
10852 | fi | |
10853 | done | |
10854 | ||
10855 | ||
10856 | echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6 | |
2224580a | 10857 | echo "configure:10858: checking for sched_yield in -l$THREADS_LINK" >&5 |
10f2d63a VZ |
10858 | ac_lib_var=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'` |
10859 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
10860 | echo $ac_n "(cached) $ac_c" 1>&6 | |
10861 | else | |
10862 | ac_save_LIBS="$LIBS" | |
10863 | LIBS="-l$THREADS_LINK $LIBS" | |
10864 | cat > conftest.$ac_ext <<EOF | |
2224580a | 10865 | #line 10866 "configure" |
10f2d63a VZ |
10866 | #include "confdefs.h" |
10867 | /* Override any gcc2 internal prototype to avoid an error. */ | |
10868 | /* We use char because int might match the return type of a gcc2 | |
10869 | builtin and then its argument prototype would still apply. */ | |
10870 | char sched_yield(); | |
10871 | ||
10872 | int main() { | |
10873 | sched_yield() | |
10874 | ; return 0; } | |
10875 | EOF | |
2224580a | 10876 | if { (eval echo configure:10877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10f2d63a VZ |
10877 | rm -rf conftest* |
10878 | eval "ac_cv_lib_$ac_lib_var=yes" | |
10879 | else | |
10880 | echo "configure: failed program was:" >&5 | |
10881 | cat conftest.$ac_ext >&5 | |
10882 | rm -rf conftest* | |
10883 | eval "ac_cv_lib_$ac_lib_var=no" | |
10884 | fi | |
10885 | rm -f conftest* | |
10886 | LIBS="$ac_save_LIBS" | |
10887 | ||
10888 | fi | |
10889 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
10890 | echo "$ac_t""yes" 1>&6 | |
10891 | cat >> confdefs.h <<\EOF | |
10892 | #define HAVE_SCHED_YIELD 1 | |
10893 | EOF | |
10894 | ||
10895 | else | |
10896 | echo "$ac_t""no" 1>&6 | |
10897 | echo $ac_n "checking for sched_yield in -l"posix4"""... $ac_c" 1>&6 | |
2224580a | 10898 | echo "configure:10899: checking for sched_yield in -l"posix4"" >&5 |
10f2d63a VZ |
10899 | ac_lib_var=`echo "posix4"'_'sched_yield | sed 'y%./+-%__p_%'` |
10900 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
10901 | echo $ac_n "(cached) $ac_c" 1>&6 | |
10902 | else | |
10903 | ac_save_LIBS="$LIBS" | |
10904 | LIBS="-l"posix4" $LIBS" | |
10905 | cat > conftest.$ac_ext <<EOF | |
2224580a | 10906 | #line 10907 "configure" |
10f2d63a VZ |
10907 | #include "confdefs.h" |
10908 | /* Override any gcc2 internal prototype to avoid an error. */ | |
10909 | /* We use char because int might match the return type of a gcc2 | |
10910 | builtin and then its argument prototype would still apply. */ | |
10911 | char sched_yield(); | |
10912 | ||
10913 | int main() { | |
10914 | sched_yield() | |
10915 | ; return 0; } | |
10916 | EOF | |
2224580a | 10917 | if { (eval echo configure:10918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10f2d63a VZ |
10918 | rm -rf conftest* |
10919 | eval "ac_cv_lib_$ac_lib_var=yes" | |
10920 | else | |
10921 | echo "configure: failed program was:" >&5 | |
10922 | cat conftest.$ac_ext >&5 | |
10923 | rm -rf conftest* | |
10924 | eval "ac_cv_lib_$ac_lib_var=no" | |
10925 | fi | |
10926 | rm -f conftest* | |
10927 | LIBS="$ac_save_LIBS" | |
10928 | ||
10929 | fi | |
10930 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
10931 | echo "$ac_t""yes" 1>&6 | |
10932 | cat >> confdefs.h <<\EOF | |
10933 | #define HAVE_SCHED_YIELD 1 | |
10934 | EOF | |
10935 | POSIX4_LINK="-lposix4" | |
10936 | else | |
10937 | echo "$ac_t""no" 1>&6 | |
10938 | echo "configure: warning: wxThread::Yield will not work properly" 1>&2 | |
10939 | ||
10940 | fi | |
10941 | ||
10942 | ||
10943 | fi | |
10944 | ||
10945 | ||
10946 | echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6 | |
2224580a | 10947 | echo "configure:10948: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5 |
10f2d63a VZ |
10948 | ac_lib_var=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | 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="-l$THREADS_LINK $LIBS" | |
10954 | cat > conftest.$ac_ext <<EOF | |
2224580a | 10955 | #line 10956 "configure" |
10f2d63a VZ |
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 pthread_attr_getschedpolicy(); | |
10961 | ||
10962 | int main() { | |
10963 | pthread_attr_getschedpolicy() | |
10964 | ; return 0; } | |
10965 | EOF | |
2224580a | 10966 | if { (eval echo configure:10967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10f2d63a VZ |
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 | cat >> confdefs.h <<\EOF | |
10982 | #define HAVE_THREAD_PRIORITY_FUNCTIONS 1 | |
10983 | EOF | |
10984 | ||
10985 | else | |
10986 | echo "$ac_t""no" 1>&6 | |
10987 | echo $ac_n "checking for pthread_attr_getschedpolicy in -l"posix4"""... $ac_c" 1>&6 | |
2224580a | 10988 | echo "configure:10989: checking for pthread_attr_getschedpolicy in -l"posix4"" >&5 |
10f2d63a VZ |
10989 | ac_lib_var=`echo "posix4"'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'` |
10990 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
10991 | echo $ac_n "(cached) $ac_c" 1>&6 | |
10992 | else | |
10993 | ac_save_LIBS="$LIBS" | |
10994 | LIBS="-l"posix4" $LIBS" | |
10995 | cat > conftest.$ac_ext <<EOF | |
2224580a | 10996 | #line 10997 "configure" |
10f2d63a VZ |
10997 | #include "confdefs.h" |
10998 | /* Override any gcc2 internal prototype to avoid an error. */ | |
10999 | /* We use char because int might match the return type of a gcc2 | |
11000 | builtin and then its argument prototype would still apply. */ | |
11001 | char pthread_attr_getschedpolicy(); | |
11002 | ||
11003 | int main() { | |
11004 | pthread_attr_getschedpolicy() | |
11005 | ; return 0; } | |
11006 | EOF | |
2224580a | 11007 | if { (eval echo configure:11008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10f2d63a VZ |
11008 | rm -rf conftest* |
11009 | eval "ac_cv_lib_$ac_lib_var=yes" | |
11010 | else | |
11011 | echo "configure: failed program was:" >&5 | |
11012 | cat conftest.$ac_ext >&5 | |
11013 | rm -rf conftest* | |
11014 | eval "ac_cv_lib_$ac_lib_var=no" | |
11015 | fi | |
11016 | rm -f conftest* | |
11017 | LIBS="$ac_save_LIBS" | |
11018 | ||
11019 | fi | |
11020 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
11021 | echo "$ac_t""yes" 1>&6 | |
11022 | cat >> confdefs.h <<\EOF | |
11023 | #define HAVE_THREAD_PRIORITY_FUNCTIONS 1 | |
11024 | EOF | |
11025 | POSIX4_LINK="-lposix4" | |
11026 | else | |
11027 | echo "$ac_t""no" 1>&6 | |
11028 | echo "configure: warning: Setting thread priority will not work" 1>&2 | |
11029 | ||
11030 | fi | |
11031 | ||
11032 | ||
11033 | fi | |
11034 | ||
11035 | ||
11036 | echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6 | |
2224580a | 11037 | echo "configure:11038: checking for pthread_cancel in -l$THREADS_LINK" >&5 |
10f2d63a VZ |
11038 | ac_lib_var=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'` |
11039 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
11040 | echo $ac_n "(cached) $ac_c" 1>&6 | |
11041 | else | |
11042 | ac_save_LIBS="$LIBS" | |
11043 | LIBS="-l$THREADS_LINK $LIBS" | |
11044 | cat > conftest.$ac_ext <<EOF | |
2224580a | 11045 | #line 11046 "configure" |
10f2d63a VZ |
11046 | #include "confdefs.h" |
11047 | /* Override any gcc2 internal prototype to avoid an error. */ | |
11048 | /* We use char because int might match the return type of a gcc2 | |
11049 | builtin and then its argument prototype would still apply. */ | |
11050 | char pthread_cancel(); | |
11051 | ||
11052 | int main() { | |
11053 | pthread_cancel() | |
11054 | ; return 0; } | |
11055 | EOF | |
2224580a | 11056 | if { (eval echo configure:11057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10f2d63a VZ |
11057 | rm -rf conftest* |
11058 | eval "ac_cv_lib_$ac_lib_var=yes" | |
11059 | else | |
11060 | echo "configure: failed program was:" >&5 | |
11061 | cat conftest.$ac_ext >&5 | |
11062 | rm -rf conftest* | |
11063 | eval "ac_cv_lib_$ac_lib_var=no" | |
11064 | fi | |
11065 | rm -f conftest* | |
11066 | LIBS="$ac_save_LIBS" | |
11067 | ||
11068 | fi | |
11069 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
11070 | echo "$ac_t""yes" 1>&6 | |
11071 | cat >> confdefs.h <<\EOF | |
11072 | #define HAVE_PTHREAD_CANCEL 1 | |
11073 | EOF | |
11074 | ||
11075 | else | |
11076 | echo "$ac_t""no" 1>&6 | |
11077 | echo "configure: warning: wxThread::Kill() will not work properly" 1>&2 | |
11078 | fi | |
11079 | ||
11080 | ||
11081 | echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6 | |
2224580a | 11082 | echo "configure:11083: checking for pthread_cleanup_push/pop" >&5 |
10f2d63a VZ |
11083 | if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then |
11084 | echo $ac_n "(cached) $ac_c" 1>&6 | |
11085 | else | |
11086 | ||
11087 | cat > conftest.$ac_ext <<EOF | |
2224580a | 11088 | #line 11089 "configure" |
10f2d63a VZ |
11089 | #include "confdefs.h" |
11090 | #include <pthread.h> | |
11091 | int main() { | |
11092 | ||
11093 | pthread_cleanup_push(NULL, NULL); | |
11094 | pthread_cleanup_pop(0); | |
11095 | ||
11096 | ; return 0; } | |
11097 | EOF | |
2224580a | 11098 | if { (eval echo configure:11099: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
10f2d63a VZ |
11099 | rm -rf conftest* |
11100 | ||
11101 | wx_cv_func_pthread_cleanup_push=yes | |
11102 | cat >> confdefs.h <<\EOF | |
11103 | #define HAVE_THREAD_CLEANUP_FUNCTIONS 1 | |
11104 | EOF | |
11105 | ||
11106 | ||
11107 | else | |
11108 | echo "configure: failed program was:" >&5 | |
11109 | cat conftest.$ac_ext >&5 | |
11110 | rm -rf conftest* | |
11111 | ||
11112 | wx_cv_func_pthread_cleanup_push=no | |
11113 | ||
11114 | fi | |
11115 | rm -f conftest* | |
11116 | ||
11117 | fi | |
11118 | ||
11119 | echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6 | |
11120 | ||
11121 | THREADS_LINK="-l$THREADS_LINK" | |
11122 | fi | |
11123 | ||
11124 | fi | |
11125 | ||
11126 | if test "$wxUSE_THREADS" = "yes"; then | |
11127 | cat >> confdefs.h <<\EOF | |
11128 | #define wxUSE_THREADS 1 | |
11129 | EOF | |
11130 | ||
11131 | ||
11132 | CFLAGS="${CFLAGS} -D_REENTRANT" | |
11133 | CXXFLAGS="${CXXFLAGS} -D_REENTRANT" | |
11134 | ||
11135 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread" | |
11136 | else | |
11137 | if test "$ac_cv_func_strtok_r" = "yes"; then | |
ab9b9eab | 11138 | echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6 |
2224580a | 11139 | echo "configure:11140: checking if -D_REENTRANT is needed" >&5 |
ab9b9eab VZ |
11140 | if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then |
11141 | CFLAGS="${CFLAGS} -D_REENTRANT" | |
11142 | CXXFLAGS="${CXXFLAGS} -D_REENTRANT" | |
11143 | echo "$ac_t""yes" 1>&6 | |
11144 | else | |
11145 | echo "$ac_t""no" 1>&6 | |
10f2d63a VZ |
11146 | fi |
11147 | fi | |
11148 | fi | |
11149 | ||
13111b2a VZ |
11150 | if test "$WXGTK13" = 1 ; then |
11151 | cat >> confdefs.h <<EOF | |
11152 | #define __WXGTK13__ $WXGTK13 | |
11153 | EOF | |
11154 | ||
11155 | WXGTK12=1 | |
11156 | fi | |
11157 | ||
10f2d63a VZ |
11158 | if test "$WXGTK12" = 1 ; then |
11159 | cat >> confdefs.h <<EOF | |
11160 | #define __WXGTK12__ $WXGTK12 | |
11161 | EOF | |
11162 | ||
11163 | fi | |
11164 | ||
11165 | if test "$WXWINE" = 1 ; then | |
11166 | TOOLKIT_DEF="${TOOLKIT_DEF} -D__WXWINE__" | |
11167 | fi | |
11168 | ||
11169 | if test "$wxUSE_CYGWIN" = 1 ; then | |
11170 | TOOLKIT_DEF="${TOOLKIT_DEF} -D__WIN95__" | |
11171 | fi | |
11172 | ||
11173 | WXDEBUG= | |
11174 | ||
11175 | if test "$wxUSE_DEBUG_INFO" = "yes" ; then | |
11176 | WXDEBUG="-g" | |
11177 | wxUSE_OPTIMISE=no | |
11178 | fi | |
11179 | ||
11180 | if test "$wxUSE_DEBUG_GDB" = "yes" ; then | |
11181 | wxUSE_DEBUG_INFO=yes | |
11182 | WXDEBUG="-ggdb" | |
11183 | fi | |
11184 | ||
11185 | if test "$wxUSE_DEBUG_FLAG" = "yes" ; then | |
11186 | cat >> confdefs.h <<\EOF | |
11187 | #define WXDEBUG 1 | |
11188 | EOF | |
11189 | ||
11190 | WXDEBUG_DEFINE="-D__WXDEBUG__" | |
11191 | else | |
11192 | if test "$wxUSE_GTK" = 1 ; then | |
11193 | WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS" | |
11194 | fi | |
11195 | fi | |
11196 | ||
11197 | if test "$wxUSE_MEM_TRACING" = "yes" ; then | |
11198 | cat >> confdefs.h <<\EOF | |
11199 | #define wxUSE_MEMORY_TRACING 1 | |
11200 | EOF | |
11201 | ||
11202 | cat >> confdefs.h <<\EOF | |
11203 | #define wxUSE_GLOBAL_MEMORY_OPERATORS 1 | |
11204 | EOF | |
11205 | ||
11206 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck" | |
11207 | fi | |
11208 | ||
11209 | if test "$wxUSE_DMALLOC" = "yes" ; then | |
11210 | DMALLOC_LINK="-ldmalloc" | |
11211 | fi | |
11212 | ||
11213 | PROFILE= | |
11214 | if test "$wxUSE_PROFILE" = "yes" ; then | |
11215 | PROFILE="-pg" | |
11216 | fi | |
11217 | ||
11218 | DEP_INFO_FLAGS= | |
caa2c79b | 11219 | CODE_GEN_FLAGS= |
10f2d63a VZ |
11220 | if test "$GCC" = yes ; then |
11221 | if test "$wxUSE_NO_RTTI" = "yes" ; then | |
caa2c79b | 11222 | CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fno-rtti" |
10f2d63a VZ |
11223 | fi |
11224 | if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then | |
caa2c79b | 11225 | CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fno-exceptions" |
10f2d63a VZ |
11226 | fi |
11227 | if test "$wxUSE_PERMISSIVE" = "yes" ; then | |
caa2c79b | 11228 | CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive" |
10f2d63a VZ |
11229 | fi |
11230 | if test "$wxUSE_NO_DEPS" = "no" ; then | |
11231 | DEP_INFO_FLAGS="-MMD" | |
11232 | fi | |
11233 | fi | |
11234 | ||
11235 | ||
11236 | CXXFLAGS=`echo "${CXXFLAGS}" | sed "s/\-O.//g" ` | |
11237 | CFLAGS=`echo "${CFLAGS}" | sed "s/\-O.//g" ` | |
11238 | if test "$wxUSE_OPTIMISE" = "no" ; then | |
11239 | OPTIMISE= | |
11240 | else | |
11241 | if test "$GCC" = yes ; then | |
11242 | OPTIMISE="-O2" | |
11243 | case "${host}" in | |
11244 | i586-*-*|i686-*-* ) | |
11245 | OPTIMISE="${OPTIMISE} " | |
11246 | ;; | |
11247 | esac | |
11248 | else | |
11249 | OPTIMISE="-O" | |
11250 | fi | |
11251 | fi | |
11252 | ||
11253 | ||
11254 | ZLIB_INCLUDE= | |
11255 | if test "$wxUSE_ZLIB" = "yes" ; then | |
11256 | cat >> confdefs.h <<\EOF | |
11257 | #define wxUSE_ZLIB 1 | |
11258 | EOF | |
11259 | ||
11260 | ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib" | |
11261 | fi | |
11262 | ||
11263 | PNG_INCLUDE= | |
11264 | if test "$wxUSE_LIBPNG" = "yes" ; then | |
11265 | cat >> confdefs.h <<\EOF | |
11266 | #define wxUSE_LIBPNG 1 | |
11267 | EOF | |
11268 | ||
11269 | PNG_INCLUDE="-I\${top_srcdir}/src/png" | |
11270 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png" | |
11271 | fi | |
11272 | ||
11273 | JPEG_INCLUDE= | |
11274 | if test "$wxUSE_LIBJPEG" = "yes" ; then | |
11275 | cat >> confdefs.h <<\EOF | |
11276 | #define wxUSE_LIBJPEG 1 | |
11277 | EOF | |
11278 | ||
11279 | JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg" | |
11280 | fi | |
11281 | ||
c7a2bf27 RR |
11282 | TIFF_INCLUDE= |
11283 | if test "$wxUSE_LIBTIFF" = "yes" ; then | |
11284 | cat >> confdefs.h <<\EOF | |
11285 | #define wxUSE_LIBTIFF 1 | |
11286 | EOF | |
11287 | ||
11288 | TIFF_INCLUDE="-I\${top_srcdir}/src/tiff" | |
11289 | fi | |
11290 | ||
10f2d63a VZ |
11291 | if test "$wxUSE_OPENGL" = "yes"; then |
11292 | ac_safe=`echo "GL/gl.h" | sed 'y%./+-%__p_%'` | |
11293 | echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6 | |
2224580a | 11294 | echo "configure:11295: checking for GL/gl.h" >&5 |
10f2d63a VZ |
11295 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
11296 | echo $ac_n "(cached) $ac_c" 1>&6 | |
11297 | else | |
11298 | cat > conftest.$ac_ext <<EOF | |
2224580a | 11299 | #line 11300 "configure" |
10f2d63a VZ |
11300 | #include "confdefs.h" |
11301 | #include <GL/gl.h> | |
11302 | EOF | |
11303 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
2224580a | 11304 | { (eval echo configure:11305: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10f2d63a VZ |
11305 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11306 | if test -z "$ac_err"; then | |
11307 | rm -rf conftest* | |
11308 | eval "ac_cv_header_$ac_safe=yes" | |
11309 | else | |
11310 | echo "$ac_err" >&5 | |
11311 | echo "configure: failed program was:" >&5 | |
11312 | cat conftest.$ac_ext >&5 | |
11313 | rm -rf conftest* | |
11314 | eval "ac_cv_header_$ac_safe=no" | |
11315 | fi | |
11316 | rm -f conftest* | |
11317 | fi | |
11318 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
11319 | echo "$ac_t""yes" 1>&6 | |
11320 | ||
11321 | echo $ac_n "checking for glInitNames in -lGL""... $ac_c" 1>&6 | |
2224580a | 11322 | echo "configure:11323: checking for glInitNames in -lGL" >&5 |
10f2d63a VZ |
11323 | ac_lib_var=`echo GL'_'glInitNames | sed 'y%./+-%__p_%'` |
11324 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
11325 | echo $ac_n "(cached) $ac_c" 1>&6 | |
11326 | else | |
11327 | ac_save_LIBS="$LIBS" | |
11328 | LIBS="-lGL wxUSE_OPENGL=0 $LIBS" | |
11329 | cat > conftest.$ac_ext <<EOF | |
2224580a | 11330 | #line 11331 "configure" |
10f2d63a VZ |
11331 | #include "confdefs.h" |
11332 | /* Override any gcc2 internal prototype to avoid an error. */ | |
11333 | /* We use char because int might match the return type of a gcc2 | |
11334 | builtin and then its argument prototype would still apply. */ | |
11335 | char glInitNames(); | |
11336 | ||
11337 | int main() { | |
11338 | glInitNames() | |
11339 | ; return 0; } | |
11340 | EOF | |
2224580a | 11341 | if { (eval echo configure:11342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10f2d63a VZ |
11342 | rm -rf conftest* |
11343 | eval "ac_cv_lib_$ac_lib_var=yes" | |
11344 | else | |
11345 | echo "configure: failed program was:" >&5 | |
11346 | cat conftest.$ac_ext >&5 | |
11347 | rm -rf conftest* | |
11348 | eval "ac_cv_lib_$ac_lib_var=no" | |
11349 | fi | |
11350 | rm -f conftest* | |
11351 | LIBS="$ac_save_LIBS" | |
11352 | ||
11353 | fi | |
11354 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
11355 | echo "$ac_t""yes" 1>&6 | |
11356 | ||
11357 | OPENGL_LINK="-lGL" | |
11358 | cat >> confdefs.h <<\EOF | |
11359 | #define wxUSE_OPENGL 1 | |
11360 | EOF | |
11361 | ||
11362 | UTILS_SUBDIRS="$UTILS_SUBDIRS glcanvas/src" | |
11363 | ||
11364 | else | |
11365 | echo "$ac_t""no" 1>&6 | |
11366 | ||
11367 | echo $ac_n "checking for glInitNames in -lMesaGL""... $ac_c" 1>&6 | |
2224580a | 11368 | echo "configure:11369: checking for glInitNames in -lMesaGL" >&5 |
10f2d63a VZ |
11369 | ac_lib_var=`echo MesaGL'_'glInitNames | sed 'y%./+-%__p_%'` |
11370 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
11371 | echo $ac_n "(cached) $ac_c" 1>&6 | |
11372 | else | |
11373 | ac_save_LIBS="$LIBS" | |
11374 | LIBS="-lMesaGL $LIBS" | |
11375 | cat > conftest.$ac_ext <<EOF | |
2224580a | 11376 | #line 11377 "configure" |
10f2d63a VZ |
11377 | #include "confdefs.h" |
11378 | /* Override any gcc2 internal prototype to avoid an error. */ | |
11379 | /* We use char because int might match the return type of a gcc2 | |
11380 | builtin and then its argument prototype would still apply. */ | |
11381 | char glInitNames(); | |
11382 | ||
11383 | int main() { | |
11384 | glInitNames() | |
11385 | ; return 0; } | |
11386 | EOF | |
2224580a | 11387 | if { (eval echo configure:11388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10f2d63a VZ |
11388 | rm -rf conftest* |
11389 | eval "ac_cv_lib_$ac_lib_var=yes" | |
11390 | else | |
11391 | echo "configure: failed program was:" >&5 | |
11392 | cat conftest.$ac_ext >&5 | |
11393 | rm -rf conftest* | |
11394 | eval "ac_cv_lib_$ac_lib_var=no" | |
11395 | fi | |
11396 | rm -f conftest* | |
11397 | LIBS="$ac_save_LIBS" | |
11398 | ||
11399 | fi | |
11400 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
11401 | echo "$ac_t""yes" 1>&6 | |
11402 | ||
11403 | OPENGL_LINK="-lMesaGL" | |
11404 | cat >> confdefs.h <<\EOF | |
11405 | #define wxUSE_OPENGL 1 | |
11406 | EOF | |
11407 | ||
11408 | UTILS_SUBDIRS="$UTILS_SUBDIRS glcanvas/src" | |
11409 | ||
11410 | else | |
11411 | echo "$ac_t""no" 1>&6 | |
11412 | wxUSE_OPENGL=0 | |
11413 | fi | |
11414 | ||
11415 | ||
11416 | fi | |
11417 | ||
11418 | ||
11419 | else | |
11420 | echo "$ac_t""no" 1>&6 | |
11421 | wxUSE_OPENGL=0 | |
11422 | fi | |
11423 | ||
11424 | fi | |
11425 | ||
11426 | ||
11427 | if test "$wxUSE_GUI" = "yes"; then | |
11428 | cat >> confdefs.h <<\EOF | |
11429 | #define wxUSE_GUI 1 | |
11430 | EOF | |
11431 | ||
11432 | ||
11433 | else | |
11434 | cat >> confdefs.h <<\EOF | |
11435 | #define wxUSE_NOGUI 1 | |
11436 | EOF | |
11437 | ||
11438 | fi | |
11439 | ||
11440 | ||
11441 | if test "$wxUSE_UNIX" = "yes"; then | |
11442 | cat >> confdefs.h <<\EOF | |
11443 | #define wxUSE_UNIX 1 | |
11444 | EOF | |
11445 | ||
11446 | fi | |
11447 | ||
11448 | ||
11449 | if test "$wxUSE_APPLE_IEEE" = "yes"; then | |
11450 | cat >> confdefs.h <<\EOF | |
11451 | #define wxUSE_APPLE_IEEE 1 | |
11452 | EOF | |
11453 | ||
11454 | fi | |
11455 | ||
10f2d63a VZ |
11456 | if test "$wxUSE_WAVE" = "yes"; then |
11457 | cat >> confdefs.h <<\EOF | |
11458 | #define wxUSE_WAVE 1 | |
11459 | EOF | |
11460 | ||
11461 | fi | |
11462 | ||
11463 | if test "$wxUSE_FILE" = "yes"; then | |
11464 | cat >> confdefs.h <<\EOF | |
11465 | #define wxUSE_FILE 1 | |
11466 | EOF | |
11467 | ||
11468 | fi | |
11469 | ||
11470 | if test "$wxUSE_FS_INET" = "yes"; then | |
11471 | cat >> confdefs.h <<\EOF | |
11472 | #define wxUSE_FS_INET 1 | |
11473 | EOF | |
11474 | ||
11475 | fi | |
11476 | ||
11477 | if test "$wxUSE_FS_ZIP" = "yes"; then | |
11478 | cat >> confdefs.h <<\EOF | |
11479 | #define wxUSE_FS_ZIP 1 | |
11480 | EOF | |
11481 | ||
11482 | fi | |
11483 | ||
11484 | if test "$wxUSE_ZIPSTREAM" = "yes"; then | |
11485 | cat >> confdefs.h <<\EOF | |
11486 | #define wxUSE_ZIPSTREAM 1 | |
11487 | EOF | |
11488 | ||
11489 | fi | |
11490 | ||
11491 | if test "$wxUSE_BUSYINFO" = "yes"; then | |
11492 | cat >> confdefs.h <<\EOF | |
11493 | #define wxUSE_BUSYINFO 1 | |
11494 | EOF | |
11495 | ||
11496 | fi | |
11497 | ||
11498 | if test "$wxUSE_STD_IOSTREAM" = "yes"; then | |
11499 | cat >> confdefs.h <<\EOF | |
11500 | #define wxUSE_STD_IOSTREAM 1 | |
11501 | EOF | |
11502 | ||
11503 | fi | |
11504 | ||
11505 | if test "$wxUSE_TEXTFILE" = "yes"; then | |
11506 | if test "$wxUSE_FILE" != "yes"; then | |
11507 | echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2 | |
11508 | else | |
11509 | cat >> confdefs.h <<\EOF | |
11510 | #define wxUSE_TEXTFILE 1 | |
11511 | EOF | |
11512 | ||
11513 | fi | |
11514 | fi | |
11515 | ||
11516 | if test "$wxUSE_CONFIG" = "yes" ; then | |
11517 | if test "$wxUSE_TEXTFILE" != "yes"; then | |
11518 | echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2 | |
11519 | else | |
11520 | cat >> confdefs.h <<\EOF | |
11521 | #define wxUSE_CONFIG 1 | |
11522 | EOF | |
11523 | ||
11524 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config" | |
11525 | fi | |
11526 | fi | |
11527 | ||
11528 | if test "$wxUSE_INTL" = "yes" ; then | |
11529 | if test "$wxUSE_FILE" != "yes"; then | |
11530 | echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2 | |
11531 | else | |
11532 | cat >> confdefs.h <<\EOF | |
11533 | #define wxUSE_INTL 1 | |
11534 | EOF | |
11535 | ||
11536 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat" | |
11537 | fi | |
11538 | fi | |
11539 | ||
11540 | if test "$wxUSE_LOG" = "yes"; then | |
11541 | cat >> confdefs.h <<\EOF | |
11542 | #define wxUSE_LOG 1 | |
11543 | EOF | |
11544 | ||
11545 | fi | |
11546 | ||
11547 | if test "$wxUSE_LONGLONG" = "yes"; then | |
11548 | cat >> confdefs.h <<\EOF | |
11549 | #define wxUSE_LONGLONG 1 | |
11550 | EOF | |
11551 | ||
11552 | fi | |
11553 | ||
10f2d63a VZ |
11554 | if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then |
11555 | cat >> confdefs.h <<\EOF | |
11556 | #define wxUSE_DIALUP_MANAGER 1 | |
11557 | EOF | |
11558 | ||
70f7a477 | 11559 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup" |
10f2d63a VZ |
11560 | fi |
11561 | ||
11562 | if test "$wxUSE_STREAMS" = "yes" ; then | |
11563 | cat >> confdefs.h <<\EOF | |
11564 | #define wxUSE_STREAMS 1 | |
11565 | EOF | |
11566 | ||
11567 | fi | |
11568 | ||
10f2d63a | 11569 | |
afc31813 | 11570 | if test "$wxUSE_TIMEDATE" = "yes"; then |
83307f33 VZ |
11571 | for ac_func in strptime |
11572 | do | |
11573 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
2224580a | 11574 | echo "configure:11575: checking for $ac_func" >&5 |
83307f33 VZ |
11575 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
11576 | echo $ac_n "(cached) $ac_c" 1>&6 | |
11577 | else | |
11578 | cat > conftest.$ac_ext <<EOF | |
2224580a | 11579 | #line 11580 "configure" |
83307f33 VZ |
11580 | #include "confdefs.h" |
11581 | /* System header to define __stub macros and hopefully few prototypes, | |
11582 | which can conflict with char $ac_func(); below. */ | |
11583 | #include <assert.h> | |
11584 | /* Override any gcc2 internal prototype to avoid an error. */ | |
11585 | /* We use char because int might match the return type of a gcc2 | |
11586 | builtin and then its argument prototype would still apply. */ | |
11587 | char $ac_func(); | |
11588 | ||
11589 | int main() { | |
11590 | ||
11591 | /* The GNU C library defines this for functions which it implements | |
11592 | to always fail with ENOSYS. Some functions are actually named | |
11593 | something starting with __ and the normal name is an alias. */ | |
11594 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
11595 | choke me | |
11596 | #else | |
2224580a | 11597 | $ac_func(); |
83307f33 VZ |
11598 | #endif |
11599 | ||
11600 | ; return 0; } | |
11601 | EOF | |
2224580a | 11602 | if { (eval echo configure:11603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
83307f33 VZ |
11603 | rm -rf conftest* |
11604 | eval "ac_cv_func_$ac_func=yes" | |
11605 | else | |
11606 | echo "configure: failed program was:" >&5 | |
11607 | cat conftest.$ac_ext >&5 | |
11608 | rm -rf conftest* | |
11609 | eval "ac_cv_func_$ac_func=no" | |
11610 | fi | |
11611 | rm -f conftest* | |
11612 | fi | |
11613 | ||
11614 | if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then | |
11615 | echo "$ac_t""yes" 1>&6 | |
11616 | ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` | |
11617 | cat >> confdefs.h <<EOF | |
11618 | #define $ac_tr_func 1 | |
11619 | EOF | |
11620 | ||
11621 | else | |
11622 | echo "$ac_t""no" 1>&6 | |
11623 | fi | |
11624 | done | |
11625 | ||
11626 | ||
360d6699 | 11627 | echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6 |
2224580a | 11628 | echo "configure:11629: checking for timezone variable in <time.h>" >&5 |
360d6699 VZ |
11629 | if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then |
11630 | echo $ac_n "(cached) $ac_c" 1>&6 | |
11631 | else | |
11632 | ||
11633 | cat > conftest.$ac_ext <<EOF | |
2224580a | 11634 | #line 11635 "configure" |
360d6699 VZ |
11635 | #include "confdefs.h" |
11636 | ||
11637 | #include <time.h> | |
11638 | ||
11639 | int main() { | |
11640 | ||
11641 | int tz; | |
11642 | tz = __timezone; | |
11643 | ||
11644 | ; return 0; } | |
11645 | EOF | |
2224580a | 11646 | if { (eval echo configure:11647: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
360d6699 VZ |
11647 | rm -rf conftest* |
11648 | ||
11649 | wx_cv_var_timezone=__timezone | |
11650 | ||
11651 | else | |
11652 | echo "configure: failed program was:" >&5 | |
11653 | cat conftest.$ac_ext >&5 | |
11654 | rm -rf conftest* | |
11655 | ||
11656 | cat > conftest.$ac_ext <<EOF | |
2224580a | 11657 | #line 11658 "configure" |
360d6699 VZ |
11658 | #include "confdefs.h" |
11659 | ||
11660 | #include <time.h> | |
11661 | ||
11662 | int main() { | |
11663 | ||
11664 | int tz; | |
11665 | tz = _timezone; | |
11666 | ||
11667 | ; return 0; } | |
11668 | EOF | |
2224580a | 11669 | if { (eval echo configure:11670: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
360d6699 VZ |
11670 | rm -rf conftest* |
11671 | ||
11672 | wx_cv_var_timezone=_timezone | |
11673 | ||
5357c8e8 VZ |
11674 | else |
11675 | echo "configure: failed program was:" >&5 | |
11676 | cat conftest.$ac_ext >&5 | |
11677 | rm -rf conftest* | |
11678 | ||
11679 | cat > conftest.$ac_ext <<EOF | |
2224580a | 11680 | #line 11681 "configure" |
5357c8e8 VZ |
11681 | #include "confdefs.h" |
11682 | ||
11683 | #include <time.h> | |
11684 | ||
11685 | int main() { | |
11686 | ||
11687 | int tz; | |
11688 | tz = timezone; | |
11689 | ||
11690 | ; return 0; } | |
11691 | EOF | |
2224580a | 11692 | if { (eval echo configure:11693: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
5357c8e8 VZ |
11693 | rm -rf conftest* |
11694 | ||
11695 | wx_cv_var_timezone=timezone | |
11696 | ||
360d6699 VZ |
11697 | else |
11698 | echo "configure: failed program was:" >&5 | |
11699 | cat conftest.$ac_ext >&5 | |
11700 | rm -rf conftest* | |
11701 | { echo "configure: error: no timezone variable" 1>&2; exit 1; } | |
5357c8e8 VZ |
11702 | |
11703 | fi | |
11704 | rm -f conftest* | |
11705 | ||
360d6699 VZ |
11706 | |
11707 | fi | |
11708 | rm -f conftest* | |
11709 | ||
11710 | ||
11711 | fi | |
11712 | rm -f conftest* | |
11713 | ||
11714 | ||
11715 | fi | |
11716 | ||
11717 | echo "$ac_t""$wx_cv_var_timezone" 1>&6 | |
11718 | ||
11719 | cat >> confdefs.h <<EOF | |
11720 | #define WX_TIMEZONE $wx_cv_var_timezone | |
11721 | EOF | |
11722 | ||
11723 | ||
0470b1e6 | 11724 | for ac_func in localtime gettimeofday ftime |
afc31813 VZ |
11725 | do |
11726 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
2224580a | 11727 | echo "configure:11728: checking for $ac_func" >&5 |
afc31813 VZ |
11728 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
11729 | echo $ac_n "(cached) $ac_c" 1>&6 | |
11730 | else | |
11731 | cat > conftest.$ac_ext <<EOF | |
2224580a | 11732 | #line 11733 "configure" |
10f2d63a | 11733 | #include "confdefs.h" |
afc31813 VZ |
11734 | /* System header to define __stub macros and hopefully few prototypes, |
11735 | which can conflict with char $ac_func(); below. */ | |
11736 | #include <assert.h> | |
11737 | /* Override any gcc2 internal prototype to avoid an error. */ | |
11738 | /* We use char because int might match the return type of a gcc2 | |
11739 | builtin and then its argument prototype would still apply. */ | |
11740 | char $ac_func(); | |
11741 | ||
10f2d63a | 11742 | int main() { |
afc31813 VZ |
11743 | |
11744 | /* The GNU C library defines this for functions which it implements | |
11745 | to always fail with ENOSYS. Some functions are actually named | |
11746 | something starting with __ and the normal name is an alias. */ | |
11747 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
11748 | choke me | |
11749 | #else | |
2224580a | 11750 | $ac_func(); |
afc31813 VZ |
11751 | #endif |
11752 | ||
10f2d63a VZ |
11753 | ; return 0; } |
11754 | EOF | |
2224580a | 11755 | if { (eval echo configure:11756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10f2d63a | 11756 | rm -rf conftest* |
afc31813 | 11757 | eval "ac_cv_func_$ac_func=yes" |
10f2d63a VZ |
11758 | else |
11759 | echo "configure: failed program was:" >&5 | |
11760 | cat conftest.$ac_ext >&5 | |
11761 | rm -rf conftest* | |
afc31813 VZ |
11762 | eval "ac_cv_func_$ac_func=no" |
11763 | fi | |
11764 | rm -f conftest* | |
11765 | fi | |
11766 | ||
11767 | if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then | |
11768 | echo "$ac_t""yes" 1>&6 | |
11769 | ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` | |
11770 | cat >> confdefs.h <<EOF | |
11771 | #define $ac_tr_func 1 | |
11772 | EOF | |
0470b1e6 | 11773 | break |
afc31813 VZ |
11774 | else |
11775 | echo "$ac_t""no" 1>&6 | |
11776 | fi | |
11777 | done | |
11778 | ||
11779 | ||
0470b1e6 VZ |
11780 | if test "$ac_cv_func_localtime" = "yes"; then |
11781 | echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6 | |
2224580a | 11782 | echo "configure:11783: checking for tm_gmtoff in struct tm" >&5 |
0470b1e6 VZ |
11783 | if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then |
11784 | echo $ac_n "(cached) $ac_c" 1>&6 | |
11785 | else | |
11786 | ||
11787 | cat > conftest.$ac_ext <<EOF | |
2224580a | 11788 | #line 11789 "configure" |
0470b1e6 VZ |
11789 | #include "confdefs.h" |
11790 | ||
11791 | #include <time.h> | |
11792 | ||
11793 | int main() { | |
11794 | ||
11795 | struct tm tm; | |
11796 | tm.tm_gmtoff++; | |
11797 | ||
11798 | ; return 0; } | |
11799 | EOF | |
2224580a | 11800 | if { (eval echo configure:11801: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
0470b1e6 VZ |
11801 | rm -rf conftest* |
11802 | ||
f03a98d8 | 11803 | wx_cv_struct_tm_has_gmtoff=yes |
0470b1e6 VZ |
11804 | cat >> confdefs.h <<\EOF |
11805 | #define WX_GMTOFF_IN_TM 1 | |
11806 | EOF | |
11807 | ||
11808 | ||
11809 | else | |
11810 | echo "configure: failed program was:" >&5 | |
11811 | cat conftest.$ac_ext >&5 | |
11812 | rm -rf conftest* | |
11813 | wx_cv_struct_tm_has_gmtoff=no | |
11814 | ||
11815 | fi | |
11816 | rm -f conftest* | |
11817 | ||
11818 | fi | |
11819 | ||
11820 | echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6 | |
11821 | elif test "$ac_cv_func_gettimeofday" = "yes"; then | |
afc31813 | 11822 | echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6 |
2224580a | 11823 | echo "configure:11824: checking whether gettimeofday takes two arguments" >&5 |
afc31813 VZ |
11824 | if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then |
11825 | echo $ac_n "(cached) $ac_c" 1>&6 | |
11826 | else | |
11827 | ||
11828 | ||
11829 | ac_ext=C | |
11830 | # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
11831 | ac_cpp='$CXXCPP $CPPFLAGS' | |
11832 | ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | |
11833 | ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | |
11834 | cross_compiling=$ac_cv_prog_cxx_cross | |
11835 | ||
11836 | ||
11837 | cat > conftest.$ac_ext <<EOF | |
2224580a | 11838 | #line 11839 "configure" |
10f2d63a | 11839 | #include "confdefs.h" |
afc31813 VZ |
11840 | |
11841 | #include <sys/time.h> | |
11842 | #include <unistd.h> | |
11843 | ||
10f2d63a | 11844 | int main() { |
afc31813 VZ |
11845 | |
11846 | struct timeval tv; | |
11847 | struct timezone tz; | |
11848 | gettimeofday(&tv, &tz); | |
11849 | ||
10f2d63a VZ |
11850 | ; return 0; } |
11851 | EOF | |
2224580a | 11852 | if { (eval echo configure:11853: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
10f2d63a | 11853 | rm -rf conftest* |
afc31813 | 11854 | wx_cv_func_gettimeofday_has_2_args=yes |
10f2d63a VZ |
11855 | else |
11856 | echo "configure: failed program was:" >&5 | |
11857 | cat conftest.$ac_ext >&5 | |
11858 | rm -rf conftest* | |
11859 | cat > conftest.$ac_ext <<EOF | |
2224580a | 11860 | #line 11861 "configure" |
10f2d63a | 11861 | #include "confdefs.h" |
afc31813 VZ |
11862 | |
11863 | #include <sys/time.h> | |
11864 | #include <unistd.h> | |
11865 | ||
10f2d63a | 11866 | int main() { |
afc31813 VZ |
11867 | |
11868 | struct timeval tv; | |
11869 | gettimeofday(&tv); | |
11870 | ||
10f2d63a VZ |
11871 | ; return 0; } |
11872 | EOF | |
2224580a | 11873 | if { (eval echo configure:11874: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
10f2d63a | 11874 | rm -rf conftest* |
afc31813 | 11875 | wx_cv_func_gettimeofday_has_2_args=no |
10f2d63a VZ |
11876 | else |
11877 | echo "configure: failed program was:" >&5 | |
11878 | cat conftest.$ac_ext >&5 | |
11879 | rm -rf conftest* | |
afc31813 VZ |
11880 | wx_cv_func_gettimeofday_has_2_args=unknown |
11881 | ||
10f2d63a VZ |
11882 | fi |
11883 | rm -f conftest* | |
afc31813 | 11884 | |
10f2d63a VZ |
11885 | fi |
11886 | rm -f conftest* | |
afc31813 | 11887 | ac_ext=c |
10f2d63a VZ |
11888 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
11889 | ac_cpp='$CPP $CPPFLAGS' | |
11890 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | |
11891 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | |
11892 | cross_compiling=$ac_cv_prog_cc_cross | |
11893 | ||
afc31813 VZ |
11894 | |
11895 | fi | |
11896 | ||
11897 | echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6 | |
c63c7106 | 11898 | |
afc31813 VZ |
11899 | if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then |
11900 | cat >> confdefs.h <<\EOF | |
11901 | #define WX_GETTIMEOFDAY_NO_TZ 1 | |
11902 | EOF | |
11903 | ||
11904 | fi | |
11905 | fi | |
11906 | ||
11907 | cat >> confdefs.h <<\EOF | |
11908 | #define wxUSE_TIMEDATE 1 | |
11909 | EOF | |
11910 | ||
11911 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest" | |
11912 | fi | |
11913 | ||
11914 | ||
11915 | if test "$wxUSE_SOCKETS" = "yes"; then | |
c63c7106 | 11916 | echo $ac_n "checking for socket""... $ac_c" 1>&6 |
2224580a | 11917 | echo "configure:11918: checking for socket" >&5 |
c63c7106 VZ |
11918 | if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then |
11919 | echo $ac_n "(cached) $ac_c" 1>&6 | |
11920 | else | |
11921 | cat > conftest.$ac_ext <<EOF | |
2224580a | 11922 | #line 11923 "configure" |
c63c7106 VZ |
11923 | #include "confdefs.h" |
11924 | /* System header to define __stub macros and hopefully few prototypes, | |
11925 | which can conflict with char socket(); below. */ | |
11926 | #include <assert.h> | |
11927 | /* Override any gcc2 internal prototype to avoid an error. */ | |
11928 | /* We use char because int might match the return type of a gcc2 | |
11929 | builtin and then its argument prototype would still apply. */ | |
11930 | char socket(); | |
11931 | ||
11932 | int main() { | |
11933 | ||
11934 | /* The GNU C library defines this for functions which it implements | |
11935 | to always fail with ENOSYS. Some functions are actually named | |
11936 | something starting with __ and the normal name is an alias. */ | |
11937 | #if defined (__stub_socket) || defined (__stub___socket) | |
11938 | choke me | |
11939 | #else | |
2224580a | 11940 | socket(); |
c63c7106 VZ |
11941 | #endif |
11942 | ||
11943 | ; return 0; } | |
11944 | EOF | |
2224580a | 11945 | if { (eval echo configure:11946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
c63c7106 VZ |
11946 | rm -rf conftest* |
11947 | eval "ac_cv_func_socket=yes" | |
11948 | else | |
11949 | echo "configure: failed program was:" >&5 | |
11950 | cat conftest.$ac_ext >&5 | |
11951 | rm -rf conftest* | |
11952 | eval "ac_cv_func_socket=no" | |
11953 | fi | |
11954 | rm -f conftest* | |
11955 | fi | |
11956 | ||
11957 | if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | |
11958 | echo "$ac_t""yes" 1>&6 | |
11959 | : | |
11960 | else | |
11961 | echo "$ac_t""no" 1>&6 | |
11962 | echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6 | |
2224580a | 11963 | echo "configure:11964: checking for socket in -lsocket" >&5 |
c63c7106 VZ |
11964 | ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'` |
11965 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
11966 | echo $ac_n "(cached) $ac_c" 1>&6 | |
11967 | else | |
11968 | ac_save_LIBS="$LIBS" | |
11969 | LIBS="-lsocket $LIBS" | |
11970 | cat > conftest.$ac_ext <<EOF | |
2224580a | 11971 | #line 11972 "configure" |
c63c7106 VZ |
11972 | #include "confdefs.h" |
11973 | /* Override any gcc2 internal prototype to avoid an error. */ | |
11974 | /* We use char because int might match the return type of a gcc2 | |
11975 | builtin and then its argument prototype would still apply. */ | |
11976 | char socket(); | |
11977 | ||
11978 | int main() { | |
11979 | socket() | |
11980 | ; return 0; } | |
11981 | EOF | |
2224580a | 11982 | if { (eval echo configure:11983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
c63c7106 VZ |
11983 | rm -rf conftest* |
11984 | eval "ac_cv_lib_$ac_lib_var=yes" | |
11985 | else | |
11986 | echo "configure: failed program was:" >&5 | |
11987 | cat conftest.$ac_ext >&5 | |
11988 | rm -rf conftest* | |
11989 | eval "ac_cv_lib_$ac_lib_var=no" | |
11990 | fi | |
11991 | rm -f conftest* | |
11992 | LIBS="$ac_save_LIBS" | |
11993 | ||
11994 | fi | |
11995 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
11996 | echo "$ac_t""yes" 1>&6 | |
11997 | INET_LINK="$INET_LINK -lsocket" | |
c63c7106 VZ |
11998 | else |
11999 | echo "$ac_t""no" 1>&6 | |
afc31813 VZ |
12000 | |
12001 | echo "configure: warning: socket library not found - sockets will be disabled" 1>&2 | |
12002 | wxUSE_SOCKETS=no | |
12003 | ||
12004 | ||
c63c7106 VZ |
12005 | fi |
12006 | ||
12007 | ||
12008 | fi | |
12009 | ||
10f2d63a VZ |
12010 | fi |
12011 | ||
afc31813 VZ |
12012 | if test "$wxUSE_SOCKETS" = "yes" ; then |
12013 | ||
12014 | ac_ext=C | |
12015 | # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
12016 | ac_cpp='$CXXCPP $CPPFLAGS' | |
12017 | ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | |
12018 | ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | |
12019 | cross_compiling=$ac_cv_prog_cxx_cross | |
12020 | ||
12021 | echo $ac_n "checking the type of the third argument of getsockname""... $ac_c" 1>&6 | |
2224580a | 12022 | echo "configure:12023: checking the type of the third argument of getsockname" >&5 |
afc31813 | 12023 | cat > conftest.$ac_ext <<EOF |
2224580a | 12024 | #line 12025 "configure" |
afc31813 VZ |
12025 | #include "confdefs.h" |
12026 | #include <sys/socket.h> | |
12027 | int main() { | |
12028 | socklen_t len; getsockname(0, 0, &len); | |
12029 | ; return 0; } | |
12030 | EOF | |
2224580a | 12031 | if { (eval echo configure:12032: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
afc31813 VZ |
12032 | rm -rf conftest* |
12033 | cat >> confdefs.h <<\EOF | |
12034 | #define SOCKLEN_T socklen_t | |
12035 | EOF | |
12036 | echo "$ac_t""socklen_t" 1>&6 | |
12037 | else | |
12038 | echo "configure: failed program was:" >&5 | |
12039 | cat conftest.$ac_ext >&5 | |
12040 | rm -rf conftest* | |
12041 | cat > conftest.$ac_ext <<EOF | |
2224580a | 12042 | #line 12043 "configure" |
afc31813 VZ |
12043 | #include "confdefs.h" |
12044 | #include <sys/socket.h> | |
12045 | int main() { | |
12046 | size_t len; getsockname(0, 0, &len); | |
12047 | ; return 0; } | |
12048 | EOF | |
2224580a | 12049 | if { (eval echo configure:12050: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
afc31813 VZ |
12050 | rm -rf conftest* |
12051 | cat >> confdefs.h <<\EOF | |
12052 | #define SOCKLEN_T size_t | |
12053 | EOF | |
12054 | echo "$ac_t""size_t" 1>&6 | |
12055 | else | |
12056 | echo "configure: failed program was:" >&5 | |
12057 | cat conftest.$ac_ext >&5 | |
12058 | rm -rf conftest* | |
12059 | cat > conftest.$ac_ext <<EOF | |
2224580a | 12060 | #line 12061 "configure" |
afc31813 VZ |
12061 | #include "confdefs.h" |
12062 | #include <sys/socket.h> | |
12063 | int main() { | |
12064 | int len; getsockname(0, 0, &len); | |
12065 | ; return 0; } | |
12066 | EOF | |
2224580a | 12067 | if { (eval echo configure:12068: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
afc31813 VZ |
12068 | rm -rf conftest* |
12069 | cat >> confdefs.h <<\EOF | |
12070 | #define SOCKLEN_T int | |
12071 | EOF | |
12072 | echo "$ac_t""int" 1>&6 | |
12073 | else | |
12074 | echo "configure: failed program was:" >&5 | |
12075 | cat conftest.$ac_ext >&5 | |
12076 | rm -rf conftest* | |
12077 | echo "$ac_t""unknown" 1>&6 | |
12078 | ||
12079 | fi | |
12080 | rm -f conftest* | |
12081 | ||
12082 | fi | |
12083 | rm -f conftest* | |
12084 | ||
12085 | fi | |
12086 | rm -f conftest* | |
12087 | ac_ext=c | |
12088 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
12089 | ac_cpp='$CPP $CPPFLAGS' | |
12090 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | |
12091 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | |
12092 | cross_compiling=$ac_cv_prog_cc_cross | |
12093 | ||
12094 | ||
12095 | cat >> confdefs.h <<\EOF | |
12096 | #define wxUSE_SOCKETS 1 | |
12097 | EOF | |
12098 | ||
70f7a477 | 12099 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets" |
afc31813 VZ |
12100 | INCLUDE_SUBDIRS="$INCLUDE_SUBDIRS protocol" |
12101 | fi | |
12102 | ||
10f2d63a VZ |
12103 | |
12104 | if test "$wxUSE_JOYSTICK" = 1; then | |
12105 | for ac_hdr in linux/joystick.h | |
12106 | do | |
12107 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | |
12108 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | |
2224580a | 12109 | echo "configure:12110: checking for $ac_hdr" >&5 |
10f2d63a VZ |
12110 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
12111 | echo $ac_n "(cached) $ac_c" 1>&6 | |
12112 | else | |
12113 | cat > conftest.$ac_ext <<EOF | |
2224580a | 12114 | #line 12115 "configure" |
10f2d63a VZ |
12115 | #include "confdefs.h" |
12116 | #include <$ac_hdr> | |
12117 | EOF | |
12118 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
2224580a | 12119 | { (eval echo configure:12120: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10f2d63a VZ |
12120 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12121 | if test -z "$ac_err"; then | |
12122 | rm -rf conftest* | |
12123 | eval "ac_cv_header_$ac_safe=yes" | |
12124 | else | |
12125 | echo "$ac_err" >&5 | |
12126 | echo "configure: failed program was:" >&5 | |
12127 | cat conftest.$ac_ext >&5 | |
12128 | rm -rf conftest* | |
12129 | eval "ac_cv_header_$ac_safe=no" | |
12130 | fi | |
12131 | rm -f conftest* | |
12132 | fi | |
12133 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
12134 | echo "$ac_t""yes" 1>&6 | |
12135 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` | |
12136 | cat >> confdefs.h <<EOF | |
12137 | #define $ac_tr_hdr 1 | |
12138 | EOF | |
12139 | ||
12140 | else | |
12141 | echo "$ac_t""no" 1>&6 | |
12142 | fi | |
12143 | done | |
12144 | ||
12145 | if test "$ac_cv_header_linux_joystick_h" = "yes"; then | |
12146 | cat >> confdefs.h <<\EOF | |
12147 | #define wxUSE_JOYSTICK 1 | |
12148 | EOF | |
12149 | ||
12150 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest" | |
12151 | fi | |
12152 | fi | |
12153 | ||
12154 | ||
12155 | HAVE_DL_FUNCS=0 | |
12156 | HAVE_SHL_FUNCS=0 | |
12157 | if test "$wxUSE_DYNLIB_CLASS" = "yes"; then | |
12158 | for ac_func in dlopen | |
12159 | do | |
12160 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
2224580a | 12161 | echo "configure:12162: checking for $ac_func" >&5 |
10f2d63a VZ |
12162 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
12163 | echo $ac_n "(cached) $ac_c" 1>&6 | |
12164 | else | |
12165 | cat > conftest.$ac_ext <<EOF | |
2224580a | 12166 | #line 12167 "configure" |
10f2d63a VZ |
12167 | #include "confdefs.h" |
12168 | /* System header to define __stub macros and hopefully few prototypes, | |
12169 | which can conflict with char $ac_func(); below. */ | |
12170 | #include <assert.h> | |
12171 | /* Override any gcc2 internal prototype to avoid an error. */ | |
12172 | /* We use char because int might match the return type of a gcc2 | |
12173 | builtin and then its argument prototype would still apply. */ | |
12174 | char $ac_func(); | |
12175 | ||
12176 | int main() { | |
12177 | ||
12178 | /* The GNU C library defines this for functions which it implements | |
12179 | to always fail with ENOSYS. Some functions are actually named | |
12180 | something starting with __ and the normal name is an alias. */ | |
12181 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
12182 | choke me | |
12183 | #else | |
2224580a | 12184 | $ac_func(); |
10f2d63a VZ |
12185 | #endif |
12186 | ||
12187 | ; return 0; } | |
12188 | EOF | |
2224580a | 12189 | if { (eval echo configure:12190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10f2d63a VZ |
12190 | rm -rf conftest* |
12191 | eval "ac_cv_func_$ac_func=yes" | |
12192 | else | |
12193 | echo "configure: failed program was:" >&5 | |
12194 | cat conftest.$ac_ext >&5 | |
12195 | rm -rf conftest* | |
12196 | eval "ac_cv_func_$ac_func=no" | |
12197 | fi | |
12198 | rm -f conftest* | |
12199 | fi | |
12200 | ||
12201 | if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then | |
12202 | echo "$ac_t""yes" 1>&6 | |
12203 | ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` | |
12204 | cat >> confdefs.h <<EOF | |
12205 | #define $ac_tr_func 1 | |
12206 | EOF | |
12207 | ||
12208 | cat >> confdefs.h <<\EOF | |
12209 | #define HAVE_DLOPEN 1 | |
12210 | EOF | |
12211 | ||
12212 | HAVE_DL_FUNCS=1 | |
12213 | ||
12214 | else | |
12215 | echo "$ac_t""no" 1>&6 | |
12216 | echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | |
2224580a | 12217 | echo "configure:12218: checking for dlopen in -ldl" >&5 |
10f2d63a VZ |
12218 | ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
12219 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
12220 | echo $ac_n "(cached) $ac_c" 1>&6 | |
12221 | else | |
12222 | ac_save_LIBS="$LIBS" | |
12223 | LIBS="-ldl $LIBS" | |
12224 | cat > conftest.$ac_ext <<EOF | |
2224580a | 12225 | #line 12226 "configure" |
10f2d63a VZ |
12226 | #include "confdefs.h" |
12227 | /* Override any gcc2 internal prototype to avoid an error. */ | |
12228 | /* We use char because int might match the return type of a gcc2 | |
12229 | builtin and then its argument prototype would still apply. */ | |
12230 | char dlopen(); | |
12231 | ||
12232 | int main() { | |
12233 | dlopen() | |
12234 | ; return 0; } | |
12235 | EOF | |
2224580a | 12236 | if { (eval echo configure:12237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10f2d63a VZ |
12237 | rm -rf conftest* |
12238 | eval "ac_cv_lib_$ac_lib_var=yes" | |
12239 | else | |
12240 | echo "configure: failed program was:" >&5 | |
12241 | cat conftest.$ac_ext >&5 | |
12242 | rm -rf conftest* | |
12243 | eval "ac_cv_lib_$ac_lib_var=no" | |
12244 | fi | |
12245 | rm -f conftest* | |
12246 | LIBS="$ac_save_LIBS" | |
12247 | ||
12248 | fi | |
12249 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
12250 | echo "$ac_t""yes" 1>&6 | |
12251 | ||
12252 | cat >> confdefs.h <<\EOF | |
12253 | #define HAVE_DLOPEN 1 | |
12254 | EOF | |
12255 | ||
12256 | HAVE_DL_FUNCS=1 | |
12257 | LIBS="$LIBS -ldl" | |
12258 | ||
12259 | else | |
12260 | echo "$ac_t""no" 1>&6 | |
12261 | ||
12262 | for ac_func in shl_load | |
12263 | do | |
12264 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
2224580a | 12265 | echo "configure:12266: checking for $ac_func" >&5 |
10f2d63a VZ |
12266 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
12267 | echo $ac_n "(cached) $ac_c" 1>&6 | |
12268 | else | |
12269 | cat > conftest.$ac_ext <<EOF | |
2224580a | 12270 | #line 12271 "configure" |
10f2d63a VZ |
12271 | #include "confdefs.h" |
12272 | /* System header to define __stub macros and hopefully few prototypes, | |
12273 | which can conflict with char $ac_func(); below. */ | |
12274 | #include <assert.h> | |
12275 | /* Override any gcc2 internal prototype to avoid an error. */ | |
12276 | /* We use char because int might match the return type of a gcc2 | |
12277 | builtin and then its argument prototype would still apply. */ | |
12278 | char $ac_func(); | |
12279 | ||
12280 | int main() { | |
12281 | ||
12282 | /* The GNU C library defines this for functions which it implements | |
12283 | to always fail with ENOSYS. Some functions are actually named | |
12284 | something starting with __ and the normal name is an alias. */ | |
12285 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
12286 | choke me | |
12287 | #else | |
2224580a | 12288 | $ac_func(); |
10f2d63a VZ |
12289 | #endif |
12290 | ||
12291 | ; return 0; } | |
12292 | EOF | |
2224580a | 12293 | if { (eval echo configure:12294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10f2d63a VZ |
12294 | rm -rf conftest* |
12295 | eval "ac_cv_func_$ac_func=yes" | |
12296 | else | |
12297 | echo "configure: failed program was:" >&5 | |
12298 | cat conftest.$ac_ext >&5 | |
12299 | rm -rf conftest* | |
12300 | eval "ac_cv_func_$ac_func=no" | |
12301 | fi | |
12302 | rm -f conftest* | |
12303 | fi | |
12304 | ||
12305 | if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then | |
12306 | echo "$ac_t""yes" 1>&6 | |
12307 | ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` | |
12308 | cat >> confdefs.h <<EOF | |
12309 | #define $ac_tr_func 1 | |
12310 | EOF | |
12311 | ||
12312 | cat >> confdefs.h <<\EOF | |
12313 | #define HAVE_SHL_LOAD 1 | |
12314 | EOF | |
12315 | ||
12316 | HAVE_SHL_FUNCS=1 | |
12317 | ||
12318 | else | |
12319 | echo "$ac_t""no" 1>&6 | |
12320 | fi | |
12321 | done | |
12322 | ||
12323 | ||
12324 | fi | |
12325 | ||
12326 | ||
12327 | fi | |
12328 | done | |
12329 | ||
12330 | ||
12331 | if test "$HAVE_DL_FUNCS" = 0; then | |
12332 | if test "$HAVE_SHL_FUNCS" = 0; then | |
12333 | if test "$USE_UNIX" = 1; then | |
b12915c1 | 12334 | echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2 |
10f2d63a VZ |
12335 | wxUSE_DYNLIB_CLASS=no |
12336 | else | |
b12915c1 | 12337 | echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2 |
10f2d63a VZ |
12338 | fi |
12339 | fi | |
12340 | fi | |
12341 | fi | |
12342 | ||
12343 | if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then | |
b12915c1 | 12344 | cat >> confdefs.h <<\EOF |
10f2d63a VZ |
12345 | #define wxUSE_DYNLIB_CLASS 1 |
12346 | EOF | |
12347 | ||
b12915c1 VZ |
12348 | else |
12349 | wxUSE_ODBC=no | |
12350 | wxUSE_SERIAL=no | |
10f2d63a VZ |
12351 | fi |
12352 | ||
12353 | ||
12354 | if test "$wxUSE_UNICODE" = "yes" ; then | |
12355 | cat >> confdefs.h <<\EOF | |
12356 | #define wxUSE_UNICODE 1 | |
12357 | EOF | |
12358 | ||
12359 | fi | |
12360 | ||
12361 | if test "$wxUSE_WCSRTOMBS" = "yes" ; then | |
12362 | cat >> confdefs.h <<\EOF | |
12363 | #define wxUSE_WCSRTOMBS 1 | |
12364 | EOF | |
12365 | ||
12366 | fi | |
12367 | ||
12368 | if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then | |
12369 | cat >> confdefs.h <<\EOF | |
12370 | #define wxUSE_EXPERIMENTAL_PRINTF 1 | |
12371 | EOF | |
12372 | ||
12373 | fi | |
12374 | ||
12375 | ||
b12915c1 VZ |
12376 | if test "$wxUSE_SERIAL" = "yes" ; then |
12377 | cat >> confdefs.h <<\EOF | |
12378 | #define wxUSE_SERIAL 1 | |
12379 | EOF | |
12380 | ||
12381 | fi | |
12382 | ||
12383 | ||
10f2d63a VZ |
12384 | IODBC_C_SRC="" |
12385 | if test "$wxUSE_ODBC" = "yes" ; then | |
12386 | cat >> confdefs.h <<\EOF | |
12387 | #define wxUSE_ODBC 1 | |
12388 | EOF | |
12389 | ||
12390 | WXODBCFLAG="-D_IODBC_" | |
12391 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db" | |
12392 | IODBCOBJS="\$(IODBC_OBJS)" | |
12393 | else | |
12394 | IODBCOBJS= | |
12395 | fi | |
12396 | ||
12397 | ||
12398 | if test "$wxUSE_POSTSCRIPT" = "yes" ; then | |
12399 | cat >> confdefs.h <<\EOF | |
12400 | #define wxUSE_POSTSCRIPT 1 | |
12401 | EOF | |
12402 | ||
12403 | fi | |
12404 | ||
12405 | cat >> confdefs.h <<\EOF | |
12406 | #define wxUSE_AFM_FOR_POSTSCRIPT 1 | |
12407 | EOF | |
12408 | ||
12409 | ||
12410 | cat >> confdefs.h <<\EOF | |
12411 | #define wxUSE_NORMALIZED_PS_FONTS 1 | |
12412 | EOF | |
12413 | ||
12414 | ||
12415 | ||
12416 | if test "$wxUSE_CONSTRAINTS" = "yes"; then | |
12417 | cat >> confdefs.h <<\EOF | |
12418 | #define wxUSE_CONSTRAINTS 1 | |
12419 | EOF | |
12420 | ||
12421 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout" | |
12422 | fi | |
12423 | ||
12424 | if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then | |
12425 | cat >> confdefs.h <<\EOF | |
12426 | #define wxUSE_MDI_ARCHITECTURE 1 | |
12427 | EOF | |
12428 | ||
12429 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi" | |
12430 | fi | |
12431 | ||
12432 | if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then | |
12433 | cat >> confdefs.h <<\EOF | |
12434 | #define wxUSE_DOC_VIEW_ARCHITECTURE 1 | |
12435 | EOF | |
12436 | ||
12437 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview" | |
12438 | if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then | |
12439 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi" | |
12440 | fi | |
12441 | fi | |
12442 | ||
12443 | if test "$wxUSE_HELP" = "yes"; then | |
12444 | cat >> confdefs.h <<\EOF | |
12445 | #define wxUSE_HELP 1 | |
12446 | EOF | |
12447 | ||
12448 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help" | |
12449 | fi | |
12450 | ||
12451 | if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then | |
12452 | if test "$wxUSE_CONSTRAINTS" != "yes"; then | |
12453 | echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2 | |
12454 | else | |
12455 | cat >> confdefs.h <<\EOF | |
12456 | #define wxUSE_PRINTING_ARCHITECTURE 1 | |
12457 | EOF | |
12458 | ||
12459 | fi | |
12460 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing" | |
12461 | fi | |
12462 | ||
12463 | if test "$wxUSE_PROLOGIO" = "yes" ; then | |
12464 | cat >> confdefs.h <<\EOF | |
12465 | #define wxUSE_PROLOGIO 1 | |
12466 | EOF | |
12467 | ||
12468 | fi | |
12469 | ||
12470 | if test "$wxUSE_RESOURCES" = "yes" ; then | |
12471 | if test "$wxUSE_PROLOGIO" = "yes" ; then | |
12472 | cat >> confdefs.h <<\EOF | |
12473 | #define wxUSE_RESOURCES 1 | |
12474 | EOF | |
12475 | ||
12476 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS resource" | |
12477 | else | |
12478 | echo "configure: warning: wxWindows ressource system requires PrologIO and can't be compiled without it." 1>&2 | |
12479 | fi | |
12480 | fi | |
12481 | ||
12482 | if test "$wxUSE_X_RESOURCES" = "yes"; then | |
12483 | cat >> confdefs.h <<\EOF | |
12484 | #define wxUSE_X_RESOURCES 1 | |
12485 | EOF | |
12486 | ||
12487 | fi | |
12488 | ||
12489 | ||
12490 | if test "$wxUSE_IPC" = "yes"; then | |
12491 | cat >> confdefs.h <<\EOF | |
12492 | #define wxUSE_IPC 1 | |
12493 | EOF | |
12494 | ||
12495 | fi | |
12496 | ||
12497 | if test "$wxUSE_CLIPBOARD" = "yes"; then | |
12498 | cat >> confdefs.h <<\EOF | |
12499 | #define wxUSE_CLIPBOARD 1 | |
12500 | EOF | |
12501 | ||
12502 | fi | |
12503 | ||
12504 | if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then | |
12505 | if test "$wxUSE_GTK" = 1; then | |
12506 | if test "$WXGTK12" != 1; then | |
12507 | echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2 | |
12508 | wxUSE_DRAG_AND_DROP=no | |
12509 | fi | |
12510 | fi | |
12511 | ||
12512 | if test "$wxUSE_MOTIF" = 1; then | |
12513 | echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2 | |
12514 | wxUSE_DRAG_AND_DROP=no | |
12515 | fi | |
12516 | ||
12517 | if test "$USE_WIN32" = 1; then | |
12518 | for ac_hdr in ole2.h | |
12519 | do | |
12520 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | |
12521 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | |
2224580a | 12522 | echo "configure:12523: checking for $ac_hdr" >&5 |
10f2d63a VZ |
12523 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
12524 | echo $ac_n "(cached) $ac_c" 1>&6 | |
12525 | else | |
12526 | cat > conftest.$ac_ext <<EOF | |
2224580a | 12527 | #line 12528 "configure" |
10f2d63a VZ |
12528 | #include "confdefs.h" |
12529 | #include <$ac_hdr> | |
12530 | EOF | |
12531 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
2224580a | 12532 | { (eval echo configure:12533: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10f2d63a VZ |
12533 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12534 | if test -z "$ac_err"; then | |
12535 | rm -rf conftest* | |
12536 | eval "ac_cv_header_$ac_safe=yes" | |
12537 | else | |
12538 | echo "$ac_err" >&5 | |
12539 | echo "configure: failed program was:" >&5 | |
12540 | cat conftest.$ac_ext >&5 | |
12541 | rm -rf conftest* | |
12542 | eval "ac_cv_header_$ac_safe=no" | |
12543 | fi | |
12544 | rm -f conftest* | |
12545 | fi | |
12546 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
12547 | echo "$ac_t""yes" 1>&6 | |
12548 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` | |
12549 | cat >> confdefs.h <<EOF | |
12550 | #define $ac_tr_hdr 1 | |
12551 | EOF | |
12552 | ||
12553 | else | |
12554 | echo "$ac_t""no" 1>&6 | |
12555 | fi | |
12556 | done | |
12557 | ||
12558 | if test "x$HAVE_OLE2_H" = x ; then | |
12559 | echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2 | |
12560 | wxUSE_DRAG_AND_DROP=no | |
12561 | fi | |
12562 | fi | |
12563 | ||
12564 | if test "$wxUSE_DRAG_AND_DROP" = "yes"; then | |
12565 | cat >> confdefs.h <<\EOF | |
12566 | #define wxUSE_DRAG_AND_DROP 1 | |
12567 | EOF | |
12568 | ||
12569 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd" | |
12570 | fi | |
12571 | ||
12572 | fi | |
12573 | ||
12574 | if test "$wxUSE_SPLINES" = "yes" ; then | |
12575 | cat >> confdefs.h <<\EOF | |
12576 | #define wxUSE_SPLINES 1 | |
12577 | EOF | |
12578 | ||
12579 | fi | |
12580 | ||
12581 | ||
12582 | if test "$wxUSE_ACCEL" = "yes"; then | |
12583 | cat >> confdefs.h <<\EOF | |
12584 | #define wxUSE_ACCEL 1 | |
12585 | EOF | |
12586 | ||
12587 | fi | |
12588 | ||
12589 | if test "$wxUSE_CARET" = "yes"; then | |
12590 | cat >> confdefs.h <<\EOF | |
12591 | #define wxUSE_CARET 1 | |
12592 | EOF | |
12593 | ||
12594 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret" | |
12595 | fi | |
12596 | ||
12597 | if test "$wxUSE_COMBOBOX" = "yes"; then | |
12598 | cat >> confdefs.h <<\EOF | |
12599 | #define wxUSE_COMBOBOX 1 | |
12600 | EOF | |
12601 | ||
12602 | fi | |
12603 | ||
12604 | if test "$wxUSE_CHOICE" = "yes"; then | |
12605 | cat >> confdefs.h <<\EOF | |
12606 | #define wxUSE_CHOICE 1 | |
12607 | EOF | |
12608 | ||
12609 | fi | |
12610 | ||
12611 | if test "$wxUSE_BMPBUTTON" = "yes"; then | |
12612 | cat >> confdefs.h <<\EOF | |
12613 | #define wxUSE_BMPBUTTON 1 | |
12614 | EOF | |
12615 | ||
12616 | fi | |
12617 | ||
12618 | if test "$wxUSE_CHECKBOX" = "yes"; then | |
12619 | cat >> confdefs.h <<\EOF | |
12620 | #define wxUSE_CHECKBOX 1 | |
12621 | EOF | |
12622 | ||
12623 | fi | |
12624 | ||
12625 | if test "$wxUSE_CHECKLST" = "yes"; then | |
12626 | cat >> confdefs.h <<\EOF | |
12627 | #define wxUSE_CHECKLISTBOX 1 | |
12628 | EOF | |
12629 | ||
12630 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst" | |
12631 | fi | |
12632 | ||
12633 | if test "$wxUSE_GAUGE" = "yes"; then | |
12634 | cat >> confdefs.h <<\EOF | |
12635 | #define wxUSE_GAUGE 1 | |
12636 | EOF | |
12637 | ||
12638 | fi | |
12639 | ||
12640 | if test "$wxUSE_GRID" = "yes"; then | |
12641 | cat >> confdefs.h <<\EOF | |
12642 | #define wxUSE_GRID 1 | |
12643 | EOF | |
12644 | ||
12645 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid" | |
12646 | fi | |
12647 | ||
12648 | if test "$wxUSE_NEW_GRID" = "yes"; then | |
12649 | cat >> confdefs.h <<\EOF | |
12650 | #define wxUSE_NEW_GRID 1 | |
12651 | EOF | |
12652 | ||
12653 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS newgrid" | |
12654 | fi | |
12655 | ||
12656 | if test "$wxUSE_IMAGLIST" = "yes"; then | |
12657 | cat >> confdefs.h <<\EOF | |
12658 | #define wxUSE_IMAGLIST 1 | |
12659 | EOF | |
12660 | ||
12661 | fi | |
12662 | ||
12663 | if test "$wxUSE_LISTBOX" = "yes"; then | |
12664 | cat >> confdefs.h <<\EOF | |
12665 | #define wxUSE_LISTBOX 1 | |
12666 | EOF | |
12667 | ||
12668 | fi | |
12669 | ||
12670 | if test "$wxUSE_LISTCTRL" = "yes"; then | |
12671 | if test "$wxUSE_IMAGLIST" = "yes"; then | |
12672 | cat >> confdefs.h <<\EOF | |
12673 | #define wxUSE_LISTCTRL 1 | |
12674 | EOF | |
12675 | ||
12676 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl" | |
12677 | else | |
12678 | echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2 | |
12679 | fi | |
12680 | fi | |
12681 | ||
12682 | if test "$wxUSE_NOTEBOOK" = "yes"; then | |
12683 | cat >> confdefs.h <<\EOF | |
12684 | #define wxUSE_NOTEBOOK 1 | |
12685 | EOF | |
12686 | ||
12687 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook" | |
12688 | fi | |
12689 | ||
12690 | if test "$wxUSE_RADIOBOX" = "yes"; then | |
12691 | cat >> confdefs.h <<\EOF | |
12692 | #define wxUSE_RADIOBOX 1 | |
12693 | EOF | |
12694 | ||
12695 | fi | |
12696 | ||
12697 | if test "$wxUSE_RADIOBTN" = "yes"; then | |
12698 | cat >> confdefs.h <<\EOF | |
12699 | #define wxUSE_RADIOBTN 1 | |
12700 | EOF | |
12701 | ||
12702 | fi | |
12703 | ||
12704 | if test "$wxUSE_SASH" = "yes"; then | |
12705 | cat >> confdefs.h <<\EOF | |
12706 | #define wxUSE_SASH 1 | |
12707 | EOF | |
12708 | ||
12709 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest" | |
12710 | fi | |
12711 | ||
12712 | if test "$wxUSE_SCROLLBAR" = "yes"; then | |
12713 | cat >> confdefs.h <<\EOF | |
12714 | #define wxUSE_SCROLLBAR 1 | |
12715 | EOF | |
12716 | ||
741a9306 | 12717 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub" |
10f2d63a VZ |
12718 | fi |
12719 | ||
12720 | if test "$wxUSE_SLIDER" = "yes"; then | |
12721 | cat >> confdefs.h <<\EOF | |
12722 | #define wxUSE_SLIDER 1 | |
12723 | EOF | |
12724 | ||
12725 | fi | |
12726 | ||
12727 | if test "$wxUSE_SPINBTN" = "yes"; then | |
12728 | cat >> confdefs.h <<\EOF | |
12729 | #define wxUSE_SPINBTN 1 | |
12730 | EOF | |
12731 | ||
12732 | fi | |
12733 | ||
56cfaa52 RR |
12734 | if test "$wxUSE_SPINCTRL" = "yes"; then |
12735 | cat >> confdefs.h <<\EOF | |
12736 | #define wxUSE_SPINCTRL 1 | |
12737 | EOF | |
12738 | ||
12739 | fi | |
12740 | ||
10f2d63a VZ |
12741 | if test "$wxUSE_SPLITTER" = "yes"; then |
12742 | cat >> confdefs.h <<\EOF | |
12743 | #define wxUSE_SPLITTER 1 | |
12744 | EOF | |
12745 | ||
12746 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter" | |
12747 | fi | |
12748 | ||
12749 | if test "$wxUSE_STATBMP" = "yes"; then | |
12750 | cat >> confdefs.h <<\EOF | |
12751 | #define wxUSE_STATBMP 1 | |
12752 | EOF | |
12753 | ||
12754 | fi | |
12755 | ||
12756 | if test "$wxUSE_STATBOX" = "yes"; then | |
12757 | cat >> confdefs.h <<\EOF | |
12758 | #define wxUSE_STATBOX 1 | |
12759 | EOF | |
12760 | ||
12761 | fi | |
12762 | ||
12763 | if test "$wxUSE_STATLINE" = "yes"; then | |
12764 | if test "$wxUSE_WINE" = 1 ; then | |
12765 | echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2 | |
12766 | else | |
12767 | cat >> confdefs.h <<\EOF | |
12768 | #define wxUSE_STATLINE 1 | |
12769 | EOF | |
12770 | ||
12771 | fi | |
12772 | fi | |
12773 | ||
12774 | if test "$wxUSE_STATUSBAR" = "yes"; then | |
12775 | cat >> confdefs.h <<\EOF | |
12776 | #define wxUSE_STATUSBAR 1 | |
12777 | EOF | |
12778 | ||
12779 | fi | |
12780 | ||
12781 | if test "$wxUSE_TABDIALOG" = "yes"; then | |
12782 | cat >> confdefs.h <<\EOF | |
12783 | #define wxUSE_TAB_DIALOG 1 | |
12784 | EOF | |
12785 | ||
12786 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab" | |
12787 | fi | |
12788 | ||
360d6699 VZ |
12789 | if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then |
12790 | cat >> confdefs.h <<\EOF | |
12791 | #define wxUSE_TOOLBAR_SIMPLE 1 | |
12792 | EOF | |
12793 | ||
12794 | wxUSE_TOOLBAR="yes" | |
12795 | fi | |
12796 | ||
10f2d63a VZ |
12797 | if test "$wxUSE_TOOLBAR" = "yes"; then |
12798 | cat >> confdefs.h <<\EOF | |
12799 | #define wxUSE_TOOLBAR 1 | |
12800 | EOF | |
12801 | ||
360d6699 VZ |
12802 | |
12803 | if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then | |
12804 | wxUSE_TOOLBAR_NATIVE="yes" | |
12805 | fi | |
12806 | ||
10f2d63a VZ |
12807 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar" |
12808 | fi | |
12809 | ||
360d6699 VZ |
12810 | if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then |
12811 | cat >> confdefs.h <<\EOF | |
12812 | #define wxUSE_TOOLBAR_NATIVE 1 | |
12813 | EOF | |
12814 | ||
12815 | fi | |
12816 | ||
10f2d63a VZ |
12817 | if test "$wxUSE_TOOLTIPS" = "yes"; then |
12818 | if test "$wxUSE_MOTIF" = 1; then | |
12819 | echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2 | |
12820 | else | |
12821 | if test "$wxUSE_WINE" = 1; then | |
12822 | echo "configure: warning: wxTooltip not supported under WINE" 1>&2 | |
12823 | else | |
12824 | cat >> confdefs.h <<\EOF | |
12825 | #define wxUSE_TOOLTIPS 1 | |
12826 | EOF | |
12827 | ||
12828 | fi | |
12829 | fi | |
12830 | fi | |
12831 | ||
12832 | if test "$wxUSE_TREECTRL" = "yes"; then | |
12833 | if test "$wxUSE_IMAGLIST" = "yes"; then | |
12834 | cat >> confdefs.h <<\EOF | |
12835 | #define wxUSE_TREECTRL 1 | |
12836 | EOF | |
12837 | ||
12838 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl" | |
12839 | else | |
12840 | echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2 | |
12841 | fi | |
12842 | fi | |
12843 | ||
12844 | ||
12845 | ||
12846 | if test "$wxUSE_METAFILE" = "yes"; then | |
12847 | cat >> confdefs.h <<\EOF | |
12848 | #define wxUSE_METAFILE 1 | |
12849 | EOF | |
12850 | ||
12851 | fi | |
12852 | ||
12853 | if test "$wxUSE_DIRDLG" = "yes"; then | |
12854 | if test "$wxUSE_CONSTRAINTS" != "yes"; then | |
12855 | echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2 | |
12856 | else | |
12857 | if test "$wxUSE_TREECTRL" != "yes"; then | |
12858 | echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2 | |
12859 | else | |
12860 | cat >> confdefs.h <<\EOF | |
12861 | #define wxUSE_DIRDLG 1 | |
12862 | EOF | |
12863 | ||
12864 | fi | |
12865 | fi | |
12866 | fi | |
12867 | ||
12868 | if test "$wxUSE_TEXTDLG" = "yes"; then | |
12869 | cat >> confdefs.h <<\EOF | |
12870 | #define wxUSE_TEXTDLG 1 | |
12871 | EOF | |
12872 | ||
12873 | fi | |
12874 | ||
12875 | if test "$wxUSE_STARTUP_TIPS" = "yes"; then | |
12876 | if test "$wxUSE_CONSTRAINTS" != "yes"; then | |
12877 | echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2 | |
12878 | else | |
12879 | cat >> confdefs.h <<\EOF | |
12880 | #define wxUSE_STARTUP_TIPS 1 | |
12881 | EOF | |
12882 | ||
12883 | fi | |
12884 | fi | |
12885 | ||
12886 | if test "$wxUSE_PROGRESSDLG" = "yes"; then | |
12887 | if test "$wxUSE_CONSTRAINTS" != "yes"; then | |
12888 | echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2 | |
12889 | else | |
12890 | cat >> confdefs.h <<\EOF | |
12891 | #define wxUSE_PROGRESSDLG 1 | |
12892 | EOF | |
12893 | ||
12894 | fi | |
12895 | fi | |
12896 | ||
12897 | if test "$wxUSE_MINIFRAME" = "yes"; then | |
12898 | cat >> confdefs.h <<\EOF | |
12899 | #define wxUSE_MINIFRAME 1 | |
12900 | EOF | |
12901 | ||
12902 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram" | |
12903 | fi | |
12904 | ||
12905 | if test "$wxUSE_HTML" = "yes"; then | |
12906 | cat >> confdefs.h <<\EOF | |
12907 | #define wxUSE_HTML 1 | |
12908 | EOF | |
12909 | ||
12910 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html" | |
12911 | INCLUDE_SUBDIRS="$INCLUDE_SUBDIRS html" | |
12912 | fi | |
12913 | ||
12914 | if test "$wxUSE_VALIDATORS" = "yes"; then | |
12915 | cat >> confdefs.h <<\EOF | |
12916 | #define wxUSE_VALIDATORS 1 | |
12917 | EOF | |
12918 | ||
12919 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate" | |
12920 | fi | |
12921 | ||
12922 | if test "$wxUSE_GIF" = "yes" ; then | |
12923 | cat >> confdefs.h <<\EOF | |
12924 | #define wxUSE_GIF 1 | |
12925 | EOF | |
12926 | ||
12927 | fi | |
12928 | ||
12929 | if test "$wxUSE_PCX" = "yes" ; then | |
12930 | cat >> confdefs.h <<\EOF | |
12931 | #define wxUSE_PCX 1 | |
12932 | EOF | |
12933 | ||
12934 | fi | |
12935 | ||
12936 | if test "$wxUSE_PNM" = "yes" ; then | |
12937 | cat >> confdefs.h <<\EOF | |
12938 | #define wxUSE_PNM 1 | |
12939 | EOF | |
12940 | ||
12941 | fi | |
12942 | ||
12943 | ||
aaa37c0d VZ |
12944 | OSINFO=`uname -s -r -m` |
12945 | OSINFO="\"$OSINFO\"" | |
12946 | cat >> confdefs.h <<EOF | |
12947 | #define WXWIN_OS_DESCRIPTION $OSINFO | |
12948 | EOF | |
12949 | ||
12950 | ||
12951 | ||
10f2d63a VZ |
12952 | GUILIBS="$GUI_TK_LIBRARY $OPENGL_LINK $LIBPNG_LINK $ZLIB_LINK $TOOLKIT_LINK" |
12953 | ||
c63c7106 | 12954 | EXTRA_LIBS="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK" |
10f2d63a VZ |
12955 | if test "$wxUSE_GUI" = "yes"; then |
12956 | EXTRA_LIBS="$EXTRA_LIBS $GUILIBS" | |
12957 | fi | |
12958 | ||
12959 | LD_LIBS="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS" | |
12960 | ||
c7a2bf27 | 12961 | INCLUDES="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE $TOOLKIT_INCLUDE" |
10f2d63a VZ |
12962 | |
12963 | if test "$GXX" = yes ; then | |
12964 | CXXWARNINGS="-Wall" | |
12965 | fi | |
12966 | EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES" | |
12967 | ||
12968 | CFLAGS=`echo $CFLAGS $EXTRA_CFLAGS | sed 's/ \\+/ /g'` | |
12969 | CXXFLAGS=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'` | |
12970 | ||
e694c22c VZ |
12971 | LDFLAGS="$LDFLAGS $PROFILE" |
12972 | ||
10f2d63a VZ |
12973 | if test "$wxUSE_GUI" = "yes"; then |
12974 | ||
70f7a477 VZ |
12975 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS controls dialogs drawing dynamic \ |
12976 | font fractal image minimal richedit" | |
b12915c1 | 12977 | |
e2b8b066 | 12978 | CPPFLAGS="$CPPFLAGS \$(EXTRADEFS)" |
10f2d63a VZ |
12979 | else |
12980 | SAMPLES_SUBDIRS="" | |
12981 | fi | |
12982 | ||
ec14dd32 VZ |
12983 | SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`" |
12984 | ||
12985 | ||
12986 | ||
10f2d63a VZ |
12987 | |
12988 | ||
12989 | ||
12990 | ||
12991 | ||
12992 | ||
12993 | ||
12994 | ||
12995 | ||
12996 | ||
12997 | ||
12998 | ||
12999 | ||
13000 | ||
13001 | ||
13002 | ||
13003 | ||
13004 | ||
13005 | ||
13006 | ||
13007 | ||
13008 | ||
13009 | ||
13010 | ||
13011 | ||
13012 | ||
13013 | ||
13014 | ||
13015 | ||
13016 | ||
13017 | ||
13018 | ||
13019 | ||
13020 | ||
13021 | ||
13022 | ||
13023 | ||
13024 | ||
13025 | ||
13026 | ||
13027 | ||
13028 | ||
13029 | ||
13030 | ||
13031 | ||
13032 | ||
13033 | ||
13034 | ||
13035 | ||
13036 | ||
13037 | ||
13038 | ||
1d62a8b4 | 13039 | |
e694c22c | 13040 | |
b12915c1 | 13041 | |
2224580a VZ |
13042 | |
13043 | ||
13044 | ||
13045 | ||
dad6c0ea VZ |
13046 | |
13047 | ||
caa2c79b | 13048 | |
10f2d63a VZ |
13049 | |
13050 | ||
13051 | echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | |
2224580a | 13052 | echo "configure:13053: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
10f2d63a VZ |
13053 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
13054 | if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then | |
13055 | echo $ac_n "(cached) $ac_c" 1>&6 | |
13056 | else | |
13057 | cat > conftestmake <<\EOF | |
13058 | all: | |
13059 | @echo 'ac_maketemp="${MAKE}"' | |
13060 | EOF | |
13061 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | |
13062 | eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` | |
13063 | if test -n "$ac_maketemp"; then | |
13064 | eval ac_cv_prog_make_${ac_make}_set=yes | |
13065 | else | |
13066 | eval ac_cv_prog_make_${ac_make}_set=no | |
13067 | fi | |
13068 | rm -f conftestmake | |
13069 | fi | |
13070 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then | |
13071 | echo "$ac_t""yes" 1>&6 | |
13072 | SET_MAKE= | |
13073 | else | |
13074 | echo "$ac_t""no" 1>&6 | |
13075 | SET_MAKE="MAKE=${MAKE-make}" | |
13076 | fi | |
13077 | ||
13078 | ||
13079 | ||
13080 | ||
2224580a VZ |
13081 | if test "$wxUSE_GUI" = "yes"; then |
13082 | echo $ac_n "checking glcanvas subdirectory to use""... $ac_c" 1>&6 | |
13083 | echo "configure:13084: checking glcanvas subdirectory to use" >&5 | |
13084 | if eval "test \"`echo '$''{'wx_cv_path_glcanvas'+set}'`\" = set"; then | |
13085 | echo $ac_n "(cached) $ac_c" 1>&6 | |
10f2d63a | 13086 | else |
2224580a VZ |
13087 | |
13088 | if test "${TOOLKIT_DIR}" = "msw" ; then | |
13089 | wx_cv_path_glcanvas="win" | |
13090 | else | |
13091 | wx_cv_path_glcanvas="${TOOLKIT_DIR}" | |
13092 | fi | |
13093 | ||
10f2d63a VZ |
13094 | fi |
13095 | ||
2224580a VZ |
13096 | echo "$ac_t""$wx_cv_path_glcanvas" 1>&6 |
13097 | ||
13098 | GL_TOOLKIT_DIR=$wx_cv_PATH_glcanvas | |
13099 | ||
13100 | ||
13101 | subdirs="demos samples utils" | |
13102 | ||
13103 | fi | |
10f2d63a VZ |
13104 | |
13105 | trap '' 1 2 15 | |
13106 | cat > confcache <<\EOF | |
13107 | # This file is a shell script that caches the results of configure | |
13108 | # tests run on this system so they can be shared between configure | |
13109 | # scripts and configure runs. It is not useful on other systems. | |
13110 | # If it contains results you don't want to keep, you may remove or edit it. | |
13111 | # | |
13112 | # By default, configure uses ./config.cache as the cache file, | |
13113 | # creating it if it does not exist already. You can give configure | |
13114 | # the --cache-file=FILE option to use a different cache file; that is | |
13115 | # what configure does when it calls configure scripts in | |
13116 | # subdirectories, so they share the cache. | |
13117 | # Giving --cache-file=/dev/null disables caching, for debugging configure. | |
13118 | # config.status only pays attention to the cache file if you give it the | |
13119 | # --recheck option to rerun configure. | |
13120 | # | |
13121 | EOF | |
13122 | # The following way of writing the cache mishandles newlines in values, | |
13123 | # but we know of no workaround that is simple, portable, and efficient. | |
13124 | # So, don't put newlines in cache variables' values. | |
13125 | # Ultrix sh set writes to stderr and can't be redirected directly, | |
13126 | # and sets the high bit in the cache file unless we assign to the vars. | |
13127 | (set) 2>&1 | | |
13128 | case `(ac_space=' '; set | grep ac_space) 2>&1` in | |
13129 | *ac_space=\ *) | |
13130 | # `set' does not quote correctly, so add quotes (double-quote substitution | |
13131 | # turns \\\\ into \\, and sed turns \\ into \). | |
13132 | sed -n \ | |
13133 | -e "s/'/'\\\\''/g" \ | |
13134 | -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" | |
13135 | ;; | |
13136 | *) | |
13137 | # `set' quotes correctly as required by POSIX, so do not add quotes. | |
13138 | sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' | |
13139 | ;; | |
13140 | esac >> confcache | |
13141 | if cmp -s $cache_file confcache; then | |
13142 | : | |
13143 | else | |
13144 | if test -w $cache_file; then | |
13145 | echo "updating cache $cache_file" | |
13146 | cat confcache > $cache_file | |
13147 | else | |
13148 | echo "not updating unwritable cache $cache_file" | |
13149 | fi | |
13150 | fi | |
13151 | rm -f confcache | |
13152 | ||
13153 | trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 | |
13154 | ||
13155 | test "x$prefix" = xNONE && prefix=$ac_default_prefix | |
13156 | # Let make expand exec_prefix. | |
13157 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | |
13158 | ||
13159 | # Any assignment to VPATH causes Sun make to only execute | |
13160 | # the first set of double-colon rules, so remove it if not needed. | |
13161 | # If there is a colon in the path, we need to keep it. | |
13162 | if test "x$srcdir" = x.; then | |
13163 | ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' | |
13164 | fi | |
13165 | ||
13166 | trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 | |
13167 | ||
13168 | DEFS=-DHAVE_CONFIG_H | |
13169 | ||
13170 | # Without the "./", some shells look in PATH for config.status. | |
13171 | : ${CONFIG_STATUS=./config.status} | |
13172 | ||
13173 | echo creating $CONFIG_STATUS | |
13174 | rm -f $CONFIG_STATUS | |
13175 | cat > $CONFIG_STATUS <<EOF | |
13176 | #! /bin/sh | |
13177 | # Generated automatically by configure. | |
13178 | # Run this file to recreate the current configuration. | |
13179 | # This directory was configured as follows, | |
13180 | # on host `(hostname || uname -n) 2>/dev/null | sed 1q`: | |
13181 | # | |
13182 | # $0 $ac_configure_args | |
13183 | # | |
13184 | # Compiler output produced by configure, useful for debugging | |
13185 | # configure, is in ./config.log if it exists. | |
13186 | ||
13187 | ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" | |
13188 | for ac_option | |
13189 | do | |
13190 | case "\$ac_option" in | |
13191 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | |
13192 | echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" | |
13193 | exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; | |
13194 | -version | --version | --versio | --versi | --vers | --ver | --ve | --v) | |
2224580a | 13195 | echo "$CONFIG_STATUS generated by autoconf version 2.13" |
10f2d63a VZ |
13196 | exit 0 ;; |
13197 | -help | --help | --hel | --he | --h) | |
13198 | echo "\$ac_cs_usage"; exit 0 ;; | |
13199 | *) echo "\$ac_cs_usage"; exit 1 ;; | |
13200 | esac | |
13201 | done | |
13202 | ||
13203 | ac_given_srcdir=$srcdir | |
13204 | ac_given_INSTALL="$INSTALL" | |
13205 | ||
13206 | trap 'rm -fr `echo " | |
13207 | wx-config | |
13208 | src/make.env | |
13209 | src/makeprog.env | |
13210 | src/makelib.env | |
13211 | Makefile | |
10f2d63a VZ |
13212 | setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 |
13213 | EOF | |
13214 | cat >> $CONFIG_STATUS <<EOF | |
13215 | ||
13216 | # Protect against being on the right side of a sed subst in config.status. | |
13217 | sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; | |
13218 | s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF | |
13219 | $ac_vpsub | |
13220 | $extrasub | |
13221 | s%@SHELL@%$SHELL%g | |
13222 | s%@CFLAGS@%$CFLAGS%g | |
13223 | s%@CPPFLAGS@%$CPPFLAGS%g | |
13224 | s%@CXXFLAGS@%$CXXFLAGS%g | |
13225 | s%@FFLAGS@%$FFLAGS%g | |
13226 | s%@DEFS@%$DEFS%g | |
13227 | s%@LDFLAGS@%$LDFLAGS%g | |
13228 | s%@LIBS@%$LIBS%g | |
13229 | s%@exec_prefix@%$exec_prefix%g | |
13230 | s%@prefix@%$prefix%g | |
13231 | s%@program_transform_name@%$program_transform_name%g | |
13232 | s%@bindir@%$bindir%g | |
13233 | s%@sbindir@%$sbindir%g | |
13234 | s%@libexecdir@%$libexecdir%g | |
13235 | s%@datadir@%$datadir%g | |
13236 | s%@sysconfdir@%$sysconfdir%g | |
13237 | s%@sharedstatedir@%$sharedstatedir%g | |
13238 | s%@localstatedir@%$localstatedir%g | |
13239 | s%@libdir@%$libdir%g | |
13240 | s%@includedir@%$includedir%g | |
13241 | s%@oldincludedir@%$oldincludedir%g | |
13242 | s%@infodir@%$infodir%g | |
13243 | s%@mandir@%$mandir%g | |
13244 | s%@host@%$host%g | |
13245 | s%@host_alias@%$host_alias%g | |
13246 | s%@host_cpu@%$host_cpu%g | |
13247 | s%@host_vendor@%$host_vendor%g | |
13248 | s%@host_os@%$host_os%g | |
13249 | s%@target@%$target%g | |
13250 | s%@target_alias@%$target_alias%g | |
13251 | s%@target_cpu@%$target_cpu%g | |
13252 | s%@target_vendor@%$target_vendor%g | |
13253 | s%@target_os@%$target_os%g | |
13254 | s%@build@%$build%g | |
13255 | s%@build_alias@%$build_alias%g | |
13256 | s%@build_cpu@%$build_cpu%g | |
13257 | s%@build_vendor@%$build_vendor%g | |
13258 | s%@build_os@%$build_os%g | |
13259 | s%@CC@%$CC%g | |
13260 | s%@CPP@%$CPP%g | |
13261 | s%@CXX@%$CXX%g | |
13262 | s%@CXXCPP@%$CXXCPP%g | |
13263 | s%@RANLIB@%$RANLIB%g | |
13264 | s%@AR@%$AR%g | |
13265 | s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g | |
13266 | s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g | |
13267 | s%@INSTALL_DATA@%$INSTALL_DATA%g | |
13268 | s%@STRIP@%$STRIP%g | |
13269 | s%@YACC@%$YACC%g | |
13270 | s%@LEX@%$LEX%g | |
13271 | s%@LEXLIB@%$LEXLIB%g | |
13272 | s%@LN_S@%$LN_S%g | |
13273 | s%@GTK_CONFIG@%$GTK_CONFIG%g | |
13274 | s%@GTK_CFLAGS@%$GTK_CFLAGS%g | |
13275 | s%@GTK_LIBS@%$GTK_LIBS%g | |
ab9b9eab VZ |
13276 | s%@X_CFLAGS@%$X_CFLAGS%g |
13277 | s%@X_PRE_LIBS@%$X_PRE_LIBS%g | |
13278 | s%@X_LIBS@%$X_LIBS%g | |
13279 | s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g | |
ec14dd32 VZ |
13280 | s%@LEX_STEM@%$LEX_STEM%g |
13281 | s%@PATH_IFS@%$PATH_IFS%g | |
10f2d63a VZ |
13282 | s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g |
13283 | s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g | |
13284 | s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g | |
13285 | s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g | |
13286 | s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g | |
13287 | s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g | |
13288 | s%@WX_LIBRARY@%$WX_LIBRARY%g | |
13289 | s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g | |
13290 | s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g | |
13291 | s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g | |
13292 | s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g | |
13293 | s%@PROGRAM_EXT@%$PROGRAM_EXT%g | |
13294 | s%@WX_ALL@%$WX_ALL%g | |
13295 | s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g | |
13296 | s%@SHARED_LD@%$SHARED_LD%g | |
13297 | s%@PIC_FLAG@%$PIC_FLAG%g | |
13298 | s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g | |
caa2c79b | 13299 | s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g |
1d62a8b4 | 13300 | s%@BURNT_LIBRARY_NAME@%$BURNT_LIBRARY_NAME%g |
10f2d63a | 13301 | s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g |
dad6c0ea VZ |
13302 | s%@USE_GUI@%$USE_GUI%g |
13303 | s%@AFMINSTALL@%$AFMINSTALL%g | |
10f2d63a VZ |
13304 | s%@TOOLKIT@%$TOOLKIT%g |
13305 | s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g | |
13306 | s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g | |
13307 | s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g | |
13308 | s%@GUIHEADERS@%$GUIHEADERS%g | |
13309 | s%@GUIOBJS@%$GUIOBJS%g | |
13310 | s%@COMMONOBJS@%$COMMONOBJS%g | |
13311 | s%@GENERICOBJS@%$GENERICOBJS%g | |
13312 | s%@GUIDEPS@%$GUIDEPS%g | |
13313 | s%@COMMONDEPS@%$COMMONDEPS%g | |
13314 | s%@GENERICDEPS@%$GENERICDEPS%g | |
13315 | s%@IODBCOBJS@%$IODBCOBJS%g | |
13316 | s%@UNIXOBJS@%$UNIXOBJS%g | |
13317 | s%@UNIXDEPS@%$UNIXDEPS%g | |
13318 | s%@ALL_OBJECTS@%$ALL_OBJECTS%g | |
13319 | s%@ALL_DEPFILES@%$ALL_DEPFILES%g | |
10f2d63a | 13320 | s%@GUIDIST@%$GUIDIST%g |
2224580a VZ |
13321 | s%@PORT_FILES@%$PORT_FILES%g |
13322 | s%@DISTDIR@%$DISTDIR%g | |
13323 | s%@RPM_SPEC@%$RPM_SPEC%g | |
13324 | s%@RPM_FILES@%$RPM_FILES%g | |
10f2d63a VZ |
13325 | s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g |
13326 | s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g | |
13327 | s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g | |
13328 | s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g | |
13329 | s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g | |
13330 | s%@USER_SUBDIRS@%$USER_SUBDIRS%g | |
13331 | s%@EXTRA_LIBS@%$EXTRA_LIBS%g | |
b12915c1 | 13332 | s%@EXTRADEFS@%$EXTRADEFS%g |
10f2d63a VZ |
13333 | s%@LD_LIBS@%$LD_LIBS%g |
13334 | s%@SET_MAKE@%$SET_MAKE%g | |
13335 | s%@GL_TOOLKIT_DIR@%$GL_TOOLKIT_DIR%g | |
2224580a | 13336 | s%@subdirs@%$subdirs%g |
10f2d63a VZ |
13337 | |
13338 | CEOF | |
13339 | EOF | |
13340 | ||
13341 | cat >> $CONFIG_STATUS <<\EOF | |
13342 | ||
13343 | # Split the substitutions into bite-sized pieces for seds with | |
13344 | # small command number limits, like on Digital OSF/1 and HP-UX. | |
13345 | ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. | |
13346 | ac_file=1 # Number of current file. | |
13347 | ac_beg=1 # First line for current file. | |
13348 | ac_end=$ac_max_sed_cmds # Line after last line for current file. | |
13349 | ac_more_lines=: | |
13350 | ac_sed_cmds="" | |
13351 | while $ac_more_lines; do | |
13352 | if test $ac_beg -gt 1; then | |
13353 | sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file | |
13354 | else | |
13355 | sed "${ac_end}q" conftest.subs > conftest.s$ac_file | |
13356 | fi | |
13357 | if test ! -s conftest.s$ac_file; then | |
13358 | ac_more_lines=false | |
13359 | rm -f conftest.s$ac_file | |
13360 | else | |
13361 | if test -z "$ac_sed_cmds"; then | |
13362 | ac_sed_cmds="sed -f conftest.s$ac_file" | |
13363 | else | |
13364 | ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" | |
13365 | fi | |
13366 | ac_file=`expr $ac_file + 1` | |
13367 | ac_beg=$ac_end | |
13368 | ac_end=`expr $ac_end + $ac_max_sed_cmds` | |
13369 | fi | |
13370 | done | |
13371 | if test -z "$ac_sed_cmds"; then | |
13372 | ac_sed_cmds=cat | |
13373 | fi | |
13374 | EOF | |
13375 | ||
13376 | cat >> $CONFIG_STATUS <<EOF | |
13377 | ||
13378 | CONFIG_FILES=\${CONFIG_FILES-"wx-config | |
13379 | src/make.env | |
13380 | src/makeprog.env | |
13381 | src/makelib.env | |
13382 | Makefile | |
10f2d63a VZ |
13383 | "} |
13384 | EOF | |
13385 | cat >> $CONFIG_STATUS <<\EOF | |
13386 | for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then | |
13387 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | |
13388 | case "$ac_file" in | |
13389 | *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` | |
13390 | ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; | |
13391 | *) ac_file_in="${ac_file}.in" ;; | |
13392 | esac | |
13393 | ||
13394 | # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. | |
13395 | ||
13396 | # Remove last slash and all that follows it. Not all systems have dirname. | |
13397 | ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` | |
13398 | if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then | |
13399 | # The file is in a subdirectory. | |
13400 | test ! -d "$ac_dir" && mkdir "$ac_dir" | |
13401 | ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" | |
13402 | # A "../" for each directory in $ac_dir_suffix. | |
13403 | ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` | |
13404 | else | |
13405 | ac_dir_suffix= ac_dots= | |
13406 | fi | |
13407 | ||
13408 | case "$ac_given_srcdir" in | |
13409 | .) srcdir=. | |
13410 | if test -z "$ac_dots"; then top_srcdir=. | |
13411 | else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; | |
13412 | /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; | |
13413 | *) # Relative path. | |
13414 | srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" | |
13415 | top_srcdir="$ac_dots$ac_given_srcdir" ;; | |
13416 | esac | |
13417 | ||
13418 | case "$ac_given_INSTALL" in | |
13419 | [/$]*) INSTALL="$ac_given_INSTALL" ;; | |
13420 | *) INSTALL="$ac_dots$ac_given_INSTALL" ;; | |
13421 | esac | |
13422 | ||
13423 | echo creating "$ac_file" | |
13424 | rm -f "$ac_file" | |
13425 | configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." | |
13426 | case "$ac_file" in | |
13427 | *Makefile*) ac_comsub="1i\\ | |
13428 | # $configure_input" ;; | |
13429 | *) ac_comsub= ;; | |
13430 | esac | |
13431 | ||
13432 | ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` | |
13433 | sed -e "$ac_comsub | |
13434 | s%@configure_input@%$configure_input%g | |
13435 | s%@srcdir@%$srcdir%g | |
13436 | s%@top_srcdir@%$top_srcdir%g | |
13437 | s%@INSTALL@%$INSTALL%g | |
13438 | " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file | |
13439 | fi; done | |
13440 | rm -f conftest.s* | |
13441 | ||
13442 | # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where | |
13443 | # NAME is the cpp macro being defined and VALUE is the value it is being given. | |
13444 | # | |
13445 | # ac_d sets the value in "#define NAME VALUE" lines. | |
13446 | ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)' | |
13447 | ac_dB='\([ ][ ]*\)[^ ]*%\1#\2' | |
13448 | ac_dC='\3' | |
13449 | ac_dD='%g' | |
13450 | # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE". | |
13451 | ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' | |
13452 | ac_uB='\([ ]\)%\1#\2define\3' | |
13453 | ac_uC=' ' | |
13454 | ac_uD='\4%g' | |
13455 | # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE". | |
13456 | ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' | |
13457 | ac_eB='$%\1#\2define\3' | |
13458 | ac_eC=' ' | |
13459 | ac_eD='%g' | |
13460 | ||
13461 | if test "${CONFIG_HEADERS+set}" != set; then | |
13462 | EOF | |
13463 | cat >> $CONFIG_STATUS <<EOF | |
13464 | CONFIG_HEADERS="setup.h:setup.h.in" | |
13465 | EOF | |
13466 | cat >> $CONFIG_STATUS <<\EOF | |
13467 | fi | |
13468 | for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then | |
13469 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | |
13470 | case "$ac_file" in | |
13471 | *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` | |
13472 | ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; | |
13473 | *) ac_file_in="${ac_file}.in" ;; | |
13474 | esac | |
13475 | ||
13476 | echo creating $ac_file | |
13477 | ||
13478 | rm -f conftest.frag conftest.in conftest.out | |
13479 | ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` | |
13480 | cat $ac_file_inputs > conftest.in | |
13481 | ||
13482 | EOF | |
13483 | ||
13484 | # Transform confdefs.h into a sed script conftest.vals that substitutes | |
13485 | # the proper values into config.h.in to produce config.h. And first: | |
13486 | # Protect against being on the right side of a sed subst in config.status. | |
13487 | # Protect against being in an unquoted here document in config.status. | |
13488 | rm -f conftest.vals | |
13489 | cat > conftest.hdr <<\EOF | |
13490 | s/[\\&%]/\\&/g | |
13491 | s%[\\$`]%\\&%g | |
13492 | s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp | |
13493 | s%ac_d%ac_u%gp | |
13494 | s%ac_u%ac_e%gp | |
13495 | EOF | |
13496 | sed -n -f conftest.hdr confdefs.h > conftest.vals | |
13497 | rm -f conftest.hdr | |
13498 | ||
13499 | # This sed command replaces #undef with comments. This is necessary, for | |
13500 | # example, in the case of _POSIX_SOURCE, which is predefined and required | |
13501 | # on some systems where configure will not decide to define it. | |
13502 | cat >> conftest.vals <<\EOF | |
13503 | s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */% | |
13504 | EOF | |
13505 | ||
13506 | # Break up conftest.vals because some shells have a limit on | |
13507 | # the size of here documents, and old seds have small limits too. | |
13508 | ||
13509 | rm -f conftest.tail | |
13510 | while : | |
13511 | do | |
13512 | ac_lines=`grep -c . conftest.vals` | |
13513 | # grep -c gives empty output for an empty file on some AIX systems. | |
13514 | if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi | |
13515 | # Write a limited-size here document to conftest.frag. | |
13516 | echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS | |
13517 | sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS | |
13518 | echo 'CEOF | |
13519 | sed -f conftest.frag conftest.in > conftest.out | |
13520 | rm -f conftest.in | |
13521 | mv conftest.out conftest.in | |
13522 | ' >> $CONFIG_STATUS | |
13523 | sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail | |
13524 | rm -f conftest.vals | |
13525 | mv conftest.tail conftest.vals | |
13526 | done | |
13527 | rm -f conftest.vals | |
13528 | ||
13529 | cat >> $CONFIG_STATUS <<\EOF | |
13530 | rm -f conftest.frag conftest.h | |
13531 | echo "/* $ac_file. Generated automatically by configure. */" > conftest.h | |
13532 | cat conftest.in >> conftest.h | |
13533 | rm -f conftest.in | |
13534 | if cmp -s $ac_file conftest.h 2>/dev/null; then | |
13535 | echo "$ac_file is unchanged" | |
13536 | rm -f conftest.h | |
13537 | else | |
13538 | # Remove last slash and all that follows it. Not all systems have dirname. | |
13539 | ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` | |
13540 | if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then | |
13541 | # The file is in a subdirectory. | |
13542 | test ! -d "$ac_dir" && mkdir "$ac_dir" | |
13543 | fi | |
13544 | rm -f $ac_file | |
13545 | mv conftest.h $ac_file | |
13546 | fi | |
13547 | fi; done | |
13548 | ||
13549 | EOF | |
13550 | cat >> $CONFIG_STATUS <<EOF | |
13551 | ||
13552 | TOOLKIT_DIR="${TOOLKIT_DIR}" | |
13553 | ||
13554 | ||
13555 | EOF | |
13556 | cat >> $CONFIG_STATUS <<\EOF | |
13557 | ||
13558 | chmod +x wx-config | |
13559 | if test ! -d include; then | |
13560 | mkdir include | |
13561 | fi | |
13562 | if test ! -d include/wx; then | |
13563 | mkdir include/wx | |
13564 | fi | |
13565 | if test ! -d include/wx/${TOOLKIT_DIR}; then | |
13566 | mkdir include/wx/${TOOLKIT_DIR} | |
13567 | fi | |
afc31813 VZ |
13568 | if test -f setup.h; then |
13569 | mv -f setup.h include/wx/${TOOLKIT_DIR}/setup.h | |
13570 | fi | |
10f2d63a VZ |
13571 | |
13572 | exit 0 | |
13573 | EOF | |
13574 | chmod +x $CONFIG_STATUS | |
13575 | rm -fr confdefs* $ac_clean_files | |
13576 | test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 | |
13577 | ||
2224580a VZ |
13578 | if test "$no_recursion" != yes; then |
13579 | ||
13580 | # Remove --cache-file and --srcdir arguments so they do not pile up. | |
13581 | ac_sub_configure_args= | |
13582 | ac_prev= | |
13583 | for ac_arg in $ac_configure_args; do | |
13584 | if test -n "$ac_prev"; then | |
13585 | ac_prev= | |
13586 | continue | |
13587 | fi | |
13588 | case "$ac_arg" in | |
13589 | -cache-file | --cache-file | --cache-fil | --cache-fi \ | |
13590 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | |
13591 | ac_prev=cache_file ;; | |
13592 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | |
13593 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | |
13594 | ;; | |
13595 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | |
13596 | ac_prev=srcdir ;; | |
13597 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | |
13598 | ;; | |
13599 | *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;; | |
13600 | esac | |
13601 | done | |
13602 | ||
13603 | for ac_config_dir in demos samples utils; do | |
13604 | ||
13605 | # Do not complain, so a configure script can configure whichever | |
13606 | # parts of a large source tree are present. | |
13607 | if test ! -d $srcdir/$ac_config_dir; then | |
13608 | continue | |
13609 | fi | |
13610 | ||
13611 | echo configuring in $ac_config_dir | |
13612 | ||
13613 | case "$srcdir" in | |
13614 | .) ;; | |
13615 | *) | |
13616 | if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :; | |
13617 | else | |
13618 | { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; } | |
13619 | fi | |
13620 | ;; | |
13621 | esac | |
13622 | ||
13623 | ac_popdir=`pwd` | |
13624 | cd $ac_config_dir | |
13625 | ||
13626 | # A "../" for each directory in /$ac_config_dir. | |
13627 | ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'` | |
13628 | ||
13629 | case "$srcdir" in | |
13630 | .) # No --srcdir option. We are building in place. | |
13631 | ac_sub_srcdir=$srcdir ;; | |
13632 | /*) # Absolute path. | |
13633 | ac_sub_srcdir=$srcdir/$ac_config_dir ;; | |
13634 | *) # Relative path. | |
13635 | ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;; | |
13636 | esac | |
13637 | ||
13638 | # Check for guested configure; otherwise get Cygnus style configure. | |
13639 | if test -f $ac_sub_srcdir/configure; then | |
13640 | ac_sub_configure=$ac_sub_srcdir/configure | |
13641 | elif test -f $ac_sub_srcdir/configure.in; then | |
13642 | ac_sub_configure=$ac_configure | |
13643 | else | |
13644 | echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2 | |
13645 | ac_sub_configure= | |
13646 | fi | |
13647 | ||
13648 | # The recursion is here. | |
13649 | if test -n "$ac_sub_configure"; then | |
13650 | ||
13651 | # Make the cache file name correct relative to the subdirectory. | |
13652 | case "$cache_file" in | |
13653 | /*) ac_sub_cache_file=$cache_file ;; | |
13654 | *) # Relative path. | |
13655 | ac_sub_cache_file="$ac_dots$cache_file" ;; | |
13656 | esac | |
13657 | case "$ac_given_INSTALL" in | |
13658 | [/$]*) INSTALL="$ac_given_INSTALL" ;; | |
13659 | *) INSTALL="$ac_dots$ac_given_INSTALL" ;; | |
13660 | esac | |
13661 | ||
13662 | echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir" | |
13663 | # The eval makes quoting arguments work. | |
13664 | if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir | |
13665 | then : | |
13666 | else | |
13667 | { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; } | |
13668 | fi | |
13669 | fi | |
13670 | ||
13671 | cd $ac_popdir | |
13672 | done | |
13673 | fi | |
13674 | ||
10f2d63a | 13675 |