]> git.sesse.net Git - vlc/blob - extras/contrib/src/Patches/fribidi.patch
* Patch ffmpeg configure to not use twice the cross prefix.
[vlc] / extras / contrib / src / Patches / fribidi.patch
1 diff -ruNa fribidi.old/Makefile.in fribidi/Makefile.in
2 --- fribidi.old/Makefile.in     Sun May 19 12:17:19 2002
3 +++ fribidi/Makefile.in Sun Nov  2 00:51:37 2003
4 @@ -1,6 +1,8 @@
5 -# Makefile.in generated automatically by automake 1.4 from Makefile.am
6 +# Makefile.in generated by automake 1.6.1 from Makefile.am.
7 +# @configure_input@
8  
9 -# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
10 +# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
11 +# Free Software Foundation, Inc.
12  # This Makefile.in is free software; the Free Software Foundation
13  # gives unlimited permission to copy and/or distribute it,
14  # with or without modifications, as long as this notice is preserved.
15 @@ -10,7 +12,7 @@
16  # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
17  # PARTICULAR PURPOSE.
18  
19 -
20 +@SET_MAKE@
21  SHELL = @SHELL@
22  
23  srcdir = @srcdir@
24 @@ -31,13 +33,9 @@
25  mandir = @mandir@
26  includedir = @includedir@
27  oldincludedir = /usr/include
28 -
29 -DESTDIR =
30 -
31  pkgdatadir = $(datadir)/@PACKAGE@
32  pkglibdir = $(libdir)/@PACKAGE@
33  pkgincludedir = $(includedir)/@PACKAGE@
34 -
35  top_builddir = .
36  
37  ACLOCAL = @ACLOCAL@
38 @@ -45,12 +43,15 @@
39  AUTOMAKE = @AUTOMAKE@
40  AUTOHEADER = @AUTOHEADER@
41  
42 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
43  INSTALL = @INSTALL@
44 -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
45 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
46  INSTALL_DATA = @INSTALL_DATA@
47 +install_sh_DATA = $(install_sh) -c -m 644
48 +install_sh_PROGRAM = $(install_sh) -c
49  INSTALL_SCRIPT = @INSTALL_SCRIPT@
50 +INSTALL_HEADER = $(INSTALL_DATA)
51  transform = @program_transform_name@
52 -
53  NORMAL_INSTALL = :
54  PRE_INSTALL = :
55  POST_INSTALL = :
56 @@ -59,13 +60,18 @@
57  POST_UNINSTALL = :
58  host_alias = @host_alias@
59  host_triplet = @host@
60 +
61 +EXEEXT = @EXEEXT@
62 +OBJEXT = @OBJEXT@
63 +PATH_SEPARATOR = @PATH_SEPARATOR@
64 +AMTAR = @AMTAR@
65  AS = @AS@
66  AWK = @AWK@
67  CC = @CC@
68  CPP = @CPP@
69 +DEPDIR = @DEPDIR@
70  DLLTOOL = @DLLTOOL@
71  ECHO = @ECHO@
72 -EXEEXT = @EXEEXT@
73  FRIBIDI_BINARY_AGE = @FRIBIDI_BINARY_AGE@
74  FRIBIDI_INTERFACE_AGE = @FRIBIDI_INTERFACE_AGE@
75  FRIBIDI_INTERFACE_VERSION = @FRIBIDI_INTERFACE_VERSION@
76 @@ -75,67 +81,136 @@
77  FRIBIDI_NO_CHARSETS = @FRIBIDI_NO_CHARSETS@
78  FRIBIDI_RPM_RELEASE = @FRIBIDI_RPM_RELEASE@
79  FRIBIDI_VERSION = @FRIBIDI_VERSION@
80 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
81  LIBTOOL = @LIBTOOL@
82  LN_S = @LN_S@
83 -MAKEINFO = @MAKEINFO@
84  OBJDUMP = @OBJDUMP@
85 -OBJEXT = @OBJEXT@
86  PACKAGE = @PACKAGE@
87  RANLIB = @RANLIB@
88  SED = @SED@
89  STRIP = @STRIP@
90  VERSION = @VERSION@
91 +am__include = @am__include@
92 +am__quote = @am__quote@
93 +install_sh = @install_sh@
94  
95  AUTOMAKE_OPTIONS = gnu 
96  
97 -noinst_PROGRAMS = fribidi_benchmark                    fribidi_create_char_types                       fribidi_create_mirroring
98 -
99 -
100 -libfribidi_charsets =          fribidi_char_sets.c             fribidi_char_sets_utf8.c
101 -
102 -
103 -libfribidi_charsets_extra =    fribidi_char_sets_cap_rtl.c             fribidi_char_sets_iso8859_6.c           fribidi_char_sets_iso8859_8.c           fribidi_char_sets_cp1255.c              fribidi_char_sets_cp1256.c              fribidi_char_sets_isiri_3342.c
104 -
105 -
106 -libfribidi_charsets_h =        fribidi_char_sets.h             fribidi_char_sets_utf8.h
107 -
108 -libfribidi_charsets_extra_h =          fribidi_char_sets_cap_rtl.h             fribidi_char_sets_cp1255.h              fribidi_char_sets_cp1256.h              fribidi_char_sets_isiri_3342.h          fribidi_char_sets_iso8859_6.h           fribidi_char_sets_iso8859_8.h
109 +noinst_PROGRAMS = fribidi_benchmark    \
110 +               fribidi_create_char_types       \
111 +               fribidi_create_mirroring
112 +
113 +
114 +libfribidi_charsets = \
115 +       fribidi_char_sets.c     \
116 +       fribidi_char_sets_utf8.c
117 +
118 +
119 +libfribidi_charsets_extra = \
120 +       fribidi_char_sets_cap_rtl.c     \
121 +       fribidi_char_sets_iso8859_6.c   \
122 +       fribidi_char_sets_iso8859_8.c   \
123 +       fribidi_char_sets_cp1255.c      \
124 +       fribidi_char_sets_cp1256.c      \
125 +       fribidi_char_sets_isiri_3342.c
126 +
127 +
128 +libfribidi_charsets_h = \
129 +       fribidi_char_sets.h     \
130 +       fribidi_char_sets_utf8.h
131 +
132 +libfribidi_charsets_extra_h = \
133 +       fribidi_char_sets_cap_rtl.h     \
134 +       fribidi_char_sets_cp1255.h      \
135 +       fribidi_char_sets_cp1256.h      \
136 +       fribidi_char_sets_isiri_3342.h  \
137 +       fribidi_char_sets_iso8859_6.h   \
138 +       fribidi_char_sets_iso8859_8.h
139  
140  
141  lib_LTLIBRARIES = libfribidi.la
142  
143 -libfribidi_la_SOURCES =        fribidi.c               fribidi_types.c                 fribidi_mem.c           fribidi_mirroring.c             fribidi_char_type.c             fribidi_wcwidth.c               fribidi_utils.c         $(libfribidi_charsets)          $(libfribidi_charsets_extra)
144 +libfribidi_la_SOURCES = \
145 +       fribidi.c       \
146 +       fribidi_types.c         \
147 +       fribidi_mem.c   \
148 +       fribidi_mirroring.c     \
149 +       fribidi_char_type.c     \
150 +       fribidi_wcwidth.c       \
151 +       fribidi_utils.c \
152 +       $(libfribidi_charsets)  \
153 +       $(libfribidi_charsets_extra)
154  
155  
156  libfribidi_la_LIBADD = 
157  
158  libfribidiincdir = $(includedir)/fribidi
159  
160 -libfribidiinc_HEADERS =        fribidi.h               fribidi_types.h         fribidi_mem.h           fribidi_unicode.h               $(libfribidi_charsets_h)                $(libfribidi_charsets_extra_h)          fribidi_config.h
161 +libfribidiinc_HEADERS = \
162 +       fribidi.h       \
163 +       fribidi_types.h \
164 +       fribidi_mem.h   \
165 +       fribidi_unicode.h       \
166 +       $(libfribidi_charsets_h)        \
167 +       $(libfribidi_charsets_extra_h)  \
168 +       fribidi_config.h
169  
170  
171 -GETOPT_SRC =   getopt.c                getopt1.c
172 +GETOPT_SRC = \
173 +       getopt.c        \
174 +       getopt1.c
175  
176  
177 -GETOPT_HDR =   getopt.h
178 +GETOPT_HDR = \
179 +       getopt.h
180  
181  
182 -TEST_FILES =   tests/test_CapRTL_explicit.input                tests/test_CapRTL_explicit.reference            tests/test_CapRTL_implicit.input                tests/test_CapRTL_implicit.reference            tests/test_ISO8859-8_hebrew.input               tests/test_ISO8859-8_hebrew.reference           tests/test_UTF-8_persian.input          tests/test_UTF-8_persian.reference
183 +TEST_FILES = \
184 +       tests/test_CapRTL_explicit.input        \
185 +       tests/test_CapRTL_explicit.reference    \
186 +       tests/test_CapRTL_implicit.input        \
187 +       tests/test_CapRTL_implicit.reference    \
188 +       tests/test_ISO8859-8_hebrew.input       \
189 +       tests/test_ISO8859-8_hebrew.reference   \
190 +       tests/test_UTF-8_persian.input  \
191 +       tests/test_UTF-8_persian.reference
192  
193  
194 -TABLE_FILES =          fribidi_tab_mirroring.i         fribidi_tab_char_type_2.i               fribidi_tab_char_type_9.i
195 +TABLE_FILES = \
196 +       fribidi_tab_mirroring.i \
197 +       fribidi_tab_char_type_2.i       \
198 +       fribidi_tab_char_type_9.i
199  
200  
201 -UNIDATA_FILES =        unidata/README          unidata/UnicodeData.txt         unidata/BidiMirroring.txt
202 +UNIDATA_FILES = \
203 +       unidata/README  \
204 +       unidata/UnicodeData.txt \
205 +       unidata/BidiMirroring.txt
206  
207  
208 -OTHER_FILES =          fribidi_wcwidth.i
209 +OTHER_FILES = \
210 +       fribidi_wcwidth.i
211  
212  
213 -EXTRA_HEADERS =        packtab.h               $(GETOPT_HDR)
214 +EXTRA_HEADERS = \
215 +       packtab.h       \
216 +       $(GETOPT_HDR)
217  
218  
219 -EXTRA_DIST =   bootstrap       run.tests               ANNOUNCE                acinclude.m4            fribidi_config.h.in             fribidi.pc.in           fribidi.spec.in         fribidi.spec            $(TEST_FILES)           $(TABLE_FILES)          $(UNIDATA_FILES)                $(OTHER_FILES)          $(EXTRA_HEADERS)
220 +EXTRA_DIST = \
221 +       bootstrap \
222 +       run.tests       \
223 +       ANNOUNCE        \
224 +       acinclude.m4    \
225 +       fribidi_config.h.in     \
226 +       fribidi.pc.in   \
227 +       fribidi.spec.in \
228 +       fribidi.spec    \
229 +       $(TEST_FILES)   \
230 +       $(TABLE_FILES)  \
231 +       $(UNIDATA_FILES)        \
232 +       $(OTHER_FILES)  \
233 +       $(EXTRA_HEADERS)
234  
235  
236  fribidi_benchmark_SOURCES = fribidi_benchmark.c $(GETOPT_SRC)
237 @@ -161,620 +236,607 @@
238  DISTCLEANFILES = fribidi_tab_char_type_stamp
239  
240  MAINTAINERCLEANFILES = Makefile.in configure aclocal.m4 config.h.in
241 +subdir = .
242  ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
243  mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
244  CONFIG_HEADER = config.h
245 -CONFIG_CLEAN_FILES =  fribidi_config.h fribidi-config fribidi.pc \
246 -fribidi.spec
247 -LTLIBRARIES =  $(lib_LTLIBRARIES)
248 +CONFIG_CLEAN_FILES = fribidi_config.h fribidi-config fribidi.pc \
249 +       fribidi.spec
250 +LTLIBRARIES = $(lib_LTLIBRARIES)
251 +
252 +libfribidi_la_LDFLAGS =
253 +libfribidi_la_DEPENDENCIES =
254 +am__objects_1 = fribidi_char_sets.lo fribidi_char_sets_utf8.lo
255 +am__objects_2 = fribidi_char_sets_cap_rtl.lo \
256 +       fribidi_char_sets_iso8859_6.lo fribidi_char_sets_iso8859_8.lo \
257 +       fribidi_char_sets_cp1255.lo fribidi_char_sets_cp1256.lo \
258 +       fribidi_char_sets_isiri_3342.lo
259 +am_libfribidi_la_OBJECTS = fribidi.lo fribidi_types.lo fribidi_mem.lo \
260 +       fribidi_mirroring.lo fribidi_char_type.lo fribidi_wcwidth.lo \
261 +       fribidi_utils.lo $(am__objects_1) $(am__objects_2)
262 +libfribidi_la_OBJECTS = $(am_libfribidi_la_OBJECTS)
263 +bin_PROGRAMS = fribidi$(EXEEXT)
264 +noinst_PROGRAMS = fribidi_benchmark$(EXEEXT) \
265 +       fribidi_create_char_types$(EXEEXT) \
266 +       fribidi_create_mirroring$(EXEEXT)
267 +PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS)
268 +
269 +am__objects_3 = getopt.$(OBJEXT) getopt1.$(OBJEXT)
270 +am_fribidi_OBJECTS = fribidi_main.$(OBJEXT) $(am__objects_3)
271 +fribidi_OBJECTS = $(am_fribidi_OBJECTS)
272 +fribidi_DEPENDENCIES = libfribidi.la
273 +fribidi_LDFLAGS =
274 +am_fribidi_benchmark_OBJECTS = fribidi_benchmark.$(OBJEXT) \
275 +       $(am__objects_3)
276 +fribidi_benchmark_OBJECTS = $(am_fribidi_benchmark_OBJECTS)
277 +fribidi_benchmark_DEPENDENCIES = libfribidi.la
278 +fribidi_benchmark_LDFLAGS =
279 +am_fribidi_create_char_types_OBJECTS = \
280 +       fribidi_create_char_types.$(OBJEXT) packtab.$(OBJEXT)
281 +fribidi_create_char_types_OBJECTS = \
282 +       $(am_fribidi_create_char_types_OBJECTS)
283 +fribidi_create_char_types_LDADD = $(LDADD)
284 +fribidi_create_char_types_DEPENDENCIES =
285 +fribidi_create_char_types_LDFLAGS =
286 +am_fribidi_create_mirroring_OBJECTS = fribidi_create_mirroring.$(OBJEXT)
287 +fribidi_create_mirroring_OBJECTS = \
288 +       $(am_fribidi_create_mirroring_OBJECTS)
289 +fribidi_create_mirroring_LDADD = $(LDADD)
290 +fribidi_create_mirroring_DEPENDENCIES =
291 +fribidi_create_mirroring_LDFLAGS =
292 +SCRIPTS = $(bin_SCRIPTS)
293  
294  
295 -DEFS = @DEFS@ -I. -I$(srcdir) -I.
296 +DEFS = @DEFS@
297 +DEFAULT_INCLUDES =  -I. -I$(srcdir) -I.
298  CPPFLAGS = @CPPFLAGS@
299  LDFLAGS = @LDFLAGS@
300  LIBS = @LIBS@
301 -libfribidi_la_LDFLAGS = 
302 -libfribidi_la_DEPENDENCIES = 
303 -libfribidi_la_OBJECTS =  fribidi.lo fribidi_types.lo fribidi_mem.lo \
304 -fribidi_mirroring.lo fribidi_char_type.lo fribidi_wcwidth.lo \
305 -fribidi_utils.lo fribidi_char_sets.lo fribidi_char_sets_utf8.lo \
306 -fribidi_char_sets_cap_rtl.lo fribidi_char_sets_iso8859_6.lo \
307 -fribidi_char_sets_iso8859_8.lo fribidi_char_sets_cp1255.lo \
308 -fribidi_char_sets_cp1256.lo fribidi_char_sets_isiri_3342.lo
309 -bin_PROGRAMS =  fribidi$(EXEEXT)
310 -noinst_PROGRAMS =  fribidi_benchmark$(EXEEXT) \
311 -fribidi_create_char_types$(EXEEXT) fribidi_create_mirroring$(EXEEXT)
312 -PROGRAMS =  $(bin_PROGRAMS) $(noinst_PROGRAMS)
313 -
314 -fribidi_OBJECTS =  fribidi_main.$(OBJEXT) getopt.$(OBJEXT) \
315 -getopt1.$(OBJEXT)
316 -fribidi_DEPENDENCIES =  libfribidi.la
317 -fribidi_LDFLAGS = 
318 -fribidi_benchmark_OBJECTS =  fribidi_benchmark.$(OBJEXT) \
319 -getopt.$(OBJEXT) getopt1.$(OBJEXT)
320 -fribidi_benchmark_DEPENDENCIES =  libfribidi.la
321 -fribidi_benchmark_LDFLAGS = 
322 -fribidi_create_char_types_OBJECTS =  fribidi_create_char_types.$(OBJEXT) \
323 -packtab.$(OBJEXT)
324 -fribidi_create_char_types_LDADD = $(LDADD)
325 -fribidi_create_char_types_DEPENDENCIES = 
326 -fribidi_create_char_types_LDFLAGS = 
327 -fribidi_create_mirroring_OBJECTS =  fribidi_create_mirroring.$(OBJEXT)
328 -fribidi_create_mirroring_LDADD = $(LDADD)
329 -fribidi_create_mirroring_DEPENDENCIES = 
330 -fribidi_create_mirroring_LDFLAGS = 
331 -SCRIPTS =  $(bin_SCRIPTS)
332 -
333 -CFLAGS = @CFLAGS@
334 -COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
335 -LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
336 +depcomp = $(SHELL) $(top_srcdir)/depcomp
337 +am__depfiles_maybe = depfiles
338 +@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/fribidi.Plo \
339 +@AMDEP_TRUE@   ./$(DEPDIR)/fribidi_benchmark.Po \
340 +@AMDEP_TRUE@   ./$(DEPDIR)/fribidi_char_sets.Plo \
341 +@AMDEP_TRUE@   ./$(DEPDIR)/fribidi_char_sets_cap_rtl.Plo \
342 +@AMDEP_TRUE@   ./$(DEPDIR)/fribidi_char_sets_cp1255.Plo \
343 +@AMDEP_TRUE@   ./$(DEPDIR)/fribidi_char_sets_cp1256.Plo \
344 +@AMDEP_TRUE@   ./$(DEPDIR)/fribidi_char_sets_isiri_3342.Plo \
345 +@AMDEP_TRUE@   ./$(DEPDIR)/fribidi_char_sets_iso8859_6.Plo \
346 +@AMDEP_TRUE@   ./$(DEPDIR)/fribidi_char_sets_iso8859_8.Plo \
347 +@AMDEP_TRUE@   ./$(DEPDIR)/fribidi_char_sets_utf8.Plo \
348 +@AMDEP_TRUE@   ./$(DEPDIR)/fribidi_char_type.Plo \
349 +@AMDEP_TRUE@   ./$(DEPDIR)/fribidi_create_char_types.Po \
350 +@AMDEP_TRUE@   ./$(DEPDIR)/fribidi_create_mirroring.Po \
351 +@AMDEP_TRUE@   ./$(DEPDIR)/fribidi_main.Po \
352 +@AMDEP_TRUE@   ./$(DEPDIR)/fribidi_mem.Plo \
353 +@AMDEP_TRUE@   ./$(DEPDIR)/fribidi_mirroring.Plo \
354 +@AMDEP_TRUE@   ./$(DEPDIR)/fribidi_types.Plo \
355 +@AMDEP_TRUE@   ./$(DEPDIR)/fribidi_utils.Plo \
356 +@AMDEP_TRUE@   ./$(DEPDIR)/fribidi_wcwidth.Plo \
357 +@AMDEP_TRUE@   ./$(DEPDIR)/getopt.Po ./$(DEPDIR)/getopt1.Po \
358 +@AMDEP_TRUE@   ./$(DEPDIR)/packtab.Po
359 +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
360 +       $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
361 +LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
362 +       $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
363  CCLD = $(CC)
364 -LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
365 -DATA =  $(pkgconfig_DATA)
366 -
367 -HEADERS =  $(libfribidiinc_HEADERS)
368 -
369 -DIST_COMMON =  README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \
370 -Makefile.am Makefile.in NEWS THANKS TODO acconfig.h acinclude.m4 \
371 -aclocal.m4 config.guess config.h.in config.sub configure configure.in \
372 -fribidi-config.in fribidi.pc.in fribidi.spec.in fribidi_config.h.in \
373 -install-sh ltconfig ltmain.sh missing mkinstalldirs
374 -
375 -
376 -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
377 -
378 -TAR = gtar
379 -GZIP_ENV = --best
380 +LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
381 +       $(AM_LDFLAGS) $(LDFLAGS) -o $@
382 +CFLAGS = @CFLAGS@
383 +DIST_SOURCES = $(libfribidi_la_SOURCES) $(fribidi_SOURCES) \
384 +       $(fribidi_benchmark_SOURCES) \
385 +       $(fribidi_create_char_types_SOURCES) \
386 +       $(fribidi_create_mirroring_SOURCES)
387 +DATA = $(pkgconfig_DATA)
388 +
389 +HEADERS = $(libfribidiinc_HEADERS)
390 +
391 +DIST_COMMON = README $(libfribidiinc_HEADERS) AUTHORS COPYING ChangeLog \
392 +       INSTALL Makefile.am Makefile.in NEWS THANKS TODO acconfig.h \
393 +       acinclude.m4 aclocal.m4 config.guess config.h.in config.sub \
394 +       configure configure.in depcomp fribidi-config.in fribidi.pc.in \
395 +       fribidi.spec.in fribidi_config.h.in install-sh ltconfig \
396 +       ltmain.sh missing mkinstalldirs
397  SOURCES = $(libfribidi_la_SOURCES) $(fribidi_SOURCES) $(fribidi_benchmark_SOURCES) $(fribidi_create_char_types_SOURCES) $(fribidi_create_mirroring_SOURCES)
398 -OBJECTS = $(libfribidi_la_OBJECTS) $(fribidi_OBJECTS) $(fribidi_benchmark_OBJECTS) $(fribidi_create_char_types_OBJECTS) $(fribidi_create_mirroring_OBJECTS)
399  
400 -all: all-redirect
401 -.SUFFIXES:
402 -.SUFFIXES: .S .c .lo .o .obj .s
403 -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
404 -       cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps Makefile
405 -
406 -Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
407 -       cd $(top_builddir) \
408 -         && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
409 +all: config.h
410 +       $(MAKE) $(AM_MAKEFLAGS) all-am
411  
412 -$(ACLOCAL_M4):  configure.in  acinclude.m4
413 -       cd $(srcdir) && $(ACLOCAL)
414 +.SUFFIXES:
415 +.SUFFIXES: .c .lo .o .obj
416 +$(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.in $(ACLOCAL_M4)
417 +       cd $(top_srcdir) && \
418 +         $(AUTOMAKE) --gnu  Makefile
419 +Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
420 +       cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
421  
422 -config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
423 +$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
424         $(SHELL) ./config.status --recheck
425 -$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
426 +$(srcdir)/configure:  $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
427         cd $(srcdir) && $(AUTOCONF)
428 -stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
429 -       cd $(top_builddir) \
430 -         && CONFIG_FILES= CONFIG_HEADERS=config.h \
431 -            $(SHELL) ./config.status
432 -       @echo timestamp > stamp-h 2> /dev/null
433 -$(srcdir)/config.h.in: $(srcdir)/stamp-h.in
434 -       @if test ! -f $@; then \
435 -               rm -f $(srcdir)/stamp-h.in; \
436 -               $(MAKE) $(srcdir)/stamp-h.in; \
437 -       else :; fi
438 -$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
439 -       cd $(top_srcdir) && $(AUTOHEADER)
440 -       @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
441  
442 -mostlyclean-hdr:
443 +$(ACLOCAL_M4):  configure.in acinclude.m4
444 +       cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
445 +
446 +stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
447 +       @rm -f stamp-h1
448 +       cd $(top_builddir) && $(SHELL) ./config.status config.h
449  
450 -clean-hdr:
451 +$(srcdir)/config.h.in:  $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/acconfig.h
452 +       cd $(top_srcdir) && $(AUTOHEADER)
453 +       touch $(srcdir)/config.h.in
454  
455  distclean-hdr:
456         -rm -f config.h
457 -
458 -maintainer-clean-hdr:
459  fribidi_config.h: $(top_builddir)/config.status fribidi_config.h.in
460 -       cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
461 +       cd $(top_builddir) && $(SHELL) ./config.status $@
462  fribidi-config: $(top_builddir)/config.status fribidi-config.in
463 -       cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
464 +       cd $(top_builddir) && $(SHELL) ./config.status $@
465  fribidi.pc: $(top_builddir)/config.status fribidi.pc.in
466 -       cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
467 +       cd $(top_builddir) && $(SHELL) ./config.status $@
468  fribidi.spec: $(top_builddir)/config.status fribidi.spec.in
469 -       cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
470 -
471 -mostlyclean-libLTLIBRARIES:
472 -
473 -clean-libLTLIBRARIES:
474 -       -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
475 -
476 -distclean-libLTLIBRARIES:
477 -
478 -maintainer-clean-libLTLIBRARIES:
479 -
480 +       cd $(top_builddir) && $(SHELL) ./config.status $@
481 +libLTLIBRARIES_INSTALL = $(INSTALL)
482  install-libLTLIBRARIES: $(lib_LTLIBRARIES)
483         @$(NORMAL_INSTALL)
484         $(mkinstalldirs) $(DESTDIR)$(libdir)
485         @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
486           if test -f $$p; then \
487 -           echo "$(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p"; \
488 -           $(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p; \
489 +           f="`echo $$p | sed -e 's|^.*/||'`"; \
490 +           echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f"; \
491 +           $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f; \
492           else :; fi; \
493         done
494  
495  uninstall-libLTLIBRARIES:
496         @$(NORMAL_UNINSTALL)
497 -       list='$(lib_LTLIBRARIES)'; for p in $$list; do \
498 -         $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
499 +       @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
500 +           p="`echo $$p | sed -e 's|^.*/||'`"; \
501 +         echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
502 +         $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
503         done
504  
505 -.c.o:
506 -       $(COMPILE) -c $<
507 -
508 -# FIXME: We should only use cygpath when building on Windows,
509 -# and only if it is available.
510 -.c.obj:
511 -       $(COMPILE) -c `cygpath -w $<`
512 -
513 -.s.o:
514 -       $(COMPILE) -c $<
515 -
516 -.S.o:
517 -       $(COMPILE) -c $<
518 -
519 -mostlyclean-compile:
520 -       -rm -f *.o core *.core
521 -       -rm -f *.$(OBJEXT)
522 -
523 -clean-compile:
524 -
525 -distclean-compile:
526 -       -rm -f *.tab.c
527 -
528 -maintainer-clean-compile:
529 -
530 -.c.lo:
531 -       $(LIBTOOL) --mode=compile $(COMPILE) -c $<
532 -
533 -.s.lo:
534 -       $(LIBTOOL) --mode=compile $(COMPILE) -c $<
535 -
536 -.S.lo:
537 -       $(LIBTOOL) --mode=compile $(COMPILE) -c $<
538 -
539 -mostlyclean-libtool:
540 -       -rm -f *.lo
541 -
542 -clean-libtool:
543 -       -rm -rf .libs _libs
544 -
545 -distclean-libtool:
546 -
547 -maintainer-clean-libtool:
548 -
549 -libfribidi.la: $(libfribidi_la_OBJECTS) $(libfribidi_la_DEPENDENCIES)
550 +clean-libLTLIBRARIES:
551 +       -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
552 +libfribidi.la: $(libfribidi_la_OBJECTS) $(libfribidi_la_DEPENDENCIES) 
553         $(LINK) -rpath $(libdir) $(libfribidi_la_LDFLAGS) $(libfribidi_la_OBJECTS) $(libfribidi_la_LIBADD) $(LIBS)
554 -
555 -mostlyclean-binPROGRAMS:
556 -
557 -clean-binPROGRAMS:
558 -       -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
559 -
560 -distclean-binPROGRAMS:
561 -
562 -maintainer-clean-binPROGRAMS:
563 -
564 +binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
565  install-binPROGRAMS: $(bin_PROGRAMS)
566         @$(NORMAL_INSTALL)
567         $(mkinstalldirs) $(DESTDIR)$(bindir)
568         @list='$(bin_PROGRAMS)'; for p in $$list; do \
569 -         if test -f $$p; then \
570 -           echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
571 -           $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
572 +         p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
573 +         if test -f $$p \
574 +            || test -f $$p1 \
575 +         ; then \
576 +           p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
577 +           f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
578 +          echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
579 +          $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
580           else :; fi; \
581         done
582  
583  uninstall-binPROGRAMS:
584         @$(NORMAL_UNINSTALL)
585 -       list='$(bin_PROGRAMS)'; for p in $$list; do \
586 -         rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
587 +       @list='$(bin_PROGRAMS)'; for p in $$list; do \
588 +         f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
589 +         f=`echo "$$f" | sed -e 's,^.*/,,'`; \
590 +         echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
591 +         rm -f $(DESTDIR)$(bindir)/$$f; \
592         done
593  
594 -mostlyclean-noinstPROGRAMS:
595 +clean-binPROGRAMS:
596 +       -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
597  
598  clean-noinstPROGRAMS:
599         -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
600 -
601 -distclean-noinstPROGRAMS:
602 -
603 -maintainer-clean-noinstPROGRAMS:
604 -
605 -fribidi$(EXEEXT): $(fribidi_OBJECTS) $(fribidi_DEPENDENCIES)
606 +fribidi$(EXEEXT): $(fribidi_OBJECTS) $(fribidi_DEPENDENCIES) 
607         @rm -f fribidi$(EXEEXT)
608         $(LINK) $(fribidi_LDFLAGS) $(fribidi_OBJECTS) $(fribidi_LDADD) $(LIBS)
609 -
610 -fribidi_benchmark$(EXEEXT): $(fribidi_benchmark_OBJECTS) $(fribidi_benchmark_DEPENDENCIES)
611 +fribidi_benchmark$(EXEEXT): $(fribidi_benchmark_OBJECTS) $(fribidi_benchmark_DEPENDENCIES) 
612         @rm -f fribidi_benchmark$(EXEEXT)
613         $(LINK) $(fribidi_benchmark_LDFLAGS) $(fribidi_benchmark_OBJECTS) $(fribidi_benchmark_LDADD) $(LIBS)
614 -
615 -fribidi_create_char_types$(EXEEXT): $(fribidi_create_char_types_OBJECTS) $(fribidi_create_char_types_DEPENDENCIES)
616 +fribidi_create_char_types$(EXEEXT): $(fribidi_create_char_types_OBJECTS) $(fribidi_create_char_types_DEPENDENCIES) 
617         @rm -f fribidi_create_char_types$(EXEEXT)
618         $(LINK) $(fribidi_create_char_types_LDFLAGS) $(fribidi_create_char_types_OBJECTS) $(fribidi_create_char_types_LDADD) $(LIBS)
619 -
620 -fribidi_create_mirroring$(EXEEXT): $(fribidi_create_mirroring_OBJECTS) $(fribidi_create_mirroring_DEPENDENCIES)
621 +fribidi_create_mirroring$(EXEEXT): $(fribidi_create_mirroring_OBJECTS) $(fribidi_create_mirroring_DEPENDENCIES) 
622         @rm -f fribidi_create_mirroring$(EXEEXT)
623         $(LINK) $(fribidi_create_mirroring_LDFLAGS) $(fribidi_create_mirroring_OBJECTS) $(fribidi_create_mirroring_LDADD) $(LIBS)
624 -
625  install-binSCRIPTS: $(bin_SCRIPTS)
626         @$(NORMAL_INSTALL)
627         $(mkinstalldirs) $(DESTDIR)$(bindir)
628         @list='$(bin_SCRIPTS)'; for p in $$list; do \
629 +         f="`echo $$p|sed '$(transform)'`"; \
630           if test -f $$p; then \
631 -           echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
632 -           $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
633 -         else if test -f $(srcdir)/$$p; then \
634 -           echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
635 -           $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
636 -         else :; fi; fi; \
637 +           echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/$$f"; \
638 +           $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/$$f; \
639 +         elif test -f $(srcdir)/$$p; then \
640 +           echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/$$f"; \
641 +           $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/$$f; \
642 +         else :; fi; \
643         done
644  
645  uninstall-binSCRIPTS:
646         @$(NORMAL_UNINSTALL)
647 -       list='$(bin_SCRIPTS)'; for p in $$list; do \
648 -         rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
649 +       @list='$(bin_SCRIPTS)'; for p in $$list; do \
650 +         f="`echo $$p|sed '$(transform)'`"; \
651 +         echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
652 +         rm -f $(DESTDIR)$(bindir)/$$f; \
653         done
654  
655 +mostlyclean-compile:
656 +       -rm -f *.$(OBJEXT) core *.core
657 +
658 +distclean-compile:
659 +       -rm -f *.tab.c
660 +
661 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fribidi.Plo@am__quote@
662 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fribidi_benchmark.Po@am__quote@
663 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fribidi_char_sets.Plo@am__quote@
664 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fribidi_char_sets_cap_rtl.Plo@am__quote@
665 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fribidi_char_sets_cp1255.Plo@am__quote@
666 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fribidi_char_sets_cp1256.Plo@am__quote@
667 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fribidi_char_sets_isiri_3342.Plo@am__quote@
668 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fribidi_char_sets_iso8859_6.Plo@am__quote@
669 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fribidi_char_sets_iso8859_8.Plo@am__quote@
670 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fribidi_char_sets_utf8.Plo@am__quote@
671 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fribidi_char_type.Plo@am__quote@
672 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fribidi_create_char_types.Po@am__quote@
673 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fribidi_create_mirroring.Po@am__quote@
674 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fribidi_main.Po@am__quote@
675 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fribidi_mem.Plo@am__quote@
676 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fribidi_mirroring.Plo@am__quote@
677 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fribidi_types.Plo@am__quote@
678 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fribidi_utils.Plo@am__quote@
679 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fribidi_wcwidth.Plo@am__quote@
680 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt.Po@am__quote@
681 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt1.Po@am__quote@
682 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/packtab.Po@am__quote@
683 +
684 +distclean-depend:
685 +       -rm -rf ./$(DEPDIR)
686 +
687 +.c.o:
688 +@AMDEP_TRUE@   source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
689 +@AMDEP_TRUE@   depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
690 +@AMDEP_TRUE@   $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
691 +       $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
692 +
693 +.c.obj:
694 +@AMDEP_TRUE@   source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
695 +@AMDEP_TRUE@   depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
696 +@AMDEP_TRUE@   $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
697 +       $(COMPILE) -c `cygpath -w $<`
698 +
699 +.c.lo:
700 +@AMDEP_TRUE@   source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
701 +@AMDEP_TRUE@   depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@
702 +@AMDEP_TRUE@   $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
703 +       $(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
704 +CCDEPMODE = @CCDEPMODE@
705 +
706 +mostlyclean-libtool:
707 +       -rm -f *.lo
708 +
709 +clean-libtool:
710 +       -rm -rf .libs _libs
711 +
712 +distclean-libtool:
713 +       -rm -f libtool
714 +uninstall-info-am:
715 +pkgconfigDATA_INSTALL = $(INSTALL_DATA)
716  install-pkgconfigDATA: $(pkgconfig_DATA)
717         @$(NORMAL_INSTALL)
718         $(mkinstalldirs) $(DESTDIR)$(pkgconfigdir)
719         @list='$(pkgconfig_DATA)'; for p in $$list; do \
720 -         if test -f $(srcdir)/$$p; then \
721 -           echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgconfigdir)/$$p"; \
722 -           $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgconfigdir)/$$p; \
723 -         else if test -f $$p; then \
724 -           echo " $(INSTALL_DATA) $$p $(DESTDIR)$(pkgconfigdir)/$$p"; \
725 -           $(INSTALL_DATA) $$p $(DESTDIR)$(pkgconfigdir)/$$p; \
726 -         fi; fi; \
727 +         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
728 +         f="`echo $$p | sed -e 's|^.*/||'`"; \
729 +         echo " $(pkgconfigDATA_INSTALL) $$d$$p $(DESTDIR)$(pkgconfigdir)/$$f"; \
730 +         $(pkgconfigDATA_INSTALL) $$d$$p $(DESTDIR)$(pkgconfigdir)/$$f; \
731         done
732  
733  uninstall-pkgconfigDATA:
734         @$(NORMAL_UNINSTALL)
735 -       list='$(pkgconfig_DATA)'; for p in $$list; do \
736 -         rm -f $(DESTDIR)$(pkgconfigdir)/$$p; \
737 +       @list='$(pkgconfig_DATA)'; for p in $$list; do \
738 +         f="`echo $$p | sed -e 's|^.*/||'`"; \
739 +         echo " rm -f $(DESTDIR)$(pkgconfigdir)/$$f"; \
740 +         rm -f $(DESTDIR)$(pkgconfigdir)/$$f; \
741         done
742 -
743 +libfribidiincHEADERS_INSTALL = $(INSTALL_HEADER)
744  install-libfribidiincHEADERS: $(libfribidiinc_HEADERS)
745         @$(NORMAL_INSTALL)
746         $(mkinstalldirs) $(DESTDIR)$(libfribidiincdir)
747         @list='$(libfribidiinc_HEADERS)'; for p in $$list; do \
748 -         if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
749 -         echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(libfribidiincdir)/$$p"; \
750 -         $(INSTALL_DATA) $$d$$p $(DESTDIR)$(libfribidiincdir)/$$p; \
751 +         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
752 +         f="`echo $$p | sed -e 's|^.*/||'`"; \
753 +         echo " $(libfribidiincHEADERS_INSTALL) $$d$$p $(DESTDIR)$(libfribidiincdir)/$$f"; \
754 +         $(libfribidiincHEADERS_INSTALL) $$d$$p $(DESTDIR)$(libfribidiincdir)/$$f; \
755         done
756  
757  uninstall-libfribidiincHEADERS:
758         @$(NORMAL_UNINSTALL)
759 -       list='$(libfribidiinc_HEADERS)'; for p in $$list; do \
760 -         rm -f $(DESTDIR)$(libfribidiincdir)/$$p; \
761 +       @list='$(libfribidiinc_HEADERS)'; for p in $$list; do \
762 +         f="`echo $$p | sed -e 's|^.*/||'`"; \
763 +         echo " rm -f $(DESTDIR)$(libfribidiincdir)/$$f"; \
764 +         rm -f $(DESTDIR)$(libfribidiincdir)/$$f; \
765         done
766  
767 +ETAGS = etags
768 +ETAGSFLAGS =
769 +
770  tags: TAGS
771  
772 -ID: $(HEADERS) $(SOURCES) $(LISP)
773 -       list='$(SOURCES) $(HEADERS)'; \
774 -       unique=`for i in $$list; do echo $$i; done | \
775 -         awk '    { files[$$0] = 1; } \
776 +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
777 +       list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
778 +       unique=`for i in $$list; do \
779 +           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
780 +         done | \
781 +         $(AWK) '    { files[$$0] = 1; } \
782                END { for (i in files) print i; }'`; \
783 -       here=`pwd` && cd $(srcdir) \
784 -         && mkid -f$$here/ID $$unique $(LISP)
785 +       mkid -fID $$unique
786  
787 -TAGS:  $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
788 +TAGS:  $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
789 +               $(TAGS_FILES) $(LISP)
790         tags=; \
791         here=`pwd`; \
792 -       list='$(SOURCES) $(HEADERS)'; \
793 -       unique=`for i in $$list; do echo $$i; done | \
794 -         awk '    { files[$$0] = 1; } \
795 +       list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
796 +       unique=`for i in $$list; do \
797 +           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
798 +         done | \
799 +         $(AWK) '    { files[$$0] = 1; } \
800                END { for (i in files) print i; }'`; \
801 -       test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
802 -         || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)
803 -
804 -mostlyclean-tags:
805 -
806 -clean-tags:
807 +       test -z "$(ETAGS_ARGS)$$tags$$unique" \
808 +         || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
809 +            $$tags $$unique
810 +
811 +GTAGS:
812 +       here=`$(am__cd) $(top_builddir) && pwd` \
813 +         && cd $(top_srcdir) \
814 +         && gtags -i $(GTAGS_ARGS) $$here
815  
816  distclean-tags:
817 -       -rm -f TAGS ID
818 +       -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
819  
820 -maintainer-clean-tags:
821 +check-TESTS: $(TESTS)
822 +       @failed=0; all=0; xfail=0; xpass=0; \
823 +       srcdir=$(srcdir); export srcdir; \
824 +       list='$(TESTS)'; \
825 +       if test -n "$$list"; then \
826 +         for tst in $$list; do \
827 +           if test -f ./$$tst; then dir=./; \
828 +           elif test -f $$tst; then dir=; \
829 +           else dir="$(srcdir)/"; fi; \
830 +           if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
831 +             all=`expr $$all + 1`; \
832 +             case " $(XFAIL_TESTS) " in \
833 +             *" $$tst "*) \
834 +               xpass=`expr $$xpass + 1`; \
835 +               failed=`expr $$failed + 1`; \
836 +               echo "XPASS: $$tst"; \
837 +             ;; \
838 +             *) \
839 +               echo "PASS: $$tst"; \
840 +             ;; \
841 +             esac; \
842 +           elif test $$? -ne 77; then \
843 +             all=`expr $$all + 1`; \
844 +             case " $(XFAIL_TESTS) " in \
845 +             *" $$tst "*) \
846 +               xfail=`expr $$xfail + 1`; \
847 +               echo "XFAIL: $$tst"; \
848 +             ;; \
849 +             *) \
850 +               failed=`expr $$failed + 1`; \
851 +               echo "FAIL: $$tst"; \
852 +             ;; \
853 +             esac; \
854 +           fi; \
855 +         done; \
856 +         if test "$$failed" -eq 0; then \
857 +           if test "$$xfail" -eq 0; then \
858 +             banner="All $$all tests passed"; \
859 +           else \
860 +             banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
861 +           fi; \
862 +         else \
863 +           if test "$$xpass" -eq 0; then \
864 +             banner="$$failed of $$all tests failed"; \
865 +           else \
866 +             banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
867 +           fi; \
868 +         fi; \
869 +         dashes=`echo "$$banner" | sed s/./=/g`; \
870 +         echo "$$dashes"; \
871 +         echo "$$banner"; \
872 +         echo "$$dashes"; \
873 +         test "$$failed" -eq 0; \
874 +       else :; fi
875 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
876  
877 +top_distdir = .
878  distdir = $(PACKAGE)-$(VERSION)
879 -top_distdir = $(distdir)
880 +
881 +am__remove_distdir = \
882 +  { test ! -d $(distdir) \
883 +    || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
884 +         && rm -fr $(distdir); }; }
885 +
886 +GZIP_ENV = --best
887 +distcleancheck_listfiles = find . -type f -print
888 +
889 +distdir: $(DISTFILES)
890 +       $(am__remove_distdir)
891 +       mkdir $(distdir)
892 +       $(mkinstalldirs) $(distdir)/. $(distdir)/tests $(distdir)/unidata
893 +       @for file in $(DISTFILES); do \
894 +         if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
895 +         dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
896 +         if test "$$dir" != "$$file" && test "$$dir" != "."; then \
897 +           dir="/$$dir"; \
898 +           $(mkinstalldirs) "$(distdir)$$dir"; \
899 +         else \
900 +           dir=''; \
901 +         fi; \
902 +         if test -d $$d/$$file; then \
903 +           if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
904 +             cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
905 +           fi; \
906 +           cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
907 +         else \
908 +           test -f $(distdir)/$$file \
909 +           || cp -p $$d/$$file $(distdir)/$$file \
910 +           || exit 1; \
911 +         fi; \
912 +       done
913 +       -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
914 +         ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
915 +         ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
916 +         ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
917 +       || chmod -R a+r $(distdir)
918 +dist-gzip: distdir
919 +       $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
920 +       $(am__remove_distdir)
921 +
922 +dist dist-all: distdir
923 +       $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
924 +       $(am__remove_distdir)
925  
926  # This target untars the dist file and tries a VPATH configuration.  Then
927  # it guarantees that the distribution is self-contained by making another
928  # tarfile.
929  distcheck: dist
930 -       -rm -rf $(distdir)
931 -       GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
932 +       $(am__remove_distdir)
933 +       GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
934 +       chmod -R a-w $(distdir); chmod a+w $(distdir)
935         mkdir $(distdir)/=build
936         mkdir $(distdir)/=inst
937 -       dc_install_base=`cd $(distdir)/=inst && pwd`; \
938 -       cd $(distdir)/=build \
939 +       chmod a-w $(distdir)
940 +       dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \
941 +         && cd $(distdir)/=build \
942           && ../configure --srcdir=.. --prefix=$$dc_install_base \
943 +           $(DISTCHECK_CONFIGURE_FLAGS) \
944           && $(MAKE) $(AM_MAKEFLAGS) \
945           && $(MAKE) $(AM_MAKEFLAGS) dvi \
946           && $(MAKE) $(AM_MAKEFLAGS) check \
947           && $(MAKE) $(AM_MAKEFLAGS) install \
948           && $(MAKE) $(AM_MAKEFLAGS) installcheck \
949 -         && $(MAKE) $(AM_MAKEFLAGS) dist
950 -       -rm -rf $(distdir)
951 -       @banner="$(distdir).tar.gz is ready for distribution"; \
952 -       dashes=`echo "$$banner" | sed s/./=/g`; \
953 -       echo "$$dashes"; \
954 -       echo "$$banner"; \
955 -       echo "$$dashes"
956 -dist: distdir
957 -       -chmod -R a+r $(distdir)
958 -       GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
959 -       -rm -rf $(distdir)
960 -dist-all: distdir
961 -       -chmod -R a+r $(distdir)
962 -       GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
963 -       -rm -rf $(distdir)
964 -distdir: $(DISTFILES)
965 -       -rm -rf $(distdir)
966 -       mkdir $(distdir)
967 -       -chmod 777 $(distdir)
968 -       $(mkinstalldirs) $(distdir)/tests $(distdir)/unidata
969 -       @for file in $(DISTFILES); do \
970 -         d=$(srcdir); \
971 -         if test -d $$d/$$file; then \
972 -           cp -pr $$d/$$file $(distdir)/$$file; \
973 -         else \
974 -           test -f $(distdir)/$$file \
975 -           || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
976 -           || cp -p $$d/$$file $(distdir)/$$file || :; \
977 -         fi; \
978 -       done
979 -fribidi.lo fribidi.o : fribidi.c config.h fribidi.h fribidi_config.h \
980 -       fribidi_unicode.h fribidi_types.h fribidi_mem.h \
981 -       fribidi_char_sets.h fribidi_char_sets_cap_rtl.h \
982 -       fribidi_char_sets_utf8.h fribidi_char_sets_iso8859_6.h \
983 -       fribidi_char_sets_iso8859_8.h fribidi_char_sets_cp1255.h \
984 -       fribidi_char_sets_cp1256.h fribidi_char_sets_isiri_3342.h
985 -fribidi_benchmark.o: fribidi_benchmark.c config.h getopt.h fribidi.h \
986 -       fribidi_config.h fribidi_unicode.h fribidi_types.h \
987 -       fribidi_mem.h fribidi_char_sets.h fribidi_char_sets_cap_rtl.h \
988 -       fribidi_char_sets_utf8.h fribidi_char_sets_iso8859_6.h \
989 -       fribidi_char_sets_iso8859_8.h fribidi_char_sets_cp1255.h \
990 -       fribidi_char_sets_cp1256.h fribidi_char_sets_isiri_3342.h
991 -fribidi_char_sets.lo fribidi_char_sets.o : fribidi_char_sets.c \
992 -       fribidi_config.h fribidi_char_sets.h fribidi.h \
993 -       fribidi_unicode.h fribidi_types.h fribidi_mem.h \
994 -       fribidi_char_sets_cap_rtl.h fribidi_char_sets_utf8.h \
995 -       fribidi_char_sets_iso8859_6.h fribidi_char_sets_iso8859_8.h \
996 -       fribidi_char_sets_cp1255.h fribidi_char_sets_cp1256.h \
997 -       fribidi_char_sets_isiri_3342.h
998 -fribidi_char_sets_cap_rtl.lo fribidi_char_sets_cap_rtl.o : \
999 -       fribidi_char_sets_cap_rtl.c fribidi_config.h fribidi.h \
1000 -       fribidi_unicode.h fribidi_types.h fribidi_mem.h \
1001 -       fribidi_char_sets.h fribidi_char_sets_cap_rtl.h \
1002 -       fribidi_char_sets_utf8.h fribidi_char_sets_iso8859_6.h \
1003 -       fribidi_char_sets_iso8859_8.h fribidi_char_sets_cp1255.h \
1004 -       fribidi_char_sets_cp1256.h fribidi_char_sets_isiri_3342.h
1005 -fribidi_char_sets_cp1255.lo fribidi_char_sets_cp1255.o : \
1006 -       fribidi_char_sets_cp1255.c fribidi_config.h fribidi.h \
1007 -       fribidi_unicode.h fribidi_types.h fribidi_mem.h \
1008 -       fribidi_char_sets.h fribidi_char_sets_cap_rtl.h \
1009 -       fribidi_char_sets_utf8.h fribidi_char_sets_iso8859_6.h \
1010 -       fribidi_char_sets_iso8859_8.h fribidi_char_sets_cp1255.h \
1011 -       fribidi_char_sets_cp1256.h fribidi_char_sets_isiri_3342.h
1012 -fribidi_char_sets_cp1256.lo fribidi_char_sets_cp1256.o : \
1013 -       fribidi_char_sets_cp1256.c fribidi_config.h fribidi.h \
1014 -       fribidi_unicode.h fribidi_types.h fribidi_mem.h \
1015 -       fribidi_char_sets.h fribidi_char_sets_cap_rtl.h \
1016 -       fribidi_char_sets_utf8.h fribidi_char_sets_iso8859_6.h \
1017 -       fribidi_char_sets_iso8859_8.h fribidi_char_sets_cp1255.h \
1018 -       fribidi_char_sets_cp1256.h fribidi_char_sets_isiri_3342.h
1019 -fribidi_char_sets_isiri_3342.lo fribidi_char_sets_isiri_3342.o : \
1020 -       fribidi_char_sets_isiri_3342.c fribidi_config.h fribidi.h \
1021 -       fribidi_unicode.h fribidi_types.h fribidi_mem.h \
1022 -       fribidi_char_sets.h fribidi_char_sets_cap_rtl.h \
1023 -       fribidi_char_sets_utf8.h fribidi_char_sets_iso8859_6.h \
1024 -       fribidi_char_sets_iso8859_8.h fribidi_char_sets_cp1255.h \
1025 -       fribidi_char_sets_cp1256.h fribidi_char_sets_isiri_3342.h
1026 -fribidi_char_sets_iso8859_6.lo fribidi_char_sets_iso8859_6.o : \
1027 -       fribidi_char_sets_iso8859_6.c fribidi_config.h fribidi.h \
1028 -       fribidi_unicode.h fribidi_types.h fribidi_mem.h \
1029 -       fribidi_char_sets.h fribidi_char_sets_cap_rtl.h \
1030 -       fribidi_char_sets_utf8.h fribidi_char_sets_iso8859_6.h \
1031 -       fribidi_char_sets_iso8859_8.h fribidi_char_sets_cp1255.h \
1032 -       fribidi_char_sets_cp1256.h fribidi_char_sets_isiri_3342.h
1033 -fribidi_char_sets_iso8859_8.lo fribidi_char_sets_iso8859_8.o : \
1034 -       fribidi_char_sets_iso8859_8.c fribidi_config.h fribidi.h \
1035 -       fribidi_unicode.h fribidi_types.h fribidi_mem.h \
1036 -       fribidi_char_sets.h fribidi_char_sets_cap_rtl.h \
1037 -       fribidi_char_sets_utf8.h fribidi_char_sets_iso8859_6.h \
1038 -       fribidi_char_sets_iso8859_8.h fribidi_char_sets_cp1255.h \
1039 -       fribidi_char_sets_cp1256.h fribidi_char_sets_isiri_3342.h
1040 -fribidi_char_sets_utf8.lo fribidi_char_sets_utf8.o : \
1041 -       fribidi_char_sets_utf8.c fribidi_config.h fribidi.h \
1042 -       fribidi_unicode.h fribidi_types.h fribidi_mem.h \
1043 -       fribidi_char_sets.h fribidi_char_sets_cap_rtl.h \
1044 -       fribidi_char_sets_utf8.h fribidi_char_sets_iso8859_6.h \
1045 -       fribidi_char_sets_iso8859_8.h fribidi_char_sets_cp1255.h \
1046 -       fribidi_char_sets_cp1256.h fribidi_char_sets_isiri_3342.h
1047 -fribidi_char_type.lo fribidi_char_type.o : fribidi_char_type.c config.h \
1048 -       fribidi.h fribidi_config.h fribidi_unicode.h fribidi_types.h \
1049 -       fribidi_mem.h fribidi_char_sets.h fribidi_char_sets_cap_rtl.h \
1050 -       fribidi_char_sets_utf8.h fribidi_char_sets_iso8859_6.h \
1051 -       fribidi_char_sets_iso8859_8.h fribidi_char_sets_cp1255.h \
1052 -       fribidi_char_sets_cp1256.h fribidi_char_sets_isiri_3342.h \
1053 -       fribidi_tab_char_type_2.i
1054 -fribidi_create_char_types.o: fribidi_create_char_types.c packtab.h \
1055 -       config.h fribidi_unicode.h fribidi_types.h fribidi_mem.h \
1056 -       fribidi_config.h
1057 -fribidi_create_mirroring.o: fribidi_create_mirroring.c config.h \
1058 -       fribidi_unicode.h fribidi_types.h fribidi_mem.h \
1059 -       fribidi_config.h
1060 -fribidi_main.o: fribidi_main.c config.h getopt.h fribidi.h \
1061 -       fribidi_config.h fribidi_unicode.h fribidi_types.h \
1062 -       fribidi_mem.h fribidi_char_sets.h fribidi_char_sets_cap_rtl.h \
1063 -       fribidi_char_sets_utf8.h fribidi_char_sets_iso8859_6.h \
1064 -       fribidi_char_sets_iso8859_8.h fribidi_char_sets_cp1255.h \
1065 -       fribidi_char_sets_cp1256.h fribidi_char_sets_isiri_3342.h
1066 -fribidi_mem.lo fribidi_mem.o : fribidi_mem.c fribidi_mem.h \
1067 -       fribidi_config.h
1068 -fribidi_mirroring.lo fribidi_mirroring.o : fribidi_mirroring.c config.h \
1069 -       fribidi.h fribidi_config.h fribidi_unicode.h fribidi_types.h \
1070 -       fribidi_mem.h fribidi_char_sets.h fribidi_char_sets_cap_rtl.h \
1071 -       fribidi_char_sets_utf8.h fribidi_char_sets_iso8859_6.h \
1072 -       fribidi_char_sets_iso8859_8.h fribidi_char_sets_cp1255.h \
1073 -       fribidi_char_sets_cp1256.h fribidi_char_sets_isiri_3342.h \
1074 -       fribidi_tab_mirroring.i
1075 -fribidi_types.lo fribidi_types.o : fribidi_types.c config.h fribidi.h \
1076 -       fribidi_config.h fribidi_unicode.h fribidi_types.h \
1077 -       fribidi_mem.h fribidi_char_sets.h fribidi_char_sets_cap_rtl.h \
1078 -       fribidi_char_sets_utf8.h fribidi_char_sets_iso8859_6.h \
1079 -       fribidi_char_sets_iso8859_8.h fribidi_char_sets_cp1255.h \
1080 -       fribidi_char_sets_cp1256.h fribidi_char_sets_isiri_3342.h
1081 -fribidi_utils.lo fribidi_utils.o : fribidi_utils.c fribidi.h \
1082 -       fribidi_config.h fribidi_unicode.h fribidi_types.h \
1083 -       fribidi_mem.h fribidi_char_sets.h fribidi_char_sets_cap_rtl.h \
1084 -       fribidi_char_sets_utf8.h fribidi_char_sets_iso8859_6.h \
1085 -       fribidi_char_sets_iso8859_8.h fribidi_char_sets_cp1255.h \
1086 -       fribidi_char_sets_cp1256.h fribidi_char_sets_isiri_3342.h
1087 -fribidi_wcwidth.lo fribidi_wcwidth.o : fribidi_wcwidth.c \
1088 -       fribidi_wcwidth.i fribidi.h fribidi_config.h fribidi_unicode.h \
1089 -       fribidi_types.h fribidi_mem.h fribidi_char_sets.h \
1090 -       fribidi_char_sets_cap_rtl.h fribidi_char_sets_utf8.h \
1091 -       fribidi_char_sets_iso8859_6.h fribidi_char_sets_iso8859_8.h \
1092 -       fribidi_char_sets_cp1255.h fribidi_char_sets_cp1256.h \
1093 -       fribidi_char_sets_isiri_3342.h
1094 -getopt.o: getopt.c config.h
1095 -getopt1.o: getopt1.c config.h getopt.h
1096 -packtab.o: packtab.c packtab.h
1097 -
1098 -check-TESTS: $(TESTS)
1099 -       @failed=0; all=0; \
1100 -       srcdir=$(srcdir); export srcdir; \
1101 -       for tst in $(TESTS); do \
1102 -         if test -f $$tst; then dir=.; \
1103 -         else dir="$(srcdir)"; fi; \
1104 -         if $(TESTS_ENVIRONMENT) $$dir/$$tst; then \
1105 -           all=`expr $$all + 1`; \
1106 -           echo "PASS: $$tst"; \
1107 -         elif test $$? -ne 77; then \
1108 -           all=`expr $$all + 1`; \
1109 -           failed=`expr $$failed + 1`; \
1110 -           echo "FAIL: $$tst"; \
1111 -         fi; \
1112 -       done; \
1113 -       if test "$$failed" -eq 0; then \
1114 -         banner="All $$all tests passed"; \
1115 -       else \
1116 -         banner="$$failed of $$all tests failed"; \
1117 -       fi; \
1118 -       dashes=`echo "$$banner" | sed s/./=/g`; \
1119 -       echo "$$dashes"; \
1120 -       echo "$$banner"; \
1121 -       echo "$$dashes"; \
1122 -       test "$$failed" -eq 0
1123 -info-am:
1124 -info: info-am
1125 -dvi-am:
1126 -dvi: dvi-am
1127 +         && $(MAKE) $(AM_MAKEFLAGS) uninstall \
1128 +         && (test `find $$dc_install_base -type f -print | wc -l` -le 1 \
1129 +             || { echo "ERROR: files left after uninstall:" ; \
1130 +                  find $$dc_install_base -type f -print ; \
1131 +                  exit 1; } >&2 ) \
1132 +         && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
1133 +         && rm -f $(distdir).tar.gz \
1134 +         && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
1135 +       $(am__remove_distdir)
1136 +       @echo "$(distdir).tar.gz is ready for distribution" | \
1137 +         sed 'h;s/./=/g;p;x;p;x'
1138 +distcleancheck: distclean
1139 +       if test '$(srcdir)' = . ; then \
1140 +         echo "ERROR: distcleancheck can only run from a VPATH build" ; \
1141 +         exit 1 ; \
1142 +       fi
1143 +       test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
1144 +         || { echo "ERROR: files left after distclean:" ; \
1145 +              $(distcleancheck_listfiles) ; \
1146 +              exit 1; } >&2
1147  check-am: all-am
1148         $(MAKE) $(AM_MAKEFLAGS) check-TESTS
1149  check: check-am
1150 -installcheck-am:
1151 -installcheck: installcheck-am
1152 -all-recursive-am: config.h
1153 -       $(MAKE) $(AM_MAKEFLAGS) all-recursive
1154 +all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) $(DATA) \
1155 +               $(HEADERS) config.h
1156 +install-binPROGRAMS: install-libLTLIBRARIES
1157  
1158 -install-exec-am: install-libLTLIBRARIES install-binPROGRAMS \
1159 -               install-binSCRIPTS
1160 -install-exec: install-exec-am
1161  
1162 -install-data-am: install-pkgconfigDATA install-libfribidiincHEADERS
1163 -install-data: install-data-am
1164 +installdirs:
1165 +       $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(bindir) $(DESTDIR)$(bindir) $(DESTDIR)$(pkgconfigdir) $(DESTDIR)$(libfribidiincdir)
1166  
1167 -install-am: all-am
1168 -       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1169  install: install-am
1170 -uninstall-am: uninstall-libLTLIBRARIES uninstall-binPROGRAMS \
1171 -               uninstall-binSCRIPTS uninstall-pkgconfigDATA \
1172 -               uninstall-libfribidiincHEADERS
1173 +install-exec: install-exec-am
1174 +install-data: install-data-am
1175  uninstall: uninstall-am
1176 -all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) $(DATA) \
1177 -               $(HEADERS) config.h
1178 -all-redirect: all-am
1179 -install-strip:
1180 -       $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
1181 -installdirs:
1182 -       $(mkinstalldirs)  $(DESTDIR)$(libdir) $(DESTDIR)$(bindir) \
1183 -               $(DESTDIR)$(bindir) $(DESTDIR)$(pkgconfigdir) \
1184 -               $(DESTDIR)$(libfribidiincdir)
1185  
1186 +install-am: all-am
1187 +       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1188  
1189 +installcheck: installcheck-am
1190 +install-strip:
1191 +       $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1192 +         INSTALL_STRIP_FLAG=-s \
1193 +         `test -z '$(STRIP)' || \
1194 +           echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
1195  mostlyclean-generic:
1196  
1197  clean-generic:
1198         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
1199  
1200  distclean-generic:
1201 -       -rm -f Makefile $(CONFIG_CLEAN_FILES)
1202 -       -rm -f config.cache config.log stamp-h stamp-h[0-9]*
1203 +       -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
1204         -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
1205  
1206  maintainer-clean-generic:
1207 +       @echo "This command is intended for maintainers to use"
1208 +       @echo "it deletes files that may require special tools to rebuild."
1209         -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
1210 -mostlyclean-am:  mostlyclean-hdr mostlyclean-libLTLIBRARIES \
1211 -               mostlyclean-compile mostlyclean-libtool \
1212 -               mostlyclean-binPROGRAMS mostlyclean-noinstPROGRAMS \
1213 -               mostlyclean-tags mostlyclean-generic
1214 +clean: clean-am
1215  
1216 -mostlyclean: mostlyclean-am
1217 +clean-am: clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \
1218 +       clean-libtool clean-noinstPROGRAMS mostlyclean-am
1219  
1220 -clean-am:  clean-hdr clean-libLTLIBRARIES clean-compile clean-libtool \
1221 -               clean-binPROGRAMS clean-noinstPROGRAMS clean-tags \
1222 -               clean-generic mostlyclean-am
1223 +distclean: distclean-am
1224 +       -rm -f config.status config.cache config.log
1225 +distclean-am: clean-am distclean-compile distclean-depend \
1226 +       distclean-generic distclean-hdr distclean-libtool \
1227 +       distclean-tags
1228  
1229 -clean: clean-am
1230 +dvi: dvi-am
1231  
1232 -distclean-am:  distclean-hdr distclean-libLTLIBRARIES distclean-compile \
1233 -               distclean-libtool distclean-binPROGRAMS \
1234 -               distclean-noinstPROGRAMS distclean-tags \
1235 -               distclean-generic clean-am
1236 -       -rm -f libtool
1237 +dvi-am:
1238  
1239 -distclean: distclean-am
1240 -       -rm -f config.status
1241 +info: info-am
1242  
1243 -maintainer-clean-am:  maintainer-clean-hdr \
1244 -               maintainer-clean-libLTLIBRARIES \
1245 -               maintainer-clean-compile maintainer-clean-libtool \
1246 -               maintainer-clean-binPROGRAMS \
1247 -               maintainer-clean-noinstPROGRAMS maintainer-clean-tags \
1248 -               maintainer-clean-generic distclean-am
1249 -       @echo "This command is intended for maintainers to use;"
1250 -       @echo "it deletes files that may require special tools to rebuild."
1251 +info-am:
1252 +
1253 +install-data-am: install-libfribidiincHEADERS install-pkgconfigDATA
1254 +
1255 +install-exec-am: install-binPROGRAMS install-binSCRIPTS \
1256 +       install-libLTLIBRARIES
1257 +
1258 +install-info: install-info-am
1259 +
1260 +install-man:
1261 +
1262 +installcheck-am:
1263  
1264  maintainer-clean: maintainer-clean-am
1265 -       -rm -f config.status
1266  
1267 -.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
1268 -mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
1269 -clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
1270 -uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
1271 -distclean-compile clean-compile maintainer-clean-compile \
1272 -mostlyclean-libtool distclean-libtool clean-libtool \
1273 -maintainer-clean-libtool mostlyclean-binPROGRAMS distclean-binPROGRAMS \
1274 -clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
1275 -install-binPROGRAMS mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
1276 -clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
1277 -uninstall-binSCRIPTS install-binSCRIPTS uninstall-pkgconfigDATA \
1278 -install-pkgconfigDATA uninstall-libfribidiincHEADERS \
1279 -install-libfribidiincHEADERS tags mostlyclean-tags distclean-tags \
1280 -clean-tags maintainer-clean-tags distdir check-TESTS info-am info \
1281 -dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \
1282 -install-exec-am install-exec install-data-am install-data install-am \
1283 -install uninstall-am uninstall all-redirect all-am all installdirs \
1284 -mostlyclean-generic distclean-generic clean-generic \
1285 -maintainer-clean-generic clean mostlyclean distclean maintainer-clean
1286 +maintainer-clean-am: distclean-am maintainer-clean-generic
1287 +
1288 +mostlyclean: mostlyclean-am
1289 +
1290 +mostlyclean-am: mostlyclean-compile mostlyclean-generic \
1291 +       mostlyclean-libtool
1292 +
1293 +uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS \
1294 +       uninstall-info-am uninstall-libLTLIBRARIES \
1295 +       uninstall-libfribidiincHEADERS uninstall-pkgconfigDATA
1296 +
1297 +.PHONY: GTAGS all all-am check check-TESTS check-am clean \
1298 +       clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \
1299 +       clean-libtool clean-noinstPROGRAMS dist dist-all dist-gzip \
1300 +       distcheck distclean distclean-compile distclean-depend \
1301 +       distclean-generic distclean-hdr distclean-libtool \
1302 +       distclean-tags distcleancheck distdir dvi dvi-am info info-am \
1303 +       install install-am install-binPROGRAMS install-binSCRIPTS \
1304 +       install-data install-data-am install-exec install-exec-am \
1305 +       install-info install-info-am install-libLTLIBRARIES \
1306 +       install-libfribidiincHEADERS install-man install-pkgconfigDATA \
1307 +       install-strip installcheck installcheck-am installdirs \
1308 +       maintainer-clean maintainer-clean-generic mostlyclean \
1309 +       mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
1310 +       tags uninstall uninstall-am uninstall-binPROGRAMS \
1311 +       uninstall-binSCRIPTS uninstall-info-am uninstall-libLTLIBRARIES \
1312 +       uninstall-libfribidiincHEADERS uninstall-pkgconfigDATA
1313  
1314  
1315  fribidi_tab_mirroring.i: $(fribidi_create_mirroring_SOURCES)   \
1316 @@ -837,7 +899,6 @@
1317  
1318  .PHONY: test test.reference    \
1319                 fribidi_tab_char_type_small fribidi_tab_char_type_large
1320 -
1321  # Tell versions [3.59,3.63) of GNU make to not export all variables.
1322  # Otherwise a system limit (for SysV at least) may be exceeded.
1323  .NOEXPORT:
1324 diff -ruNa fribidi.old/acinclude.m4 fribidi/acinclude.m4
1325 --- fribidi.old/acinclude.m4    Fri Dec 14 15:25:17 2001
1326 +++ fribidi/acinclude.m4        Sun Nov  2 00:51:21 2003
1327 @@ -1505,7 +1505,7 @@
1328      ;;
1329  
1330    darwin* | rhapsody*)
1331 -    allow_undefined_flag='-undefined suppress'
1332 +    allow_undefined_flag='-undefined error'
1333      # FIXME: Relying on posixy $() will cause problems for
1334      #        cross-compilation, but unfortunately the echo tests do not
1335      #        yet detect zsh echo's removal of \ escapes.
1336 diff -ruNa fribidi.old/aclocal.m4 fribidi/aclocal.m4
1337 --- fribidi.old/aclocal.m4      Sun May 19 12:06:51 2002
1338 +++ fribidi/aclocal.m4  Sun Nov  2 00:51:27 2003
1339 @@ -1,14 +1,15 @@
1340 -dnl aclocal.m4 generated automatically by aclocal 1.4
1341 +# aclocal.m4 generated automatically by aclocal 1.6.1 -*- Autoconf -*-
1342  
1343 -dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
1344 -dnl This file is free software; the Free Software Foundation
1345 -dnl gives unlimited permission to copy and/or distribute it,
1346 -dnl with or without modifications, as long as this notice is preserved.
1347 -
1348 -dnl This program is distributed in the hope that it will be useful,
1349 -dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without
1350 -dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1351 -dnl PARTICULAR PURPOSE.
1352 +# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002
1353 +# Free Software Foundation, Inc.
1354 +# This file is free software; the Free Software Foundation
1355 +# gives unlimited permission to copy and/or distribute it,
1356 +# with or without modifications, as long as this notice is preserved.
1357 +
1358 +# This program is distributed in the hope that it will be useful,
1359 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
1360 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1361 +# PARTICULAR PURPOSE.
1362  
1363  # libtool.m4 - Configure libtool for the host system. -*-Shell-script-*-
1364  
1365 @@ -1469,7 +1470,7 @@
1366      ;;
1367  
1368    darwin* | rhapsody*)
1369 -    allow_undefined_flag='-undefined suppress'
1370 +    allow_undefined_flag='-undefined error'
1371      # FIXME: Relying on posixy $() will cause problems for
1372      #        cross-compilation, but unfortunately the echo tests do not
1373      #        yet detect zsh echo's removal of \ escapes.
1374 @@ -3334,84 +3335,301 @@
1375  # This is just to silence aclocal about the macro not being used
1376  ifelse([AC_DISABLE_FAST_INSTALL])
1377  
1378 -# Like AC_CONFIG_HEADER, but automatically create stamp file.
1379 +# Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*-
1380  
1381 -AC_DEFUN(AM_CONFIG_HEADER,
1382 -[AC_PREREQ([2.12])
1383 -AC_CONFIG_HEADER([$1])
1384 -dnl When config.status generates a header, we must update the stamp-h file.
1385 -dnl This file resides in the same directory as the config header
1386 -dnl that is generated.  We must strip everything past the first ":",
1387 -dnl and everything past the last "/".
1388 -AC_OUTPUT_COMMANDS(changequote(<<,>>)dnl
1389 -ifelse(patsubst(<<$1>>, <<[^ ]>>, <<>>), <<>>,
1390 -<<test -z "<<$>>CONFIG_HEADERS" || echo timestamp > patsubst(<<$1>>, <<^\([^:]*/\)?.*>>, <<\1>>)stamp-h<<>>dnl>>,
1391 -<<am_indx=1
1392 -for am_file in <<$1>>; do
1393 -  case " <<$>>CONFIG_HEADERS " in
1394 -  *" <<$>>am_file "*<<)>>
1395 -    echo timestamp > `echo <<$>>am_file | sed -e 's%:.*%%' -e 's%[^/]*$%%'`stamp-h$am_indx
1396 -    ;;
1397 -  esac
1398 -  am_indx=`expr "<<$>>am_indx" + 1`
1399 -done<<>>dnl>>)
1400 -changequote([,]))])
1401 -
1402 -# Do all the work for Automake.  This macro actually does too much --
1403 -# some checks are only needed if your package does certain things.
1404 -# But this isn't really a big deal.
1405 -
1406 -# serial 1
1407 -
1408 -dnl Usage:
1409 -dnl AM_INIT_AUTOMAKE(package,version, [no-define])
1410 -
1411 -AC_DEFUN(AM_INIT_AUTOMAKE,
1412 -[AC_REQUIRE([AC_PROG_INSTALL])
1413 -PACKAGE=[$1]
1414 -AC_SUBST(PACKAGE)
1415 -VERSION=[$2]
1416 -AC_SUBST(VERSION)
1417 -dnl test to see if srcdir already configured
1418 -if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1419 +# Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
1420 +
1421 +# This program is free software; you can redistribute it and/or modify
1422 +# it under the terms of the GNU General Public License as published by
1423 +# the Free Software Foundation; either version 2, or (at your option)
1424 +# any later version.
1425 +
1426 +# This program is distributed in the hope that it will be useful,
1427 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
1428 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1429 +# GNU General Public License for more details.
1430 +
1431 +# You should have received a copy of the GNU General Public License
1432 +# along with this program; if not, write to the Free Software
1433 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
1434 +# 02111-1307, USA.
1435 +
1436 +AC_PREREQ([2.52])
1437 +
1438 +# serial 6
1439 +
1440 +# When config.status generates a header, we must update the stamp-h file.
1441 +# This file resides in the same directory as the config header
1442 +# that is generated.  We must strip everything past the first ":",
1443 +# and everything past the last "/".
1444 +
1445 +# _AM_DIRNAME(PATH)
1446 +# -----------------
1447 +# Like AS_DIRNAME, only do it during macro expansion
1448 +AC_DEFUN([_AM_DIRNAME],
1449 +       [m4_if(regexp([$1], [^.*[^/]//*[^/][^/]*/*$]), -1,
1450 +             m4_if(regexp([$1], [^//\([^/]\|$\)]), -1,
1451 +                   m4_if(regexp([$1], [^/.*]), -1,
1452 +                         [.],
1453 +                         patsubst([$1], [^\(/\).*], [\1])),
1454 +                   patsubst([$1], [^\(//\)\([^/].*\|$\)], [\1])),
1455 +             patsubst([$1], [^\(.*[^/]\)//*[^/][^/]*/*$], [\1]))[]dnl
1456 +])# _AM_DIRNAME
1457 +
1458 +
1459 +# The stamp files are numbered to have different names.
1460 +# We could number them on a directory basis, but that's additional
1461 +# complications, let's have a unique counter.
1462 +m4_define([_AM_STAMP_Count], [0])
1463 +
1464 +
1465 +# _AM_STAMP(HEADER)
1466 +# -----------------
1467 +# The name of the stamp file for HEADER.
1468 +AC_DEFUN([_AM_STAMP],
1469 +[m4_define([_AM_STAMP_Count], m4_incr(_AM_STAMP_Count))dnl
1470 +AS_ESCAPE(_AM_DIRNAME(patsubst([$1],
1471 +                               [:.*])))/stamp-h[]_AM_STAMP_Count])
1472 +
1473 +
1474 +# _AM_CONFIG_HEADER(HEADER[:SOURCES], COMMANDS, INIT-COMMANDS)
1475 +# ------------------------------------------------------------
1476 +# We used to try to get a real timestamp in stamp-h.  But the fear is that
1477 +# that will cause unnecessary cvs conflicts.
1478 +AC_DEFUN([_AM_CONFIG_HEADER],
1479 +[# Add the stamp file to the list of files AC keeps track of,
1480 +# along with our hook.
1481 +AC_CONFIG_HEADERS([$1],
1482 +                  [# update the timestamp
1483 +echo 'timestamp for $1' >"_AM_STAMP([$1])"
1484 +$2],
1485 +                  [$3])
1486 +])# _AM_CONFIG_HEADER
1487 +
1488 +
1489 +# AM_CONFIG_HEADER(HEADER[:SOURCES]..., COMMANDS, INIT-COMMANDS)
1490 +# --------------------------------------------------------------
1491 +AC_DEFUN([AM_CONFIG_HEADER],
1492 +[AC_FOREACH([_AM_File], [$1], [_AM_CONFIG_HEADER(_AM_File, [$2], [$3])])
1493 +])# AM_CONFIG_HEADER
1494 +
1495 +# Do all the work for Automake.                            -*- Autoconf -*-
1496 +
1497 +# This macro actually does too much some checks are only needed if
1498 +# your package does certain things.  But this isn't really a big deal.
1499 +
1500 +# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002
1501 +# Free Software Foundation, Inc.
1502 +
1503 +# This program is free software; you can redistribute it and/or modify
1504 +# it under the terms of the GNU General Public License as published by
1505 +# the Free Software Foundation; either version 2, or (at your option)
1506 +# any later version.
1507 +
1508 +# This program is distributed in the hope that it will be useful,
1509 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
1510 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1511 +# GNU General Public License for more details.
1512 +
1513 +# You should have received a copy of the GNU General Public License
1514 +# along with this program; if not, write to the Free Software
1515 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
1516 +# 02111-1307, USA.
1517 +
1518 +# serial 8
1519 +
1520 +# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
1521 +# written in clear, in which case automake, when reading aclocal.m4,
1522 +# will think it sees a *use*, and therefore will trigger all it's
1523 +# C support machinery.  Also note that it means that autoscan, seeing
1524 +# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
1525 +
1526 +
1527 +AC_PREREQ([2.52])
1528 +
1529 +# Autoconf 2.50 wants to disallow AM_ names.  We explicitly allow
1530 +# the ones we care about.
1531 +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
1532 +
1533 +# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
1534 +# AM_INIT_AUTOMAKE([OPTIONS])
1535 +# -----------------------------------------------
1536 +# The call with PACKAGE and VERSION arguments is the old style
1537 +# call (pre autoconf-2.50), which is being phased out.  PACKAGE
1538 +# and VERSION should now be passed to AC_INIT and removed from
1539 +# the call to AM_INIT_AUTOMAKE.
1540 +# We support both call styles for the transition.  After
1541 +# the next Automake release, Autoconf can make the AC_INIT
1542 +# arguments mandatory, and then we can depend on a new Autoconf
1543 +# release and drop the old call support.
1544 +AC_DEFUN([AM_INIT_AUTOMAKE],
1545 +[AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
1546 + AC_REQUIRE([AC_PROG_INSTALL])dnl
1547 +# test to see if srcdir already configured
1548 +if test "`cd $srcdir && pwd`" != "`pwd`" &&
1549 +   test -f $srcdir/config.status; then
1550    AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
1551  fi
1552 -ifelse([$3],,
1553 -AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
1554 -AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package]))
1555 -AC_REQUIRE([AM_SANITY_CHECK])
1556 -AC_REQUIRE([AC_ARG_PROGRAM])
1557 -dnl FIXME This is truly gross.
1558 -missing_dir=`cd $ac_aux_dir && pwd`
1559 -AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir)
1560 -AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir)
1561 -AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir)
1562 -AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir)
1563 -AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir)
1564 -AC_REQUIRE([AC_PROG_MAKE_SET])])
1565 +
1566 +# Define the identity of the package.
1567 +dnl Distinguish between old-style and new-style calls.
1568 +m4_ifval([$2],
1569 +[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
1570 + AC_SUBST([PACKAGE], [$1])dnl
1571 + AC_SUBST([VERSION], [$2])],
1572 +[_AM_SET_OPTIONS([$1])dnl
1573 + AC_SUBST([PACKAGE], [AC_PACKAGE_TARNAME])dnl
1574 + AC_SUBST([VERSION], [AC_PACKAGE_VERSION])])dnl
1575 +
1576 +_AM_IF_OPTION([no-define],,
1577 +[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
1578 + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
1579 +
1580 +# Some tools Automake needs.
1581 +AC_REQUIRE([AM_SANITY_CHECK])dnl
1582 +AC_REQUIRE([AC_ARG_PROGRAM])dnl
1583 +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
1584 +AM_MISSING_PROG(AUTOCONF, autoconf)
1585 +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
1586 +AM_MISSING_PROG(AUTOHEADER, autoheader)
1587 +AM_MISSING_PROG(MAKEINFO, makeinfo)
1588 +AM_MISSING_PROG(AMTAR, tar)
1589 +AM_PROG_INSTALL_SH
1590 +AM_PROG_INSTALL_STRIP
1591 +# We need awk for the "check" target.  The system "awk" is bad on
1592 +# some platforms.
1593 +AC_REQUIRE([AC_PROG_AWK])dnl
1594 +AC_REQUIRE([AC_PROG_MAKE_SET])dnl
1595 +
1596 +_AM_IF_OPTION([no-dependencies],,
1597 +[AC_PROVIDE_IFELSE([AC_PROG_][CC],
1598 +                  [_AM_DEPENDENCIES(CC)],
1599 +                  [define([AC_PROG_][CC],
1600 +                          defn([AC_PROG_][CC])[_AM_DEPENDENCIES(CC)])])dnl
1601 +AC_PROVIDE_IFELSE([AC_PROG_][CXX],
1602 +                  [_AM_DEPENDENCIES(CXX)],
1603 +                  [define([AC_PROG_][CXX],
1604 +                          defn([AC_PROG_][CXX])[_AM_DEPENDENCIES(CXX)])])dnl
1605 +])
1606 +])
1607 +
1608 +# Copyright 2002  Free Software Foundation, Inc.
1609 +
1610 +# This program is free software; you can redistribute it and/or modify
1611 +# it under the terms of the GNU General Public License as published by
1612 +# the Free Software Foundation; either version 2, or (at your option)
1613 +# any later version.
1614 +
1615 +# This program is distributed in the hope that it will be useful,
1616 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
1617 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1618 +# GNU General Public License for more details.
1619 +
1620 +# You should have received a copy of the GNU General Public License
1621 +# along with this program; if not, write to the Free Software
1622 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
1623 +
1624 +# AM_AUTOMAKE_VERSION(VERSION)
1625 +# ----------------------------
1626 +# Automake X.Y traces this macro to ensure aclocal.m4 has been
1627 +# generated from the m4 files accompanying Automake X.Y.
1628 +AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.6"])
1629 +
1630 +# AM_SET_CURRENT_AUTOMAKE_VERSION
1631 +# -------------------------------
1632 +# Call AM_AUTOMAKE_VERSION so it can be traced.
1633 +# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
1634 +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
1635 +        [AM_AUTOMAKE_VERSION([1.6.1])])
1636 +
1637 +# Helper functions for option handling.                    -*- Autoconf -*-
1638 +
1639 +# Copyright 2001, 2002  Free Software Foundation, Inc.
1640 +
1641 +# This program is free software; you can redistribute it and/or modify
1642 +# it under the terms of the GNU General Public License as published by
1643 +# the Free Software Foundation; either version 2, or (at your option)
1644 +# any later version.
1645 +
1646 +# This program is distributed in the hope that it will be useful,
1647 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
1648 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1649 +# GNU General Public License for more details.
1650 +
1651 +# You should have received a copy of the GNU General Public License
1652 +# along with this program; if not, write to the Free Software
1653 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
1654 +# 02111-1307, USA.
1655 +
1656 +# serial 2
1657 +
1658 +# _AM_MANGLE_OPTION(NAME)
1659 +# -----------------------
1660 +AC_DEFUN([_AM_MANGLE_OPTION],
1661 +[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
1662 +
1663 +# _AM_SET_OPTION(NAME)
1664 +# ------------------------------
1665 +# Set option NAME.  Presently that only means defining a flag for this option.
1666 +AC_DEFUN([_AM_SET_OPTION],
1667 +[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
1668 +
1669 +# _AM_SET_OPTIONS(OPTIONS)
1670 +# ----------------------------------
1671 +# OPTIONS is a space-separated list of Automake options.
1672 +AC_DEFUN([_AM_SET_OPTIONS],
1673 +[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
1674 +
1675 +# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
1676 +# -------------------------------------------
1677 +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
1678 +AC_DEFUN([_AM_IF_OPTION],
1679 +[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
1680  
1681  #
1682  # Check to make sure that the build environment is sane.
1683  #
1684  
1685 -AC_DEFUN(AM_SANITY_CHECK,
1686 +# Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
1687 +
1688 +# This program is free software; you can redistribute it and/or modify
1689 +# it under the terms of the GNU General Public License as published by
1690 +# the Free Software Foundation; either version 2, or (at your option)
1691 +# any later version.
1692 +
1693 +# This program is distributed in the hope that it will be useful,
1694 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
1695 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1696 +# GNU General Public License for more details.
1697 +
1698 +# You should have received a copy of the GNU General Public License
1699 +# along with this program; if not, write to the Free Software
1700 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
1701 +# 02111-1307, USA.
1702 +
1703 +# serial 3
1704 +
1705 +# AM_SANITY_CHECK
1706 +# ---------------
1707 +AC_DEFUN([AM_SANITY_CHECK],
1708  [AC_MSG_CHECKING([whether build environment is sane])
1709  # Just in case
1710  sleep 1
1711 -echo timestamp > conftestfile
1712 +echo timestamp > conftest.file
1713  # Do `set' in a subshell so we don't clobber the current shell's
1714  # arguments.  Must try -L first in case configure is actually a
1715  # symlink; some systems play weird games with the mod time of symlinks
1716  # (eg FreeBSD returns the mod time of the symlink's containing
1717  # directory).
1718  if (
1719 -   set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1720 -   if test "[$]*" = "X"; then
1721 +   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1722 +   if test "$[*]" = "X"; then
1723        # -L didn't work.
1724 -      set X `ls -t $srcdir/configure conftestfile`
1725 +      set X `ls -t $srcdir/configure conftest.file`
1726     fi
1727 -   if test "[$]*" != "X $srcdir/configure conftestfile" \
1728 -      && test "[$]*" != "X conftestfile $srcdir/configure"; then
1729 +   rm -f conftest.file
1730 +   if test "$[*]" != "X $srcdir/configure conftest.file" \
1731 +      && test "$[*]" != "X conftest.file $srcdir/configure"; then
1732  
1733        # If neither matched, then we have a broken ls.  This can happen
1734        # if, for instance, CONFIG_SHELL is bash and it inherits a
1735 @@ -3421,7 +3639,7 @@
1736  alias in your environment])
1737     fi
1738  
1739 -   test "[$]2" = conftestfile
1740 +   test "$[2]" = conftest.file
1741     )
1742  then
1743     # Ok.
1744 @@ -3430,22 +3648,507 @@
1745     AC_MSG_ERROR([newly created file is older than distributed files!
1746  Check your system clock])
1747  fi
1748 -rm -f conftest*
1749  AC_MSG_RESULT(yes)])
1750  
1751 -dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY)
1752 -dnl The program must properly implement --version.
1753 -AC_DEFUN(AM_MISSING_PROG,
1754 -[AC_MSG_CHECKING(for working $2)
1755 -# Run test in a subshell; some versions of sh will print an error if
1756 -# an executable is not found, even if stderr is redirected.
1757 -# Redirect stdin to placate older versions of autoconf.  Sigh.
1758 -if ($2 --version) < /dev/null > /dev/null 2>&1; then
1759 -   $1=$2
1760 -   AC_MSG_RESULT(found)
1761 +#  -*- Autoconf -*-
1762 +
1763 +
1764 +# Copyright 1997, 1999, 2000, 2001 Free Software Foundation, Inc.
1765 +
1766 +# This program is free software; you can redistribute it and/or modify
1767 +# it under the terms of the GNU General Public License as published by
1768 +# the Free Software Foundation; either version 2, or (at your option)
1769 +# any later version.
1770 +
1771 +# This program is distributed in the hope that it will be useful,
1772 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
1773 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1774 +# GNU General Public License for more details.
1775 +
1776 +# You should have received a copy of the GNU General Public License
1777 +# along with this program; if not, write to the Free Software
1778 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
1779 +# 02111-1307, USA.
1780 +
1781 +# serial 3
1782 +
1783 +# AM_MISSING_PROG(NAME, PROGRAM)
1784 +# ------------------------------
1785 +AC_DEFUN([AM_MISSING_PROG],
1786 +[AC_REQUIRE([AM_MISSING_HAS_RUN])
1787 +$1=${$1-"${am_missing_run}$2"}
1788 +AC_SUBST($1)])
1789 +
1790 +
1791 +# AM_MISSING_HAS_RUN
1792 +# ------------------
1793 +# Define MISSING if not defined so far and test if it supports --run.
1794 +# If it does, set am_missing_run to use it, otherwise, to nothing.
1795 +AC_DEFUN([AM_MISSING_HAS_RUN],
1796 +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1797 +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1798 +# Use eval to expand $SHELL
1799 +if eval "$MISSING --run true"; then
1800 +  am_missing_run="$MISSING --run "
1801  else
1802 -   $1="$3/missing $2"
1803 -   AC_MSG_RESULT(missing)
1804 +  am_missing_run=
1805 +  AC_MSG_WARN([`missing' script is too old or missing])
1806  fi
1807 -AC_SUBST($1)])
1808 +])
1809 +
1810 +# AM_AUX_DIR_EXPAND
1811 +
1812 +# Copyright 2001 Free Software Foundation, Inc.
1813 +
1814 +# This program is free software; you can redistribute it and/or modify
1815 +# it under the terms of the GNU General Public License as published by
1816 +# the Free Software Foundation; either version 2, or (at your option)
1817 +# any later version.
1818 +
1819 +# This program is distributed in the hope that it will be useful,
1820 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
1821 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1822 +# GNU General Public License for more details.
1823 +
1824 +# You should have received a copy of the GNU General Public License
1825 +# along with this program; if not, write to the Free Software
1826 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
1827 +# 02111-1307, USA.
1828 +
1829 +# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
1830 +# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
1831 +# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
1832 +#
1833 +# Of course, Automake must honor this variable whenever it calls a
1834 +# tool from the auxiliary directory.  The problem is that $srcdir (and
1835 +# therefore $ac_aux_dir as well) can be either absolute or relative,
1836 +# depending on how configure is run.  This is pretty annoying, since
1837 +# it makes $ac_aux_dir quite unusable in subdirectories: in the top
1838 +# source directory, any form will work fine, but in subdirectories a
1839 +# relative path needs to be adjusted first.
1840 +#
1841 +# $ac_aux_dir/missing
1842 +#    fails when called from a subdirectory if $ac_aux_dir is relative
1843 +# $top_srcdir/$ac_aux_dir/missing
1844 +#    fails if $ac_aux_dir is absolute,
1845 +#    fails when called from a subdirectory in a VPATH build with
1846 +#          a relative $ac_aux_dir
1847 +#
1848 +# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
1849 +# are both prefixed by $srcdir.  In an in-source build this is usually
1850 +# harmless because $srcdir is `.', but things will broke when you
1851 +# start a VPATH build or use an absolute $srcdir.
1852 +#
1853 +# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
1854 +# iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
1855 +#   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
1856 +# and then we would define $MISSING as
1857 +#   MISSING="\${SHELL} $am_aux_dir/missing"
1858 +# This will work as long as MISSING is not called from configure, because
1859 +# unfortunately $(top_srcdir) has no meaning in configure.
1860 +# However there are other variables, like CC, which are often used in
1861 +# configure, and could therefore not use this "fixed" $ac_aux_dir.
1862 +#
1863 +# Another solution, used here, is to always expand $ac_aux_dir to an
1864 +# absolute PATH.  The drawback is that using absolute paths prevent a
1865 +# configured tree to be moved without reconfiguration.
1866 +
1867 +# Rely on autoconf to set up CDPATH properly.
1868 +AC_PREREQ([2.50])
1869 +
1870 +AC_DEFUN([AM_AUX_DIR_EXPAND], [
1871 +# expand $ac_aux_dir to an absolute path
1872 +am_aux_dir=`cd $ac_aux_dir && pwd`
1873 +])
1874 +
1875 +# AM_PROG_INSTALL_SH
1876 +# ------------------
1877 +# Define $install_sh.
1878 +
1879 +# Copyright 2001 Free Software Foundation, Inc.
1880 +
1881 +# This program is free software; you can redistribute it and/or modify
1882 +# it under the terms of the GNU General Public License as published by
1883 +# the Free Software Foundation; either version 2, or (at your option)
1884 +# any later version.
1885 +
1886 +# This program is distributed in the hope that it will be useful,
1887 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
1888 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1889 +# GNU General Public License for more details.
1890 +
1891 +# You should have received a copy of the GNU General Public License
1892 +# along with this program; if not, write to the Free Software
1893 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
1894 +# 02111-1307, USA.
1895 +
1896 +AC_DEFUN([AM_PROG_INSTALL_SH],
1897 +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1898 +install_sh=${install_sh-"$am_aux_dir/install-sh"}
1899 +AC_SUBST(install_sh)])
1900 +
1901 +# AM_PROG_INSTALL_STRIP
1902 +
1903 +# Copyright 2001 Free Software Foundation, Inc.
1904 +
1905 +# This program is free software; you can redistribute it and/or modify
1906 +# it under the terms of the GNU General Public License as published by
1907 +# the Free Software Foundation; either version 2, or (at your option)
1908 +# any later version.
1909 +
1910 +# This program is distributed in the hope that it will be useful,
1911 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
1912 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1913 +# GNU General Public License for more details.
1914 +
1915 +# You should have received a copy of the GNU General Public License
1916 +# along with this program; if not, write to the Free Software
1917 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
1918 +# 02111-1307, USA.
1919 +
1920 +# One issue with vendor `install' (even GNU) is that you can't
1921 +# specify the program used to strip binaries.  This is especially
1922 +# annoying in cross-compiling environments, where the build's strip
1923 +# is unlikely to handle the host's binaries.
1924 +# Fortunately install-sh will honor a STRIPPROG variable, so we
1925 +# always use install-sh in `make install-strip', and initialize
1926 +# STRIPPROG with the value of the STRIP variable (set by the user).
1927 +AC_DEFUN([AM_PROG_INSTALL_STRIP],
1928 +[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1929 +# Installed binaries are usually stripped using `strip' when the user
1930 +# run `make install-strip'.  However `strip' might not be the right
1931 +# tool to use in cross-compilation environments, therefore Automake
1932 +# will honor the `STRIP' environment variable to overrule this program.
1933 +dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
1934 +if test "$cross_compiling" != no; then
1935 +  AC_CHECK_TOOL([STRIP], [strip], :)
1936 +fi
1937 +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1938 +AC_SUBST([INSTALL_STRIP_PROGRAM])])
1939 +
1940 +# serial 4                                             -*- Autoconf -*-
1941 +
1942 +# Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
1943 +
1944 +# This program is free software; you can redistribute it and/or modify
1945 +# it under the terms of the GNU General Public License as published by
1946 +# the Free Software Foundation; either version 2, or (at your option)
1947 +# any later version.
1948 +
1949 +# This program is distributed in the hope that it will be useful,
1950 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
1951 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1952 +# GNU General Public License for more details.
1953 +
1954 +# You should have received a copy of the GNU General Public License
1955 +# along with this program; if not, write to the Free Software
1956 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
1957 +# 02111-1307, USA.
1958 +
1959 +
1960 +# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
1961 +# written in clear, in which case automake, when reading aclocal.m4,
1962 +# will think it sees a *use*, and therefore will trigger all it's
1963 +# C support machinery.  Also note that it means that autoscan, seeing
1964 +# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
1965 +
1966 +
1967 +
1968 +# _AM_DEPENDENCIES(NAME)
1969 +# ----------------------
1970 +# See how the compiler implements dependency checking.
1971 +# NAME is "CC", "CXX", "GCJ", or "OBJC".
1972 +# We try a few techniques and use that to set a single cache variable.
1973 +#
1974 +# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
1975 +# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
1976 +# dependency, and given that the user is not expected to run this macro,
1977 +# just rely on AC_PROG_CC.
1978 +AC_DEFUN([_AM_DEPENDENCIES],
1979 +[AC_REQUIRE([AM_SET_DEPDIR])dnl
1980 +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
1981 +AC_REQUIRE([AM_MAKE_INCLUDE])dnl
1982 +AC_REQUIRE([AM_DEP_TRACK])dnl
1983 +
1984 +ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
1985 +       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
1986 +       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc']
1987 +       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
1988 +                   [depcc="$$1"   am_compiler_list=])
1989 +
1990 +AC_CACHE_CHECK([dependency style of $depcc],
1991 +               [am_cv_$1_dependencies_compiler_type],
1992 +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1993 +  # We make a subdir and do the tests there.  Otherwise we can end up
1994 +  # making bogus files that we don't know about and never remove.  For
1995 +  # instance it was reported that on HP-UX the gcc test will end up
1996 +  # making a dummy file named `D' -- because `-MD' means `put the output
1997 +  # in D'.
1998 +  mkdir conftest.dir
1999 +  # Copy depcomp to subdir because otherwise we won't find it if we're
2000 +  # using a relative directory.
2001 +  cp "$am_depcomp" conftest.dir
2002 +  cd conftest.dir
2003 +
2004 +  am_cv_$1_dependencies_compiler_type=none
2005 +  if test "$am_compiler_list" = ""; then
2006 +     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
2007 +  fi
2008 +  for depmode in $am_compiler_list; do
2009 +    # We need to recreate these files for each test, as the compiler may
2010 +    # overwrite some of them when testing with obscure command lines.
2011 +    # This happens at least with the AIX C compiler.
2012 +    echo '#include "conftest.h"' > conftest.c
2013 +    echo 'int i;' > conftest.h
2014 +    echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2015 +
2016 +    case $depmode in
2017 +    nosideeffect)
2018 +      # after this tag, mechanisms are not by side-effect, so they'll
2019 +      # only be used when explicitly requested
2020 +      if test "x$enable_dependency_tracking" = xyes; then
2021 +       continue
2022 +      else
2023 +       break
2024 +      fi
2025 +      ;;
2026 +    none) break ;;
2027 +    esac
2028 +    # We check with `-c' and `-o' for the sake of the "dashmstdout"
2029 +    # mode.  It turns out that the SunPro C++ compiler does not properly
2030 +    # handle `-M -o', and we need to detect this.
2031 +    if depmode=$depmode \
2032 +       source=conftest.c object=conftest.o \
2033 +       depfile=conftest.Po tmpdepfile=conftest.TPo \
2034 +       $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
2035 +       grep conftest.h conftest.Po > /dev/null 2>&1 &&
2036 +       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2037 +      am_cv_$1_dependencies_compiler_type=$depmode
2038 +      break
2039 +    fi
2040 +  done
2041 +
2042 +  cd ..
2043 +  rm -rf conftest.dir
2044 +else
2045 +  am_cv_$1_dependencies_compiler_type=none
2046 +fi
2047 +])
2048 +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
2049 +])
2050 +
2051 +
2052 +# AM_SET_DEPDIR
2053 +# -------------
2054 +# Choose a directory name for dependency files.
2055 +# This macro is AC_REQUIREd in _AM_DEPENDENCIES
2056 +AC_DEFUN([AM_SET_DEPDIR],
2057 +[rm -f .deps 2>/dev/null
2058 +mkdir .deps 2>/dev/null
2059 +if test -d .deps; then
2060 +  DEPDIR=.deps
2061 +else
2062 +  # MS-DOS does not allow filenames that begin with a dot.
2063 +  DEPDIR=_deps
2064 +fi
2065 +rmdir .deps 2>/dev/null
2066 +AC_SUBST([DEPDIR])
2067 +])
2068 +
2069 +
2070 +# AM_DEP_TRACK
2071 +# ------------
2072 +AC_DEFUN([AM_DEP_TRACK],
2073 +[AC_ARG_ENABLE(dependency-tracking,
2074 +[  --disable-dependency-tracking Speeds up one-time builds
2075 +  --enable-dependency-tracking  Do not reject slow dependency extractors])
2076 +if test "x$enable_dependency_tracking" != xno; then
2077 +  am_depcomp="$ac_aux_dir/depcomp"
2078 +  AMDEPBACKSLASH='\'
2079 +fi
2080 +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
2081 +AC_SUBST([AMDEPBACKSLASH])
2082 +])
2083 +
2084 +# Generate code to set up dependency tracking.   -*- Autoconf -*-
2085 +
2086 +# Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
2087 +
2088 +# This program is free software; you can redistribute it and/or modify
2089 +# it under the terms of the GNU General Public License as published by
2090 +# the Free Software Foundation; either version 2, or (at your option)
2091 +# any later version.
2092 +
2093 +# This program is distributed in the hope that it will be useful,
2094 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
2095 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
2096 +# GNU General Public License for more details.
2097 +
2098 +# You should have received a copy of the GNU General Public License
2099 +# along with this program; if not, write to the Free Software
2100 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2101 +# 02111-1307, USA.
2102 +
2103 +#serial 2
2104 +
2105 +# _AM_OUTPUT_DEPENDENCY_COMMANDS
2106 +# ------------------------------
2107 +AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
2108 +[for mf in $CONFIG_FILES; do
2109 +  # Strip MF so we end up with the name of the file.
2110 +  mf=`echo "$mf" | sed -e 's/:.*$//'`
2111 +  if (sed 1q $mf | fgrep 'generated by automake') > /dev/null 2>&1; then
2112 +    dirpart=`AS_DIRNAME("$mf")`
2113 +  else
2114 +    continue
2115 +  fi
2116 +  grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue
2117 +  # Extract the definition of DEP_FILES from the Makefile without
2118 +  # running `make'.
2119 +  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
2120 +  test -z "$DEPDIR" && continue
2121 +  # When using ansi2knr, U may be empty or an underscore; expand it
2122 +  U=`sed -n -e '/^U = / s///p' < "$mf"`
2123 +  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
2124 +  # We invoke sed twice because it is the simplest approach to
2125 +  # changing $(DEPDIR) to its actual value in the expansion.
2126 +  for file in `sed -n -e '
2127 +    /^DEP_FILES = .*\\\\$/ {
2128 +      s/^DEP_FILES = //
2129 +      :loop
2130 +       s/\\\\$//
2131 +       p
2132 +       n
2133 +       /\\\\$/ b loop
2134 +      p
2135 +    }
2136 +    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
2137 +       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
2138 +    # Make sure the directory exists.
2139 +    test -f "$dirpart/$file" && continue
2140 +    fdir=`AS_DIRNAME(["$file"])`
2141 +    AS_MKDIR_P([$dirpart/$fdir])
2142 +    # echo "creating $dirpart/$file"
2143 +    echo '# dummy' > "$dirpart/$file"
2144 +  done
2145 +done
2146 +])# _AM_OUTPUT_DEPENDENCY_COMMANDS
2147 +
2148 +
2149 +# AM_OUTPUT_DEPENDENCY_COMMANDS
2150 +# -----------------------------
2151 +# This macro should only be invoked once -- use via AC_REQUIRE.
2152 +#
2153 +# This code is only required when automatic dependency tracking
2154 +# is enabled.  FIXME.  This creates each `.P' file that we will
2155 +# need in order to bootstrap the dependency handling code.
2156 +AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
2157 +[AC_CONFIG_COMMANDS([depfiles],
2158 +     [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
2159 +     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
2160 +])
2161 +
2162 +# Copyright 2001 Free Software Foundation, Inc.             -*- Autoconf -*-
2163 +
2164 +# This program is free software; you can redistribute it and/or modify
2165 +# it under the terms of the GNU General Public License as published by
2166 +# the Free Software Foundation; either version 2, or (at your option)
2167 +# any later version.
2168 +
2169 +# This program is distributed in the hope that it will be useful,
2170 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
2171 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
2172 +# GNU General Public License for more details.
2173 +
2174 +# You should have received a copy of the GNU General Public License
2175 +# along with this program; if not, write to the Free Software
2176 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2177 +# 02111-1307, USA.
2178 +
2179 +# serial 2
2180 +
2181 +# AM_MAKE_INCLUDE()
2182 +# -----------------
2183 +# Check to see how make treats includes.
2184 +AC_DEFUN([AM_MAKE_INCLUDE],
2185 +[am_make=${MAKE-make}
2186 +cat > confinc << 'END'
2187 +doit:
2188 +       @echo done
2189 +END
2190 +# If we don't find an include directive, just comment out the code.
2191 +AC_MSG_CHECKING([for style of include used by $am_make])
2192 +am__include="#"
2193 +am__quote=
2194 +_am_result=none
2195 +# First try GNU make style include.
2196 +echo "include confinc" > confmf
2197 +# We grep out `Entering directory' and `Leaving directory'
2198 +# messages which can occur if `w' ends up in MAKEFLAGS.
2199 +# In particular we don't look at `^make:' because GNU make might
2200 +# be invoked under some other name (usually "gmake"), in which
2201 +# case it prints its new name instead of `make'.
2202 +if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
2203 +   am__include=include
2204 +   am__quote=
2205 +   _am_result=GNU
2206 +fi
2207 +# Now try BSD make style include.
2208 +if test "$am__include" = "#"; then
2209 +   echo '.include "confinc"' > confmf
2210 +   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2211 +      am__include=.include
2212 +      am__quote="\""
2213 +      _am_result=BSD
2214 +   fi
2215 +fi
2216 +AC_SUBST(am__include)
2217 +AC_SUBST(am__quote)
2218 +AC_MSG_RESULT($_am_result)
2219 +rm -f confinc confmf
2220 +])
2221 +
2222 +# AM_CONDITIONAL                                              -*- Autoconf -*-
2223 +
2224 +# Copyright 1997, 2000, 2001 Free Software Foundation, Inc.
2225 +
2226 +# This program is free software; you can redistribute it and/or modify
2227 +# it under the terms of the GNU General Public License as published by
2228 +# the Free Software Foundation; either version 2, or (at your option)
2229 +# any later version.
2230 +
2231 +# This program is distributed in the hope that it will be useful,
2232 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
2233 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
2234 +# GNU General Public License for more details.
2235 +
2236 +# You should have received a copy of the GNU General Public License
2237 +# along with this program; if not, write to the Free Software
2238 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2239 +# 02111-1307, USA.
2240 +
2241 +# serial 5
2242 +
2243 +AC_PREREQ(2.52)
2244 +
2245 +# AM_CONDITIONAL(NAME, SHELL-CONDITION)
2246 +# -------------------------------------
2247 +# Define a conditional.
2248 +AC_DEFUN([AM_CONDITIONAL],
2249 +[ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
2250 +        [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
2251 +AC_SUBST([$1_TRUE])
2252 +AC_SUBST([$1_FALSE])
2253 +if $2; then
2254 +  $1_TRUE=
2255 +  $1_FALSE='#'
2256 +else
2257 +  $1_TRUE='#'
2258 +  $1_FALSE=
2259 +fi
2260 +AC_CONFIG_COMMANDS_PRE(
2261 +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
2262 +  AC_MSG_ERROR([conditional \"$1\" was never defined.
2263 +Usually this means the macro was only invoked conditionally.])
2264 +fi])])
2265  
2266 diff -ruNa fribidi.old/config.h.in fribidi/config.h.in
2267 --- fribidi.old/config.h.in     Mon Apr  8 19:50:08 2002
2268 +++ fribidi/config.h.in Sun Nov  2 00:51:33 2003
2269 @@ -1,8 +1,5 @@
2270  /* config.h.in.  Generated automatically from configure.in by autoheader.  */
2271  
2272 -/* Define if you have the ANSI C header files.  */
2273 -#undef STDC_HEADERS
2274 -
2275  #undef DEBUG
2276  
2277  #undef MEM_OPTIMIZED
2278 @@ -23,21 +20,50 @@
2279  /* We should #undef this symbol, to make autoheader shut up */
2280  #undef HAS_FRIBIDI_TAB_CHAR_TYPE__I
2281  
2282 -/* The number of bytes in a char.  */
2283 -#undef SIZEOF_CHAR
2284 +/* Define if you have the <dlfcn.h> header file. */
2285 +#undef HAVE_DLFCN_H
2286  
2287 -/* The number of bytes in a char*.  */
2288 -#undef SIZEOF_CHARP
2289 +/* Define if you have the <inttypes.h> header file. */
2290 +#undef HAVE_INTTYPES_H
2291  
2292 -/* The number of bytes in a int.  */
2293 -#undef SIZEOF_INT
2294 +/* Define if you have the <memory.h> header file. */
2295 +#undef HAVE_MEMORY_H
2296  
2297 -/* Define if you have the <dlfcn.h> header file.  */
2298 -#undef HAVE_DLFCN_H
2299 +/* Define if you have the <stdint.h> header file. */
2300 +#undef HAVE_STDINT_H
2301 +
2302 +/* Define if you have the <stdlib.h> header file. */
2303 +#undef HAVE_STDLIB_H
2304 +
2305 +/* Define if you have the <strings.h> header file. */
2306 +#undef HAVE_STRINGS_H
2307 +
2308 +/* Define if you have the <string.h> header file. */
2309 +#undef HAVE_STRING_H
2310 +
2311 +/* Define if you have the <sys/stat.h> header file. */
2312 +#undef HAVE_SYS_STAT_H
2313 +
2314 +/* Define if you have the <sys/types.h> header file. */
2315 +#undef HAVE_SYS_TYPES_H
2316 +
2317 +/* Define if you have the <unistd.h> header file. */
2318 +#undef HAVE_UNISTD_H
2319  
2320  /* Name of package */
2321  #undef PACKAGE
2322  
2323 +/* The size of a `char', as computed by sizeof. */
2324 +#undef SIZEOF_CHAR
2325 +
2326 +/* The size of a `char*', as computed by sizeof. */
2327 +#undef SIZEOF_CHARP
2328 +
2329 +/* The size of a `int', as computed by sizeof. */
2330 +#undef SIZEOF_INT
2331 +
2332 +/* Define if you have the ANSI C header files. */
2333 +#undef STDC_HEADERS
2334 +
2335  /* Version number of package */
2336  #undef VERSION
2337 -
2338 diff -ruNa fribidi.old/configure fribidi/configure
2339 --- fribidi.old/configure       Sun May 19 12:06:53 2002
2340 +++ fribidi/configure   Sun Nov  2 00:51:42 2003
2341 @@ -1,25 +1,12 @@
2342  #! /bin/sh
2343 -
2344  # Guess values for system-dependent variables and create Makefiles.
2345 -# Generated automatically using autoconf version 2.13 
2346 -# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
2347 +# Generated by Autoconf 2.52.
2348  #
2349 +# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
2350 +# Free Software Foundation, Inc.
2351  # This configure script is free software; the Free Software Foundation
2352  # gives unlimited permission to copy, distribute and modify it.
2353  
2354 -# Defaults:
2355 -ac_help=
2356 -ac_default_prefix=/usr/local
2357 -# Any additions from configure.in:
2358 -ac_help="$ac_help
2359 -  --enable-shared[=PKGS]  build shared libraries [default=yes]"
2360 -ac_help="$ac_help
2361 -  --enable-static[=PKGS]  build static libraries [default=yes]"
2362 -ac_help="$ac_help
2363 -  --enable-fast-install[=PKGS]  optimize for fast installation [default=yes]"
2364 -ac_help="$ac_help
2365 -  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]"
2366 -
2367  # Find the correct PATH separator.  Usually this is `:', but
2368  # DJGPP uses `;' like DOS.
2369  if test "X${PATH_SEPARATOR+set}" != Xset; then
2370 @@ -30,7 +17,6 @@
2371    esac
2372  fi
2373  
2374 -
2375  # Check that we are running under the correct shell.
2376  SHELL=${CONFIG_SHELL-/bin/sh}
2377  
2378 @@ -176,30 +162,149 @@
2379     ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
2380  fi
2381  
2382 +# Avoid depending upon Character Ranges.
2383 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2384 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2385 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2386 +as_cr_digits='0123456789'
2387 +as_cr_alnum=$as_cr_Letters$as_cr_digits
2388 +
2389 +# Sed expression to map a string onto a valid variable name.
2390 +as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
2391 +
2392 +# Sed expression to map a string onto a valid CPP name.
2393 +as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
2394 +
2395 +# Be Bourne compatible
2396 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2397 +  emulate sh
2398 +  NULLCMD=:
2399 +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2400 +  set -o posix
2401 +fi
2402 +
2403 +# Name of the executable.
2404 +as_me=`echo "$0" |sed 's,.*[\\/],,'`
2405 +
2406 +if expr a : '\(a\)' >/dev/null 2>&1; then
2407 +  as_expr=expr
2408 +else
2409 +  as_expr=false
2410 +fi
2411 +
2412 +rm -f conf$$ conf$$.exe conf$$.file
2413 +echo >conf$$.file
2414 +if ln -s conf$$.file conf$$ 2>/dev/null; then
2415 +  # We could just check for DJGPP; but this test a) works b) is more generic
2416 +  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2417 +  if test -f conf$$.exe; then
2418 +    # Don't use ln at all; we don't have any links
2419 +    as_ln_s='cp -p'
2420 +  else
2421 +    as_ln_s='ln -s'
2422 +  fi
2423 +elif ln conf$$.file conf$$ 2>/dev/null; then
2424 +  as_ln_s=ln
2425 +else
2426 +  as_ln_s='cp -p'
2427 +fi
2428 +rm -f conf$$ conf$$.exe conf$$.file
2429 +
2430 +as_executable_p="test -f"
2431  
2432 -ac_help="$ac_help
2433 -  --disable-libtool-lock  avoid locking (might break parallel builds)"
2434 -ac_help="$ac_help
2435 -  --with-pic              try to use only PIC/non-PIC objects [default=use both]"
2436 -ac_help="$ac_help
2437 -  --enable-debug          turn debugging information on [default=no]"
2438 -ac_help="$ac_help
2439 -  --enable-malloc         do not allocate chunks of memory  [default=no]"
2440 -ac_help="$ac_help
2441 -  --enable-memopt         optimize for memory usage [default=no]"
2442 -ac_help="$ac_help
2443 -  --without-charsets      exclude character set converters from library
2444 -                          causes command-line tool to use iconv"
2445 +# Support unset when possible.
2446 +if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
2447 +  as_unset=unset
2448 +else
2449 +  as_unset=false
2450 +fi
2451 +
2452 +# NLS nuisances.
2453 +$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
2454 +$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
2455 +$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
2456 +$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
2457 +$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
2458 +$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
2459 +$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
2460 +$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
2461 +
2462 +# IFS
2463 +# We need space, tab and new line, in precisely that order.
2464 +as_nl='
2465 +'
2466 +IFS="  $as_nl"
2467 +
2468 +# CDPATH.
2469 +$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
2470 +
2471 +# Name of the host.
2472 +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
2473 +# so uname gets run too.
2474 +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
2475 +
2476 +exec 6>&1
2477 +
2478 +#
2479 +# Initializations.
2480 +#
2481 +ac_default_prefix=/usr/local
2482 +cross_compiling=no
2483 +subdirs=
2484 +MFLAGS= MAKEFLAGS=
2485 +SHELL=${CONFIG_SHELL-/bin/sh}
2486 +
2487 +# Maximum number of lines to put in a shell here document.
2488 +# This variable seems obsolete.  It should probably be removed, and
2489 +# only ac_max_sed_lines should be used.
2490 +: ${ac_max_here_lines=38}
2491 +
2492 +ac_unique_file="fribidi.c"
2493 +# Factoring default headers for most tests.
2494 +ac_includes_default="\
2495 +#include <stdio.h>
2496 +#if HAVE_SYS_TYPES_H
2497 +# include <sys/types.h>
2498 +#endif
2499 +#if HAVE_SYS_STAT_H
2500 +# include <sys/stat.h>
2501 +#endif
2502 +#if STDC_HEADERS
2503 +# include <stdlib.h>
2504 +# include <stddef.h>
2505 +#else
2506 +# if HAVE_STDLIB_H
2507 +#  include <stdlib.h>
2508 +# endif
2509 +#endif
2510 +#if HAVE_STRING_H
2511 +# if !STDC_HEADERS && HAVE_MEMORY_H
2512 +#  include <memory.h>
2513 +# endif
2514 +# include <string.h>
2515 +#endif
2516 +#if HAVE_STRINGS_H
2517 +# include <strings.h>
2518 +#endif
2519 +#if HAVE_INTTYPES_H
2520 +# include <inttypes.h>
2521 +#else
2522 +# if HAVE_STDINT_H
2523 +#  include <stdint.h>
2524 +# endif
2525 +#endif
2526 +#if HAVE_UNISTD_H
2527 +# include <unistd.h>
2528 +#endif"
2529  
2530  # Initialize some variables set by options.
2531 +ac_init_help=
2532 +ac_init_version=false
2533  # The variables have the same names as the options, with
2534  # dashes changed to underlines.
2535 -build=NONE
2536 -cache_file=./config.cache
2537 +cache_file=/dev/null
2538  exec_prefix=NONE
2539 -host=NONE
2540  no_create=
2541 -nonopt=NONE
2542  no_recursion=
2543  prefix=NONE
2544  program_prefix=NONE
2545 @@ -208,10 +313,15 @@
2546  silent=
2547  site=
2548  srcdir=
2549 -target=NONE
2550  verbose=
2551  x_includes=NONE
2552  x_libraries=NONE
2553 +
2554 +# Installation directory options.
2555 +# These are left unexpanded so users can "make install exec_prefix=/foo"
2556 +# and all the variables that are supposed to be based on exec_prefix
2557 +# by default will actually change.
2558 +# Use braces instead of parens because sh, perl, etc. also accept them.
2559  bindir='${exec_prefix}/bin'
2560  sbindir='${exec_prefix}/sbin'
2561  libexecdir='${exec_prefix}/libexec'
2562 @@ -225,17 +335,16 @@
2563  infodir='${prefix}/info'
2564  mandir='${prefix}/man'
2565  
2566 -# Initialize some other variables.
2567 -subdirs=
2568 -MFLAGS= MAKEFLAGS=
2569 -SHELL=${CONFIG_SHELL-/bin/sh}
2570 -# Maximum number of lines to put in a shell here document.
2571 -ac_max_here_lines=12
2572 +# Identity of this package.
2573 +PACKAGE_NAME=
2574 +PACKAGE_TARNAME=
2575 +PACKAGE_VERSION=
2576 +PACKAGE_STRING=
2577 +PACKAGE_BUGREPORT=
2578  
2579  ac_prev=
2580  for ac_option
2581  do
2582 -
2583    # If the previous option needs an argument, assign it.
2584    if test -n "$ac_prev"; then
2585      eval "$ac_prev=\$ac_option"
2586 @@ -243,59 +352,59 @@
2587      continue
2588    fi
2589  
2590 -  case "$ac_option" in
2591 -  -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
2592 -  *) ac_optarg= ;;
2593 -  esac
2594 +  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
2595  
2596    # Accept the important Cygnus configure options, so we can diagnose typos.
2597  
2598 -  case "$ac_option" in
2599 +  case $ac_option in
2600  
2601    -bindir | --bindir | --bindi | --bind | --bin | --bi)
2602      ac_prev=bindir ;;
2603    -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2604 -    bindir="$ac_optarg" ;;
2605 +    bindir=$ac_optarg ;;
2606  
2607    -build | --build | --buil | --bui | --bu)
2608 -    ac_prev=build ;;
2609 +    ac_prev=build_alias ;;
2610    -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2611 -    build="$ac_optarg" ;;
2612 +    build_alias=$ac_optarg ;;
2613  
2614    -cache-file | --cache-file | --cache-fil | --cache-fi \
2615    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2616      ac_prev=cache_file ;;
2617    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2618    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2619 -    cache_file="$ac_optarg" ;;
2620 +    cache_file=$ac_optarg ;;
2621 +
2622 +  --config-cache | -C)
2623 +    cache_file=config.cache ;;
2624  
2625    -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
2626      ac_prev=datadir ;;
2627    -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
2628    | --da=*)
2629 -    datadir="$ac_optarg" ;;
2630 +    datadir=$ac_optarg ;;
2631  
2632    -disable-* | --disable-*)
2633 -    ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
2634 +    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2635      # Reject names that are not valid shell variable names.
2636 -    if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
2637 -      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
2638 -    fi
2639 -    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
2640 -    eval "enable_${ac_feature}=no" ;;
2641 +    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
2642 +      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
2643 +   { (exit 1); exit 1; }; }
2644 +    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
2645 +    eval "enable_$ac_feature=no" ;;
2646  
2647    -enable-* | --enable-*)
2648 -    ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
2649 +    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2650      # Reject names that are not valid shell variable names.
2651 -    if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
2652 -      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
2653 -    fi
2654 -    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
2655 -    case "$ac_option" in
2656 -      *=*) ;;
2657 +    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
2658 +      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
2659 +   { (exit 1); exit 1; }; }
2660 +    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
2661 +    case $ac_option in
2662 +      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
2663        *) ac_optarg=yes ;;
2664      esac
2665 -    eval "enable_${ac_feature}='$ac_optarg'" ;;
2666 +    eval "enable_$ac_feature='$ac_optarg'" ;;
2667  
2668    -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2669    | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2670 @@ -304,95 +413,47 @@
2671    -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2672    | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2673    | --exec=* | --exe=* | --ex=*)
2674 -    exec_prefix="$ac_optarg" ;;
2675 +    exec_prefix=$ac_optarg ;;
2676  
2677    -gas | --gas | --ga | --g)
2678      # Obsolete; use --with-gas.
2679      with_gas=yes ;;
2680  
2681 -  -help | --help | --hel | --he)
2682 -    # Omit some internal or obsolete options to make the list less imposing.
2683 -    # This message is too long to be a string in the A/UX 3.1 sh.
2684 -    cat << EOF
2685 -Usage: configure [options] [host]
2686 -Options: [defaults in brackets after descriptions]
2687 -Configuration:
2688 -  --cache-file=FILE       cache test results in FILE
2689 -  --help                  print this message
2690 -  --no-create             do not create output files
2691 -  --quiet, --silent       do not print \`checking...' messages
2692 -  --version               print the version of autoconf that created configure
2693 -Directory and file names:
2694 -  --prefix=PREFIX         install architecture-independent files in PREFIX
2695 -                          [$ac_default_prefix]
2696 -  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
2697 -                          [same as prefix]
2698 -  --bindir=DIR            user executables in DIR [EPREFIX/bin]
2699 -  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
2700 -  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
2701 -  --datadir=DIR           read-only architecture-independent data in DIR
2702 -                          [PREFIX/share]
2703 -  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
2704 -  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
2705 -                          [PREFIX/com]
2706 -  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
2707 -  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
2708 -  --includedir=DIR        C header files in DIR [PREFIX/include]
2709 -  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
2710 -  --infodir=DIR           info documentation in DIR [PREFIX/info]
2711 -  --mandir=DIR            man documentation in DIR [PREFIX/man]
2712 -  --srcdir=DIR            find the sources in DIR [configure dir or ..]
2713 -  --program-prefix=PREFIX prepend PREFIX to installed program names
2714 -  --program-suffix=SUFFIX append SUFFIX to installed program names
2715 -  --program-transform-name=PROGRAM
2716 -                          run sed PROGRAM on installed program names
2717 -EOF
2718 -    cat << EOF
2719 -Host type:
2720 -  --build=BUILD           configure for building on BUILD [BUILD=HOST]
2721 -  --host=HOST             configure for HOST [guessed]
2722 -  --target=TARGET         configure for TARGET [TARGET=HOST]
2723 -Features and packages:
2724 -  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
2725 -  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
2726 -  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
2727 -  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
2728 -  --x-includes=DIR        X include files are in DIR
2729 -  --x-libraries=DIR       X library files are in DIR
2730 -EOF
2731 -    if test -n "$ac_help"; then
2732 -      echo "--enable and --with options recognized:$ac_help"
2733 -    fi
2734 -    exit 0 ;;
2735 +  -help | --help | --hel | --he | -h)
2736 +    ac_init_help=long ;;
2737 +  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2738 +    ac_init_help=recursive ;;
2739 +  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2740 +    ac_init_help=short ;;
2741  
2742    -host | --host | --hos | --ho)
2743 -    ac_prev=host ;;
2744 +    ac_prev=host_alias ;;
2745    -host=* | --host=* | --hos=* | --ho=*)
2746 -    host="$ac_optarg" ;;
2747 +    host_alias=$ac_optarg ;;
2748  
2749    -includedir | --includedir | --includedi | --included | --include \
2750    | --includ | --inclu | --incl | --inc)
2751      ac_prev=includedir ;;
2752    -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2753    | --includ=* | --inclu=* | --incl=* | --inc=*)
2754 -    includedir="$ac_optarg" ;;
2755 +    includedir=$ac_optarg ;;
2756  
2757    -infodir | --infodir | --infodi | --infod | --info | --inf)
2758      ac_prev=infodir ;;
2759    -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2760 -    infodir="$ac_optarg" ;;
2761 +    infodir=$ac_optarg ;;
2762  
2763    -libdir | --libdir | --libdi | --libd)
2764      ac_prev=libdir ;;
2765    -libdir=* | --libdir=* | --libdi=* | --libd=*)
2766 -    libdir="$ac_optarg" ;;
2767 +    libdir=$ac_optarg ;;
2768  
2769    -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2770    | --libexe | --libex | --libe)
2771      ac_prev=libexecdir ;;
2772    -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2773    | --libexe=* | --libex=* | --libe=*)
2774 -    libexecdir="$ac_optarg" ;;
2775 +    libexecdir=$ac_optarg ;;
2776  
2777    -localstatedir | --localstatedir | --localstatedi | --localstated \
2778    | --localstate | --localstat | --localsta | --localst \
2779 @@ -401,12 +462,12 @@
2780    -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2781    | --localstate=* | --localstat=* | --localsta=* | --localst=* \
2782    | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
2783 -    localstatedir="$ac_optarg" ;;
2784 +    localstatedir=$ac_optarg ;;
2785  
2786    -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2787      ac_prev=mandir ;;
2788    -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2789 -    mandir="$ac_optarg" ;;
2790 +    mandir=$ac_optarg ;;
2791  
2792    -nfp | --nfp | --nf)
2793      # Obsolete; use --without-fp.
2794 @@ -427,26 +488,26 @@
2795    -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2796    | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2797    | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2798 -    oldincludedir="$ac_optarg" ;;
2799 +    oldincludedir=$ac_optarg ;;
2800  
2801    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2802      ac_prev=prefix ;;
2803    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2804 -    prefix="$ac_optarg" ;;
2805 +    prefix=$ac_optarg ;;
2806  
2807    -program-prefix | --program-prefix | --program-prefi | --program-pref \
2808    | --program-pre | --program-pr | --program-p)
2809      ac_prev=program_prefix ;;
2810    -program-prefix=* | --program-prefix=* | --program-prefi=* \
2811    | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2812 -    program_prefix="$ac_optarg" ;;
2813 +    program_prefix=$ac_optarg ;;
2814  
2815    -program-suffix | --program-suffix | --program-suffi | --program-suff \
2816    | --program-suf | --program-su | --program-s)
2817      ac_prev=program_suffix ;;
2818    -program-suffix=* | --program-suffix=* | --program-suffi=* \
2819    | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2820 -    program_suffix="$ac_optarg" ;;
2821 +    program_suffix=$ac_optarg ;;
2822  
2823    -program-transform-name | --program-transform-name \
2824    | --program-transform-nam | --program-transform-na \
2825 @@ -463,7 +524,7 @@
2826    | --program-transfo=* | --program-transf=* \
2827    | --program-trans=* | --program-tran=* \
2828    | --progr-tra=* | --program-tr=* | --program-t=*)
2829 -    program_transform_name="$ac_optarg" ;;
2830 +    program_transform_name=$ac_optarg ;;
2831  
2832    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2833    | -silent | --silent | --silen | --sile | --sil)
2834 @@ -473,7 +534,7 @@
2835      ac_prev=sbindir ;;
2836    -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2837    | --sbi=* | --sb=*)
2838 -    sbindir="$ac_optarg" ;;
2839 +    sbindir=$ac_optarg ;;
2840  
2841    -sharedstatedir | --sharedstatedir | --sharedstatedi \
2842    | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2843 @@ -484,58 +545,57 @@
2844    | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2845    | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2846    | --sha=* | --sh=*)
2847 -    sharedstatedir="$ac_optarg" ;;
2848 +    sharedstatedir=$ac_optarg ;;
2849  
2850    -site | --site | --sit)
2851      ac_prev=site ;;
2852    -site=* | --site=* | --sit=*)
2853 -    site="$ac_optarg" ;;
2854 +    site=$ac_optarg ;;
2855  
2856    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2857      ac_prev=srcdir ;;
2858    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2859 -    srcdir="$ac_optarg" ;;
2860 +    srcdir=$ac_optarg ;;
2861  
2862    -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2863    | --syscon | --sysco | --sysc | --sys | --sy)
2864      ac_prev=sysconfdir ;;
2865    -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2866    | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2867 -    sysconfdir="$ac_optarg" ;;
2868 +    sysconfdir=$ac_optarg ;;
2869  
2870    -target | --target | --targe | --targ | --tar | --ta | --t)
2871 -    ac_prev=target ;;
2872 +    ac_prev=target_alias ;;
2873    -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2874 -    target="$ac_optarg" ;;
2875 +    target_alias=$ac_optarg ;;
2876  
2877    -v | -verbose | --verbose | --verbos | --verbo | --verb)
2878      verbose=yes ;;
2879  
2880 -  -version | --version | --versio | --versi | --vers)
2881 -    echo "configure generated by autoconf version 2.13"
2882 -    exit 0 ;;
2883 +  -version | --version | --versio | --versi | --vers | -V)
2884 +    ac_init_version=: ;;
2885  
2886    -with-* | --with-*)
2887 -    ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
2888 +    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2889      # Reject names that are not valid shell variable names.
2890 -    if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
2891 -      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
2892 -    fi
2893 +    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
2894 +      { echo "$as_me: error: invalid package name: $ac_package" >&2
2895 +   { (exit 1); exit 1; }; }
2896      ac_package=`echo $ac_package| sed 's/-/_/g'`
2897 -    case "$ac_option" in
2898 -      *=*) ;;
2899 +    case $ac_option in
2900 +      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
2901        *) ac_optarg=yes ;;
2902      esac
2903 -    eval "with_${ac_package}='$ac_optarg'" ;;
2904 +    eval "with_$ac_package='$ac_optarg'" ;;
2905  
2906    -without-* | --without-*)
2907 -    ac_package=`echo $ac_option|sed -e 's/-*without-//'`
2908 +    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2909      # Reject names that are not valid shell variable names.
2910 -    if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
2911 -      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
2912 -    fi
2913 -    ac_package=`echo $ac_package| sed 's/-/_/g'`
2914 -    eval "with_${ac_package}=no" ;;
2915 +    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
2916 +      { echo "$as_me: error: invalid package name: $ac_package" >&2
2917 +   { (exit 1); exit 1; }; }
2918 +    ac_package=`echo $ac_package | sed 's/-/_/g'`
2919 +    eval "with_$ac_package=no" ;;
2920  
2921    --x)
2922      # Obsolete; use --with-x.
2923 @@ -546,98 +606,98 @@
2924      ac_prev=x_includes ;;
2925    -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2926    | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2927 -    x_includes="$ac_optarg" ;;
2928 +    x_includes=$ac_optarg ;;
2929  
2930    -x-libraries | --x-libraries | --x-librarie | --x-librari \
2931    | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2932      ac_prev=x_libraries ;;
2933    -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2934    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2935 -    x_libraries="$ac_optarg" ;;
2936 +    x_libraries=$ac_optarg ;;
2937  
2938 -  -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
2939 +  -*) { echo "$as_me: error: unrecognized option: $ac_option
2940 +Try \`$0 --help' for more information." >&2
2941 +   { (exit 1); exit 1; }; }
2942      ;;
2943  
2944 +  *=*)
2945 +    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2946 +    # Reject names that are not valid shell variable names.
2947 +    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
2948 +      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
2949 +   { (exit 1); exit 1; }; }
2950 +    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
2951 +    eval "$ac_envvar='$ac_optarg'"
2952 +    export $ac_envvar ;;
2953 +
2954    *)
2955 -    if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
2956 -      echo "configure: warning: $ac_option: invalid host type" 1>&2
2957 -    fi
2958 -    if test "x$nonopt" != xNONE; then
2959 -      { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
2960 -    fi
2961 -    nonopt="$ac_option"
2962 +    # FIXME: should be removed in autoconf 3.0.
2963 +    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2964 +    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2965 +      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2966 +    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
2967      ;;
2968  
2969    esac
2970  done
2971  
2972  if test -n "$ac_prev"; then
2973 -  { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
2974 -fi
2975 -
2976 -trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
2977 -
2978 -# File descriptor usage:
2979 -# 0 standard input
2980 -# 1 file creation
2981 -# 2 errors and warnings
2982 -# 3 some systems may open it to /dev/tty
2983 -# 4 used on the Kubota Titan
2984 -# 6 checking for... messages and results
2985 -# 5 compiler messages saved in config.log
2986 -if test "$silent" = yes; then
2987 -  exec 6>/dev/null
2988 -else
2989 -  exec 6>&1
2990 +  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2991 +  { echo "$as_me: error: missing argument to $ac_option" >&2
2992 +   { (exit 1); exit 1; }; }
2993  fi
2994 -exec 5>./config.log
2995  
2996 -echo "\
2997 -This file contains any messages produced by compilers while
2998 -running configure, to aid debugging if configure makes a mistake.
2999 -" 1>&5
3000 +# Be sure to have absolute paths.
3001 +for ac_var in exec_prefix prefix
3002 +do
3003 +  eval ac_val=$`echo $ac_var`
3004 +  case $ac_val in
3005 +    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
3006 +    *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
3007 +   { (exit 1); exit 1; }; };;
3008 +  esac
3009 +done
3010  
3011 -# Strip out --no-create and --no-recursion so they do not pile up.
3012 -# Also quote any args containing shell metacharacters.
3013 -ac_configure_args=
3014 -for ac_arg
3015 +# Be sure to have absolute paths.
3016 +for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
3017 +              localstatedir libdir includedir oldincludedir infodir mandir
3018  do
3019 -  case "$ac_arg" in
3020 -  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
3021 -  | --no-cr | --no-c) ;;
3022 -  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
3023 -  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
3024 -  *" "*|*"     "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
3025 -  ac_configure_args="$ac_configure_args '$ac_arg'" ;;
3026 -  *) ac_configure_args="$ac_configure_args $ac_arg" ;;
3027 +  eval ac_val=$`echo $ac_var`
3028 +  case $ac_val in
3029 +    [\\/$]* | ?:[\\/]* ) ;;
3030 +    *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
3031 +   { (exit 1); exit 1; }; };;
3032    esac
3033  done
3034  
3035 -# NLS nuisances.
3036 -# Only set these to C if already set.  These must not be set unconditionally
3037 -# because not all systems understand e.g. LANG=C (notably SCO).
3038 -# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
3039 -# Non-C LC_CTYPE values break the ctype check.
3040 -if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
3041 -if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
3042 -if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
3043 -if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
3044 +# There might be people who depend on the old broken behavior: `$host'
3045 +# used to hold the argument of --host etc.
3046 +build=$build_alias
3047 +host=$host_alias
3048 +target=$target_alias
3049 +
3050 +# FIXME: should be removed in autoconf 3.0.
3051 +if test "x$host_alias" != x; then
3052 +  if test "x$build_alias" = x; then
3053 +    cross_compiling=maybe
3054 +    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
3055 +    If a cross compiler is detected then cross compile mode will be used." >&2
3056 +  elif test "x$build_alias" != "x$host_alias"; then
3057 +    cross_compiling=yes
3058 +  fi
3059 +fi
3060  
3061 -# confdefs.h avoids OS command line length limits that DEFS can exceed.
3062 -rm -rf conftest* confdefs.h
3063 -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
3064 -echo > confdefs.h
3065 +ac_tool_prefix=
3066 +test -n "$host_alias" && ac_tool_prefix=$host_alias-
3067  
3068 -# A filename unique to this package, relative to the directory that
3069 -# configure is in, which we can look for to find out if srcdir is correct.
3070 -ac_unique_file=fribidi.c
3071 +test "$silent" = yes && exec 6>/dev/null
3072  
3073  # Find the source files, if location was not specified.
3074  if test -z "$srcdir"; then
3075    ac_srcdir_defaulted=yes
3076    # Try the directory containing this script, then its parent.
3077    ac_prog=$0
3078 -  ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
3079 +  ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
3080    test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
3081    srcdir=$ac_confdir
3082    if test ! -r $srcdir/$ac_unique_file; then
3083 @@ -648,13 +708,325 @@
3084  fi
3085  if test ! -r $srcdir/$ac_unique_file; then
3086    if test "$ac_srcdir_defaulted" = yes; then
3087 -    { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
3088 +    { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
3089 +   { (exit 1); exit 1; }; }
3090    else
3091 -    { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
3092 +    { echo "$as_me: error: cannot find sources in $srcdir" >&2
3093 +   { (exit 1); exit 1; }; }
3094    fi
3095  fi
3096 -srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
3097 +srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
3098 +ac_env_build_alias_set=${build_alias+set}
3099 +ac_env_build_alias_value=$build_alias
3100 +ac_cv_env_build_alias_set=${build_alias+set}
3101 +ac_cv_env_build_alias_value=$build_alias
3102 +ac_env_host_alias_set=${host_alias+set}
3103 +ac_env_host_alias_value=$host_alias
3104 +ac_cv_env_host_alias_set=${host_alias+set}
3105 +ac_cv_env_host_alias_value=$host_alias
3106 +ac_env_target_alias_set=${target_alias+set}
3107 +ac_env_target_alias_value=$target_alias
3108 +ac_cv_env_target_alias_set=${target_alias+set}
3109 +ac_cv_env_target_alias_value=$target_alias
3110 +ac_env_CC_set=${CC+set}
3111 +ac_env_CC_value=$CC
3112 +ac_cv_env_CC_set=${CC+set}
3113 +ac_cv_env_CC_value=$CC
3114 +ac_env_CFLAGS_set=${CFLAGS+set}
3115 +ac_env_CFLAGS_value=$CFLAGS
3116 +ac_cv_env_CFLAGS_set=${CFLAGS+set}
3117 +ac_cv_env_CFLAGS_value=$CFLAGS
3118 +ac_env_LDFLAGS_set=${LDFLAGS+set}
3119 +ac_env_LDFLAGS_value=$LDFLAGS
3120 +ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
3121 +ac_cv_env_LDFLAGS_value=$LDFLAGS
3122 +ac_env_CPPFLAGS_set=${CPPFLAGS+set}
3123 +ac_env_CPPFLAGS_value=$CPPFLAGS
3124 +ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
3125 +ac_cv_env_CPPFLAGS_value=$CPPFLAGS
3126 +ac_env_CPP_set=${CPP+set}
3127 +ac_env_CPP_value=$CPP
3128 +ac_cv_env_CPP_set=${CPP+set}
3129 +ac_cv_env_CPP_value=$CPP
3130 +
3131 +#
3132 +# Report the --help message.
3133 +#
3134 +if test "$ac_init_help" = "long"; then
3135 +  # Omit some internal or obsolete options to make the list less imposing.
3136 +  # This message is too long to be a string in the A/UX 3.1 sh.
3137 +  cat <<EOF
3138 +\`configure' configures this package to adapt to many kinds of systems.
3139 +
3140 +Usage: $0 [OPTION]... [VAR=VALUE]...
3141 +
3142 +To assign environment variables (e.g., CC, CFLAGS...), specify them as
3143 +VAR=VALUE.  See below for descriptions of some of the useful variables.
3144 +
3145 +Defaults for the options are specified in brackets.
3146 +
3147 +Configuration:
3148 +  -h, --help              display this help and exit
3149 +      --help=short        display options specific to this package
3150 +      --help=recursive    display the short help of all the included packages
3151 +  -V, --version           display version information and exit
3152 +  -q, --quiet, --silent   do not print \`checking...' messages
3153 +      --cache-file=FILE   cache test results in FILE [disabled]
3154 +  -C, --config-cache      alias for \`--cache-file=config.cache'
3155 +  -n, --no-create         do not create output files
3156 +      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
3157 +
3158 +EOF
3159 +
3160 +  cat <<EOF
3161 +Installation directories:
3162 +  --prefix=PREFIX         install architecture-independent files in PREFIX
3163 +                          [$ac_default_prefix]
3164 +  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
3165 +                          [PREFIX]
3166 +
3167 +By default, \`make install' will install all the files in
3168 +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
3169 +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
3170 +for instance \`--prefix=\$HOME'.
3171 +
3172 +For better control, use the options below.
3173 +
3174 +Fine tuning of the installation directories:
3175 +  --bindir=DIR           user executables [EPREFIX/bin]
3176 +  --sbindir=DIR          system admin executables [EPREFIX/sbin]
3177 +  --libexecdir=DIR       program executables [EPREFIX/libexec]
3178 +  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
3179 +  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
3180 +  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
3181 +  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
3182 +  --libdir=DIR           object code libraries [EPREFIX/lib]
3183 +  --includedir=DIR       C header files [PREFIX/include]
3184 +  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
3185 +  --infodir=DIR          info documentation [PREFIX/info]
3186 +  --mandir=DIR           man documentation [PREFIX/man]
3187 +EOF
3188 +
3189 +  cat <<\EOF
3190 +
3191 +Program names:
3192 +  --program-prefix=PREFIX            prepend PREFIX to installed program names
3193 +  --program-suffix=SUFFIX            append SUFFIX to installed program names
3194 +  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
3195 +
3196 +System types:
3197 +  --build=BUILD     configure for building on BUILD [guessed]
3198 +  --host=HOST       build programs to run on HOST [BUILD]
3199 +EOF
3200 +fi
3201 +
3202 +if test -n "$ac_init_help"; then
3203 +
3204 +  cat <<\EOF
3205 +
3206 +Optional Features:
3207 +  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
3208 +  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
3209 +  --disable-dependency-tracking Speeds up one-time builds
3210 +  --enable-dependency-tracking  Do not reject slow dependency extractors
3211 +  --enable-shared=PKGS  build shared libraries default=yes
3212 +  --enable-static=PKGS  build static libraries default=yes
3213 +  --enable-fast-install=PKGS  optimize for fast installation default=yes
3214 +  --disable-libtool-lock  avoid locking (might break parallel builds)
3215 +  --enable-debug          turn debugging information on default=no
3216 +  --enable-malloc         do not allocate chunks of memory  default=no
3217 +  --enable-memopt         optimize for memory usage default=no
3218 +
3219 +Optional Packages:
3220 +  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
3221 +  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
3222 +  --with-gnu-ld           assume the C compiler uses GNU ld default=no
3223 +  --with-pic              try to use only PIC/non-PIC objects default=use both
3224 +  --without-charsets      exclude character set converters from library
3225 +                          causes command-line tool to use iconv
3226 +
3227 +Some influential environment variables:
3228 +  CC          C compiler command
3229 +  CFLAGS      C compiler flags
3230 +  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
3231 +              nonstandard directory <lib dir>
3232 +  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
3233 +              headers in a nonstandard directory <include dir>
3234 +  CPP         C preprocessor
3235 +
3236 +Use these variables to override the choices made by `configure' or to help
3237 +it to find libraries and programs with nonstandard names/locations.
3238 +
3239 +EOF
3240 +fi
3241 +
3242 +if test "$ac_init_help" = "recursive"; then
3243 +  # If there are subdirs, report their specific --help.
3244 +  ac_popdir=`pwd`
3245 +  for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
3246 +    cd $ac_subdir
3247 +    # A "../" for each directory in /$ac_subdir.
3248 +    ac_dots=`echo $ac_subdir |
3249 +             sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
3250 +
3251 +    case $srcdir in
3252 +    .) # No --srcdir option.  We are building in place.
3253 +      ac_sub_srcdir=$srcdir ;;
3254 +    [\\/]* | ?:[\\/]* ) # Absolute path.
3255 +      ac_sub_srcdir=$srcdir/$ac_subdir ;;
3256 +    *) # Relative path.
3257 +      ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
3258 +    esac
3259 +
3260 +    # Check for guested configure; otherwise get Cygnus style configure.
3261 +    if test -f $ac_sub_srcdir/configure.gnu; then
3262 +      echo
3263 +      $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive
3264 +    elif test -f $ac_sub_srcdir/configure; then
3265 +      echo
3266 +      $SHELL $ac_sub_srcdir/configure  --help=recursive
3267 +    elif test -f $ac_sub_srcdir/configure.ac ||
3268 +           test -f $ac_sub_srcdir/configure.in; then
3269 +      echo
3270 +      $ac_configure --help
3271 +    else
3272 +      echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
3273 +    fi
3274 +    cd $ac_popdir
3275 +  done
3276 +fi
3277 +
3278 +test -n "$ac_init_help" && exit 0
3279 +if $ac_init_version; then
3280 +  cat <<\EOF
3281 +
3282 +Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
3283 +Free Software Foundation, Inc.
3284 +This configure script is free software; the Free Software Foundation
3285 +gives unlimited permission to copy, distribute and modify it.
3286 +EOF
3287 +  exit 0
3288 +fi
3289 +exec 5>config.log
3290 +cat >&5 <<EOF
3291 +This file contains any messages produced by compilers while
3292 +running configure, to aid debugging if configure makes a mistake.
3293 +
3294 +It was created by $as_me, which was
3295 +generated by GNU Autoconf 2.52.  Invocation command line was
3296 +
3297 +  $ $0 $@
3298 +
3299 +EOF
3300 +{
3301 +cat <<_ASUNAME
3302 +## ---------- ##
3303 +## Platform.  ##
3304 +## ---------- ##
3305 +
3306 +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3307 +uname -m = `(uname -m) 2>/dev/null || echo unknown`
3308 +uname -r = `(uname -r) 2>/dev/null || echo unknown`
3309 +uname -s = `(uname -s) 2>/dev/null || echo unknown`
3310 +uname -v = `(uname -v) 2>/dev/null || echo unknown`
3311 +
3312 +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3313 +/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
3314 +
3315 +/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
3316 +/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
3317 +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3318 +hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
3319 +/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
3320 +/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
3321 +/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
3322 +
3323 +PATH = $PATH
3324 +
3325 +_ASUNAME
3326 +} >&5
3327 +
3328 +cat >&5 <<EOF
3329 +## ------------ ##
3330 +## Core tests.  ##
3331 +## ------------ ##
3332 +
3333 +EOF
3334 +
3335 +# Keep a trace of the command line.
3336 +# Strip out --no-create and --no-recursion so they do not pile up.
3337 +# Also quote any args containing shell meta-characters.
3338 +ac_configure_args=
3339 +ac_sep=
3340 +for ac_arg
3341 +do
3342 +  case $ac_arg in
3343 +  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
3344 +  | --no-cr | --no-c) ;;
3345 +  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
3346 +  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
3347 +  *" "*|*"     "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
3348 +    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
3349 +    ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
3350 +    ac_sep=" " ;;
3351 +  *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
3352 +     ac_sep=" " ;;
3353 +  esac
3354 +  # Get rid of the leading space.
3355 +done
3356 +
3357 +# When interrupted or exit'd, cleanup temporary files, and complete
3358 +# config.log.  We remove comments because anyway the quotes in there
3359 +# would cause problems or look ugly.
3360 +trap 'exit_status=$?
3361 +  # Save into config.log some information that might help in debugging.
3362 +  echo >&5
3363 +  echo "## ----------------- ##" >&5
3364 +  echo "## Cache variables.  ##" >&5
3365 +  echo "## ----------------- ##" >&5
3366 +  echo >&5
3367 +  # The following way of writing the cache mishandles newlines in values,
3368 +{
3369 +  (set) 2>&1 |
3370 +    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
3371 +    *ac_space=\ *)
3372 +      sed -n \
3373 +        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
3374 +         s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
3375 +      ;;
3376 +    *)
3377 +      sed -n \
3378 +        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3379 +      ;;
3380 +    esac;
3381 +} >&5
3382 +  sed "/^$/d" confdefs.h >conftest.log
3383 +  if test -s conftest.log; then
3384 +    echo >&5
3385 +    echo "## ------------ ##" >&5
3386 +    echo "## confdefs.h.  ##" >&5
3387 +    echo "## ------------ ##" >&5
3388 +    echo >&5
3389 +    cat conftest.log >&5
3390 +  fi
3391 +  (echo; echo) >&5
3392 +  test "$ac_signal" != 0 &&
3393 +    echo "$as_me: caught signal $ac_signal" >&5
3394 +  echo "$as_me: exit $exit_status" >&5
3395 +  rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
3396 +    exit $exit_status
3397 +     ' 0
3398 +for ac_signal in 1 2 13 15; do
3399 +  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
3400 +done
3401 +ac_signal=0
3402  
3403 +# confdefs.h avoids OS command line length limits that DEFS can exceed.
3404 +rm -rf conftest* confdefs.h
3405 +# AIX cpp loses on an empty file, so make sure it contains at least a newline.
3406 +echo >confdefs.h
3407 +
3408 +# Let the site file select an alternate cache file if it wants to.
3409  # Prefer explicitly selected file to automatically selected ones.
3410  if test -z "$CONFIG_SITE"; then
3411    if test "x$prefix" != xNONE; then
3412 @@ -665,41 +1037,107 @@
3413  fi
3414  for ac_site_file in $CONFIG_SITE; do
3415    if test -r "$ac_site_file"; then
3416 -    echo "loading site script $ac_site_file"
3417 +    { echo "$as_me:1040: loading site script $ac_site_file" >&5
3418 +echo "$as_me: loading site script $ac_site_file" >&6;}
3419 +    cat "$ac_site_file" >&5
3420      . "$ac_site_file"
3421    fi
3422  done
3423  
3424  if test -r "$cache_file"; then
3425 -  echo "loading cache $cache_file"
3426 -  . $cache_file
3427 +  # Some versions of bash will fail to source /dev/null (special
3428 +  # files actually), so we avoid doing that.
3429 +  if test -f "$cache_file"; then
3430 +    { echo "$as_me:1051: loading cache $cache_file" >&5
3431 +echo "$as_me: loading cache $cache_file" >&6;}
3432 +    case $cache_file in
3433 +      [\\/]* | ?:[\\/]* ) . $cache_file;;
3434 +      *)                      . ./$cache_file;;
3435 +    esac
3436 +  fi
3437  else
3438 -  echo "creating cache $cache_file"
3439 -  > $cache_file
3440 +  { echo "$as_me:1059: creating cache $cache_file" >&5
3441 +echo "$as_me: creating cache $cache_file" >&6;}
3442 +  >$cache_file
3443 +fi
3444 +
3445 +# Check that the precious variables saved in the cache have kept the same
3446 +# value.
3447 +ac_cache_corrupted=false
3448 +for ac_var in `(set) 2>&1 |
3449 +               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
3450 +  eval ac_old_set=\$ac_cv_env_${ac_var}_set
3451 +  eval ac_new_set=\$ac_env_${ac_var}_set
3452 +  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
3453 +  eval ac_new_val="\$ac_env_${ac_var}_value"
3454 +  case $ac_old_set,$ac_new_set in
3455 +    set,)
3456 +      { echo "$as_me:1075: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3457 +echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3458 +      ac_cache_corrupted=: ;;
3459 +    ,set)
3460 +      { echo "$as_me:1079: error: \`$ac_var' was not set in the previous run" >&5
3461 +echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3462 +      ac_cache_corrupted=: ;;
3463 +    ,);;
3464 +    *)
3465 +      if test "x$ac_old_val" != "x$ac_new_val"; then
3466 +        { echo "$as_me:1085: error: \`$ac_var' has changed since the previous run:" >&5
3467 +echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3468 +        { echo "$as_me:1087:   former value:  $ac_old_val" >&5
3469 +echo "$as_me:   former value:  $ac_old_val" >&2;}
3470 +        { echo "$as_me:1089:   current value: $ac_new_val" >&5
3471 +echo "$as_me:   current value: $ac_new_val" >&2;}
3472 +        ac_cache_corrupted=:
3473 +      fi;;
3474 +  esac
3475 +  # Pass precious variables to config.status.  It doesn't matter if
3476 +  # we pass some twice (in addition to the command line arguments).
3477 +  if test "$ac_new_set" = set; then
3478 +    case $ac_new_val in
3479 +    *" "*|*"   "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
3480 +      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
3481 +      ac_configure_args="$ac_configure_args '$ac_arg'"
3482 +      ;;
3483 +    *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
3484 +       ;;
3485 +    esac
3486 +  fi
3487 +done
3488 +if $ac_cache_corrupted; then
3489 +  { echo "$as_me:1108: error: changes in the environment can compromise the build" >&5
3490 +echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3491 +  { { echo "$as_me:1110: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
3492 +echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
3493 +   { (exit 1); exit 1; }; }
3494  fi
3495  
3496  ac_ext=c
3497 -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3498  ac_cpp='$CPP $CPPFLAGS'
3499 -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3500 -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3501 -cross_compiling=$ac_cv_prog_cc_cross
3502 -
3503 -ac_exeext=
3504 -ac_objext=o
3505 -if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
3506 -  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
3507 -  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
3508 -    ac_n= ac_c='
3509 -' ac_t='       '
3510 -  else
3511 -    ac_n=-n ac_c= ac_t=
3512 -  fi
3513 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3514 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3515 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3516 +
3517 +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3518 +  *c*,-n*) ECHO_N= ECHO_C='
3519 +' ECHO_T='     ' ;;
3520 +  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3521 +  *)      ECHO_N= ECHO_C='\c' ECHO_T= ;;
3522 +esac
3523 +echo "#! $SHELL" >conftest.sh
3524 +echo  "exit 0"   >>conftest.sh
3525 +chmod +x conftest.sh
3526 +if { (echo "$as_me:1130: PATH=\".;.\"; conftest.sh") >&5
3527 +  (PATH=".;."; conftest.sh) 2>&5
3528 +  ac_status=$?
3529 +  echo "$as_me:1133: \$? = $ac_status" >&5
3530 +  (exit $ac_status); }; then
3531 +  ac_path_separator=';'
3532  else
3533 -  ac_n= ac_c='\c' ac_t=
3534 +  ac_path_separator=:
3535  fi
3536 -
3537 -
3538 +PATH_SEPARATOR="$ac_path_separator"
3539 +rm -f conftest.sh
3540  
3541  # Define different version variables.
3542  #
3543 @@ -728,21 +1166,14 @@
3544  FRIBIDI_RPM_RELEASE=0
3545  FRIBIDI_VERSION=$FRIBIDI_MAJOR_VERSION.$FRIBIDI_MINOR_VERSION.$FRIBIDI_MICRO_VERSION
3546  
3547 -
3548 -
3549 -
3550 -
3551 -
3552 -
3553 -
3554 -
3555 -
3556  PACKAGE=fribidi
3557  VERSION=$FRIBIDI_VERSION
3558  
3559 +# Add the stamp file to the list of files AC keeps track of,
3560 +# along with our hook.
3561 +ac_config_headers="$ac_config_headers config.h"
3562  
3563 -
3564 -
3565 +am__api_version="1.6"
3566  ac_aux_dir=
3567  for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
3568    if test -f $ac_dir/install-sh; then
3569 @@ -753,14 +1184,20 @@
3570      ac_aux_dir=$ac_dir
3571      ac_install_sh="$ac_aux_dir/install.sh -c"
3572      break
3573 +  elif test -f $ac_dir/shtool; then
3574 +    ac_aux_dir=$ac_dir
3575 +    ac_install_sh="$ac_aux_dir/shtool install -c"
3576 +    break
3577    fi
3578  done
3579  if test -z "$ac_aux_dir"; then
3580 -  { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
3581 -fi
3582 -ac_config_guess=$ac_aux_dir/config.guess
3583 -ac_config_sub=$ac_aux_dir/config.sub
3584 -ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
3585 +  { { echo "$as_me:1194: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
3586 +echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
3587 +   { (exit 1); exit 1; }; }
3588 +fi
3589 +ac_config_guess="$SHELL $ac_aux_dir/config.guess"
3590 +ac_config_sub="$SHELL $ac_aux_dir/config.sub"
3591 +ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
3592  
3593  # Find a good install program.  We prefer a C program (faster),
3594  # so one script is as good as another.  But avoid the broken or
3595 @@ -769,31 +1206,39 @@
3596  # SunOS /usr/etc/install
3597  # IRIX /sbin/install
3598  # AIX /bin/install
3599 +# AmigaOS /C/install, which installs bootblocks on floppy discs
3600  # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3601  # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3602  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3603  # ./install, which can be erroneously created by make from ./install.sh.
3604 -echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
3605 -echo "configure:778: checking for a BSD compatible install" >&5
3606 +echo "$as_me:1214: checking for a BSD compatible install" >&5
3607 +echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
3608  if test -z "$INSTALL"; then
3609 -if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
3610 -  echo $ac_n "(cached) $ac_c" 1>&6
3611 +if test "${ac_cv_path_install+set}" = set; then
3612 +  echo $ECHO_N "(cached) $ECHO_C" >&6
3613  else
3614 -    IFS="${IFS=        }"; ac_save_IFS="$IFS"; IFS=":"
3615 +    ac_save_IFS=$IFS; IFS=$ac_path_separator
3616    for ac_dir in $PATH; do
3617 +    IFS=$ac_save_IFS
3618      # Account for people who put trailing slashes in PATH elements.
3619 -    case "$ac_dir/" in
3620 -    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
3621 +    case $ac_dir/ in
3622 +    / | ./ | .// | /cC/* \
3623 +    | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
3624 +    | /usr/ucb/* ) ;;
3625      *)
3626        # OSF1 and SCO ODT 3.0 have their own names for install.
3627        # Don't use installbsd from OSF since it installs stuff as root
3628        # by default.
3629        for ac_prog in ginstall scoinst install; do
3630 -        if test -f $ac_dir/$ac_prog; then
3631 +        if $as_executable_p "$ac_dir/$ac_prog"; then
3632           if test $ac_prog = install &&
3633 -            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
3634 +            grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
3635             # AIX install.  It has an incompatible calling convention.
3636             :
3637 +         elif test $ac_prog = install &&
3638 +           grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
3639 +           # program-specific install script used by HP pwplus--don't use.
3640 +           :
3641           else
3642             ac_cv_path_install="$ac_dir/$ac_prog -c"
3643             break 2
3644 @@ -803,441 +1248,896 @@
3645        ;;
3646      esac
3647    done
3648 -  IFS="$ac_save_IFS"
3649  
3650  fi
3651    if test "${ac_cv_path_install+set}" = set; then
3652 -    INSTALL="$ac_cv_path_install"
3653 +    INSTALL=$ac_cv_path_install
3654    else
3655      # As a last resort, use the slow shell script.  We don't cache a
3656      # path for INSTALL within a source directory, because that will
3657      # break other packages using the cache if that directory is
3658      # removed, or if the path is relative.
3659 -    INSTALL="$ac_install_sh"
3660 +    INSTALL=$ac_install_sh
3661    fi
3662  fi
3663 -echo "$ac_t""$INSTALL" 1>&6
3664 +echo "$as_me:1263: result: $INSTALL" >&5
3665 +echo "${ECHO_T}$INSTALL" >&6
3666  
3667  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3668  # It thinks the first close brace ends the variable substitution.
3669  test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3670  
3671 -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
3672 +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3673  
3674  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3675  
3676 -echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
3677 -echo "configure:831: checking whether build environment is sane" >&5
3678 +echo "$as_me:1274: checking whether build environment is sane" >&5
3679 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
3680  # Just in case
3681  sleep 1
3682 -echo timestamp > conftestfile
3683 +echo timestamp > conftest.file
3684  # Do `set' in a subshell so we don't clobber the current shell's
3685  # arguments.  Must try -L first in case configure is actually a
3686  # symlink; some systems play weird games with the mod time of symlinks
3687  # (eg FreeBSD returns the mod time of the symlink's containing
3688  # directory).
3689  if (
3690 -   set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
3691 +   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
3692     if test "$*" = "X"; then
3693        # -L didn't work.
3694 -      set X `ls -t $srcdir/configure conftestfile`
3695 +      set X `ls -t $srcdir/configure conftest.file`
3696     fi
3697 -   if test "$*" != "X $srcdir/configure conftestfile" \
3698 -      && test "$*" != "X conftestfile $srcdir/configure"; then
3699 +   rm -f conftest.file
3700 +   if test "$*" != "X $srcdir/configure conftest.file" \
3701 +      && test "$*" != "X conftest.file $srcdir/configure"; then
3702  
3703        # If neither matched, then we have a broken ls.  This can happen
3704        # if, for instance, CONFIG_SHELL is bash and it inherits a
3705        # broken ls alias from the environment.  This has actually
3706        # happened.  Such a system could not be considered "sane".
3707 -      { echo "configure: error: ls -t appears to fail.  Make sure there is not a broken
3708 -alias in your environment" 1>&2; exit 1; }
3709 +      { { echo "$as_me:1298: error: ls -t appears to fail.  Make sure there is not a broken
3710 +alias in your environment" >&5
3711 +echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
3712 +alias in your environment" >&2;}
3713 +   { (exit 1); exit 1; }; }
3714     fi
3715  
3716 -   test "$2" = conftestfile
3717 +   test "$2" = conftest.file
3718     )
3719  then
3720     # Ok.
3721     :
3722  else
3723 -   { echo "configure: error: newly created file is older than distributed files!
3724 -Check your system clock" 1>&2; exit 1; }
3725 -fi
3726 -rm -f conftest*
3727 -echo "$ac_t""yes" 1>&6
3728 -if test "$program_transform_name" = s,x,x,; then
3729 -  program_transform_name=
3730 -else
3731 -  # Double any \ or $.  echo might interpret backslashes.
3732 -  cat <<\EOF_SED > conftestsed
3733 -s,\\,\\\\,g; s,\$,$$,g
3734 -EOF_SED
3735 -  program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
3736 -  rm -f conftestsed
3737 +   { { echo "$as_me:1311: error: newly created file is older than distributed files!
3738 +Check your system clock" >&5
3739 +echo "$as_me: error: newly created file is older than distributed files!
3740 +Check your system clock" >&2;}
3741 +   { (exit 1); exit 1; }; }
3742  fi
3743 +echo "$as_me:1317: result: yes" >&5
3744 +echo "${ECHO_T}yes" >&6
3745  test "$program_prefix" != NONE &&
3746 -  program_transform_name="s,^,${program_prefix},; $program_transform_name"
3747 +  program_transform_name="s,^,$program_prefix,;$program_transform_name"
3748  # Use a double $ so make ignores it.
3749  test "$program_suffix" != NONE &&
3750 -  program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
3751 +  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
3752 +# Double any \ or $.  echo might interpret backslashes.
3753 +# By default was `s,x,x', remove it if useless.
3754 +cat <<\_ACEOF >conftest.sed
3755 +s/[\\$]/&&/g;s/;s,x,x,$//
3756 +_ACEOF
3757 +program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
3758 +rm conftest.sed
3759 +
3760 +# expand $ac_aux_dir to an absolute path
3761 +am_aux_dir=`cd $ac_aux_dir && pwd`
3762 +
3763 +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
3764 +# Use eval to expand $SHELL
3765 +if eval "$MISSING --run true"; then
3766 +  am_missing_run="$MISSING --run "
3767 +else
3768 +  am_missing_run=
3769 +  { echo "$as_me:1341: WARNING: \`missing' script is too old or missing" >&5
3770 +echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3771 +fi
3772 +
3773 +for ac_prog in mawk gawk nawk awk
3774 +do
3775 +  # Extract the first word of "$ac_prog", so it can be a program name with args.
3776 +set dummy $ac_prog; ac_word=$2
3777 +echo "$as_me:1349: checking for $ac_word" >&5
3778 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3779 +if test "${ac_cv_prog_AWK+set}" = set; then
3780 +  echo $ECHO_N "(cached) $ECHO_C" >&6
3781 +else
3782 +  if test -n "$AWK"; then
3783 +  ac_cv_prog_AWK="$AWK" # Let the user override the test.
3784 +else
3785 +  ac_save_IFS=$IFS; IFS=$ac_path_separator
3786 +ac_dummy="$PATH"
3787 +for ac_dir in $ac_dummy; do
3788 +  IFS=$ac_save_IFS
3789 +  test -z "$ac_dir" && ac_dir=.
3790 +  $as_executable_p "$ac_dir/$ac_word" || continue
3791 +ac_cv_prog_AWK="$ac_prog"
3792 +echo "$as_me:1364: found $ac_dir/$ac_word" >&5
3793 +break
3794 +done
3795 +
3796 +fi
3797 +fi
3798 +AWK=$ac_cv_prog_AWK
3799 +if test -n "$AWK"; then
3800 +  echo "$as_me:1372: result: $AWK" >&5
3801 +echo "${ECHO_T}$AWK" >&6
3802 +else
3803 +  echo "$as_me:1375: result: no" >&5
3804 +echo "${ECHO_T}no" >&6
3805 +fi
3806  
3807 -# sed with no file args requires a program.
3808 -test "$program_transform_name" = "" && program_transform_name="s,x,x,"
3809 +  test -n "$AWK" && break
3810 +done
3811  
3812 -echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
3813 -echo "configure:888: checking whether ${MAKE-make} sets \${MAKE}" >&5
3814 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
3815 -if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
3816 -  echo $ac_n "(cached) $ac_c" 1>&6
3817 +echo "$as_me:1382: checking whether ${MAKE-make} sets \${MAKE}" >&5
3818 +echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
3819 +set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
3820 +if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3821 +  echo $ECHO_N "(cached) $ECHO_C" >&6
3822  else
3823 -  cat > conftestmake <<\EOF
3824 +  cat >conftest.make <<\EOF
3825  all:
3826         @echo 'ac_maketemp="${MAKE}"'
3827  EOF
3828  # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3829 -eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
3830 +eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3831  if test -n "$ac_maketemp"; then
3832    eval ac_cv_prog_make_${ac_make}_set=yes
3833  else
3834    eval ac_cv_prog_make_${ac_make}_set=no
3835  fi
3836 -rm -f conftestmake
3837 +rm -f conftest.make
3838  fi
3839  if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3840 -  echo "$ac_t""yes" 1>&6
3841 +  echo "$as_me:1402: result: yes" >&5
3842 +echo "${ECHO_T}yes" >&6
3843    SET_MAKE=
3844  else
3845 -  echo "$ac_t""no" 1>&6
3846 +  echo "$as_me:1406: result: no" >&5
3847 +echo "${ECHO_T}no" >&6
3848    SET_MAKE="MAKE=${MAKE-make}"
3849  fi
3850  
3851 + # test to see if srcdir already configured
3852 +if test "`cd $srcdir && pwd`" != "`pwd`" &&
3853 +   test -f $srcdir/config.status; then
3854 +  { { echo "$as_me:1414: error: source directory already configured; run \"make distclean\" there first" >&5
3855 +echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
3856 +   { (exit 1); exit 1; }; }
3857 +fi
3858  
3859 -PACKAGE=$PACKAGE
3860 -
3861 -VERSION=$VERSION
3862 +# Define the identity of the package.
3863 + PACKAGE=$PACKAGE
3864 + VERSION=$VERSION
3865  
3866 -if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
3867 -  { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
3868 -fi
3869 -cat >> confdefs.h <<EOF
3870 +cat >>confdefs.h <<EOF
3871  #define PACKAGE "$PACKAGE"
3872  EOF
3873  
3874 -cat >> confdefs.h <<EOF
3875 +cat >>confdefs.h <<EOF
3876  #define VERSION "$VERSION"
3877  EOF
3878  
3879 +# Some tools Automake needs.
3880 +
3881 +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3882 +
3883 +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3884 +
3885 +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3886 +
3887 +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3888 +
3889 +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3890 +
3891 +AMTAR=${AMTAR-"${am_missing_run}tar"}
3892 +
3893 +install_sh=${install_sh-"$am_aux_dir/install-sh"}
3894 +
3895 +# Installed binaries are usually stripped using `strip' when the user
3896 +# run `make install-strip'.  However `strip' might not be the right
3897 +# tool to use in cross-compilation environments, therefore Automake
3898 +# will honor the `STRIP' environment variable to overrule this program.
3899 +if test "$cross_compiling" != no; then
3900 +  if test -n "$ac_tool_prefix"; then
3901 +  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3902 +set dummy ${ac_tool_prefix}strip; ac_word=$2
3903 +echo "$as_me:1455: checking for $ac_word" >&5
3904 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3905 +if test "${ac_cv_prog_STRIP+set}" = set; then
3906 +  echo $ECHO_N "(cached) $ECHO_C" >&6
3907 +else
3908 +  if test -n "$STRIP"; then
3909 +  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3910 +else
3911 +  ac_save_IFS=$IFS; IFS=$ac_path_separator
3912 +ac_dummy="$PATH"
3913 +for ac_dir in $ac_dummy; do
3914 +  IFS=$ac_save_IFS
3915 +  test -z "$ac_dir" && ac_dir=.
3916 +  $as_executable_p "$ac_dir/$ac_word" || continue
3917 +ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3918 +echo "$as_me:1470: found $ac_dir/$ac_word" >&5
3919 +break
3920 +done
3921 +
3922 +fi
3923 +fi
3924 +STRIP=$ac_cv_prog_STRIP
3925 +if test -n "$STRIP"; then
3926 +  echo "$as_me:1478: result: $STRIP" >&5
3927 +echo "${ECHO_T}$STRIP" >&6
3928 +else
3929 +  echo "$as_me:1481: result: no" >&5
3930 +echo "${ECHO_T}no" >&6
3931 +fi
3932 +
3933 +fi
3934 +if test -z "$ac_cv_prog_STRIP"; then
3935 +  ac_ct_STRIP=$STRIP
3936 +  # Extract the first word of "strip", so it can be a program name with args.
3937 +set dummy strip; ac_word=$2
3938 +echo "$as_me:1490: checking for $ac_word" >&5
3939 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3940 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3941 +  echo $ECHO_N "(cached) $ECHO_C" >&6
3942 +else
3943 +  if test -n "$ac_ct_STRIP"; then
3944 +  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3945 +else
3946 +  ac_save_IFS=$IFS; IFS=$ac_path_separator
3947 +ac_dummy="$PATH"
3948 +for ac_dir in $ac_dummy; do
3949 +  IFS=$ac_save_IFS
3950 +  test -z "$ac_dir" && ac_dir=.
3951 +  $as_executable_p "$ac_dir/$ac_word" || continue
3952 +ac_cv_prog_ac_ct_STRIP="strip"
3953 +echo "$as_me:1505: found $ac_dir/$ac_word" >&5
3954 +break
3955 +done
3956  
3957 +  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
3958 +fi
3959 +fi
3960 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3961 +if test -n "$ac_ct_STRIP"; then
3962 +  echo "$as_me:1514: result: $ac_ct_STRIP" >&5
3963 +echo "${ECHO_T}$ac_ct_STRIP" >&6
3964 +else
3965 +  echo "$as_me:1517: result: no" >&5
3966 +echo "${ECHO_T}no" >&6
3967 +fi
3968  
3969 -missing_dir=`cd $ac_aux_dir && pwd`
3970 -echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
3971 -echo "configure:934: checking for working aclocal" >&5
3972 -# Run test in a subshell; some versions of sh will print an error if
3973 -# an executable is not found, even if stderr is redirected.
3974 -# Redirect stdin to placate older versions of autoconf.  Sigh.
3975 -if (aclocal --version) < /dev/null > /dev/null 2>&1; then
3976 -   ACLOCAL=aclocal
3977 -   echo "$ac_t""found" 1>&6
3978 -else
3979 -   ACLOCAL="$missing_dir/missing aclocal"
3980 -   echo "$ac_t""missing" 1>&6
3981 -fi
3982 -
3983 -echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
3984 -echo "configure:947: checking for working autoconf" >&5
3985 -# Run test in a subshell; some versions of sh will print an error if
3986 -# an executable is not found, even if stderr is redirected.
3987 -# Redirect stdin to placate older versions of autoconf.  Sigh.
3988 -if (autoconf --version) < /dev/null > /dev/null 2>&1; then
3989 -   AUTOCONF=autoconf
3990 -   echo "$ac_t""found" 1>&6
3991 -else
3992 -   AUTOCONF="$missing_dir/missing autoconf"
3993 -   echo "$ac_t""missing" 1>&6
3994 -fi
3995 -
3996 -echo $ac_n "checking for working automake""... $ac_c" 1>&6
3997 -echo "configure:960: checking for working automake" >&5
3998 -# Run test in a subshell; some versions of sh will print an error if
3999 -# an executable is not found, even if stderr is redirected.
4000 -# Redirect stdin to placate older versions of autoconf.  Sigh.
4001 -if (automake --version) < /dev/null > /dev/null 2>&1; then
4002 -   AUTOMAKE=automake
4003 -   echo "$ac_t""found" 1>&6
4004 -else
4005 -   AUTOMAKE="$missing_dir/missing automake"
4006 -   echo "$ac_t""missing" 1>&6
4007 -fi
4008 -
4009 -echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
4010 -echo "configure:973: checking for working autoheader" >&5
4011 -# Run test in a subshell; some versions of sh will print an error if
4012 -# an executable is not found, even if stderr is redirected.
4013 -# Redirect stdin to placate older versions of autoconf.  Sigh.
4014 -if (autoheader --version) < /dev/null > /dev/null 2>&1; then
4015 -   AUTOHEADER=autoheader
4016 -   echo "$ac_t""found" 1>&6
4017 -else
4018 -   AUTOHEADER="$missing_dir/missing autoheader"
4019 -   echo "$ac_t""missing" 1>&6
4020 -fi
4021 -
4022 -echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
4023 -echo "configure:986: checking for working makeinfo" >&5
4024 -# Run test in a subshell; some versions of sh will print an error if
4025 -# an executable is not found, even if stderr is redirected.
4026 -# Redirect stdin to placate older versions of autoconf.  Sigh.
4027 -if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
4028 -   MAKEINFO=makeinfo
4029 -   echo "$ac_t""found" 1>&6
4030 +  STRIP=$ac_ct_STRIP
4031  else
4032 -   MAKEINFO="$missing_dir/missing makeinfo"
4033 -   echo "$ac_t""missing" 1>&6
4034 +  STRIP="$ac_cv_prog_STRIP"
4035  fi
4036  
4037 +fi
4038 +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
4039  
4040 +# We need awk for the "check" target.  The system "awk" is bad on
4041 +# some platforms.
4042  
4043 -for ac_prog in gawk mawk nawk awk
4044 +for ac_prog in mawk gawk nawk awk
4045  do
4046 -# Extract the first word of "$ac_prog", so it can be a program name with args.
4047 +  # Extract the first word of "$ac_prog", so it can be a program name with args.
4048  set dummy $ac_prog; ac_word=$2
4049 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
4050 -echo "configure:1005: checking for $ac_word" >&5
4051 -if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
4052 -  echo $ac_n "(cached) $ac_c" 1>&6
4053 +echo "$as_me:1536: checking for $ac_word" >&5
4054 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4055 +if test "${ac_cv_prog_AWK+set}" = set; then
4056 +  echo $ECHO_N "(cached) $ECHO_C" >&6
4057  else
4058    if test -n "$AWK"; then
4059    ac_cv_prog_AWK="$AWK" # Let the user override the test.
4060  else
4061 -  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
4062 -  ac_dummy="$PATH"
4063 -  for ac_dir in $ac_dummy; do
4064 -    test -z "$ac_dir" && ac_dir=.
4065 -    if test -f $ac_dir/$ac_word; then
4066 -      ac_cv_prog_AWK="$ac_prog"
4067 -      break
4068 -    fi
4069 -  done
4070 -  IFS="$ac_save_ifs"
4071 +  ac_save_IFS=$IFS; IFS=$ac_path_separator
4072 +ac_dummy="$PATH"
4073 +for ac_dir in $ac_dummy; do
4074 +  IFS=$ac_save_IFS
4075 +  test -z "$ac_dir" && ac_dir=.
4076 +  $as_executable_p "$ac_dir/$ac_word" || continue
4077 +ac_cv_prog_AWK="$ac_prog"
4078 +echo "$as_me:1551: found $ac_dir/$ac_word" >&5
4079 +break
4080 +done
4081 +
4082  fi
4083  fi
4084 -AWK="$ac_cv_prog_AWK"
4085 +AWK=$ac_cv_prog_AWK
4086  if test -n "$AWK"; then
4087 -  echo "$ac_t""$AWK" 1>&6
4088 +  echo "$as_me:1559: result: $AWK" >&5
4089 +echo "${ECHO_T}$AWK" >&6
4090  else
4091 -  echo "$ac_t""no" 1>&6
4092 +  echo "$as_me:1562: result: no" >&5
4093 +echo "${ECHO_T}no" >&6
4094  fi
4095  
4096 -test -n "$AWK" && break
4097 +  test -n "$AWK" && break
4098  done
4099  
4100 -# Extract the first word of "gcc", so it can be a program name with args.
4101 -set dummy gcc; ac_word=$2
4102 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
4103 -echo "configure:1037: checking for $ac_word" >&5
4104 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
4105 -  echo $ac_n "(cached) $ac_c" 1>&6
4106 -else
4107 -  if test -n "$CC"; then
4108 +ac_ext=c
4109 +ac_cpp='$CPP $CPPFLAGS'
4110 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4111 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4112 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
4113 +if test -n "$ac_tool_prefix"; then
4114 +  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4115 +set dummy ${ac_tool_prefix}gcc; ac_word=$2
4116 +echo "$as_me:1577: checking for $ac_word" >&5
4117 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4118 +if test "${ac_cv_prog_CC+set}" = set; then
4119 +  echo $ECHO_N "(cached) $ECHO_C" >&6
4120 +else
4121 +  if test -n "$CC"; then
4122    ac_cv_prog_CC="$CC" # Let the user override the test.
4123  else
4124 -  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
4125 -  ac_dummy="$PATH"
4126 -  for ac_dir in $ac_dummy; do
4127 -    test -z "$ac_dir" && ac_dir=.
4128 -    if test -f $ac_dir/$ac_word; then
4129 -      ac_cv_prog_CC="gcc"
4130 -      break
4131 -    fi
4132 -  done
4133 -  IFS="$ac_save_ifs"
4134 +  ac_save_IFS=$IFS; IFS=$ac_path_separator
4135 +ac_dummy="$PATH"
4136 +for ac_dir in $ac_dummy; do
4137 +  IFS=$ac_save_IFS
4138 +  test -z "$ac_dir" && ac_dir=.
4139 +  $as_executable_p "$ac_dir/$ac_word" || continue
4140 +ac_cv_prog_CC="${ac_tool_prefix}gcc"
4141 +echo "$as_me:1592: found $ac_dir/$ac_word" >&5
4142 +break
4143 +done
4144 +
4145  fi
4146  fi
4147 -CC="$ac_cv_prog_CC"
4148 +CC=$ac_cv_prog_CC
4149  if test -n "$CC"; then
4150 -  echo "$ac_t""$CC" 1>&6
4151 +  echo "$as_me:1600: result: $CC" >&5
4152 +echo "${ECHO_T}$CC" >&6
4153 +else
4154 +  echo "$as_me:1603: result: no" >&5
4155 +echo "${ECHO_T}no" >&6
4156 +fi
4157 +
4158 +fi
4159 +if test -z "$ac_cv_prog_CC"; then
4160 +  ac_ct_CC=$CC
4161 +  # Extract the first word of "gcc", so it can be a program name with args.
4162 +set dummy gcc; ac_word=$2
4163 +echo "$as_me:1612: checking for $ac_word" >&5
4164 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4165 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4166 +  echo $ECHO_N "(cached) $ECHO_C" >&6
4167 +else
4168 +  if test -n "$ac_ct_CC"; then
4169 +  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4170 +else
4171 +  ac_save_IFS=$IFS; IFS=$ac_path_separator
4172 +ac_dummy="$PATH"
4173 +for ac_dir in $ac_dummy; do
4174 +  IFS=$ac_save_IFS
4175 +  test -z "$ac_dir" && ac_dir=.
4176 +  $as_executable_p "$ac_dir/$ac_word" || continue
4177 +ac_cv_prog_ac_ct_CC="gcc"
4178 +echo "$as_me:1627: found $ac_dir/$ac_word" >&5
4179 +break
4180 +done
4181 +
4182 +fi
4183 +fi
4184 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
4185 +if test -n "$ac_ct_CC"; then
4186 +  echo "$as_me:1635: result: $ac_ct_CC" >&5
4187 +echo "${ECHO_T}$ac_ct_CC" >&6
4188 +else
4189 +  echo "$as_me:1638: result: no" >&5
4190 +echo "${ECHO_T}no" >&6
4191 +fi
4192 +
4193 +  CC=$ac_ct_CC
4194  else
4195 -  echo "$ac_t""no" 1>&6
4196 +  CC="$ac_cv_prog_CC"
4197  fi
4198  
4199  if test -z "$CC"; then
4200 +  if test -n "$ac_tool_prefix"; then
4201 +  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4202 +set dummy ${ac_tool_prefix}cc; ac_word=$2
4203 +echo "$as_me:1651: checking for $ac_word" >&5
4204 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4205 +if test "${ac_cv_prog_CC+set}" = set; then
4206 +  echo $ECHO_N "(cached) $ECHO_C" >&6
4207 +else
4208 +  if test -n "$CC"; then
4209 +  ac_cv_prog_CC="$CC" # Let the user override the test.
4210 +else
4211 +  ac_save_IFS=$IFS; IFS=$ac_path_separator
4212 +ac_dummy="$PATH"
4213 +for ac_dir in $ac_dummy; do
4214 +  IFS=$ac_save_IFS
4215 +  test -z "$ac_dir" && ac_dir=.
4216 +  $as_executable_p "$ac_dir/$ac_word" || continue
4217 +ac_cv_prog_CC="${ac_tool_prefix}cc"
4218 +echo "$as_me:1666: found $ac_dir/$ac_word" >&5
4219 +break
4220 +done
4221 +
4222 +fi
4223 +fi
4224 +CC=$ac_cv_prog_CC
4225 +if test -n "$CC"; then
4226 +  echo "$as_me:1674: result: $CC" >&5
4227 +echo "${ECHO_T}$CC" >&6
4228 +else
4229 +  echo "$as_me:1677: result: no" >&5
4230 +echo "${ECHO_T}no" >&6
4231 +fi
4232 +
4233 +fi
4234 +if test -z "$ac_cv_prog_CC"; then
4235 +  ac_ct_CC=$CC
4236    # Extract the first word of "cc", so it can be a program name with args.
4237  set dummy cc; ac_word=$2
4238 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
4239 -echo "configure:1067: checking for $ac_word" >&5
4240 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
4241 -  echo $ac_n "(cached) $ac_c" 1>&6
4242 +echo "$as_me:1686: checking for $ac_word" >&5
4243 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4244 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4245 +  echo $ECHO_N "(cached) $ECHO_C" >&6
4246 +else
4247 +  if test -n "$ac_ct_CC"; then
4248 +  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4249 +else
4250 +  ac_save_IFS=$IFS; IFS=$ac_path_separator
4251 +ac_dummy="$PATH"
4252 +for ac_dir in $ac_dummy; do
4253 +  IFS=$ac_save_IFS
4254 +  test -z "$ac_dir" && ac_dir=.
4255 +  $as_executable_p "$ac_dir/$ac_word" || continue
4256 +ac_cv_prog_ac_ct_CC="cc"
4257 +echo "$as_me:1701: found $ac_dir/$ac_word" >&5
4258 +break
4259 +done
4260 +
4261 +fi
4262 +fi
4263 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
4264 +if test -n "$ac_ct_CC"; then
4265 +  echo "$as_me:1709: result: $ac_ct_CC" >&5
4266 +echo "${ECHO_T}$ac_ct_CC" >&6
4267 +else
4268 +  echo "$as_me:1712: result: no" >&5
4269 +echo "${ECHO_T}no" >&6
4270 +fi
4271 +
4272 +  CC=$ac_ct_CC
4273 +else
4274 +  CC="$ac_cv_prog_CC"
4275 +fi
4276 +
4277 +fi
4278 +if test -z "$CC"; then
4279 +  # Extract the first word of "cc", so it can be a program name with args.
4280 +set dummy cc; ac_word=$2
4281 +echo "$as_me:1725: checking for $ac_word" >&5
4282 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4283 +if test "${ac_cv_prog_CC+set}" = set; then
4284 +  echo $ECHO_N "(cached) $ECHO_C" >&6
4285  else
4286    if test -n "$CC"; then
4287    ac_cv_prog_CC="$CC" # Let the user override the test.
4288  else
4289 -  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
4290    ac_prog_rejected=no
4291 -  ac_dummy="$PATH"
4292 -  for ac_dir in $ac_dummy; do
4293 -    test -z "$ac_dir" && ac_dir=.
4294 -    if test -f $ac_dir/$ac_word; then
4295 -      if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
4296 -        ac_prog_rejected=yes
4297 -       continue
4298 -      fi
4299 -      ac_cv_prog_CC="cc"
4300 -      break
4301 -    fi
4302 -  done
4303 -  IFS="$ac_save_ifs"
4304 +  ac_save_IFS=$IFS; IFS=$ac_path_separator
4305 +ac_dummy="$PATH"
4306 +for ac_dir in $ac_dummy; do
4307 +  IFS=$ac_save_IFS
4308 +  test -z "$ac_dir" && ac_dir=.
4309 +  $as_executable_p "$ac_dir/$ac_word" || continue
4310 +if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
4311 +  ac_prog_rejected=yes
4312 +  continue
4313 +fi
4314 +ac_cv_prog_CC="cc"
4315 +echo "$as_me:1745: found $ac_dir/$ac_word" >&5
4316 +break
4317 +done
4318 +
4319  if test $ac_prog_rejected = yes; then
4320    # We found a bogon in the path, so make sure we never use it.
4321    set dummy $ac_cv_prog_CC
4322    shift
4323 -  if test $# -gt 0; then
4324 +  if test $# != 0; then
4325      # We chose a different compiler from the bogus one.
4326      # However, it has the same basename, so the bogon will be chosen
4327      # first if we set CC to just the basename; use the full file name.
4328      shift
4329 -    set dummy "$ac_dir/$ac_word" "$@"
4330 +    set dummy "$ac_dir/$ac_word" ${1+"$@"}
4331      shift
4332      ac_cv_prog_CC="$@"
4333    fi
4334  fi
4335  fi
4336  fi
4337 -CC="$ac_cv_prog_CC"
4338 +CC=$ac_cv_prog_CC
4339  if test -n "$CC"; then
4340 -  echo "$ac_t""$CC" 1>&6
4341 +  echo "$as_me:1767: result: $CC" >&5
4342 +echo "${ECHO_T}$CC" >&6
4343  else
4344 -  echo "$ac_t""no" 1>&6
4345 +  echo "$as_me:1770: result: no" >&5
4346 +echo "${ECHO_T}no" >&6
4347  fi
4348  
4349 -  if test -z "$CC"; then
4350 -    case "`uname -s`" in
4351 -    *win32* | *WIN32*)
4352 -      # Extract the first word of "cl", so it can be a program name with args.
4353 -set dummy cl; ac_word=$2
4354 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
4355 -echo "configure:1118: checking for $ac_word" >&5
4356 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
4357 -  echo $ac_n "(cached) $ac_c" 1>&6
4358 +fi
4359 +if test -z "$CC"; then
4360 +  if test -n "$ac_tool_prefix"; then
4361 +  for ac_prog in cl
4362 +  do
4363 +    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4364 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4365 +echo "$as_me:1781: checking for $ac_word" >&5
4366 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4367 +if test "${ac_cv_prog_CC+set}" = set; then
4368 +  echo $ECHO_N "(cached) $ECHO_C" >&6
4369  else
4370    if test -n "$CC"; then
4371    ac_cv_prog_CC="$CC" # Let the user override the test.
4372  else
4373 -  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
4374 -  ac_dummy="$PATH"
4375 -  for ac_dir in $ac_dummy; do
4376 -    test -z "$ac_dir" && ac_dir=.
4377 -    if test -f $ac_dir/$ac_word; then
4378 -      ac_cv_prog_CC="cl"
4379 -      break
4380 -    fi
4381 -  done
4382 -  IFS="$ac_save_ifs"
4383 +  ac_save_IFS=$IFS; IFS=$ac_path_separator
4384 +ac_dummy="$PATH"
4385 +for ac_dir in $ac_dummy; do
4386 +  IFS=$ac_save_IFS
4387 +  test -z "$ac_dir" && ac_dir=.
4388 +  $as_executable_p "$ac_dir/$ac_word" || continue
4389 +ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4390 +echo "$as_me:1796: found $ac_dir/$ac_word" >&5
4391 +break
4392 +done
4393 +
4394  fi
4395  fi
4396 -CC="$ac_cv_prog_CC"
4397 +CC=$ac_cv_prog_CC
4398  if test -n "$CC"; then
4399 -  echo "$ac_t""$CC" 1>&6
4400 +  echo "$as_me:1804: result: $CC" >&5
4401 +echo "${ECHO_T}$CC" >&6
4402  else
4403 -  echo "$ac_t""no" 1>&6
4404 +  echo "$as_me:1807: result: no" >&5
4405 +echo "${ECHO_T}no" >&6
4406  fi
4407 - ;;
4408 -    esac
4409 -  fi
4410 -  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
4411 +
4412 +    test -n "$CC" && break
4413 +  done
4414  fi
4415 +if test -z "$CC"; then
4416 +  ac_ct_CC=$CC
4417 +  for ac_prog in cl
4418 +do
4419 +  # Extract the first word of "$ac_prog", so it can be a program name with args.
4420 +set dummy $ac_prog; ac_word=$2
4421 +echo "$as_me:1820: checking for $ac_word" >&5
4422 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4423 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4424 +  echo $ECHO_N "(cached) $ECHO_C" >&6
4425 +else
4426 +  if test -n "$ac_ct_CC"; then
4427 +  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4428 +else
4429 +  ac_save_IFS=$IFS; IFS=$ac_path_separator
4430 +ac_dummy="$PATH"
4431 +for ac_dir in $ac_dummy; do
4432 +  IFS=$ac_save_IFS
4433 +  test -z "$ac_dir" && ac_dir=.
4434 +  $as_executable_p "$ac_dir/$ac_word" || continue
4435 +ac_cv_prog_ac_ct_CC="$ac_prog"
4436 +echo "$as_me:1835: found $ac_dir/$ac_word" >&5
4437 +break
4438 +done
4439  
4440 -echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
4441 -echo "configure:1150: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
4442 +fi
4443 +fi
4444 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
4445 +if test -n "$ac_ct_CC"; then
4446 +  echo "$as_me:1843: result: $ac_ct_CC" >&5
4447 +echo "${ECHO_T}$ac_ct_CC" >&6
4448 +else
4449 +  echo "$as_me:1846: result: no" >&5
4450 +echo "${ECHO_T}no" >&6
4451 +fi
4452  
4453 -ac_ext=c
4454 -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4455 -ac_cpp='$CPP $CPPFLAGS'
4456 -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4457 -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4458 -cross_compiling=$ac_cv_prog_cc_cross
4459 +  test -n "$ac_ct_CC" && break
4460 +done
4461  
4462 -cat > conftest.$ac_ext << EOF
4463 +  CC=$ac_ct_CC
4464 +fi
4465 +
4466 +fi
4467 +
4468 +test -z "$CC" && { { echo "$as_me:1858: error: no acceptable cc found in \$PATH" >&5
4469 +echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
4470 +   { (exit 1); exit 1; }; }
4471 +
4472 +# Provide some information about the compiler.
4473 +echo "$as_me:1863:" \
4474 +     "checking for C compiler version" >&5
4475 +ac_compiler=`set X $ac_compile; echo $2`
4476 +{ (eval echo "$as_me:1866: \"$ac_compiler --version </dev/null >&5\"") >&5
4477 +  (eval $ac_compiler --version </dev/null >&5) 2>&5
4478 +  ac_status=$?
4479 +  echo "$as_me:1869: \$? = $ac_status" >&5
4480 +  (exit $ac_status); }
4481 +{ (eval echo "$as_me:1871: \"$ac_compiler -v </dev/null >&5\"") >&5
4482 +  (eval $ac_compiler -v </dev/null >&5) 2>&5
4483 +  ac_status=$?
4484 +  echo "$as_me:1874: \$? = $ac_status" >&5
4485 +  (exit $ac_status); }
4486 +{ (eval echo "$as_me:1876: \"$ac_compiler -V </dev/null >&5\"") >&5
4487 +  (eval $ac_compiler -V </dev/null >&5) 2>&5
4488 +  ac_status=$?
4489 +  echo "$as_me:1879: \$? = $ac_status" >&5
4490 +  (exit $ac_status); }
4491  
4492 -#line 1161 "configure"
4493 +cat >conftest.$ac_ext <<_ACEOF
4494 +#line 1883 "configure"
4495  #include "confdefs.h"
4496  
4497 -main(){return(0);}
4498 -EOF
4499 -if { (eval echo configure:1166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4500 -  ac_cv_prog_cc_works=yes
4501 -  # If we can't run a trivial program, we are probably using a cross compiler.
4502 -  if (./conftest; exit) 2>/dev/null; then
4503 -    ac_cv_prog_cc_cross=no
4504 +int
4505 +main ()
4506 +{
4507 +
4508 +  ;
4509 +  return 0;
4510 +}
4511 +_ACEOF
4512 +ac_clean_files_save=$ac_clean_files
4513 +ac_clean_files="$ac_clean_files a.out a.exe"
4514 +# Try to create an executable without -o first, disregard a.out.
4515 +# It will help us diagnose broken compilers, and finding out an intuition
4516 +# of exeext.
4517 +echo "$as_me:1899: checking for C compiler default output" >&5
4518 +echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
4519 +ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4520 +if { (eval echo "$as_me:1902: \"$ac_link_default\"") >&5
4521 +  (eval $ac_link_default) 2>&5
4522 +  ac_status=$?
4523 +  echo "$as_me:1905: \$? = $ac_status" >&5
4524 +  (exit $ac_status); }; then
4525 +  # Find the output, starting from the most likely.  This scheme is
4526 +# not robust to junk in `.', hence go to wildcards (a.*) only as a last
4527 +# resort.
4528 +for ac_file in `ls a.exe conftest.exe 2>/dev/null;
4529 +                ls a.out conftest 2>/dev/null;
4530 +                ls a.* conftest.* 2>/dev/null`; do
4531 +  case $ac_file in
4532 +    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
4533 +    a.out ) # We found the default executable, but exeext='' is most
4534 +            # certainly right.
4535 +            break;;
4536 +    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4537 +          # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
4538 +          export ac_cv_exeext
4539 +          break;;
4540 +    * ) break;;
4541 +  esac
4542 +done
4543 +else
4544 +  echo "$as_me: failed program was:" >&5
4545 +cat conftest.$ac_ext >&5
4546 +{ { echo "$as_me:1928: error: C compiler cannot create executables" >&5
4547 +echo "$as_me: error: C compiler cannot create executables" >&2;}
4548 +   { (exit 77); exit 77; }; }
4549 +fi
4550 +
4551 +ac_exeext=$ac_cv_exeext
4552 +echo "$as_me:1934: result: $ac_file" >&5
4553 +echo "${ECHO_T}$ac_file" >&6
4554 +
4555 +# Check the compiler produces executables we can run.  If not, either
4556 +# the compiler is broken, or we cross compile.
4557 +echo "$as_me:1939: checking whether the C compiler works" >&5
4558 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
4559 +# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
4560 +# If not cross compiling, check that we can run a simple program.
4561 +if test "$cross_compiling" != yes; then
4562 +  if { ac_try='./$ac_file'
4563 +  { (eval echo "$as_me:1945: \"$ac_try\"") >&5
4564 +  (eval $ac_try) 2>&5
4565 +  ac_status=$?
4566 +  echo "$as_me:1948: \$? = $ac_status" >&5
4567 +  (exit $ac_status); }; }; then
4568 +    cross_compiling=no
4569    else
4570 -    ac_cv_prog_cc_cross=yes
4571 +    if test "$cross_compiling" = maybe; then
4572 +       cross_compiling=yes
4573 +    else
4574 +       { { echo "$as_me:1955: error: cannot run C compiled programs.
4575 +If you meant to cross compile, use \`--host'." >&5
4576 +echo "$as_me: error: cannot run C compiled programs.
4577 +If you meant to cross compile, use \`--host'." >&2;}
4578 +   { (exit 1); exit 1; }; }
4579 +    fi
4580    fi
4581 -else
4582 -  echo "configure: failed program was:" >&5
4583 -  cat conftest.$ac_ext >&5
4584 -  ac_cv_prog_cc_works=no
4585  fi
4586 -rm -fr conftest*
4587 -ac_ext=c
4588 -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4589 -ac_cpp='$CPP $CPPFLAGS'
4590 -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4591 -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4592 -cross_compiling=$ac_cv_prog_cc_cross
4593 -
4594 -echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
4595 -if test $ac_cv_prog_cc_works = no; then
4596 -  { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
4597 -fi
4598 -echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
4599 -echo "configure:1192: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
4600 -echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
4601 -cross_compiling=$ac_cv_prog_cc_cross
4602 -
4603 -echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
4604 -echo "configure:1197: checking whether we are using GNU C" >&5
4605 -if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
4606 -  echo $ac_n "(cached) $ac_c" 1>&6
4607 -else
4608 -  cat > conftest.c <<EOF
4609 -#ifdef __GNUC__
4610 -  yes;
4611 -#endif
4612 -EOF
4613 -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1206: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
4614 -  ac_cv_prog_gcc=yes
4615 +echo "$as_me:1963: result: yes" >&5
4616 +echo "${ECHO_T}yes" >&6
4617 +
4618 +rm -f a.out a.exe conftest$ac_cv_exeext
4619 +ac_clean_files=$ac_clean_files_save
4620 +# Check the compiler produces executables we can run.  If not, either
4621 +# the compiler is broken, or we cross compile.
4622 +echo "$as_me:1970: checking whether we are cross compiling" >&5
4623 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
4624 +echo "$as_me:1972: result: $cross_compiling" >&5
4625 +echo "${ECHO_T}$cross_compiling" >&6
4626 +
4627 +echo "$as_me:1975: checking for executable suffix" >&5
4628 +echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
4629 +if { (eval echo "$as_me:1977: \"$ac_link\"") >&5
4630 +  (eval $ac_link) 2>&5
4631 +  ac_status=$?
4632 +  echo "$as_me:1980: \$? = $ac_status" >&5
4633 +  (exit $ac_status); }; then
4634 +  # If both `conftest.exe' and `conftest' are `present' (well, observable)
4635 +# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4636 +# work properly (i.e., refer to `conftest.exe'), while it won't with
4637 +# `rm'.
4638 +for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
4639 +  case $ac_file in
4640 +    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
4641 +    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4642 +          export ac_cv_exeext
4643 +          break;;
4644 +    * ) break;;
4645 +  esac
4646 +done
4647  else
4648 -  ac_cv_prog_gcc=no
4649 -fi
4650 +  { { echo "$as_me:1996: error: cannot compute EXEEXT: cannot compile and link" >&5
4651 +echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
4652 +   { (exit 1); exit 1; }; }
4653  fi
4654  
4655 -echo "$ac_t""$ac_cv_prog_gcc" 1>&6
4656 +rm -f conftest$ac_cv_exeext
4657 +echo "$as_me:2002: result: $ac_cv_exeext" >&5
4658 +echo "${ECHO_T}$ac_cv_exeext" >&6
4659 +
4660 +rm -f conftest.$ac_ext
4661 +EXEEXT=$ac_cv_exeext
4662 +ac_exeext=$EXEEXT
4663 +echo "$as_me:2008: checking for object suffix" >&5
4664 +echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
4665 +if test "${ac_cv_objext+set}" = set; then
4666 +  echo $ECHO_N "(cached) $ECHO_C" >&6
4667 +else
4668 +  cat >conftest.$ac_ext <<_ACEOF
4669 +#line 2014 "configure"
4670 +#include "confdefs.h"
4671 +
4672 +int
4673 +main ()
4674 +{
4675  
4676 -if test $ac_cv_prog_gcc = yes; then
4677 -  GCC=yes
4678 +  ;
4679 +  return 0;
4680 +}
4681 +_ACEOF
4682 +rm -f conftest.o conftest.obj
4683 +if { (eval echo "$as_me:2026: \"$ac_compile\"") >&5
4684 +  (eval $ac_compile) 2>&5
4685 +  ac_status=$?
4686 +  echo "$as_me:2029: \$? = $ac_status" >&5
4687 +  (exit $ac_status); }; then
4688 +  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
4689 +  case $ac_file in
4690 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
4691 +    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4692 +       break;;
4693 +  esac
4694 +done
4695  else
4696 -  GCC=
4697 +  echo "$as_me: failed program was:" >&5
4698 +cat conftest.$ac_ext >&5
4699 +{ { echo "$as_me:2041: error: cannot compute OBJEXT: cannot compile" >&5
4700 +echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
4701 +   { (exit 1); exit 1; }; }
4702 +fi
4703 +
4704 +rm -f conftest.$ac_cv_objext conftest.$ac_ext
4705  fi
4706 +echo "$as_me:2048: result: $ac_cv_objext" >&5
4707 +echo "${ECHO_T}$ac_cv_objext" >&6
4708 +OBJEXT=$ac_cv_objext
4709 +ac_objext=$OBJEXT
4710 +echo "$as_me:2052: checking whether we are using the GNU C compiler" >&5
4711 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
4712 +if test "${ac_cv_c_compiler_gnu+set}" = set; then
4713 +  echo $ECHO_N "(cached) $ECHO_C" >&6
4714 +else
4715 +  cat >conftest.$ac_ext <<_ACEOF
4716 +#line 2058 "configure"
4717 +#include "confdefs.h"
4718  
4719 -ac_test_CFLAGS="${CFLAGS+set}"
4720 -ac_save_CFLAGS="$CFLAGS"
4721 -CFLAGS=
4722 -echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
4723 -echo "configure:1225: checking whether ${CC-cc} accepts -g" >&5
4724 -if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
4725 -  echo $ac_n "(cached) $ac_c" 1>&6
4726 +int
4727 +main ()
4728 +{
4729 +#ifndef __GNUC__
4730 +       choke me
4731 +#endif
4732 +
4733 +  ;
4734 +  return 0;
4735 +}
4736 +_ACEOF
4737 +rm -f conftest.$ac_objext
4738 +if { (eval echo "$as_me:2073: \"$ac_compile\"") >&5
4739 +  (eval $ac_compile) 2>&5
4740 +  ac_status=$?
4741 +  echo "$as_me:2076: \$? = $ac_status" >&5
4742 +  (exit $ac_status); } &&
4743 +         { ac_try='test -s conftest.$ac_objext'
4744 +  { (eval echo "$as_me:2079: \"$ac_try\"") >&5
4745 +  (eval $ac_try) 2>&5
4746 +  ac_status=$?
4747 +  echo "$as_me:2082: \$? = $ac_status" >&5
4748 +  (exit $ac_status); }; }; then
4749 +  ac_compiler_gnu=yes
4750 +else
4751 +  echo "$as_me: failed program was:" >&5
4752 +cat conftest.$ac_ext >&5
4753 +ac_compiler_gnu=no
4754 +fi
4755 +rm -f conftest.$ac_objext conftest.$ac_ext
4756 +ac_cv_c_compiler_gnu=$ac_compiler_gnu
4757 +
4758 +fi
4759 +echo "$as_me:2094: result: $ac_cv_c_compiler_gnu" >&5
4760 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4761 +GCC=`test $ac_compiler_gnu = yes && echo yes`
4762 +ac_test_CFLAGS=${CFLAGS+set}
4763 +ac_save_CFLAGS=$CFLAGS
4764 +CFLAGS="-g"
4765 +echo "$as_me:2100: checking whether $CC accepts -g" >&5
4766 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4767 +if test "${ac_cv_prog_cc_g+set}" = set; then
4768 +  echo $ECHO_N "(cached) $ECHO_C" >&6
4769  else
4770 -  echo 'void f(){}' > conftest.c
4771 -if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
4772 +  cat >conftest.$ac_ext <<_ACEOF
4773 +#line 2106 "configure"
4774 +#include "confdefs.h"
4775 +
4776 +int
4777 +main ()
4778 +{
4779 +
4780 +  ;
4781 +  return 0;
4782 +}
4783 +_ACEOF
4784 +rm -f conftest.$ac_objext
4785 +if { (eval echo "$as_me:2118: \"$ac_compile\"") >&5
4786 +  (eval $ac_compile) 2>&5
4787 +  ac_status=$?
4788 +  echo "$as_me:2121: \$? = $ac_status" >&5
4789 +  (exit $ac_status); } &&
4790 +         { ac_try='test -s conftest.$ac_objext'
4791 +  { (eval echo "$as_me:2124: \"$ac_try\"") >&5
4792 +  (eval $ac_try) 2>&5
4793 +  ac_status=$?
4794 +  echo "$as_me:2127: \$? = $ac_status" >&5
4795 +  (exit $ac_status); }; }; then
4796    ac_cv_prog_cc_g=yes
4797  else
4798 -  ac_cv_prog_cc_g=no
4799 +  echo "$as_me: failed program was:" >&5
4800 +cat conftest.$ac_ext >&5
4801 +ac_cv_prog_cc_g=no
4802  fi
4803 -rm -f conftest*
4804 -
4805 +rm -f conftest.$ac_objext conftest.$ac_ext
4806  fi
4807 -
4808 -echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
4809 +echo "$as_me:2137: result: $ac_cv_prog_cc_g" >&5
4810 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
4811  if test "$ac_test_CFLAGS" = set; then
4812 -  CFLAGS="$ac_save_CFLAGS"
4813 +  CFLAGS=$ac_save_CFLAGS
4814  elif test $ac_cv_prog_cc_g = yes; then
4815    if test "$GCC" = yes; then
4816      CFLAGS="-g -O2"
4817 @@ -1251,86 +2151,450 @@
4818      CFLAGS=
4819    fi
4820  fi
4821 +# Some people use a C++ compiler to compile C.  Since we use `exit',
4822 +# in C++ we need to declare it.  In case someone uses the same compiler
4823 +# for both compiling C and C++ we need to have the C++ compiler decide
4824 +# the declaration of exit, since it's the most demanding environment.
4825 +cat >conftest.$ac_ext <<_ACEOF
4826 +#ifndef __cplusplus
4827 +  choke me
4828 +#endif
4829 +_ACEOF
4830 +rm -f conftest.$ac_objext
4831 +if { (eval echo "$as_me:2164: \"$ac_compile\"") >&5
4832 +  (eval $ac_compile) 2>&5
4833 +  ac_status=$?
4834 +  echo "$as_me:2167: \$? = $ac_status" >&5
4835 +  (exit $ac_status); } &&
4836 +         { ac_try='test -s conftest.$ac_objext'
4837 +  { (eval echo "$as_me:2170: \"$ac_try\"") >&5
4838 +  (eval $ac_try) 2>&5
4839 +  ac_status=$?
4840 +  echo "$as_me:2173: \$? = $ac_status" >&5
4841 +  (exit $ac_status); }; }; then
4842 +  for ac_declaration in \
4843 +   ''\
4844 +   '#include <stdlib.h>' \
4845 +   'extern "C" void std::exit (int) throw (); using std::exit;' \
4846 +   'extern "C" void std::exit (int); using std::exit;' \
4847 +   'extern "C" void exit (int) throw ();' \
4848 +   'extern "C" void exit (int);' \
4849 +   'void exit (int);'
4850 +do
4851 +  cat >conftest.$ac_ext <<_ACEOF
4852 +#line 2185 "configure"
4853 +#include "confdefs.h"
4854 +#include <stdlib.h>
4855 +$ac_declaration
4856 +int
4857 +main ()
4858 +{
4859 +exit (42);
4860 +  ;
4861 +  return 0;
4862 +}
4863 +_ACEOF
4864 +rm -f conftest.$ac_objext
4865 +if { (eval echo "$as_me:2198: \"$ac_compile\"") >&5
4866 +  (eval $ac_compile) 2>&5
4867 +  ac_status=$?
4868 +  echo "$as_me:2201: \$? = $ac_status" >&5
4869 +  (exit $ac_status); } &&
4870 +         { ac_try='test -s conftest.$ac_objext'
4871 +  { (eval echo "$as_me:2204: \"$ac_try\"") >&5
4872 +  (eval $ac_try) 2>&5
4873 +  ac_status=$?
4874 +  echo "$as_me:2207: \$? = $ac_status" >&5
4875 +  (exit $ac_status); }; }; then
4876 +  :
4877 +else
4878 +  echo "$as_me: failed program was:" >&5
4879 +cat conftest.$ac_ext >&5
4880 +continue
4881 +fi
4882 +rm -f conftest.$ac_objext conftest.$ac_ext
4883 +  cat >conftest.$ac_ext <<_ACEOF
4884 +#line 2217 "configure"
4885 +#include "confdefs.h"
4886 +$ac_declaration
4887 +int
4888 +main ()
4889 +{
4890 +exit (42);
4891 +  ;
4892 +  return 0;
4893 +}
4894 +_ACEOF
4895 +rm -f conftest.$ac_objext
4896 +if { (eval echo "$as_me:2229: \"$ac_compile\"") >&5
4897 +  (eval $ac_compile) 2>&5
4898 +  ac_status=$?
4899 +  echo "$as_me:2232: \$? = $ac_status" >&5
4900 +  (exit $ac_status); } &&
4901 +         { ac_try='test -s conftest.$ac_objext'
4902 +  { (eval echo "$as_me:2235: \"$ac_try\"") >&5
4903 +  (eval $ac_try) 2>&5
4904 +  ac_status=$?
4905 +  echo "$as_me:2238: \$? = $ac_status" >&5
4906 +  (exit $ac_status); }; }; then
4907 +  break
4908 +else
4909 +  echo "$as_me: failed program was:" >&5
4910 +cat conftest.$ac_ext >&5
4911 +fi
4912 +rm -f conftest.$ac_objext conftest.$ac_ext
4913 +done
4914 +rm -f conftest*
4915 +if test -n "$ac_declaration"; then
4916 +  echo '#ifdef __cplusplus' >>confdefs.h
4917 +  echo $ac_declaration      >>confdefs.h
4918 +  echo '#endif'             >>confdefs.h
4919 +fi
4920  
4921 -echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
4922 -echo "configure:1257: checking how to run the C preprocessor" >&5
4923 +else
4924 +  echo "$as_me: failed program was:" >&5
4925 +cat conftest.$ac_ext >&5
4926 +fi
4927 +rm -f conftest.$ac_objext conftest.$ac_ext
4928 +ac_ext=c
4929 +ac_cpp='$CPP $CPPFLAGS'
4930 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4931 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4932 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
4933 +rm -f .deps 2>/dev/null
4934 +mkdir .deps 2>/dev/null
4935 +if test -d .deps; then
4936 +  DEPDIR=.deps
4937 +else
4938 +  # MS-DOS does not allow filenames that begin with a dot.
4939 +  DEPDIR=_deps
4940 +fi
4941 +rmdir .deps 2>/dev/null
4942 +
4943 +ac_config_commands="$ac_config_commands depfiles"
4944 +
4945 +am_make=${MAKE-make}
4946 +cat > confinc << 'END'
4947 +doit:
4948 +       @echo done
4949 +END
4950 +# If we don't find an include directive, just comment out the code.
4951 +echo "$as_me:2282: checking for style of include used by $am_make" >&5
4952 +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
4953 +am__include="#"
4954 +am__quote=
4955 +_am_result=none
4956 +# First try GNU make style include.
4957 +echo "include confinc" > confmf
4958 +# We grep out `Entering directory' and `Leaving directory'
4959 +# messages which can occur if `w' ends up in MAKEFLAGS.
4960 +# In particular we don't look at `^make:' because GNU make might
4961 +# be invoked under some other name (usually "gmake"), in which
4962 +# case it prints its new name instead of `make'.
4963 +if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
4964 +   am__include=include
4965 +   am__quote=
4966 +   _am_result=GNU
4967 +fi
4968 +# Now try BSD make style include.
4969 +if test "$am__include" = "#"; then
4970 +   echo '.include "confinc"' > confmf
4971 +   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
4972 +      am__include=.include
4973 +      am__quote="\""
4974 +      _am_result=BSD
4975 +   fi
4976 +fi
4977 +
4978 +echo "$as_me:2309: result: $_am_result" >&5
4979 +echo "${ECHO_T}$_am_result" >&6
4980 +rm -f confinc confmf
4981 +
4982 +# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
4983 +if test "${enable_dependency_tracking+set}" = set; then
4984 +  enableval="$enable_dependency_tracking"
4985 +
4986 +fi;
4987 +if test "x$enable_dependency_tracking" != xno; then
4988 +  am_depcomp="$ac_aux_dir/depcomp"
4989 +  AMDEPBACKSLASH='\'
4990 +fi
4991 +
4992 +if test "x$enable_dependency_tracking" != xno; then
4993 +  AMDEP_TRUE=
4994 +  AMDEP_FALSE='#'
4995 +else
4996 +  AMDEP_TRUE='#'
4997 +  AMDEP_FALSE=
4998 +fi
4999 +
5000 +depcc="$CC"   am_compiler_list=
5001 +
5002 +echo "$as_me:2333: checking dependency style of $depcc" >&5
5003 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
5004 +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5005 +  echo $ECHO_N "(cached) $ECHO_C" >&6
5006 +else
5007 +  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5008 +  # We make a subdir and do the tests there.  Otherwise we can end up
5009 +  # making bogus files that we don't know about and never remove.  For
5010 +  # instance it was reported that on HP-UX the gcc test will end up
5011 +  # making a dummy file named `D' -- because `-MD' means `put the output
5012 +  # in D'.
5013 +  mkdir conftest.dir
5014 +  # Copy depcomp to subdir because otherwise we won't find it if we're
5015 +  # using a relative directory.
5016 +  cp "$am_depcomp" conftest.dir
5017 +  cd conftest.dir
5018 +
5019 +  am_cv_CC_dependencies_compiler_type=none
5020 +  if test "$am_compiler_list" = ""; then
5021 +     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5022 +  fi
5023 +  for depmode in $am_compiler_list; do
5024 +    # We need to recreate these files for each test, as the compiler may
5025 +    # overwrite some of them when testing with obscure command lines.
5026 +    # This happens at least with the AIX C compiler.
5027 +    echo '#include "conftest.h"' > conftest.c
5028 +    echo 'int i;' > conftest.h
5029 +    echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
5030 +
5031 +    case $depmode in
5032 +    nosideeffect)
5033 +      # after this tag, mechanisms are not by side-effect, so they'll
5034 +      # only be used when explicitly requested
5035 +      if test "x$enable_dependency_tracking" = xyes; then
5036 +       continue
5037 +      else
5038 +       break
5039 +      fi
5040 +      ;;
5041 +    none) break ;;
5042 +    esac
5043 +    # We check with `-c' and `-o' for the sake of the "dashmstdout"
5044 +    # mode.  It turns out that the SunPro C++ compiler does not properly
5045 +    # handle `-M -o', and we need to detect this.
5046 +    if depmode=$depmode \
5047 +       source=conftest.c object=conftest.o \
5048 +       depfile=conftest.Po tmpdepfile=conftest.TPo \
5049 +       $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
5050 +       grep conftest.h conftest.Po > /dev/null 2>&1 &&
5051 +       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5052 +      am_cv_CC_dependencies_compiler_type=$depmode
5053 +      break
5054 +    fi
5055 +  done
5056 +
5057 +  cd ..
5058 +  rm -rf conftest.dir
5059 +else
5060 +  am_cv_CC_dependencies_compiler_type=none
5061 +fi
5062 +
5063 +fi
5064 +echo "$as_me:2395: result: $am_cv_CC_dependencies_compiler_type" >&5
5065 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
5066 +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5067 +
5068 +ac_ext=c
5069 +ac_cpp='$CPP $CPPFLAGS'
5070 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5071 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5072 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
5073 +echo "$as_me:2404: checking how to run the C preprocessor" >&5
5074 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5075  # On Suns, sometimes $CPP names a directory.
5076  if test -n "$CPP" && test -d "$CPP"; then
5077    CPP=
5078  fi
5079  if test -z "$CPP"; then
5080 -if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
5081 -  echo $ac_n "(cached) $ac_c" 1>&6
5082 +  if test "${ac_cv_prog_CPP+set}" = set; then
5083 +  echo $ECHO_N "(cached) $ECHO_C" >&6
5084  else
5085 -    # This must be in double quotes, not single quotes, because CPP may get
5086 -  # substituted into the Makefile and "${CC-cc}" will confuse make.
5087 -  CPP="${CC-cc} -E"
5088 +      # Double quotes because CPP needs to be expanded
5089 +    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5090 +    do
5091 +      ac_preproc_ok=false
5092 +for ac_c_preproc_warn_flag in '' yes
5093 +do
5094 +  # Use a header file that comes with gcc, so configuring glibc
5095 +  # with a fresh cross-compiler works.
5096    # On the NeXT, cc -E runs the code through the compiler's parser,
5097 -  # not just through cpp.
5098 -  cat > conftest.$ac_ext <<EOF
5099 -#line 1272 "configure"
5100 +  # not just through cpp. "Syntax error" is here to catch this case.
5101 +  cat >conftest.$ac_ext <<_ACEOF
5102 +#line 2425 "configure"
5103  #include "confdefs.h"
5104  #include <assert.h>
5105 -Syntax Error
5106 -EOF
5107 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5108 -{ (eval echo configure:1278: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5109 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5110 -if test -z "$ac_err"; then
5111 +                     Syntax error
5112 +_ACEOF
5113 +if { (eval echo "$as_me:2430: \"$ac_cpp conftest.$ac_ext\"") >&5
5114 +  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5115 +  ac_status=$?
5116 +  egrep -v '^ *\+' conftest.er1 >conftest.err
5117 +  rm -f conftest.er1
5118 +  cat conftest.err >&5
5119 +  echo "$as_me:2436: \$? = $ac_status" >&5
5120 +  (exit $ac_status); } >/dev/null; then
5121 +  if test -s conftest.err; then
5122 +    ac_cpp_err=$ac_c_preproc_warn_flag
5123 +  else
5124 +    ac_cpp_err=
5125 +  fi
5126 +else
5127 +  ac_cpp_err=yes
5128 +fi
5129 +if test -z "$ac_cpp_err"; then
5130    :
5131  else
5132 -  echo "$ac_err" >&5
5133 -  echo "configure: failed program was:" >&5
5134 +  echo "$as_me: failed program was:" >&5
5135    cat conftest.$ac_ext >&5
5136 -  rm -rf conftest*
5137 -  CPP="${CC-cc} -E -traditional-cpp"
5138 -  cat > conftest.$ac_ext <<EOF
5139 -#line 1289 "configure"
5140 +  # Broken: fails on valid input.
5141 +continue
5142 +fi
5143 +rm -f conftest.err conftest.$ac_ext
5144 +
5145 +  # OK, works on sane cases.  Now check whether non-existent headers
5146 +  # can be detected and how.
5147 +  cat >conftest.$ac_ext <<_ACEOF
5148 +#line 2459 "configure"
5149  #include "confdefs.h"
5150 -#include <assert.h>
5151 -Syntax Error
5152 -EOF
5153 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5154 -{ (eval echo configure:1295: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5155 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5156 -if test -z "$ac_err"; then
5157 -  :
5158 +#include <ac_nonexistent.h>
5159 +_ACEOF
5160 +if { (eval echo "$as_me:2463: \"$ac_cpp conftest.$ac_ext\"") >&5
5161 +  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5162 +  ac_status=$?
5163 +  egrep -v '^ *\+' conftest.er1 >conftest.err
5164 +  rm -f conftest.er1
5165 +  cat conftest.err >&5
5166 +  echo "$as_me:2469: \$? = $ac_status" >&5
5167 +  (exit $ac_status); } >/dev/null; then
5168 +  if test -s conftest.err; then
5169 +    ac_cpp_err=$ac_c_preproc_warn_flag
5170 +  else
5171 +    ac_cpp_err=
5172 +  fi
5173 +else
5174 +  ac_cpp_err=yes
5175 +fi
5176 +if test -z "$ac_cpp_err"; then
5177 +  # Broken: success on invalid input.
5178 +continue
5179  else
5180 -  echo "$ac_err" >&5
5181 -  echo "configure: failed program was:" >&5
5182 +  echo "$as_me: failed program was:" >&5
5183    cat conftest.$ac_ext >&5
5184 -  rm -rf conftest*
5185 -  CPP="${CC-cc} -nologo -E"
5186 -  cat > conftest.$ac_ext <<EOF
5187 -#line 1306 "configure"
5188 +  # Passes both tests.
5189 +ac_preproc_ok=:
5190 +break
5191 +fi
5192 +rm -f conftest.err conftest.$ac_ext
5193 +
5194 +done
5195 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5196 +rm -f conftest.err conftest.$ac_ext
5197 +if $ac_preproc_ok; then
5198 +  break
5199 +fi
5200 +
5201 +    done
5202 +    ac_cv_prog_CPP=$CPP
5203 +
5204 +fi
5205 +  CPP=$ac_cv_prog_CPP
5206 +else
5207 +  ac_cv_prog_CPP=$CPP
5208 +fi
5209 +echo "$as_me:2506: result: $CPP" >&5
5210 +echo "${ECHO_T}$CPP" >&6
5211 +ac_preproc_ok=false
5212 +for ac_c_preproc_warn_flag in '' yes
5213 +do
5214 +  # Use a header file that comes with gcc, so configuring glibc
5215 +  # with a fresh cross-compiler works.
5216 +  # On the NeXT, cc -E runs the code through the compiler's parser,
5217 +  # not just through cpp. "Syntax error" is here to catch this case.
5218 +  cat >conftest.$ac_ext <<_ACEOF
5219 +#line 2516 "configure"
5220  #include "confdefs.h"
5221  #include <assert.h>
5222 -Syntax Error
5223 -EOF
5224 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5225 -{ (eval echo configure:1312: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5226 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5227 -if test -z "$ac_err"; then
5228 +                     Syntax error
5229 +_ACEOF
5230 +if { (eval echo "$as_me:2521: \"$ac_cpp conftest.$ac_ext\"") >&5
5231 +  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5232 +  ac_status=$?
5233 +  egrep -v '^ *\+' conftest.er1 >conftest.err
5234 +  rm -f conftest.er1
5235 +  cat conftest.err >&5
5236 +  echo "$as_me:2527: \$? = $ac_status" >&5
5237 +  (exit $ac_status); } >/dev/null; then
5238 +  if test -s conftest.err; then
5239 +    ac_cpp_err=$ac_c_preproc_warn_flag
5240 +  else
5241 +    ac_cpp_err=
5242 +  fi
5243 +else
5244 +  ac_cpp_err=yes
5245 +fi
5246 +if test -z "$ac_cpp_err"; then
5247    :
5248  else
5249 -  echo "$ac_err" >&5
5250 -  echo "configure: failed program was:" >&5
5251 +  echo "$as_me: failed program was:" >&5
5252    cat conftest.$ac_ext >&5
5253 -  rm -rf conftest*
5254 -  CPP=/lib/cpp
5255 +  # Broken: fails on valid input.
5256 +continue
5257  fi
5258 -rm -f conftest*
5259 -fi
5260 -rm -f conftest*
5261 +rm -f conftest.err conftest.$ac_ext
5262 +
5263 +  # OK, works on sane cases.  Now check whether non-existent headers
5264 +  # can be detected and how.
5265 +  cat >conftest.$ac_ext <<_ACEOF
5266 +#line 2550 "configure"
5267 +#include "confdefs.h"
5268 +#include <ac_nonexistent.h>
5269 +_ACEOF
5270 +if { (eval echo "$as_me:2554: \"$ac_cpp conftest.$ac_ext\"") >&5
5271 +  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5272 +  ac_status=$?
5273 +  egrep -v '^ *\+' conftest.er1 >conftest.err
5274 +  rm -f conftest.er1
5275 +  cat conftest.err >&5
5276 +  echo "$as_me:2560: \$? = $ac_status" >&5
5277 +  (exit $ac_status); } >/dev/null; then
5278 +  if test -s conftest.err; then
5279 +    ac_cpp_err=$ac_c_preproc_warn_flag
5280 +  else
5281 +    ac_cpp_err=
5282 +  fi
5283 +else
5284 +  ac_cpp_err=yes
5285  fi
5286 -rm -f conftest*
5287 -  ac_cv_prog_CPP="$CPP"
5288 +if test -z "$ac_cpp_err"; then
5289 +  # Broken: success on invalid input.
5290 +continue
5291 +else
5292 +  echo "$as_me: failed program was:" >&5
5293 +  cat conftest.$ac_ext >&5
5294 +  # Passes both tests.
5295 +ac_preproc_ok=:
5296 +break
5297  fi
5298 -  CPP="$ac_cv_prog_CPP"
5299 +rm -f conftest.err conftest.$ac_ext
5300 +
5301 +done
5302 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5303 +rm -f conftest.err conftest.$ac_ext
5304 +if $ac_preproc_ok; then
5305 +  :
5306  else
5307 -  ac_cv_prog_CPP="$CPP"
5308 +  { { echo "$as_me:2588: error: C preprocessor \"$CPP\" fails sanity check" >&5
5309 +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
5310 +   { (exit 1); exit 1; }; }
5311  fi
5312 -echo "$ac_t""$CPP" 1>&6
5313 +
5314 +ac_ext=c
5315 +ac_cpp='$CPP $CPPFLAGS'
5316 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5317 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5318 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
5319  
5320  # Find a good install program.  We prefer a C program (faster),
5321  # so one script is as good as another.  But avoid the broken or
5322 @@ -1339,31 +2603,39 @@
5323  # SunOS /usr/etc/install
5324  # IRIX /sbin/install
5325  # AIX /bin/install
5326 +# AmigaOS /C/install, which installs bootblocks on floppy discs
5327  # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5328  # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5329  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5330  # ./install, which can be erroneously created by make from ./install.sh.
5331 -echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
5332 -echo "configure:1348: checking for a BSD compatible install" >&5
5333 +echo "$as_me:2611: checking for a BSD compatible install" >&5
5334 +echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
5335  if test -z "$INSTALL"; then
5336 -if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
5337 -  echo $ac_n "(cached) $ac_c" 1>&6
5338 +if test "${ac_cv_path_install+set}" = set; then
5339 +  echo $ECHO_N "(cached) $ECHO_C" >&6
5340  else
5341 -    IFS="${IFS=        }"; ac_save_IFS="$IFS"; IFS=":"
5342 +    ac_save_IFS=$IFS; IFS=$ac_path_separator
5343    for ac_dir in $PATH; do
5344 +    IFS=$ac_save_IFS
5345      # Account for people who put trailing slashes in PATH elements.
5346 -    case "$ac_dir/" in
5347 -    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
5348 +    case $ac_dir/ in
5349 +    / | ./ | .// | /cC/* \
5350 +    | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
5351 +    | /usr/ucb/* ) ;;
5352      *)
5353        # OSF1 and SCO ODT 3.0 have their own names for install.
5354        # Don't use installbsd from OSF since it installs stuff as root
5355        # by default.
5356        for ac_prog in ginstall scoinst install; do
5357 -        if test -f $ac_dir/$ac_prog; then
5358 +        if $as_executable_p "$ac_dir/$ac_prog"; then
5359           if test $ac_prog = install &&
5360 -            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
5361 +            grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
5362             # AIX install.  It has an incompatible calling convention.
5363             :
5364 +         elif test $ac_prog = install &&
5365 +           grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
5366 +           # program-specific install script used by HP pwplus--don't use.
5367 +           :
5368           else
5369             ac_cv_path_install="$ac_dir/$ac_prog -c"
5370             break 2
5371 @@ -1373,208 +2645,181 @@
5372        ;;
5373      esac
5374    done
5375 -  IFS="$ac_save_IFS"
5376  
5377  fi
5378    if test "${ac_cv_path_install+set}" = set; then
5379 -    INSTALL="$ac_cv_path_install"
5380 +    INSTALL=$ac_cv_path_install
5381    else
5382      # As a last resort, use the slow shell script.  We don't cache a
5383      # path for INSTALL within a source directory, because that will
5384      # break other packages using the cache if that directory is
5385      # removed, or if the path is relative.
5386 -    INSTALL="$ac_install_sh"
5387 +    INSTALL=$ac_install_sh
5388    fi
5389  fi
5390 -echo "$ac_t""$INSTALL" 1>&6
5391 +echo "$as_me:2660: result: $INSTALL" >&5
5392 +echo "${ECHO_T}$INSTALL" >&6
5393  
5394  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5395  # It thinks the first close brace ends the variable substitution.
5396  test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5397  
5398 -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
5399 +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5400  
5401  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5402  
5403 -echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
5404 -echo "configure:1401: checking whether ln -s works" >&5
5405 -if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
5406 -  echo $ac_n "(cached) $ac_c" 1>&6
5407 +echo "$as_me:2671: checking whether ln -s works" >&5
5408 +echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5409 +LN_S=$as_ln_s
5410 +if test "$LN_S" = "ln -s"; then
5411 +  echo "$as_me:2675: result: yes" >&5
5412 +echo "${ECHO_T}yes" >&6
5413 +else
5414 +  echo "$as_me:2678: result: no, using $LN_S" >&5
5415 +echo "${ECHO_T}no, using $LN_S" >&6
5416 +fi
5417 +
5418 +echo "$as_me:2682: checking whether ${MAKE-make} sets \${MAKE}" >&5
5419 +echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
5420 +set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
5421 +if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
5422 +  echo $ECHO_N "(cached) $ECHO_C" >&6
5423  else
5424 -  rm -f conftestdata
5425 -if ln -s X conftestdata 2>/dev/null
5426 -then
5427 -  rm -f conftestdata
5428 -  ac_cv_prog_LN_S="ln -s"
5429 -else
5430 -  ac_cv_prog_LN_S=ln
5431 -fi
5432 -fi
5433 -LN_S="$ac_cv_prog_LN_S"
5434 -if test "$ac_cv_prog_LN_S" = "ln -s"; then
5435 -  echo "$ac_t""yes" 1>&6
5436 -else
5437 -  echo "$ac_t""no" 1>&6
5438 -fi
5439 -
5440 -echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
5441 -echo "configure:1422: checking whether ${MAKE-make} sets \${MAKE}" >&5
5442 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
5443 -if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
5444 -  echo $ac_n "(cached) $ac_c" 1>&6
5445 -else
5446 -  cat > conftestmake <<\EOF
5447 +  cat >conftest.make <<\EOF
5448  all:
5449         @echo 'ac_maketemp="${MAKE}"'
5450  EOF
5451  # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5452 -eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
5453 +eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
5454  if test -n "$ac_maketemp"; then
5455    eval ac_cv_prog_make_${ac_make}_set=yes
5456  else
5457    eval ac_cv_prog_make_${ac_make}_set=no
5458  fi
5459 -rm -f conftestmake
5460 +rm -f conftest.make
5461  fi
5462  if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
5463 -  echo "$ac_t""yes" 1>&6
5464 +  echo "$as_me:2702: result: yes" >&5
5465 +echo "${ECHO_T}yes" >&6
5466    SET_MAKE=
5467  else
5468 -  echo "$ac_t""no" 1>&6
5469 +  echo "$as_me:2706: result: no" >&5
5470 +echo "${ECHO_T}no" >&6
5471    SET_MAKE="MAKE=${MAKE-make}"
5472  fi
5473  
5474 -# Extract the first word of "ranlib", so it can be a program name with args.
5475 -set dummy ranlib; ac_word=$2
5476 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5477 -echo "configure:1451: checking for $ac_word" >&5
5478 -if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
5479 -  echo $ac_n "(cached) $ac_c" 1>&6
5480 +if test -n "$ac_tool_prefix"; then
5481 +  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5482 +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5483 +echo "$as_me:2714: checking for $ac_word" >&5
5484 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5485 +if test "${ac_cv_prog_RANLIB+set}" = set; then
5486 +  echo $ECHO_N "(cached) $ECHO_C" >&6
5487  else
5488    if test -n "$RANLIB"; then
5489    ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5490  else
5491 -  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
5492 -  ac_dummy="$PATH"
5493 -  for ac_dir in $ac_dummy; do
5494 -    test -z "$ac_dir" && ac_dir=.
5495 -    if test -f $ac_dir/$ac_word; then
5496 -      ac_cv_prog_RANLIB="ranlib"
5497 -      break
5498 -    fi
5499 -  done
5500 -  IFS="$ac_save_ifs"
5501 -  test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
5502 +  ac_save_IFS=$IFS; IFS=$ac_path_separator
5503 +ac_dummy="$PATH"
5504 +for ac_dir in $ac_dummy; do
5505 +  IFS=$ac_save_IFS
5506 +  test -z "$ac_dir" && ac_dir=.
5507 +  $as_executable_p "$ac_dir/$ac_word" || continue
5508 +ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5509 +echo "$as_me:2729: found $ac_dir/$ac_word" >&5
5510 +break
5511 +done
5512 +
5513  fi
5514  fi
5515 -RANLIB="$ac_cv_prog_RANLIB"
5516 +RANLIB=$ac_cv_prog_RANLIB
5517  if test -n "$RANLIB"; then
5518 -  echo "$ac_t""$RANLIB" 1>&6
5519 +  echo "$as_me:2737: result: $RANLIB" >&5
5520 +echo "${ECHO_T}$RANLIB" >&6
5521  else
5522 -  echo "$ac_t""no" 1>&6
5523 +  echo "$as_me:2740: result: no" >&5
5524 +echo "${ECHO_T}no" >&6
5525 +fi
5526 +
5527 +fi
5528 +if test -z "$ac_cv_prog_RANLIB"; then
5529 +  ac_ct_RANLIB=$RANLIB
5530 +  # Extract the first word of "ranlib", so it can be a program name with args.
5531 +set dummy ranlib; ac_word=$2
5532 +echo "$as_me:2749: checking for $ac_word" >&5
5533 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5534 +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5535 +  echo $ECHO_N "(cached) $ECHO_C" >&6
5536 +else
5537 +  if test -n "$ac_ct_RANLIB"; then
5538 +  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5539 +else
5540 +  ac_save_IFS=$IFS; IFS=$ac_path_separator
5541 +ac_dummy="$PATH"
5542 +for ac_dir in $ac_dummy; do
5543 +  IFS=$ac_save_IFS
5544 +  test -z "$ac_dir" && ac_dir=.
5545 +  $as_executable_p "$ac_dir/$ac_word" || continue
5546 +ac_cv_prog_ac_ct_RANLIB="ranlib"
5547 +echo "$as_me:2764: found $ac_dir/$ac_word" >&5
5548 +break
5549 +done
5550 +
5551 +  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5552 +fi
5553 +fi
5554 +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5555 +if test -n "$ac_ct_RANLIB"; then
5556 +  echo "$as_me:2773: result: $ac_ct_RANLIB" >&5
5557 +echo "${ECHO_T}$ac_ct_RANLIB" >&6
5558 +else
5559 +  echo "$as_me:2776: result: no" >&5
5560 +echo "${ECHO_T}no" >&6
5561 +fi
5562 +
5563 +  RANLIB=$ac_ct_RANLIB
5564 +else
5565 +  RANLIB="$ac_cv_prog_RANLIB"
5566  fi
5567  
5568  # Extract the first word of "sed", so it can be a program name with args.
5569  set dummy sed; ac_word=$2
5570 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5571 -echo "configure:1481: checking for $ac_word" >&5
5572 -if eval "test \"`echo '$''{'ac_cv_path_SED'+set}'`\" = set"; then
5573 -  echo $ac_n "(cached) $ac_c" 1>&6
5574 +echo "$as_me:2787: checking for $ac_word" >&5
5575 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5576 +if test "${ac_cv_path_SED+set}" = set; then
5577 +  echo $ECHO_N "(cached) $ECHO_C" >&6
5578  else
5579 -  case "$SED" in
5580 -  /*)
5581 +  case $SED in
5582 +  [\\/]* | ?:[\\/]*)
5583    ac_cv_path_SED="$SED" # Let the user override the test with a path.
5584    ;;
5585 -  ?:/*)                         
5586 -  ac_cv_path_SED="$SED" # Let the user override the test with a dos path.
5587 -  ;;
5588    *)
5589 -  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
5590 -  ac_dummy="$PATH"
5591 -  for ac_dir in $ac_dummy; do 
5592 -    test -z "$ac_dir" && ac_dir=.
5593 -    if test -f $ac_dir/$ac_word; then
5594 -      ac_cv_path_SED="$ac_dir/$ac_word"
5595 -      break
5596 -    fi
5597 -  done
5598 -  IFS="$ac_save_ifs"
5599 +  ac_save_IFS=$IFS; IFS=$ac_path_separator
5600 +ac_dummy="$PATH"
5601 +for ac_dir in $ac_dummy; do
5602 +  IFS=$ac_save_IFS
5603 +  test -z "$ac_dir" && ac_dir=.
5604 +  if $as_executable_p "$ac_dir/$ac_word"; then
5605 +   ac_cv_path_SED="$ac_dir/$ac_word"
5606 +   echo "$as_me:2804: found $ac_dir/$ac_word" >&5
5607 +   break
5608 +fi
5609 +done
5610 +
5611    test -z "$ac_cv_path_SED" && ac_cv_path_SED="$PATH"
5612    ;;
5613  esac
5614  fi
5615 -SED="$ac_cv_path_SED"
5616 -if test -n "$SED"; then
5617 -  echo "$ac_t""$SED" 1>&6
5618 -else
5619 -  echo "$ac_t""no" 1>&6
5620 -fi
5621 -
5622 -
5623 -
5624 -
5625 -echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
5626 -echo "configure:1518: checking for Cygwin environment" >&5
5627 -if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
5628 -  echo $ac_n "(cached) $ac_c" 1>&6
5629 -else
5630 -  cat > conftest.$ac_ext <<EOF
5631 -#line 1523 "configure"
5632 -#include "confdefs.h"
5633 -
5634 -int main() {
5635 -
5636 -#ifndef __CYGWIN__
5637 -#define __CYGWIN__ __CYGWIN32__
5638 -#endif
5639 -return __CYGWIN__;
5640 -; return 0; }
5641 -EOF
5642 -if { (eval echo configure:1534: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5643 -  rm -rf conftest*
5644 -  ac_cv_cygwin=yes
5645 -else
5646 -  echo "configure: failed program was:" >&5
5647 -  cat conftest.$ac_ext >&5
5648 -  rm -rf conftest*
5649 -  ac_cv_cygwin=no
5650 -fi
5651 -rm -f conftest*
5652 -rm -f conftest*
5653 -fi
5654 -
5655 -echo "$ac_t""$ac_cv_cygwin" 1>&6
5656 -CYGWIN=
5657 -test "$ac_cv_cygwin" = yes && CYGWIN=yes
5658 -echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
5659 -echo "configure:1551: checking for mingw32 environment" >&5
5660 -if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
5661 -  echo $ac_n "(cached) $ac_c" 1>&6
5662 -else
5663 -  cat > conftest.$ac_ext <<EOF
5664 -#line 1556 "configure"
5665 -#include "confdefs.h"
5666 +SED=$ac_cv_path_SED
5667  
5668 -int main() {
5669 -return __MINGW32__;
5670 -; return 0; }
5671 -EOF
5672 -if { (eval echo configure:1563: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5673 -  rm -rf conftest*
5674 -  ac_cv_mingw32=yes
5675 +if test -n "$SED"; then
5676 +  echo "$as_me:2816: result: $SED" >&5
5677 +echo "${ECHO_T}$SED" >&6
5678  else
5679 -  echo "configure: failed program was:" >&5
5680 -  cat conftest.$ac_ext >&5
5681 -  rm -rf conftest*
5682 -  ac_cv_mingw32=no
5683 -fi
5684 -rm -f conftest*
5685 -rm -f conftest*
5686 +  echo "$as_me:2819: result: no" >&5
5687 +echo "${ECHO_T}no" >&6
5688  fi
5689  
5690 -echo "$ac_t""$ac_cv_mingw32" 1>&6
5691 -MINGW32=
5692 -test "$ac_cv_mingw32" = yes && MINGW32=yes
5693  # Check whether --enable-shared or --disable-shared was given.
5694  if test "${enable_shared+set}" = set; then
5695    enableval="$enable_shared"
5696 @@ -1596,8 +2841,7 @@
5697  esac
5698  else
5699    enable_shared=yes
5700 -fi
5701 -
5702 +fi;
5703  # Check whether --enable-static or --disable-static was given.
5704  if test "${enable_static+set}" = set; then
5705    enableval="$enable_static"
5706 @@ -1619,8 +2863,7 @@
5707  esac
5708  else
5709    enable_static=yes
5710 -fi
5711 -
5712 +fi;
5713  # Check whether --enable-fast-install or --disable-fast-install was given.
5714  if test "${enable_fast_install+set}" = set; then
5715    enableval="$enable_fast_install"
5716 @@ -1642,52 +2885,58 @@
5717  esac
5718  else
5719    enable_fast_install=yes
5720 -fi
5721 -
5722 -
5723 +fi;
5724  # Make sure we can run config.sub.
5725 -if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
5726 -else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
5727 -fi
5728 -
5729 -echo $ac_n "checking host system type""... $ac_c" 1>&6
5730 -echo "configure:1655: checking host system type" >&5
5731 -
5732 -host_alias=$host
5733 -case "$host_alias" in
5734 -NONE)
5735 -  case $nonopt in
5736 -  NONE)
5737 -    if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
5738 -    else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
5739 -    fi ;;
5740 -  *) host_alias=$nonopt ;;
5741 -  esac ;;
5742 -esac
5743 -
5744 -host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
5745 -host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
5746 -host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
5747 -host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
5748 -echo "$ac_t""$host" 1>&6
5749 -
5750 -echo $ac_n "checking build system type""... $ac_c" 1>&6
5751 -echo "configure:1676: checking build system type" >&5
5752 -
5753 -build_alias=$build
5754 -case "$build_alias" in
5755 -NONE)
5756 -  case $nonopt in
5757 -  NONE) build_alias=$host_alias ;;
5758 -  *) build_alias=$nonopt ;;
5759 -  esac ;;
5760 -esac
5761 -
5762 -build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
5763 -build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
5764 -build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
5765 -build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
5766 -echo "$ac_t""$build" 1>&6
5767 +$ac_config_sub sun4 >/dev/null 2>&1 ||
5768 +  { { echo "$as_me:2891: error: cannot run $ac_config_sub" >&5
5769 +echo "$as_me: error: cannot run $ac_config_sub" >&2;}
5770 +   { (exit 1); exit 1; }; }
5771 +
5772 +echo "$as_me:2895: checking build system type" >&5
5773 +echo $ECHO_N "checking build system type... $ECHO_C" >&6
5774 +if test "${ac_cv_build+set}" = set; then
5775 +  echo $ECHO_N "(cached) $ECHO_C" >&6
5776 +else
5777 +  ac_cv_build_alias=$build_alias
5778 +test -z "$ac_cv_build_alias" &&
5779 +  ac_cv_build_alias=`$ac_config_guess`
5780 +test -z "$ac_cv_build_alias" &&
5781 +  { { echo "$as_me:2904: error: cannot guess build type; you must specify one" >&5
5782 +echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
5783 +   { (exit 1); exit 1; }; }
5784 +ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
5785 +  { { echo "$as_me:2908: error: $ac_config_sub $ac_cv_build_alias failed." >&5
5786 +echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
5787 +   { (exit 1); exit 1; }; }
5788 +
5789 +fi
5790 +echo "$as_me:2913: result: $ac_cv_build" >&5
5791 +echo "${ECHO_T}$ac_cv_build" >&6
5792 +build=$ac_cv_build
5793 +build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
5794 +build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
5795 +build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
5796 +
5797 +echo "$as_me:2920: checking host system type" >&5
5798 +echo $ECHO_N "checking host system type... $ECHO_C" >&6
5799 +if test "${ac_cv_host+set}" = set; then
5800 +  echo $ECHO_N "(cached) $ECHO_C" >&6
5801 +else
5802 +  ac_cv_host_alias=$host_alias
5803 +test -z "$ac_cv_host_alias" &&
5804 +  ac_cv_host_alias=$ac_cv_build_alias
5805 +ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
5806 +  { { echo "$as_me:2929: error: $ac_config_sub $ac_cv_host_alias failed" >&5
5807 +echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
5808 +   { (exit 1); exit 1; }; }
5809 +
5810 +fi
5811 +echo "$as_me:2934: result: $ac_cv_host" >&5
5812 +echo "${ECHO_T}$ac_cv_host" >&6
5813 +host=$ac_cv_host
5814 +host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
5815 +host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
5816 +host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
5817  
5818  # Check whether --with-gnu-ld or --without-gnu-ld was given.
5819  if test "${with_gnu_ld+set}" = set; then
5820 @@ -1695,13 +2944,12 @@
5821    test "$withval" = no || with_gnu_ld=yes
5822  else
5823    with_gnu_ld=no
5824 -fi
5825 -
5826 +fi;
5827  ac_prog=ld
5828  if test "$GCC" = yes; then
5829    # Check if gcc -print-prog-name=ld gives a path.
5830 -  echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
5831 -echo "configure:1705: checking for ld used by GCC" >&5
5832 +  echo "$as_me:2951: checking for ld used by GCC" >&5
5833 +echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
5834    case $host in
5835    *-*-mingw*)
5836      # gcc leaves a trailing carriage return which upsets mingw
5837 @@ -1730,14 +2978,14 @@
5838      ;;
5839    esac
5840  elif test "$with_gnu_ld" = yes; then
5841 -  echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
5842 -echo "configure:1735: checking for GNU ld" >&5
5843 +  echo "$as_me:2981: checking for GNU ld" >&5
5844 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5845  else
5846 -  echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
5847 -echo "configure:1738: checking for non-GNU ld" >&5
5848 +  echo "$as_me:2984: checking for non-GNU ld" >&5
5849 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5850  fi
5851 -if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
5852 -  echo $ac_n "(cached) $ac_c" 1>&6
5853 +if test "${lt_cv_path_LD+set}" = set; then
5854 +  echo $ECHO_N "(cached) $ECHO_C" >&6
5855  else
5856    if test -z "$LD"; then
5857    IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5858 @@ -1763,15 +3011,19 @@
5859  
5860  LD="$lt_cv_path_LD"
5861  if test -n "$LD"; then
5862 -  echo "$ac_t""$LD" 1>&6
5863 +  echo "$as_me:3014: result: $LD" >&5
5864 +echo "${ECHO_T}$LD" >&6
5865  else
5866 -  echo "$ac_t""no" 1>&6
5867 +  echo "$as_me:3017: result: no" >&5
5868 +echo "${ECHO_T}no" >&6
5869  fi
5870 -test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
5871 -echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
5872 -echo "configure:1773: checking if the linker ($LD) is GNU ld" >&5
5873 -if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
5874 -  echo $ac_n "(cached) $ac_c" 1>&6
5875 +test -z "$LD" && { { echo "$as_me:3020: error: no acceptable ld found in \$PATH" >&5
5876 +echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5877 +   { (exit 1); exit 1; }; }
5878 +echo "$as_me:3023: checking if the linker ($LD) is GNU ld" >&5
5879 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5880 +if test "${lt_cv_prog_gnu_ld+set}" = set; then
5881 +  echo $ECHO_N "(cached) $ECHO_C" >&6
5882  else
5883    # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5884  if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
5885 @@ -1780,27 +3032,26 @@
5886    lt_cv_prog_gnu_ld=no
5887  fi
5888  fi
5889 -
5890 -echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
5891 +echo "$as_me:3035: result: $lt_cv_prog_gnu_ld" >&5
5892 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5893  with_gnu_ld=$lt_cv_prog_gnu_ld
5894  
5895 -
5896 -echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
5897 -echo "configure:1790: checking for $LD option to reload object files" >&5
5898 -if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
5899 -  echo $ac_n "(cached) $ac_c" 1>&6
5900 +echo "$as_me:3039: checking for $LD option to reload object files" >&5
5901 +echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
5902 +if test "${lt_cv_ld_reload_flag+set}" = set; then
5903 +  echo $ECHO_N "(cached) $ECHO_C" >&6
5904  else
5905    lt_cv_ld_reload_flag='-r'
5906  fi
5907 -
5908 -echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
5909 +echo "$as_me:3046: result: $lt_cv_ld_reload_flag" >&5
5910 +echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5911  reload_flag=$lt_cv_ld_reload_flag
5912  test -n "$reload_flag" && reload_flag=" $reload_flag"
5913  
5914 -echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
5915 -echo "configure:1802: checking for BSD-compatible nm" >&5
5916 -if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
5917 -  echo $ac_n "(cached) $ac_c" 1>&6
5918 +echo "$as_me:3051: checking for BSD-compatible nm" >&5
5919 +echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
5920 +if test "${lt_cv_path_NM+set}" = set; then
5921 +  echo $ECHO_N "(cached) $ECHO_C" >&6
5922  else
5923    if test -n "$NM"; then
5924    # Let the user override the test.
5925 @@ -1833,12 +3084,13 @@
5926  fi
5927  
5928  NM="$lt_cv_path_NM"
5929 -echo "$ac_t""$NM" 1>&6
5930 +echo "$as_me:3087: result: $NM" >&5
5931 +echo "${ECHO_T}$NM" >&6
5932  
5933 -echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
5934 -echo "configure:1840: checking how to recognise dependant libraries" >&5
5935 -if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
5936 -  echo $ac_n "(cached) $ac_c" 1>&6
5937 +echo "$as_me:3090: checking how to recognise dependant libraries" >&5
5938 +echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
5939 +if test "${lt_cv_deplibs_check_method+set}" = set; then
5940 +  echo $ECHO_N "(cached) $ECHO_C" >&6
5941  else
5942    lt_cv_file_magic_cmd='$MAGIC_CMD'
5943  lt_cv_file_magic_test_file=
5944 @@ -2003,84 +3255,18 @@
5945  esac
5946  
5947  fi
5948 -
5949 -echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
5950 +echo "$as_me:3258: result: $lt_cv_deplibs_check_method" >&5
5951 +echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5952  file_magic_cmd=$lt_cv_file_magic_cmd
5953  deplibs_check_method=$lt_cv_deplibs_check_method
5954  
5955 -echo $ac_n "checking for object suffix""... $ac_c" 1>&6
5956 -echo "configure:2013: checking for object suffix" >&5
5957 -if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
5958 -  echo $ac_n "(cached) $ac_c" 1>&6
5959 -else
5960 -  rm -f conftest*
5961 -echo 'int i = 1;' > conftest.$ac_ext
5962 -if { (eval echo configure:2019: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5963 -  for ac_file in conftest.*; do
5964 -    case $ac_file in
5965 -    *.c) ;;
5966 -    *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
5967 -    esac
5968 -  done
5969 -else
5970 -  { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
5971 -fi
5972 -rm -f conftest*
5973 -fi
5974 -
5975 -echo "$ac_t""$ac_cv_objext" 1>&6
5976 -OBJEXT=$ac_cv_objext
5977 -ac_objext=$ac_cv_objext
5978 -
5979 -
5980 -
5981 -echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
5982 -echo "configure:2039: checking for executable suffix" >&5
5983 -if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
5984 -  echo $ac_n "(cached) $ac_c" 1>&6
5985 -else
5986 -  if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
5987 -  ac_cv_exeext=.exe
5988 -else
5989 -  rm -f conftest*
5990 -  echo 'int main () { return 0; }' > conftest.$ac_ext
5991 -  ac_cv_exeext=
5992 -  if { (eval echo configure:2049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
5993 -    for file in conftest.*; do
5994 -      case $file in
5995 -      *.c | *.o | *.obj) ;;
5996 -      *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
5997 -      esac
5998 -    done
5999 -  else
6000 -    { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
6001 -  fi
6002 -  rm -f conftest*
6003 -  test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
6004 -fi
6005 -fi
6006 -
6007 -EXEEXT=""
6008 -test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
6009 -echo "$ac_t""${ac_cv_exeext}" 1>&6
6010 -ac_exeext=$EXEEXT
6011 -
6012 -if test $host != $build; then
6013 -  ac_tool_prefix=${host_alias}-
6014 -else
6015 -  ac_tool_prefix=
6016 -fi
6017 -
6018 -
6019 -
6020 -
6021  # Check for command to grab the raw symbol name followed by C symbol from nm.
6022 -echo $ac_n "checking command to parse $NM output""... $ac_c" 1>&6
6023 -echo "configure:2080: checking command to parse $NM output" >&5
6024 -if eval "test \"`echo '$''{'lt_cv_sys_global_symbol_pipe'+set}'`\" = set"; then
6025 -  echo $ac_n "(cached) $ac_c" 1>&6
6026 +echo "$as_me:3264: checking command to parse $NM output" >&5
6027 +echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6
6028 +if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6029 +  echo $ECHO_N "(cached) $ECHO_C" >&6
6030  else
6031 -  
6032 +
6033  # These are sane defaults that work on at least a few old systems.
6034  # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6035  
6036 @@ -2152,10 +3338,18 @@
6037  int main(){nm_test_var='a';nm_test_func();return(0);}
6038  EOF
6039  
6040 -  if { (eval echo configure:2156: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6041 +  if { (eval echo "$as_me:3341: \"$ac_compile\"") >&5
6042 +  (eval $ac_compile) 2>&5
6043 +  ac_status=$?
6044 +  echo "$as_me:3344: \$? = $ac_status" >&5
6045 +  (exit $ac_status); }; then
6046      # Now try to grab the symbols.
6047      nlist=conftest.nm
6048 -    if { (eval echo configure:2159: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\") 1>&5; (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5; } && test -s "$nlist"; then
6049 +    if { (eval echo "$as_me:3348: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6050 +  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6051 +  ac_status=$?
6052 +  echo "$as_me:3351: \$? = $ac_status" >&5
6053 +  (exit $ac_status); } && test -s "$nlist"; then
6054        # Try sorting and uniquifying the output.
6055        if sort "$nlist" | uniq > "$nlist"T; then
6056         mv -f "$nlist"T "$nlist"
6057 @@ -2206,7 +3400,11 @@
6058           save_CFLAGS="$CFLAGS"
6059           LIBS="conftstm.$ac_objext"
6060           CFLAGS="$CFLAGS$no_builtin_flag"
6061 -         if { (eval echo configure:2210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6062 +         if { (eval echo "$as_me:3403: \"$ac_link\"") >&5
6063 +  (eval $ac_link) 2>&5
6064 +  ac_status=$?
6065 +  echo "$as_me:3406: \$? = $ac_status" >&5
6066 +  (exit $ac_status); } && test -s conftest; then
6067             pipe_works=yes
6068           fi
6069           LIBS="$save_LIBS"
6070 @@ -2243,63 +3441,69 @@
6071    global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
6072  fi
6073  if test -z "$global_symbol_pipe$global_symbol_to_cdecl"; then
6074 -  echo "$ac_t""failed" 1>&6
6075 +  echo "$as_me:3444: result: failed" >&5
6076 +echo "${ECHO_T}failed" >&6
6077  else
6078 -  echo "$ac_t""ok" 1>&6
6079 +  echo "$as_me:3447: result: ok" >&5
6080 +echo "${ECHO_T}ok" >&6
6081  fi
6082  
6083 -for ac_hdr in dlfcn.h
6084 +for ac_header in dlfcn.h
6085  do
6086 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6087 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6088 -echo "configure:2256: checking for $ac_hdr" >&5
6089 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6090 -  echo $ac_n "(cached) $ac_c" 1>&6
6091 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6092 +echo "$as_me:3454: checking for $ac_header" >&5
6093 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6094 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
6095 +  echo $ECHO_N "(cached) $ECHO_C" >&6
6096  else
6097 -  cat > conftest.$ac_ext <<EOF
6098 -#line 2261 "configure"
6099 +  cat >conftest.$ac_ext <<_ACEOF
6100 +#line 3460 "configure"
6101  #include "confdefs.h"
6102 -#include <$ac_hdr>
6103 -EOF
6104 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6105 -{ (eval echo configure:2266: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6106 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6107 -if test -z "$ac_err"; then
6108 -  rm -rf conftest*
6109 -  eval "ac_cv_header_$ac_safe=yes"
6110 +#include <$ac_header>
6111 +_ACEOF
6112 +if { (eval echo "$as_me:3464: \"$ac_cpp conftest.$ac_ext\"") >&5
6113 +  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6114 +  ac_status=$?
6115 +  egrep -v '^ *\+' conftest.er1 >conftest.err
6116 +  rm -f conftest.er1
6117 +  cat conftest.err >&5
6118 +  echo "$as_me:3470: \$? = $ac_status" >&5
6119 +  (exit $ac_status); } >/dev/null; then
6120 +  if test -s conftest.err; then
6121 +    ac_cpp_err=$ac_c_preproc_warn_flag
6122 +  else
6123 +    ac_cpp_err=
6124 +  fi
6125  else
6126 -  echo "$ac_err" >&5
6127 -  echo "configure: failed program was:" >&5
6128 +  ac_cpp_err=yes
6129 +fi
6130 +if test -z "$ac_cpp_err"; then
6131 +  eval "$as_ac_Header=yes"
6132 +else
6133 +  echo "$as_me: failed program was:" >&5
6134    cat conftest.$ac_ext >&5
6135 -  rm -rf conftest*
6136 -  eval "ac_cv_header_$ac_safe=no"
6137 +  eval "$as_ac_Header=no"
6138  fi
6139 -rm -f conftest*
6140 +rm -f conftest.err conftest.$ac_ext
6141  fi
6142 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6143 -  echo "$ac_t""yes" 1>&6
6144 -    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6145 -  cat >> confdefs.h <<EOF
6146 -#define $ac_tr_hdr 1
6147 +echo "$as_me:3489: result: `eval echo '${'$as_ac_Header'}'`" >&5
6148 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6149 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
6150 +  cat >>confdefs.h <<EOF
6151 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6152  EOF
6153
6154 -else
6155 -  echo "$ac_t""no" 1>&6
6156 +
6157  fi
6158  done
6159  
6160 -
6161 -
6162 -
6163 -
6164  # Only perform the check for file, if the check method requires it
6165  case $deplibs_check_method in
6166  file_magic*)
6167    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6168 -    echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
6169 -echo "configure:2301: checking for ${ac_tool_prefix}file" >&5
6170 -if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
6171 -  echo $ac_n "(cached) $ac_c" 1>&6
6172 +    echo "$as_me:3503: checking for ${ac_tool_prefix}file" >&5
6173 +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6174 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6175 +  echo $ECHO_N "(cached) $ECHO_C" >&6
6176  else
6177    case $MAGIC_CMD in
6178    /*)
6179 @@ -2351,17 +3555,19 @@
6180  
6181  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6182  if test -n "$MAGIC_CMD"; then
6183 -  echo "$ac_t""$MAGIC_CMD" 1>&6
6184 +  echo "$as_me:3558: result: $MAGIC_CMD" >&5
6185 +echo "${ECHO_T}$MAGIC_CMD" >&6
6186  else
6187 -  echo "$ac_t""no" 1>&6
6188 +  echo "$as_me:3561: result: no" >&5
6189 +echo "${ECHO_T}no" >&6
6190  fi
6191  
6192  if test -z "$lt_cv_path_MAGIC_CMD"; then
6193    if test -n "$ac_tool_prefix"; then
6194 -    echo $ac_n "checking for file""... $ac_c" 1>&6
6195 -echo "configure:2363: checking for file" >&5
6196 -if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
6197 -  echo $ac_n "(cached) $ac_c" 1>&6
6198 +    echo "$as_me:3567: checking for file" >&5
6199 +echo $ECHO_N "checking for file... $ECHO_C" >&6
6200 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6201 +  echo $ECHO_N "(cached) $ECHO_C" >&6
6202  else
6203    case $MAGIC_CMD in
6204    /*)
6205 @@ -2413,9 +3619,11 @@
6206  
6207  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6208  if test -n "$MAGIC_CMD"; then
6209 -  echo "$ac_t""$MAGIC_CMD" 1>&6
6210 +  echo "$as_me:3622: result: $MAGIC_CMD" >&5
6211 +echo "${ECHO_T}$MAGIC_CMD" >&6
6212  else
6213 -  echo "$ac_t""no" 1>&6
6214 +  echo "$as_me:3625: result: no" >&5
6215 +echo "${ECHO_T}no" >&6
6216  fi
6217  
6218    else
6219 @@ -2427,150 +3635,162 @@
6220    ;;
6221  esac
6222  
6223 -# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6224 +if test -n "$ac_tool_prefix"; then
6225 +  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6226  set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6227 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6228 -echo "configure:2434: checking for $ac_word" >&5
6229 -if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
6230 -  echo $ac_n "(cached) $ac_c" 1>&6
6231 +echo "$as_me:3641: checking for $ac_word" >&5
6232 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6233 +if test "${ac_cv_prog_RANLIB+set}" = set; then
6234 +  echo $ECHO_N "(cached) $ECHO_C" >&6
6235  else
6236    if test -n "$RANLIB"; then
6237    ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6238  else
6239 -  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
6240 -  ac_dummy="$PATH"
6241 -  for ac_dir in $ac_dummy; do
6242 -    test -z "$ac_dir" && ac_dir=.
6243 -    if test -f $ac_dir/$ac_word; then
6244 -      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6245 -      break
6246 -    fi
6247 -  done
6248 -  IFS="$ac_save_ifs"
6249 +  ac_save_IFS=$IFS; IFS=$ac_path_separator
6250 +ac_dummy="$PATH"
6251 +for ac_dir in $ac_dummy; do
6252 +  IFS=$ac_save_IFS
6253 +  test -z "$ac_dir" && ac_dir=.
6254 +  $as_executable_p "$ac_dir/$ac_word" || continue
6255 +ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6256 +echo "$as_me:3656: found $ac_dir/$ac_word" >&5
6257 +break
6258 +done
6259 +
6260  fi
6261  fi
6262 -RANLIB="$ac_cv_prog_RANLIB"
6263 +RANLIB=$ac_cv_prog_RANLIB
6264  if test -n "$RANLIB"; then
6265 -  echo "$ac_t""$RANLIB" 1>&6
6266 +  echo "$as_me:3664: result: $RANLIB" >&5
6267 +echo "${ECHO_T}$RANLIB" >&6
6268  else
6269 -  echo "$ac_t""no" 1>&6
6270 +  echo "$as_me:3667: result: no" >&5
6271 +echo "${ECHO_T}no" >&6
6272  fi
6273  
6274 -
6275 +fi
6276  if test -z "$ac_cv_prog_RANLIB"; then
6277 -if test -n "$ac_tool_prefix"; then
6278 +  ac_ct_RANLIB=$RANLIB
6279    # Extract the first word of "ranlib", so it can be a program name with args.
6280  set dummy ranlib; ac_word=$2
6281 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6282 -echo "configure:2466: checking for $ac_word" >&5
6283 -if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
6284 -  echo $ac_n "(cached) $ac_c" 1>&6
6285 -else
6286 -  if test -n "$RANLIB"; then
6287 -  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6288 -else
6289 -  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
6290 -  ac_dummy="$PATH"
6291 -  for ac_dir in $ac_dummy; do
6292 -    test -z "$ac_dir" && ac_dir=.
6293 -    if test -f $ac_dir/$ac_word; then
6294 -      ac_cv_prog_RANLIB="ranlib"
6295 -      break
6296 -    fi
6297 -  done
6298 -  IFS="$ac_save_ifs"
6299 -  test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
6300 +echo "$as_me:3676: checking for $ac_word" >&5
6301 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6302 +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6303 +  echo $ECHO_N "(cached) $ECHO_C" >&6
6304 +else
6305 +  if test -n "$ac_ct_RANLIB"; then
6306 +  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6307 +else
6308 +  ac_save_IFS=$IFS; IFS=$ac_path_separator
6309 +ac_dummy="$PATH"
6310 +for ac_dir in $ac_dummy; do
6311 +  IFS=$ac_save_IFS
6312 +  test -z "$ac_dir" && ac_dir=.
6313 +  $as_executable_p "$ac_dir/$ac_word" || continue
6314 +ac_cv_prog_ac_ct_RANLIB="ranlib"
6315 +echo "$as_me:3691: found $ac_dir/$ac_word" >&5
6316 +break
6317 +done
6318 +
6319 +  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6320  fi
6321  fi
6322 -RANLIB="$ac_cv_prog_RANLIB"
6323 -if test -n "$RANLIB"; then
6324 -  echo "$ac_t""$RANLIB" 1>&6
6325 +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6326 +if test -n "$ac_ct_RANLIB"; then
6327 +  echo "$as_me:3700: result: $ac_ct_RANLIB" >&5
6328 +echo "${ECHO_T}$ac_ct_RANLIB" >&6
6329  else
6330 -  echo "$ac_t""no" 1>&6
6331 +  echo "$as_me:3703: result: no" >&5
6332 +echo "${ECHO_T}no" >&6
6333  fi
6334  
6335 +  RANLIB=$ac_ct_RANLIB
6336  else
6337 -  RANLIB=":"
6338 -fi
6339 +  RANLIB="$ac_cv_prog_RANLIB"
6340  fi
6341  
6342 -# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6343 +if test -n "$ac_tool_prefix"; then
6344 +  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6345  set dummy ${ac_tool_prefix}strip; ac_word=$2
6346 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6347 -echo "configure:2501: checking for $ac_word" >&5
6348 -if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
6349 -  echo $ac_n "(cached) $ac_c" 1>&6
6350 +echo "$as_me:3715: checking for $ac_word" >&5
6351 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6352 +if test "${ac_cv_prog_STRIP+set}" = set; then
6353 +  echo $ECHO_N "(cached) $ECHO_C" >&6
6354  else
6355    if test -n "$STRIP"; then
6356    ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6357  else
6358 -  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
6359 -  ac_dummy="$PATH"
6360 -  for ac_dir in $ac_dummy; do
6361 -    test -z "$ac_dir" && ac_dir=.
6362 -    if test -f $ac_dir/$ac_word; then
6363 -      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6364 -      break
6365 -    fi
6366 -  done
6367 -  IFS="$ac_save_ifs"
6368 +  ac_save_IFS=$IFS; IFS=$ac_path_separator
6369 +ac_dummy="$PATH"
6370 +for ac_dir in $ac_dummy; do
6371 +  IFS=$ac_save_IFS
6372 +  test -z "$ac_dir" && ac_dir=.
6373 +  $as_executable_p "$ac_dir/$ac_word" || continue
6374 +ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6375 +echo "$as_me:3730: found $ac_dir/$ac_word" >&5
6376 +break
6377 +done
6378 +
6379  fi
6380  fi
6381 -STRIP="$ac_cv_prog_STRIP"
6382 +STRIP=$ac_cv_prog_STRIP
6383  if test -n "$STRIP"; then
6384 -  echo "$ac_t""$STRIP" 1>&6
6385 +  echo "$as_me:3738: result: $STRIP" >&5
6386 +echo "${ECHO_T}$STRIP" >&6
6387  else
6388 -  echo "$ac_t""no" 1>&6
6389 +  echo "$as_me:3741: result: no" >&5
6390 +echo "${ECHO_T}no" >&6
6391  fi
6392  
6393 -
6394 +fi
6395  if test -z "$ac_cv_prog_STRIP"; then
6396 -if test -n "$ac_tool_prefix"; then
6397 +  ac_ct_STRIP=$STRIP
6398    # Extract the first word of "strip", so it can be a program name with args.
6399  set dummy strip; ac_word=$2
6400 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6401 -echo "configure:2533: checking for $ac_word" >&5
6402 -if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
6403 -  echo $ac_n "(cached) $ac_c" 1>&6
6404 -else
6405 -  if test -n "$STRIP"; then
6406 -  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6407 -else
6408 -  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
6409 -  ac_dummy="$PATH"
6410 -  for ac_dir in $ac_dummy; do
6411 -    test -z "$ac_dir" && ac_dir=.
6412 -    if test -f $ac_dir/$ac_word; then
6413 -      ac_cv_prog_STRIP="strip"
6414 -      break
6415 -    fi
6416 -  done
6417 -  IFS="$ac_save_ifs"
6418 -  test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
6419 +echo "$as_me:3750: checking for $ac_word" >&5
6420 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6421 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6422 +  echo $ECHO_N "(cached) $ECHO_C" >&6
6423 +else
6424 +  if test -n "$ac_ct_STRIP"; then
6425 +  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6426 +else
6427 +  ac_save_IFS=$IFS; IFS=$ac_path_separator
6428 +ac_dummy="$PATH"
6429 +for ac_dir in $ac_dummy; do
6430 +  IFS=$ac_save_IFS
6431 +  test -z "$ac_dir" && ac_dir=.
6432 +  $as_executable_p "$ac_dir/$ac_word" || continue
6433 +ac_cv_prog_ac_ct_STRIP="strip"
6434 +echo "$as_me:3765: found $ac_dir/$ac_word" >&5
6435 +break
6436 +done
6437 +
6438 +  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6439  fi
6440  fi
6441 -STRIP="$ac_cv_prog_STRIP"
6442 -if test -n "$STRIP"; then
6443 -  echo "$ac_t""$STRIP" 1>&6
6444 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6445 +if test -n "$ac_ct_STRIP"; then
6446 +  echo "$as_me:3774: result: $ac_ct_STRIP" >&5
6447 +echo "${ECHO_T}$ac_ct_STRIP" >&6
6448  else
6449 -  echo "$ac_t""no" 1>&6
6450 +  echo "$as_me:3777: result: no" >&5
6451 +echo "${ECHO_T}no" >&6
6452  fi
6453  
6454 +  STRIP=$ac_ct_STRIP
6455  else
6456 -  STRIP=":"
6457 -fi
6458 +  STRIP="$ac_cv_prog_STRIP"
6459  fi
6460  
6461 -
6462  enable_dlopen=no
6463  enable_win32_dll=no
6464  
6465  # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6466  if test "${enable_libtool_lock+set}" = set; then
6467    enableval="$enable_libtool_lock"
6468 -  :
6469 -fi
6470  
6471 +fi;
6472  test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6473  
6474  # Some flags need to be propagated to the compiler or linker for good
6475 @@ -2578,8 +3798,12 @@
6476  case $host in
6477  *-*-irix6*)
6478    # Find out which ABI we are using.
6479 -  echo '#line 2582 "configure"' > conftest.$ac_ext
6480 -  if { (eval echo configure:2583: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6481 +  echo '#line 3801 "configure"' > conftest.$ac_ext
6482 +  if { (eval echo "$as_me:3802: \"$ac_compile\"") >&5
6483 +  (eval $ac_compile) 2>&5
6484 +  ac_status=$?
6485 +  echo "$as_me:3805: \$? = $ac_status" >&5
6486 +  (exit $ac_status); }; then
6487      case `/usr/bin/file conftest.$ac_objext` in
6488      *32-bit*)
6489        LD="${LD-ld} -32"
6490 @@ -2599,54 +3823,64 @@
6491    # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6492    SAVE_CFLAGS="$CFLAGS"
6493    CFLAGS="$CFLAGS -belf"
6494 -  echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
6495 -echo "configure:2604: checking whether the C compiler needs -belf" >&5
6496 -if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
6497 -  echo $ac_n "(cached) $ac_c" 1>&6
6498 +  echo "$as_me:3826: checking whether the C compiler needs -belf" >&5
6499 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
6500 +if test "${lt_cv_cc_needs_belf+set}" = set; then
6501 +  echo $ECHO_N "(cached) $ECHO_C" >&6
6502  else
6503 -  
6504 +
6505       ac_ext=c
6506 -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6507  ac_cpp='$CPP $CPPFLAGS'
6508 -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6509 -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6510 -cross_compiling=$ac_cv_prog_cc_cross
6511 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6512 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6513 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
6514  
6515 -     cat > conftest.$ac_ext <<EOF
6516 -#line 2617 "configure"
6517 +     cat >conftest.$ac_ext <<_ACEOF
6518 +#line 3839 "configure"
6519  #include "confdefs.h"
6520  
6521 -int main() {
6522 +int
6523 +main ()
6524 +{
6525  
6526 -; return 0; }
6527 -EOF
6528 -if { (eval echo configure:2624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6529 -  rm -rf conftest*
6530 +  ;
6531 +  return 0;
6532 +}
6533 +_ACEOF
6534 +rm -f conftest.$ac_objext conftest$ac_exeext
6535 +if { (eval echo "$as_me:3851: \"$ac_link\"") >&5
6536 +  (eval $ac_link) 2>&5
6537 +  ac_status=$?
6538 +  echo "$as_me:3854: \$? = $ac_status" >&5
6539 +  (exit $ac_status); } &&
6540 +         { ac_try='test -s conftest$ac_exeext'
6541 +  { (eval echo "$as_me:3857: \"$ac_try\"") >&5
6542 +  (eval $ac_try) 2>&5
6543 +  ac_status=$?
6544 +  echo "$as_me:3860: \$? = $ac_status" >&5
6545 +  (exit $ac_status); }; }; then
6546    lt_cv_cc_needs_belf=yes
6547  else
6548 -  echo "configure: failed program was:" >&5
6549 -  cat conftest.$ac_ext >&5
6550 -  rm -rf conftest*
6551 -  lt_cv_cc_needs_belf=no
6552 +  echo "$as_me: failed program was:" >&5
6553 +cat conftest.$ac_ext >&5
6554 +lt_cv_cc_needs_belf=no
6555  fi
6556 -rm -f conftest*
6557 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6558       ac_ext=c
6559 -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6560  ac_cpp='$CPP $CPPFLAGS'
6561 -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6562 -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6563 -cross_compiling=$ac_cv_prog_cc_cross
6564 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6565 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6566 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
6567  
6568  fi
6569 -
6570 -echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
6571 +echo "$as_me:3876: result: $lt_cv_cc_needs_belf" >&5
6572 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
6573    if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6574      # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6575      CFLAGS="$SAVE_CFLAGS"
6576    fi
6577    ;;
6578  
6579 -
6580  esac
6581  
6582  # Sed substitution that helps us do robust quoting.  It backslashifies
6583 @@ -2732,8 +3966,8 @@
6584  set dummy $CC
6585  compiler="$2"
6586  
6587 -echo $ac_n "checking for objdir""... $ac_c" 1>&6
6588 -echo "configure:2737: checking for objdir" >&5
6589 +echo "$as_me:3969: checking for objdir" >&5
6590 +echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6591  rm -f .libs 2>/dev/null
6592  mkdir .libs 2>/dev/null
6593  if test -d .libs; then
6594 @@ -2743,8 +3977,8 @@
6595    objdir=_libs
6596  fi
6597  rmdir .libs 2>/dev/null
6598 -echo "$ac_t""$objdir" 1>&6
6599 -
6600 +echo "$as_me:3980: result: $objdir" >&5
6601 +echo "${ECHO_T}$objdir" >&6
6602  
6603  # Check whether --with-pic or --without-pic was given.
6604  if test "${with_pic+set}" = set; then
6605 @@ -2752,17 +3986,16 @@
6606    pic_mode="$withval"
6607  else
6608    pic_mode=default
6609 -fi
6610 -
6611 +fi;
6612  test -z "$pic_mode" && pic_mode=default
6613  
6614  # We assume here that the value for lt_cv_prog_cc_pic will not be cached
6615  # in isolation, and that seeing it set (from the cache) indicates that
6616  # the associated values are set (in the cache) correctly too.
6617 -echo $ac_n "checking for $compiler option to produce PIC""... $ac_c" 1>&6
6618 -echo "configure:2764: checking for $compiler option to produce PIC" >&5
6619 -if eval "test \"`echo '$''{'lt_cv_prog_cc_pic'+set}'`\" = set"; then
6620 -  echo $ac_n "(cached) $ac_c" 1>&6
6621 +echo "$as_me:3995: checking for $compiler option to produce PIC" >&5
6622 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6623 +if test "${lt_cv_prog_cc_pic+set}" = set; then
6624 +  echo $ECHO_N "(cached) $ECHO_C" >&6
6625  else
6626     lt_cv_prog_cc_pic=
6627    lt_cv_prog_cc_shlib=
6628 @@ -2906,28 +4139,44 @@
6629  fi
6630  
6631  if test -z "$lt_cv_prog_cc_pic"; then
6632 -  echo "$ac_t""none" 1>&6
6633 +  echo "$as_me:4142: result: none" >&5
6634 +echo "${ECHO_T}none" >&6
6635  else
6636 -  echo "$ac_t""$lt_cv_prog_cc_pic" 1>&6
6637 +  echo "$as_me:4145: result: $lt_cv_prog_cc_pic" >&5
6638 +echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6
6639  
6640    # Check to make sure the pic_flag actually works.
6641 -  echo $ac_n "checking if $compiler PIC flag $lt_cv_prog_cc_pic works""... $ac_c" 1>&6
6642 -echo "configure:2916: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
6643 -  if eval "test \"`echo '$''{'lt_cv_prog_cc_pic_works'+set}'`\" = set"; then
6644 -  echo $ac_n "(cached) $ac_c" 1>&6
6645 +  echo "$as_me:4149: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
6646 +echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6
6647 +  if test "${lt_cv_prog_cc_pic_works+set}" = set; then
6648 +  echo $ECHO_N "(cached) $ECHO_C" >&6
6649  else
6650        save_CFLAGS="$CFLAGS"
6651      CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
6652 -    cat > conftest.$ac_ext <<EOF
6653 -#line 2923 "configure"
6654 +    cat >conftest.$ac_ext <<_ACEOF
6655 +#line 4157 "configure"
6656  #include "confdefs.h"
6657  
6658 -int main() {
6659 +int
6660 +main ()
6661 +{
6662  
6663 -; return 0; }
6664 -EOF
6665 -if { (eval echo configure:2930: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6666 -  rm -rf conftest*
6667 +  ;
6668 +  return 0;
6669 +}
6670 +_ACEOF
6671 +rm -f conftest.$ac_objext
6672 +if { (eval echo "$as_me:4169: \"$ac_compile\"") >&5
6673 +  (eval $ac_compile) 2>&5
6674 +  ac_status=$?
6675 +  echo "$as_me:4172: \$? = $ac_status" >&5
6676 +  (exit $ac_status); } &&
6677 +         { ac_try='test -s conftest.$ac_objext'
6678 +  { (eval echo "$as_me:4175: \"$ac_try\"") >&5
6679 +  (eval $ac_try) 2>&5
6680 +  ac_status=$?
6681 +  echo "$as_me:4178: \$? = $ac_status" >&5
6682 +  (exit $ac_status); }; }; then
6683          case $host_os in
6684        hpux9* | hpux10* | hpux11*)
6685         # On HP-UX, both CC and GCC only warn that PIC is supported... then
6686 @@ -2943,19 +4192,17 @@
6687         lt_cv_prog_cc_pic_works=yes
6688         ;;
6689        esac
6690 -    
6691 +
6692  else
6693 -  echo "configure: failed program was:" >&5
6694 -  cat conftest.$ac_ext >&5
6695 -  rm -rf conftest*
6696 -        lt_cv_prog_cc_pic_works=no
6697 -    
6698 +  echo "$as_me: failed program was:" >&5
6699 +cat conftest.$ac_ext >&5
6700 +      lt_cv_prog_cc_pic_works=no
6701 +
6702  fi
6703 -rm -f conftest*
6704 +rm -f conftest.$ac_objext conftest.$ac_ext
6705      CFLAGS="$save_CFLAGS"
6706 -  
6707 -fi
6708  
6709 +fi
6710  
6711    if test "X$lt_cv_prog_cc_pic_works" = Xno; then
6712      lt_cv_prog_cc_pic=
6713 @@ -2964,51 +4211,68 @@
6714      lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
6715    fi
6716  
6717 -  echo "$ac_t""$lt_cv_prog_cc_pic_works" 1>&6
6718 +  echo "$as_me:4214: result: $lt_cv_prog_cc_pic_works" >&5
6719 +echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6
6720  fi
6721  
6722  # Check for any special shared library compilation flags.
6723  if test -n "$lt_cv_prog_cc_shlib"; then
6724 -  echo "configure: warning: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" 1>&2
6725 +  { echo "$as_me:4220: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5
6726 +echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;}
6727    if echo "$old_CC $old_CFLAGS " | egrep -e "[         ]$lt_cv_prog_cc_shlib[  ]" >/dev/null; then :
6728    else
6729 -   echo "configure: warning: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" 1>&2
6730 +   { echo "$as_me:4224: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6731 +echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6732      lt_cv_prog_cc_can_build_shared=no
6733    fi
6734  fi
6735  
6736 -echo $ac_n "checking if $compiler static flag $lt_cv_prog_cc_static works""... $ac_c" 1>&6
6737 -echo "configure:2982: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
6738 -if eval "test \"`echo '$''{'lt_cv_prog_cc_static_works'+set}'`\" = set"; then
6739 -  echo $ac_n "(cached) $ac_c" 1>&6
6740 +echo "$as_me:4230: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
6741 +echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6
6742 +if test "${lt_cv_prog_cc_static_works+set}" = set; then
6743 +  echo $ECHO_N "(cached) $ECHO_C" >&6
6744  else
6745      lt_cv_prog_cc_static_works=no
6746    save_LDFLAGS="$LDFLAGS"
6747    LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
6748 -  cat > conftest.$ac_ext <<EOF
6749 -#line 2990 "configure"
6750 +  cat >conftest.$ac_ext <<_ACEOF
6751 +#line 4239 "configure"
6752  #include "confdefs.h"
6753  
6754 -int main() {
6755 +int
6756 +main ()
6757 +{
6758  
6759 -; return 0; }
6760 -EOF
6761 -if { (eval echo configure:2997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6762 -  rm -rf conftest*
6763 +  ;
6764 +  return 0;
6765 +}
6766 +_ACEOF
6767 +rm -f conftest.$ac_objext conftest$ac_exeext
6768 +if { (eval echo "$as_me:4251: \"$ac_link\"") >&5
6769 +  (eval $ac_link) 2>&5
6770 +  ac_status=$?
6771 +  echo "$as_me:4254: \$? = $ac_status" >&5
6772 +  (exit $ac_status); } &&
6773 +         { ac_try='test -s conftest$ac_exeext'
6774 +  { (eval echo "$as_me:4257: \"$ac_try\"") >&5
6775 +  (eval $ac_try) 2>&5
6776 +  ac_status=$?
6777 +  echo "$as_me:4260: \$? = $ac_status" >&5
6778 +  (exit $ac_status); }; }; then
6779    lt_cv_prog_cc_static_works=yes
6780  else
6781 -  echo "configure: failed program was:" >&5
6782 -  cat conftest.$ac_ext >&5
6783 +  echo "$as_me: failed program was:" >&5
6784 +cat conftest.$ac_ext >&5
6785  fi
6786 -rm -f conftest*
6787 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6788    LDFLAGS="$save_LDFLAGS"
6789  
6790  fi
6791  
6792 -
6793  # Belt *and* braces to stop my trousers falling down:
6794  test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
6795 -echo "$ac_t""$lt_cv_prog_cc_static_works" 1>&6
6796 +echo "$as_me:4274: result: $lt_cv_prog_cc_static_works" >&5
6797 +echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6
6798  
6799  pic_flag="$lt_cv_prog_cc_pic"
6800  special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
6801 @@ -3017,14 +4281,13 @@
6802  no_builtin_flag="$lt_cv_prog_cc_no_builtin"
6803  can_build_shared="$lt_cv_prog_cc_can_build_shared"
6804  
6805 -
6806  # Check to see if options -o and -c are simultaneously supported by compiler
6807 -echo $ac_n "checking if $compiler supports -c -o file.$ac_objext""... $ac_c" 1>&6
6808 -echo "configure:3024: checking if $compiler supports -c -o file.$ac_objext" >&5
6809 -if eval "test \"`echo '$''{'lt_cv_compiler_c_o'+set}'`\" = set"; then
6810 -  echo $ac_n "(cached) $ac_c" 1>&6
6811 +echo "$as_me:4285: checking if $compiler supports -c -o file.$ac_objext" >&5
6812 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6813 +if test "${lt_cv_compiler_c_o+set}" = set; then
6814 +  echo $ECHO_N "(cached) $ECHO_C" >&6
6815  else
6816 -  
6817 +
6818  $rm -r conftest 2>/dev/null
6819  mkdir conftest
6820  cd conftest
6821 @@ -3039,7 +4302,7 @@
6822  save_CFLAGS="$CFLAGS"
6823  CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
6824  compiler_c_o=no
6825 -if { (eval echo configure:3043: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
6826 +if { (eval echo configure:4305: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
6827    # The compiler can only warn and ignore the option if not recognized
6828    # So say no if there are warnings
6829    if test -s out/conftest.err; then
6830 @@ -3063,29 +4326,44 @@
6831  fi
6832  
6833  compiler_c_o=$lt_cv_compiler_c_o
6834 -echo "$ac_t""$compiler_c_o" 1>&6
6835 +echo "$as_me:4329: result: $compiler_c_o" >&5
6836 +echo "${ECHO_T}$compiler_c_o" >&6
6837  
6838  if test x"$compiler_c_o" = x"yes"; then
6839    # Check to see if we can write to a .lo
6840 -  echo $ac_n "checking if $compiler supports -c -o file.lo""... $ac_c" 1>&6
6841 -echo "configure:3072: checking if $compiler supports -c -o file.lo" >&5
6842 -  if eval "test \"`echo '$''{'lt_cv_compiler_o_lo'+set}'`\" = set"; then
6843 -  echo $ac_n "(cached) $ac_c" 1>&6
6844 +  echo "$as_me:4334: checking if $compiler supports -c -o file.lo" >&5
6845 +echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6
6846 +  if test "${lt_cv_compiler_o_lo+set}" = set; then
6847 +  echo $ECHO_N "(cached) $ECHO_C" >&6
6848  else
6849 -  
6850 +
6851    lt_cv_compiler_o_lo=no
6852    save_CFLAGS="$CFLAGS"
6853    CFLAGS="$CFLAGS -c -o conftest.lo"
6854 -  cat > conftest.$ac_ext <<EOF
6855 -#line 3081 "configure"
6856 +  cat >conftest.$ac_ext <<_ACEOF
6857 +#line 4344 "configure"
6858  #include "confdefs.h"
6859  
6860 -int main() {
6861 +int
6862 +main ()
6863 +{
6864  int some_variable = 0;
6865 -; return 0; }
6866 -EOF
6867 -if { (eval echo configure:3088: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6868 -  rm -rf conftest*
6869 +  ;
6870 +  return 0;
6871 +}
6872 +_ACEOF
6873 +rm -f conftest.$ac_objext
6874 +if { (eval echo "$as_me:4356: \"$ac_compile\"") >&5
6875 +  (eval $ac_compile) 2>&5
6876 +  ac_status=$?
6877 +  echo "$as_me:4359: \$? = $ac_status" >&5
6878 +  (exit $ac_status); } &&
6879 +         { ac_try='test -s conftest.$ac_objext'
6880 +  { (eval echo "$as_me:4362: \"$ac_try\"") >&5
6881 +  (eval $ac_try) 2>&5
6882 +  ac_status=$?
6883 +  echo "$as_me:4365: \$? = $ac_status" >&5
6884 +  (exit $ac_status); }; }; then
6885        # The compiler can only warn and ignore the option if not recognized
6886      # So say no if there are warnings
6887      if test -s conftest.err; then
6888 @@ -3093,18 +4371,19 @@
6889      else
6890        lt_cv_compiler_o_lo=yes
6891      fi
6892 -  
6893 +
6894  else
6895 -  echo "configure: failed program was:" >&5
6896 -  cat conftest.$ac_ext >&5
6897 +  echo "$as_me: failed program was:" >&5
6898 +cat conftest.$ac_ext >&5
6899  fi
6900 -rm -f conftest*
6901 +rm -f conftest.$ac_objext conftest.$ac_ext
6902    CFLAGS="$save_CFLAGS"
6903 -  
6904 +
6905  fi
6906  
6907    compiler_o_lo=$lt_cv_compiler_o_lo
6908 -  echo "$ac_t""$compiler_c_lo" 1>&6
6909 +  echo "$as_me:4385: result: $compiler_c_lo" >&5
6910 +echo "${ECHO_T}$compiler_c_lo" >&6
6911  else
6912    compiler_o_lo=no
6913  fi
6914 @@ -3113,17 +4392,19 @@
6915  hard_links="nottested"
6916  if test "$compiler_c_o" = no && test "$need_locks" != no; then
6917    # do not overwrite the value of need_locks provided by the user
6918 -  echo $ac_n "checking if we can lock with hard links""... $ac_c" 1>&6
6919 -echo "configure:3118: checking if we can lock with hard links" >&5
6920 +  echo "$as_me:4395: checking if we can lock with hard links" >&5
6921 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6922    hard_links=yes
6923    $rm conftest*
6924    ln conftest.a conftest.b 2>/dev/null && hard_links=no
6925    touch conftest.a
6926    ln conftest.a conftest.b 2>&5 || hard_links=no
6927    ln conftest.a conftest.b 2>/dev/null && hard_links=no
6928 -  echo "$ac_t""$hard_links" 1>&6
6929 +  echo "$as_me:4403: result: $hard_links" >&5
6930 +echo "${ECHO_T}$hard_links" >&6
6931    if test "$hard_links" = no; then
6932 -    echo "configure: warning: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" 1>&2
6933 +    { echo "$as_me:4406: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6934 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6935      need_locks=warn
6936    fi
6937  else
6938 @@ -3132,22 +4413,36 @@
6939  
6940  if test "$GCC" = yes; then
6941    # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
6942 -  echo $ac_n "checking if $compiler supports -fno-rtti -fno-exceptions""... $ac_c" 1>&6
6943 -echo "configure:3137: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6944 +  echo "$as_me:4416: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6945 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6946    echo "int some_variable = 0;" > conftest.$ac_ext
6947    save_CFLAGS="$CFLAGS"
6948    CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
6949    compiler_rtti_exceptions=no
6950 -  cat > conftest.$ac_ext <<EOF
6951 -#line 3143 "configure"
6952 +  cat >conftest.$ac_ext <<_ACEOF
6953 +#line 4423 "configure"
6954  #include "confdefs.h"
6955  
6956 -int main() {
6957 +int
6958 +main ()
6959 +{
6960  int some_variable = 0;
6961 -; return 0; }
6962 -EOF
6963 -if { (eval echo configure:3150: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6964 -  rm -rf conftest*
6965 +  ;
6966 +  return 0;
6967 +}
6968 +_ACEOF
6969 +rm -f conftest.$ac_objext
6970 +if { (eval echo "$as_me:4435: \"$ac_compile\"") >&5
6971 +  (eval $ac_compile) 2>&5
6972 +  ac_status=$?
6973 +  echo "$as_me:4438: \$? = $ac_status" >&5
6974 +  (exit $ac_status); } &&
6975 +         { ac_try='test -s conftest.$ac_objext'
6976 +  { (eval echo "$as_me:4441: \"$ac_try\"") >&5
6977 +  (eval $ac_try) 2>&5
6978 +  ac_status=$?
6979 +  echo "$as_me:4444: \$? = $ac_status" >&5
6980 +  (exit $ac_status); }; }; then
6981        # The compiler can only warn and ignore the option if not recognized
6982      # So say no if there are warnings
6983      if test -s conftest.err; then
6984 @@ -3155,14 +4450,15 @@
6985      else
6986        compiler_rtti_exceptions=yes
6987      fi
6988 -  
6989 +
6990  else
6991 -  echo "configure: failed program was:" >&5
6992 -  cat conftest.$ac_ext >&5
6993 +  echo "$as_me: failed program was:" >&5
6994 +cat conftest.$ac_ext >&5
6995  fi
6996 -rm -f conftest*
6997 +rm -f conftest.$ac_objext conftest.$ac_ext
6998    CFLAGS="$save_CFLAGS"
6999 -  echo "$ac_t""$compiler_rtti_exceptions" 1>&6
7000 +  echo "$as_me:4460: result: $compiler_rtti_exceptions" >&5
7001 +echo "${ECHO_T}$compiler_rtti_exceptions" >&6
7002  
7003    if test "$compiler_rtti_exceptions" = "yes"; then
7004      no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
7005 @@ -3172,8 +4468,8 @@
7006  fi
7007  
7008  # See if the linker supports building shared libraries.
7009 -echo $ac_n "checking whether the linker ($LD) supports shared libraries""... $ac_c" 1>&6
7010 -echo "configure:3177: checking whether the linker ($LD) supports shared libraries" >&5
7011 +echo "$as_me:4471: checking whether the linker ($LD) supports shared libraries" >&5
7012 +echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6
7013  
7014  allow_undefined_flag=
7015  no_undefined_flag=
7016 @@ -3539,7 +4835,7 @@
7017      ;;
7018  
7019    darwin* | rhapsody*)
7020 -    allow_undefined_flag='-undefined suppress'
7021 +    allow_undefined_flag='-undefined error'
7022      # FIXME: Relying on posixy $() will cause problems for
7023      #        cross-compilation, but unfortunately the echo tests do not
7024      #        yet detect zsh echo's removal of \ escapes.
7025 @@ -3784,12 +5080,13 @@
7026      ;;
7027    esac
7028  fi
7029 -echo "$ac_t""$ld_shlibs" 1>&6
7030 +echo "$as_me:5083: result: $ld_shlibs" >&5
7031 +echo "${ECHO_T}$ld_shlibs" >&6
7032  test "$ld_shlibs" = no && can_build_shared=no
7033  
7034  # Check hardcoding attributes.
7035 -echo $ac_n "checking how to hardcode library paths into programs""... $ac_c" 1>&6
7036 -echo "configure:3793: checking how to hardcode library paths into programs" >&5
7037 +echo "$as_me:5088: checking how to hardcode library paths into programs" >&5
7038 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
7039  hardcode_action=
7040  if test -n "$hardcode_libdir_flag_spec" || \
7041     test -n "$runpath_var"; then
7042 @@ -3812,26 +5109,29 @@
7043    # directories.
7044    hardcode_action=unsupported
7045  fi
7046 -echo "$ac_t""$hardcode_action" 1>&6
7047 +echo "$as_me:5112: result: $hardcode_action" >&5
7048 +echo "${ECHO_T}$hardcode_action" >&6
7049  
7050  striplib=
7051  old_striplib=
7052 -echo $ac_n "checking whether stripping libraries is possible""... $ac_c" 1>&6
7053 -echo "configure:3821: checking whether stripping libraries is possible" >&5
7054 +echo "$as_me:5117: checking whether stripping libraries is possible" >&5
7055 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
7056  if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
7057    test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
7058    test -z "$striplib" && striplib="$STRIP --strip-unneeded"
7059 -  echo "$ac_t""yes" 1>&6
7060 +  echo "$as_me:5122: result: yes" >&5
7061 +echo "${ECHO_T}yes" >&6
7062  else
7063 -  echo "$ac_t""no" 1>&6
7064 +  echo "$as_me:5125: result: no" >&5
7065 +echo "${ECHO_T}no" >&6
7066  fi
7067  
7068  reload_cmds='$LD$reload_flag -o $output$reload_objs'
7069  test -z "$deplibs_check_method" && deplibs_check_method=unknown
7070  
7071  # PORTME Fill in your ld.so characteristics
7072 -echo $ac_n "checking dynamic linker characteristics""... $ac_c" 1>&6
7073 -echo "configure:3835: checking dynamic linker characteristics" >&5
7074 +echo "$as_me:5133: checking dynamic linker characteristics" >&5
7075 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7076  library_names_spec=
7077  libname_spec='lib$name'
7078  soname_spec=
7079 @@ -4212,13 +5512,15 @@
7080    dynamic_linker=no
7081    ;;
7082  esac
7083 -echo "$ac_t""$dynamic_linker" 1>&6
7084 +echo "$as_me:5515: result: $dynamic_linker" >&5
7085 +echo "${ECHO_T}$dynamic_linker" >&6
7086  test "$dynamic_linker" = no && can_build_shared=no
7087  
7088  # Report the final consequences.
7089 -echo $ac_n "checking if libtool supports shared libraries""... $ac_c" 1>&6
7090 -echo "configure:4221: checking if libtool supports shared libraries" >&5
7091 -echo "$ac_t""$can_build_shared" 1>&6
7092 +echo "$as_me:5520: checking if libtool supports shared libraries" >&5
7093 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
7094 +echo "$as_me:5522: result: $can_build_shared" >&5
7095 +echo "${ECHO_T}$can_build_shared" >&6
7096  
7097  if test "$hardcode_action" = relink; then
7098    # Fast installation is not supported
7099 @@ -4255,224 +5557,291 @@
7100     ;;
7101  
7102    *)
7103 -    echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
7104 -echo "configure:4260: checking for dlopen in -ldl" >&5
7105 -ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
7106 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7107 -  echo $ac_n "(cached) $ac_c" 1>&6
7108 +    echo "$as_me:5560: checking for dlopen in -ldl" >&5
7109 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
7110 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
7111 +  echo $ECHO_N "(cached) $ECHO_C" >&6
7112  else
7113 -  ac_save_LIBS="$LIBS"
7114 +  ac_check_lib_save_LIBS=$LIBS
7115  LIBS="-ldl  $LIBS"
7116 -cat > conftest.$ac_ext <<EOF
7117 -#line 4268 "configure"
7118 +cat >conftest.$ac_ext <<_ACEOF
7119 +#line 5568 "configure"
7120  #include "confdefs.h"
7121 +
7122  /* Override any gcc2 internal prototype to avoid an error.  */
7123 +#ifdef __cplusplus
7124 +extern "C"
7125 +#endif
7126  /* We use char because int might match the return type of a gcc2
7127 -    builtin and then its argument prototype would still apply.  */
7128 -char dlopen();
7129 -
7130 -int main() {
7131 -dlopen()
7132 -; return 0; }
7133 -EOF
7134 -if { (eval echo configure:4279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7135 -  rm -rf conftest*
7136 -  eval "ac_cv_lib_$ac_lib_var=yes"
7137 -else
7138 -  echo "configure: failed program was:" >&5
7139 -  cat conftest.$ac_ext >&5
7140 -  rm -rf conftest*
7141 -  eval "ac_cv_lib_$ac_lib_var=no"
7142 -fi
7143 -rm -f conftest*
7144 -LIBS="$ac_save_LIBS"
7145 -
7146 -fi
7147 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7148 -  echo "$ac_t""yes" 1>&6
7149 +   builtin and then its argument prototype would still apply.  */
7150 +char dlopen ();
7151 +int
7152 +main ()
7153 +{
7154 +dlopen ();
7155 +  ;
7156 +  return 0;
7157 +}
7158 +_ACEOF
7159 +rm -f conftest.$ac_objext conftest$ac_exeext
7160 +if { (eval echo "$as_me:5587: \"$ac_link\"") >&5
7161 +  (eval $ac_link) 2>&5
7162 +  ac_status=$?
7163 +  echo "$as_me:5590: \$? = $ac_status" >&5
7164 +  (exit $ac_status); } &&
7165 +         { ac_try='test -s conftest$ac_exeext'
7166 +  { (eval echo "$as_me:5593: \"$ac_try\"") >&5
7167 +  (eval $ac_try) 2>&5
7168 +  ac_status=$?
7169 +  echo "$as_me:5596: \$? = $ac_status" >&5
7170 +  (exit $ac_status); }; }; then
7171 +  ac_cv_lib_dl_dlopen=yes
7172 +else
7173 +  echo "$as_me: failed program was:" >&5
7174 +cat conftest.$ac_ext >&5
7175 +ac_cv_lib_dl_dlopen=no
7176 +fi
7177 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7178 +LIBS=$ac_check_lib_save_LIBS
7179 +fi
7180 +echo "$as_me:5607: result: $ac_cv_lib_dl_dlopen" >&5
7181 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
7182 +if test $ac_cv_lib_dl_dlopen = yes; then
7183    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
7184  else
7185 -  echo "$ac_t""no" 1>&6
7186 -echo $ac_n "checking for dlopen""... $ac_c" 1>&6
7187 -echo "configure:4298: checking for dlopen" >&5
7188 -if eval "test \"`echo '$''{'ac_cv_func_dlopen'+set}'`\" = set"; then
7189 -  echo $ac_n "(cached) $ac_c" 1>&6
7190 +  echo "$as_me:5612: checking for dlopen" >&5
7191 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
7192 +if test "${ac_cv_func_dlopen+set}" = set; then
7193 +  echo $ECHO_N "(cached) $ECHO_C" >&6
7194  else
7195 -  cat > conftest.$ac_ext <<EOF
7196 -#line 4303 "configure"
7197 +  cat >conftest.$ac_ext <<_ACEOF
7198 +#line 5618 "configure"
7199  #include "confdefs.h"
7200  /* System header to define __stub macros and hopefully few prototypes,
7201 -    which can conflict with char dlopen(); below.  */
7202 +    which can conflict with char dlopen (); below.  */
7203  #include <assert.h>
7204  /* Override any gcc2 internal prototype to avoid an error.  */
7205 +#ifdef __cplusplus
7206 +extern "C"
7207 +#endif
7208  /* We use char because int might match the return type of a gcc2
7209 -    builtin and then its argument prototype would still apply.  */
7210 -char dlopen();
7211 -
7212 -int main() {
7213 +   builtin and then its argument prototype would still apply.  */
7214 +char dlopen ();
7215 +char (*f) ();
7216  
7217 +int
7218 +main ()
7219 +{
7220  /* The GNU C library defines this for functions which it implements
7221      to always fail with ENOSYS.  Some functions are actually named
7222      something starting with __ and the normal name is an alias.  */
7223  #if defined (__stub_dlopen) || defined (__stub___dlopen)
7224  choke me
7225  #else
7226 -dlopen();
7227 +f = dlopen;
7228  #endif
7229  
7230 -; return 0; }
7231 -EOF
7232 -if { (eval echo configure:4326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7233 -  rm -rf conftest*
7234 -  eval "ac_cv_func_dlopen=yes"
7235 -else
7236 -  echo "configure: failed program was:" >&5
7237 -  cat conftest.$ac_ext >&5
7238 -  rm -rf conftest*
7239 -  eval "ac_cv_func_dlopen=no"
7240 -fi
7241 -rm -f conftest*
7242 -fi
7243 -
7244 -if eval "test \"`echo '$ac_cv_func_'dlopen`\" = yes"; then
7245 -  echo "$ac_t""yes" 1>&6
7246 +  ;
7247 +  return 0;
7248 +}
7249 +_ACEOF
7250 +rm -f conftest.$ac_objext conftest$ac_exeext
7251 +if { (eval echo "$as_me:5649: \"$ac_link\"") >&5
7252 +  (eval $ac_link) 2>&5
7253 +  ac_status=$?
7254 +  echo "$as_me:5652: \$? = $ac_status" >&5
7255 +  (exit $ac_status); } &&
7256 +         { ac_try='test -s conftest$ac_exeext'
7257 +  { (eval echo "$as_me:5655: \"$ac_try\"") >&5
7258 +  (eval $ac_try) 2>&5
7259 +  ac_status=$?
7260 +  echo "$as_me:5658: \$? = $ac_status" >&5
7261 +  (exit $ac_status); }; }; then
7262 +  ac_cv_func_dlopen=yes
7263 +else
7264 +  echo "$as_me: failed program was:" >&5
7265 +cat conftest.$ac_ext >&5
7266 +ac_cv_func_dlopen=no
7267 +fi
7268 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7269 +fi
7270 +echo "$as_me:5668: result: $ac_cv_func_dlopen" >&5
7271 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6
7272 +if test $ac_cv_func_dlopen = yes; then
7273    lt_cv_dlopen="dlopen"
7274  else
7275 -  echo "$ac_t""no" 1>&6
7276 -echo $ac_n "checking for shl_load""... $ac_c" 1>&6
7277 -echo "configure:4344: checking for shl_load" >&5
7278 -if eval "test \"`echo '$''{'ac_cv_func_shl_load'+set}'`\" = set"; then
7279 -  echo $ac_n "(cached) $ac_c" 1>&6
7280 +  echo "$as_me:5673: checking for shl_load" >&5
7281 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
7282 +if test "${ac_cv_func_shl_load+set}" = set; then
7283 +  echo $ECHO_N "(cached) $ECHO_C" >&6
7284  else
7285 -  cat > conftest.$ac_ext <<EOF
7286 -#line 4349 "configure"
7287 +  cat >conftest.$ac_ext <<_ACEOF
7288 +#line 5679 "configure"
7289  #include "confdefs.h"
7290  /* System header to define __stub macros and hopefully few prototypes,
7291 -    which can conflict with char shl_load(); below.  */
7292 +    which can conflict with char shl_load (); below.  */
7293  #include <assert.h>
7294  /* Override any gcc2 internal prototype to avoid an error.  */
7295 +#ifdef __cplusplus
7296 +extern "C"
7297 +#endif
7298  /* We use char because int might match the return type of a gcc2
7299 -    builtin and then its argument prototype would still apply.  */
7300 -char shl_load();
7301 -
7302 -int main() {
7303 +   builtin and then its argument prototype would still apply.  */
7304 +char shl_load ();
7305 +char (*f) ();
7306  
7307 +int
7308 +main ()
7309 +{
7310  /* The GNU C library defines this for functions which it implements
7311      to always fail with ENOSYS.  Some functions are actually named
7312      something starting with __ and the normal name is an alias.  */
7313  #if defined (__stub_shl_load) || defined (__stub___shl_load)
7314  choke me
7315  #else
7316 -shl_load();
7317 +f = shl_load;
7318  #endif
7319  
7320 -; return 0; }
7321 -EOF
7322 -if { (eval echo configure:4372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7323 -  rm -rf conftest*
7324 -  eval "ac_cv_func_shl_load=yes"
7325 -else
7326 -  echo "configure: failed program was:" >&5
7327 -  cat conftest.$ac_ext >&5
7328 -  rm -rf conftest*
7329 -  eval "ac_cv_func_shl_load=no"
7330 -fi
7331 -rm -f conftest*
7332 -fi
7333 -
7334 -if eval "test \"`echo '$ac_cv_func_'shl_load`\" = yes"; then
7335 -  echo "$ac_t""yes" 1>&6
7336 +  ;
7337 +  return 0;
7338 +}
7339 +_ACEOF
7340 +rm -f conftest.$ac_objext conftest$ac_exeext
7341 +if { (eval echo "$as_me:5710: \"$ac_link\"") >&5
7342 +  (eval $ac_link) 2>&5
7343 +  ac_status=$?
7344 +  echo "$as_me:5713: \$? = $ac_status" >&5
7345 +  (exit $ac_status); } &&
7346 +         { ac_try='test -s conftest$ac_exeext'
7347 +  { (eval echo "$as_me:5716: \"$ac_try\"") >&5
7348 +  (eval $ac_try) 2>&5
7349 +  ac_status=$?
7350 +  echo "$as_me:5719: \$? = $ac_status" >&5
7351 +  (exit $ac_status); }; }; then
7352 +  ac_cv_func_shl_load=yes
7353 +else
7354 +  echo "$as_me: failed program was:" >&5
7355 +cat conftest.$ac_ext >&5
7356 +ac_cv_func_shl_load=no
7357 +fi
7358 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7359 +fi
7360 +echo "$as_me:5729: result: $ac_cv_func_shl_load" >&5
7361 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6
7362 +if test $ac_cv_func_shl_load = yes; then
7363    lt_cv_dlopen="shl_load"
7364  else
7365 -  echo "$ac_t""no" 1>&6
7366 -echo $ac_n "checking for dlopen in -lsvld""... $ac_c" 1>&6
7367 -echo "configure:4390: checking for dlopen in -lsvld" >&5
7368 -ac_lib_var=`echo svld'_'dlopen | sed 'y%./+-%__p_%'`
7369 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7370 -  echo $ac_n "(cached) $ac_c" 1>&6
7371 +  echo "$as_me:5734: checking for dlopen in -lsvld" >&5
7372 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
7373 +if test "${ac_cv_lib_svld_dlopen+set}" = set; then
7374 +  echo $ECHO_N "(cached) $ECHO_C" >&6
7375  else
7376 -  ac_save_LIBS="$LIBS"
7377 +  ac_check_lib_save_LIBS=$LIBS
7378  LIBS="-lsvld  $LIBS"
7379 -cat > conftest.$ac_ext <<EOF
7380 -#line 4398 "configure"
7381 +cat >conftest.$ac_ext <<_ACEOF
7382 +#line 5742 "configure"
7383  #include "confdefs.h"
7384 +
7385  /* Override any gcc2 internal prototype to avoid an error.  */
7386 +#ifdef __cplusplus
7387 +extern "C"
7388 +#endif
7389  /* We use char because int might match the return type of a gcc2
7390 -    builtin and then its argument prototype would still apply.  */
7391 -char dlopen();
7392 -
7393 -int main() {
7394 -dlopen()
7395 -; return 0; }
7396 -EOF
7397 -if { (eval echo configure:4409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7398 -  rm -rf conftest*
7399 -  eval "ac_cv_lib_$ac_lib_var=yes"
7400 -else
7401 -  echo "configure: failed program was:" >&5
7402 -  cat conftest.$ac_ext >&5
7403 -  rm -rf conftest*
7404 -  eval "ac_cv_lib_$ac_lib_var=no"
7405 -fi
7406 -rm -f conftest*
7407 -LIBS="$ac_save_LIBS"
7408 -
7409 -fi
7410 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7411 -  echo "$ac_t""yes" 1>&6
7412 +   builtin and then its argument prototype would still apply.  */
7413 +char dlopen ();
7414 +int
7415 +main ()
7416 +{
7417 +dlopen ();
7418 +  ;
7419 +  return 0;
7420 +}
7421 +_ACEOF
7422 +rm -f conftest.$ac_objext conftest$ac_exeext
7423 +if { (eval echo "$as_me:5761: \"$ac_link\"") >&5
7424 +  (eval $ac_link) 2>&5
7425 +  ac_status=$?
7426 +  echo "$as_me:5764: \$? = $ac_status" >&5
7427 +  (exit $ac_status); } &&
7428 +         { ac_try='test -s conftest$ac_exeext'
7429 +  { (eval echo "$as_me:5767: \"$ac_try\"") >&5
7430 +  (eval $ac_try) 2>&5
7431 +  ac_status=$?
7432 +  echo "$as_me:5770: \$? = $ac_status" >&5
7433 +  (exit $ac_status); }; }; then
7434 +  ac_cv_lib_svld_dlopen=yes
7435 +else
7436 +  echo "$as_me: failed program was:" >&5
7437 +cat conftest.$ac_ext >&5
7438 +ac_cv_lib_svld_dlopen=no
7439 +fi
7440 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7441 +LIBS=$ac_check_lib_save_LIBS
7442 +fi
7443 +echo "$as_me:5781: result: $ac_cv_lib_svld_dlopen" >&5
7444 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
7445 +if test $ac_cv_lib_svld_dlopen = yes; then
7446    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
7447  else
7448 -  echo "$ac_t""no" 1>&6
7449 -echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
7450 -echo "configure:4428: checking for shl_load in -ldld" >&5
7451 -ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
7452 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7453 -  echo $ac_n "(cached) $ac_c" 1>&6
7454 +  echo "$as_me:5786: checking for shl_load in -ldld" >&5
7455 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
7456 +if test "${ac_cv_lib_dld_shl_load+set}" = set; then
7457 +  echo $ECHO_N "(cached) $ECHO_C" >&6
7458  else
7459 -  ac_save_LIBS="$LIBS"
7460 +  ac_check_lib_save_LIBS=$LIBS
7461  LIBS="-ldld  $LIBS"
7462 -cat > conftest.$ac_ext <<EOF
7463 -#line 4436 "configure"
7464 +cat >conftest.$ac_ext <<_ACEOF
7465 +#line 5794 "configure"
7466  #include "confdefs.h"
7467 +
7468  /* Override any gcc2 internal prototype to avoid an error.  */
7469 +#ifdef __cplusplus
7470 +extern "C"
7471 +#endif
7472  /* We use char because int might match the return type of a gcc2
7473 -    builtin and then its argument prototype would still apply.  */
7474 -char shl_load();
7475 -
7476 -int main() {
7477 -shl_load()
7478 -; return 0; }
7479 -EOF
7480 -if { (eval echo configure:4447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7481 -  rm -rf conftest*
7482 -  eval "ac_cv_lib_$ac_lib_var=yes"
7483 -else
7484 -  echo "configure: failed program was:" >&5
7485 -  cat conftest.$ac_ext >&5
7486 -  rm -rf conftest*
7487 -  eval "ac_cv_lib_$ac_lib_var=no"
7488 -fi
7489 -rm -f conftest*
7490 -LIBS="$ac_save_LIBS"
7491 -
7492 -fi
7493 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7494 -  echo "$ac_t""yes" 1>&6
7495 +   builtin and then its argument prototype would still apply.  */
7496 +char shl_load ();
7497 +int
7498 +main ()
7499 +{
7500 +shl_load ();
7501 +  ;
7502 +  return 0;
7503 +}
7504 +_ACEOF
7505 +rm -f conftest.$ac_objext conftest$ac_exeext
7506 +if { (eval echo "$as_me:5813: \"$ac_link\"") >&5
7507 +  (eval $ac_link) 2>&5
7508 +  ac_status=$?
7509 +  echo "$as_me:5816: \$? = $ac_status" >&5
7510 +  (exit $ac_status); } &&
7511 +         { ac_try='test -s conftest$ac_exeext'
7512 +  { (eval echo "$as_me:5819: \"$ac_try\"") >&5
7513 +  (eval $ac_try) 2>&5
7514 +  ac_status=$?
7515 +  echo "$as_me:5822: \$? = $ac_status" >&5
7516 +  (exit $ac_status); }; }; then
7517 +  ac_cv_lib_dld_shl_load=yes
7518 +else
7519 +  echo "$as_me: failed program was:" >&5
7520 +cat conftest.$ac_ext >&5
7521 +ac_cv_lib_dld_shl_load=no
7522 +fi
7523 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7524 +LIBS=$ac_check_lib_save_LIBS
7525 +fi
7526 +echo "$as_me:5833: result: $ac_cv_lib_dld_shl_load" >&5
7527 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
7528 +if test $ac_cv_lib_dld_shl_load = yes; then
7529    lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
7530 -else
7531 -  echo "$ac_t""no" 1>&6
7532  fi
7533  
7534 -           
7535  fi
7536  
7537 -          
7538  fi
7539  
7540 -        
7541  fi
7542  
7543 -      
7544  fi
7545  
7546      ;;
7547 @@ -4495,10 +5864,10 @@
7548      save_LIBS="$LIBS"
7549      LIBS="$lt_cv_dlopen_libs $LIBS"
7550  
7551 -    echo $ac_n "checking whether a program can dlopen itself""... $ac_c" 1>&6
7552 -echo "configure:4500: checking whether a program can dlopen itself" >&5
7553 -if eval "test \"`echo '$''{'lt_cv_dlopen_self'+set}'`\" = set"; then
7554 -  echo $ac_n "(cached) $ac_c" 1>&6
7555 +    echo "$as_me:5867: checking whether a program can dlopen itself" >&5
7556 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
7557 +if test "${lt_cv_dlopen_self+set}" = set; then
7558 +  echo $ECHO_N "(cached) $ECHO_C" >&6
7559  else
7560           if test "$cross_compiling" = yes; then :
7561    lt_cv_dlopen_self=cross
7562 @@ -4506,7 +5875,7 @@
7563      lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7564    lt_status=$lt_dlunknown
7565    cat > conftest.$ac_ext <<EOF
7566 -#line 4510 "configure"
7567 +#line 5878 "configure"
7568  #include "confdefs.h"
7569  
7570  #if HAVE_DLFCN_H
7571 @@ -4567,7 +5936,11 @@
7572      exit (status);
7573  }
7574  EOF
7575 -  if { (eval echo configure:4571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
7576 +  if { (eval echo "$as_me:5939: \"$ac_link\"") >&5
7577 +  (eval $ac_link) 2>&5
7578 +  ac_status=$?
7579 +  echo "$as_me:5942: \$? = $ac_status" >&5
7580 +  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
7581      (./conftest; exit; ) 2>/dev/null
7582      lt_status=$?
7583      case x$lt_status in
7584 @@ -4582,17 +5955,16 @@
7585  fi
7586  rm -fr conftest*
7587  
7588 -    
7589  fi
7590 -
7591 -echo "$ac_t""$lt_cv_dlopen_self" 1>&6
7592 +echo "$as_me:5959: result: $lt_cv_dlopen_self" >&5
7593 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6
7594  
7595      if test "x$lt_cv_dlopen_self" = xyes; then
7596        LDFLAGS="$LDFLAGS $link_static_flag"
7597 -      echo $ac_n "checking whether a statically linked program can dlopen itself""... $ac_c" 1>&6
7598 -echo "configure:4594: checking whether a statically linked program can dlopen itself" >&5
7599 -if eval "test \"`echo '$''{'lt_cv_dlopen_self_static'+set}'`\" = set"; then
7600 -  echo $ac_n "(cached) $ac_c" 1>&6
7601 +      echo "$as_me:5964: checking whether a statically linked program can dlopen itself" >&5
7602 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
7603 +if test "${lt_cv_dlopen_self_static+set}" = set; then
7604 +  echo $ECHO_N "(cached) $ECHO_C" >&6
7605  else
7606           if test "$cross_compiling" = yes; then :
7607    lt_cv_dlopen_self_static=cross
7608 @@ -4600,7 +5972,7 @@
7609      lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7610    lt_status=$lt_dlunknown
7611    cat > conftest.$ac_ext <<EOF
7612 -#line 4604 "configure"
7613 +#line 5975 "configure"
7614  #include "confdefs.h"
7615  
7616  #if HAVE_DLFCN_H
7617 @@ -4661,7 +6033,11 @@
7618      exit (status);
7619  }
7620  EOF
7621 -  if { (eval echo configure:4665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
7622 +  if { (eval echo "$as_me:6036: \"$ac_link\"") >&5
7623 +  (eval $ac_link) 2>&5
7624 +  ac_status=$?
7625 +  echo "$as_me:6039: \$? = $ac_status" >&5
7626 +  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
7627      (./conftest; exit; ) 2>/dev/null
7628      lt_status=$?
7629      case x$lt_status in
7630 @@ -4676,10 +6052,9 @@
7631  fi
7632  rm -fr conftest*
7633  
7634 -      
7635  fi
7636 -
7637 -echo "$ac_t""$lt_cv_dlopen_self_static" 1>&6
7638 +echo "$as_me:6056: result: $lt_cv_dlopen_self_static" >&5
7639 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
7640      fi
7641  
7642      CPPFLAGS="$save_CPPFLAGS"
7643 @@ -4699,7 +6074,6 @@
7644    esac
7645  fi
7646  
7647 -
7648  if test "$enable_shared" = yes && test "$GCC" = yes; then
7649    case $archive_cmds in
7650    *'~'*)
7651 @@ -4709,15 +6083,19 @@
7652      # Test whether the compiler implicitly links with -lc since on some
7653      # systems, -lgcc has to come before -lc. If gcc already passes -lc
7654      # to ld, don't add -lc before -lgcc.
7655 -    echo $ac_n "checking whether -lc should be explicitly linked in""... $ac_c" 1>&6
7656 -echo "configure:4714: checking whether -lc should be explicitly linked in" >&5
7657 -    if eval "test \"`echo '$''{'lt_cv_archive_cmds_need_lc'+set}'`\" = set"; then
7658 -  echo $ac_n "(cached) $ac_c" 1>&6
7659 +    echo "$as_me:6086: checking whether -lc should be explicitly linked in" >&5
7660 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7661 +    if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
7662 +  echo $ECHO_N "(cached) $ECHO_C" >&6
7663  else
7664    $rm conftest*
7665      echo 'static int dummy;' > conftest.$ac_ext
7666  
7667 -    if { (eval echo configure:4721: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7668 +    if { (eval echo "$as_me:6094: \"$ac_compile\"") >&5
7669 +  (eval $ac_compile) 2>&5
7670 +  ac_status=$?
7671 +  echo "$as_me:6097: \$? = $ac_status" >&5
7672 +  (exit $ac_status); }; then
7673        soname=conftest
7674        lib=conftest
7675        libobjs=conftest.$ac_objext
7676 @@ -4730,7 +6108,11 @@
7677        libname=conftest
7678        save_allow_undefined_flag=$allow_undefined_flag
7679        allow_undefined_flag=
7680 -      if { (eval echo configure:4734: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\") 1>&5; (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5; }
7681 +      if { (eval echo "$as_me:6111: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7682 +  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
7683 +  ac_status=$?
7684 +  echo "$as_me:6114: \$? = $ac_status" >&5
7685 +  (exit $ac_status); }
7686        then
7687         lt_cv_archive_cmds_need_lc=no
7688        else
7689 @@ -4742,7 +6124,8 @@
7690      fi
7691  fi
7692  
7693 -    echo "$ac_t""$lt_cv_archive_cmds_need_lc" 1>&6
7694 +    echo "$as_me:6127: result: $lt_cv_archive_cmds_need_lc" >&5
7695 +echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
7696      ;;
7697    esac
7698  fi
7699 @@ -5294,10 +6677,6 @@
7700    chmod +x "$ofile"
7701  fi
7702  
7703 -
7704 -
7705 -
7706 -
7707  # This can be used to rebuild libtool when needed
7708  LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
7709  
7710 @@ -5306,49 +6685,57 @@
7711  
7712  # Prevent multiple expansion
7713  
7714 -
7715 -
7716 -
7717 -echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
7718 -echo "configure:5314: checking for ANSI C header files" >&5
7719 -if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
7720 -  echo $ac_n "(cached) $ac_c" 1>&6
7721 +echo "$as_me:6688: checking for ANSI C header files" >&5
7722 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7723 +if test "${ac_cv_header_stdc+set}" = set; then
7724 +  echo $ECHO_N "(cached) $ECHO_C" >&6
7725  else
7726 -  cat > conftest.$ac_ext <<EOF
7727 -#line 5319 "configure"
7728 +  cat >conftest.$ac_ext <<_ACEOF
7729 +#line 6694 "configure"
7730  #include "confdefs.h"
7731  #include <stdlib.h>
7732  #include <stdarg.h>
7733  #include <string.h>
7734  #include <float.h>
7735 -EOF
7736 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7737 -{ (eval echo configure:5327: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7738 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7739 -if test -z "$ac_err"; then
7740 -  rm -rf conftest*
7741 +
7742 +_ACEOF
7743 +if { (eval echo "$as_me:6702: \"$ac_cpp conftest.$ac_ext\"") >&5
7744 +  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7745 +  ac_status=$?
7746 +  egrep -v '^ *\+' conftest.er1 >conftest.err
7747 +  rm -f conftest.er1
7748 +  cat conftest.err >&5
7749 +  echo "$as_me:6708: \$? = $ac_status" >&5
7750 +  (exit $ac_status); } >/dev/null; then
7751 +  if test -s conftest.err; then
7752 +    ac_cpp_err=$ac_c_preproc_warn_flag
7753 +  else
7754 +    ac_cpp_err=
7755 +  fi
7756 +else
7757 +  ac_cpp_err=yes
7758 +fi
7759 +if test -z "$ac_cpp_err"; then
7760    ac_cv_header_stdc=yes
7761  else
7762 -  echo "$ac_err" >&5
7763 -  echo "configure: failed program was:" >&5
7764 +  echo "$as_me: failed program was:" >&5
7765    cat conftest.$ac_ext >&5
7766 -  rm -rf conftest*
7767    ac_cv_header_stdc=no
7768  fi
7769 -rm -f conftest*
7770 +rm -f conftest.err conftest.$ac_ext
7771  
7772  if test $ac_cv_header_stdc = yes; then
7773    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7774 -cat > conftest.$ac_ext <<EOF
7775 -#line 5344 "configure"
7776 +  cat >conftest.$ac_ext <<_ACEOF
7777 +#line 6730 "configure"
7778  #include "confdefs.h"
7779  #include <string.h>
7780 -EOF
7781 +
7782 +_ACEOF
7783  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7784    egrep "memchr" >/dev/null 2>&1; then
7785    :
7786  else
7787 -  rm -rf conftest*
7788    ac_cv_header_stdc=no
7789  fi
7790  rm -f conftest*
7791 @@ -5357,16 +6744,16 @@
7792  
7793  if test $ac_cv_header_stdc = yes; then
7794    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7795 -cat > conftest.$ac_ext <<EOF
7796 -#line 5362 "configure"
7797 +  cat >conftest.$ac_ext <<_ACEOF
7798 +#line 6748 "configure"
7799  #include "confdefs.h"
7800  #include <stdlib.h>
7801 -EOF
7802 +
7803 +_ACEOF
7804  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7805    egrep "free" >/dev/null 2>&1; then
7806    :
7807  else
7808 -  rm -rf conftest*
7809    ac_cv_header_stdc=no
7810  fi
7811  rm -f conftest*
7812 @@ -5375,166 +6762,825 @@
7813  
7814  if test $ac_cv_header_stdc = yes; then
7815    # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7816 -if test "$cross_compiling" = yes; then
7817 +  if test "$cross_compiling" = yes; then
7818    :
7819  else
7820 -  cat > conftest.$ac_ext <<EOF
7821 -#line 5383 "configure"
7822 +  cat >conftest.$ac_ext <<_ACEOF
7823 +#line 6769 "configure"
7824  #include "confdefs.h"
7825  #include <ctype.h>
7826 -#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7827 -#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7828 -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7829 -int main () { int i; for (i = 0; i < 256; i++)
7830 -if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
7831 -exit (0); }
7832 +#if ((' ' & 0x0FF) == 0x020)
7833 +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7834 +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7835 +#else
7836 +# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
7837 +                     || ('j' <= (c) && (c) <= 'r') \
7838 +                     || ('s' <= (c) && (c) <= 'z'))
7839 +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7840 +#endif
7841  
7842 -EOF
7843 -if { (eval echo configure:5394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7844 -then
7845 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7846 +int
7847 +main ()
7848 +{
7849 +  int i;
7850 +  for (i = 0; i < 256; i++)
7851 +    if (XOR (islower (i), ISLOWER (i))
7852 +        || toupper (i) != TOUPPER (i))
7853 +      exit(2);
7854 +  exit (0);
7855 +}
7856 +_ACEOF
7857 +rm -f conftest$ac_exeext
7858 +if { (eval echo "$as_me:6795: \"$ac_link\"") >&5
7859 +  (eval $ac_link) 2>&5
7860 +  ac_status=$?
7861 +  echo "$as_me:6798: \$? = $ac_status" >&5
7862 +  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7863 +  { (eval echo "$as_me:6800: \"$ac_try\"") >&5
7864 +  (eval $ac_try) 2>&5
7865 +  ac_status=$?
7866 +  echo "$as_me:6803: \$? = $ac_status" >&5
7867 +  (exit $ac_status); }; }; then
7868    :
7869  else
7870 -  echo "configure: failed program was:" >&5
7871 -  cat conftest.$ac_ext >&5
7872 -  rm -fr conftest*
7873 -  ac_cv_header_stdc=no
7874 +  echo "$as_me: program exited with status $ac_status" >&5
7875 +echo "$as_me: failed program was:" >&5
7876 +cat conftest.$ac_ext >&5
7877 +ac_cv_header_stdc=no
7878  fi
7879 -rm -fr conftest*
7880 +rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7881  fi
7882 -
7883  fi
7884  fi
7885 -
7886 -echo "$ac_t""$ac_cv_header_stdc" 1>&6
7887 +echo "$as_me:6816: result: $ac_cv_header_stdc" >&5
7888 +echo "${ECHO_T}$ac_cv_header_stdc" >&6
7889  if test $ac_cv_header_stdc = yes; then
7890 -  cat >> confdefs.h <<\EOF
7891 +
7892 +cat >>confdefs.h <<\EOF
7893  #define STDC_HEADERS 1
7894  EOF
7895  
7896  fi
7897  
7898 +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7899 +
7900 +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7901 +                  inttypes.h stdint.h unistd.h
7902 +do
7903 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7904 +echo "$as_me:6832: checking for $ac_header" >&5
7905 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7906 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
7907 +  echo $ECHO_N "(cached) $ECHO_C" >&6
7908 +else
7909 +  cat >conftest.$ac_ext <<_ACEOF
7910 +#line 6838 "configure"
7911 +#include "confdefs.h"
7912 +$ac_includes_default
7913 +#include <$ac_header>
7914 +_ACEOF
7915 +rm -f conftest.$ac_objext
7916 +if { (eval echo "$as_me:6844: \"$ac_compile\"") >&5
7917 +  (eval $ac_compile) 2>&5
7918 +  ac_status=$?
7919 +  echo "$as_me:6847: \$? = $ac_status" >&5
7920 +  (exit $ac_status); } &&
7921 +         { ac_try='test -s conftest.$ac_objext'
7922 +  { (eval echo "$as_me:6850: \"$ac_try\"") >&5
7923 +  (eval $ac_try) 2>&5
7924 +  ac_status=$?
7925 +  echo "$as_me:6853: \$? = $ac_status" >&5
7926 +  (exit $ac_status); }; }; then
7927 +  eval "$as_ac_Header=yes"
7928 +else
7929 +  echo "$as_me: failed program was:" >&5
7930 +cat conftest.$ac_ext >&5
7931 +eval "$as_ac_Header=no"
7932 +fi
7933 +rm -f conftest.$ac_objext conftest.$ac_ext
7934 +fi
7935 +echo "$as_me:6863: result: `eval echo '${'$as_ac_Header'}'`" >&5
7936 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7937 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
7938 +  cat >>confdefs.h <<EOF
7939 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7940 +EOF
7941  
7942 +fi
7943 +done
7944  
7945 -echo $ac_n "checking size of int""... $ac_c" 1>&6
7946 -echo "configure:5420: checking size of int" >&5
7947 -if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
7948 -  echo $ac_n "(cached) $ac_c" 1>&6
7949 +echo "$as_me:6873: checking for int" >&5
7950 +echo $ECHO_N "checking for int... $ECHO_C" >&6
7951 +if test "${ac_cv_type_int+set}" = set; then
7952 +  echo $ECHO_N "(cached) $ECHO_C" >&6
7953 +else
7954 +  cat >conftest.$ac_ext <<_ACEOF
7955 +#line 6879 "configure"
7956 +#include "confdefs.h"
7957 +$ac_includes_default
7958 +int
7959 +main ()
7960 +{
7961 +if ((int *) 0)
7962 +  return 0;
7963 +if (sizeof (int))
7964 +  return 0;
7965 +  ;
7966 +  return 0;
7967 +}
7968 +_ACEOF
7969 +rm -f conftest.$ac_objext
7970 +if { (eval echo "$as_me:6894: \"$ac_compile\"") >&5
7971 +  (eval $ac_compile) 2>&5
7972 +  ac_status=$?
7973 +  echo "$as_me:6897: \$? = $ac_status" >&5
7974 +  (exit $ac_status); } &&
7975 +         { ac_try='test -s conftest.$ac_objext'
7976 +  { (eval echo "$as_me:6900: \"$ac_try\"") >&5
7977 +  (eval $ac_try) 2>&5
7978 +  ac_status=$?
7979 +  echo "$as_me:6903: \$? = $ac_status" >&5
7980 +  (exit $ac_status); }; }; then
7981 +  ac_cv_type_int=yes
7982 +else
7983 +  echo "$as_me: failed program was:" >&5
7984 +cat conftest.$ac_ext >&5
7985 +ac_cv_type_int=no
7986 +fi
7987 +rm -f conftest.$ac_objext conftest.$ac_ext
7988 +fi
7989 +echo "$as_me:6913: result: $ac_cv_type_int" >&5
7990 +echo "${ECHO_T}$ac_cv_type_int" >&6
7991 +
7992 +echo "$as_me:6916: checking size of int" >&5
7993 +echo $ECHO_N "checking size of int... $ECHO_C" >&6
7994 +if test "${ac_cv_sizeof_int+set}" = set; then
7995 +  echo $ECHO_N "(cached) $ECHO_C" >&6
7996 +else
7997 +  if test "$ac_cv_type_int" = yes; then
7998 +  if test "$cross_compiling" = yes; then
7999 +  # Depending upon the size, compute the lo and hi bounds.
8000 +cat >conftest.$ac_ext <<_ACEOF
8001 +#line 6925 "configure"
8002 +#include "confdefs.h"
8003 +$ac_includes_default
8004 +int
8005 +main ()
8006 +{
8007 +int _array_ [1 - 2 * !((sizeof (int)) >= 0)]
8008 +  ;
8009 +  return 0;
8010 +}
8011 +_ACEOF
8012 +rm -f conftest.$ac_objext
8013 +if { (eval echo "$as_me:6937: \"$ac_compile\"") >&5
8014 +  (eval $ac_compile) 2>&5
8015 +  ac_status=$?
8016 +  echo "$as_me:6940: \$? = $ac_status" >&5
8017 +  (exit $ac_status); } &&
8018 +         { ac_try='test -s conftest.$ac_objext'
8019 +  { (eval echo "$as_me:6943: \"$ac_try\"") >&5
8020 +  (eval $ac_try) 2>&5
8021 +  ac_status=$?
8022 +  echo "$as_me:6946: \$? = $ac_status" >&5
8023 +  (exit $ac_status); }; }; then
8024 +  ac_lo=0 ac_mid=0
8025 +  while :; do
8026 +    cat >conftest.$ac_ext <<_ACEOF
8027 +#line 6951 "configure"
8028 +#include "confdefs.h"
8029 +$ac_includes_default
8030 +int
8031 +main ()
8032 +{
8033 +int _array_ [1 - 2 * !((sizeof (int)) <= $ac_mid)]
8034 +  ;
8035 +  return 0;
8036 +}
8037 +_ACEOF
8038 +rm -f conftest.$ac_objext
8039 +if { (eval echo "$as_me:6963: \"$ac_compile\"") >&5
8040 +  (eval $ac_compile) 2>&5
8041 +  ac_status=$?
8042 +  echo "$as_me:6966: \$? = $ac_status" >&5
8043 +  (exit $ac_status); } &&
8044 +         { ac_try='test -s conftest.$ac_objext'
8045 +  { (eval echo "$as_me:6969: \"$ac_try\"") >&5
8046 +  (eval $ac_try) 2>&5
8047 +  ac_status=$?
8048 +  echo "$as_me:6972: \$? = $ac_status" >&5
8049 +  (exit $ac_status); }; }; then
8050 +  ac_hi=$ac_mid; break
8051 +else
8052 +  echo "$as_me: failed program was:" >&5
8053 +cat conftest.$ac_ext >&5
8054 +ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
8055 +fi
8056 +rm -f conftest.$ac_objext conftest.$ac_ext
8057 +  done
8058 +else
8059 +  echo "$as_me: failed program was:" >&5
8060 +cat conftest.$ac_ext >&5
8061 +ac_hi=-1 ac_mid=-1
8062 +  while :; do
8063 +    cat >conftest.$ac_ext <<_ACEOF
8064 +#line 6988 "configure"
8065 +#include "confdefs.h"
8066 +$ac_includes_default
8067 +int
8068 +main ()
8069 +{
8070 +int _array_ [1 - 2 * !((sizeof (int)) >= $ac_mid)]
8071 +  ;
8072 +  return 0;
8073 +}
8074 +_ACEOF
8075 +rm -f conftest.$ac_objext
8076 +if { (eval echo "$as_me:7000: \"$ac_compile\"") >&5
8077 +  (eval $ac_compile) 2>&5
8078 +  ac_status=$?
8079 +  echo "$as_me:7003: \$? = $ac_status" >&5
8080 +  (exit $ac_status); } &&
8081 +         { ac_try='test -s conftest.$ac_objext'
8082 +  { (eval echo "$as_me:7006: \"$ac_try\"") >&5
8083 +  (eval $ac_try) 2>&5
8084 +  ac_status=$?
8085 +  echo "$as_me:7009: \$? = $ac_status" >&5
8086 +  (exit $ac_status); }; }; then
8087 +  ac_lo=$ac_mid; break
8088 +else
8089 +  echo "$as_me: failed program was:" >&5
8090 +cat conftest.$ac_ext >&5
8091 +ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
8092 +fi
8093 +rm -f conftest.$ac_objext conftest.$ac_ext
8094 +  done
8095 +fi
8096 +rm -f conftest.$ac_objext conftest.$ac_ext
8097 +# Binary search between lo and hi bounds.
8098 +while test "x$ac_lo" != "x$ac_hi"; do
8099 +  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8100 +  cat >conftest.$ac_ext <<_ACEOF
8101 +#line 7025 "configure"
8102 +#include "confdefs.h"
8103 +$ac_includes_default
8104 +int
8105 +main ()
8106 +{
8107 +int _array_ [1 - 2 * !((sizeof (int)) <= $ac_mid)]
8108 +  ;
8109 +  return 0;
8110 +}
8111 +_ACEOF
8112 +rm -f conftest.$ac_objext
8113 +if { (eval echo "$as_me:7037: \"$ac_compile\"") >&5
8114 +  (eval $ac_compile) 2>&5
8115 +  ac_status=$?
8116 +  echo "$as_me:7040: \$? = $ac_status" >&5
8117 +  (exit $ac_status); } &&
8118 +         { ac_try='test -s conftest.$ac_objext'
8119 +  { (eval echo "$as_me:7043: \"$ac_try\"") >&5
8120 +  (eval $ac_try) 2>&5
8121 +  ac_status=$?
8122 +  echo "$as_me:7046: \$? = $ac_status" >&5
8123 +  (exit $ac_status); }; }; then
8124 +  ac_hi=$ac_mid
8125 +else
8126 +  echo "$as_me: failed program was:" >&5
8127 +cat conftest.$ac_ext >&5
8128 +ac_lo=`expr $ac_mid + 1`
8129 +fi
8130 +rm -f conftest.$ac_objext conftest.$ac_ext
8131 +done
8132 +ac_cv_sizeof_int=$ac_lo
8133  else
8134    if test "$cross_compiling" = yes; then
8135 -  ac_cv_sizeof_int=2
8136 +  { { echo "$as_me:7059: error: cannot run test program while cross compiling" >&5
8137 +echo "$as_me: error: cannot run test program while cross compiling" >&2;}
8138 +   { (exit 1); exit 1; }; }
8139  else
8140 -  cat > conftest.$ac_ext <<EOF
8141 -#line 5428 "configure"
8142 +  cat >conftest.$ac_ext <<_ACEOF
8143 +#line 7064 "configure"
8144  #include "confdefs.h"
8145 -#include <stdio.h>
8146 -main()
8147 +$ac_includes_default
8148 +int
8149 +main ()
8150  {
8151 -  FILE *f=fopen("conftestval", "w");
8152 -  if (!f) exit(1);
8153 -  fprintf(f, "%d\n", sizeof(int));
8154 -  exit(0);
8155 +FILE *f = fopen ("conftest.val", "w");
8156 +if (!f)
8157 +  exit (1);
8158 +fprintf (f, "%d", (sizeof (int)));
8159 +fclose (f);
8160 +  ;
8161 +  return 0;
8162  }
8163 -EOF
8164 -if { (eval echo configure:5439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8165 -then
8166 -  ac_cv_sizeof_int=`cat conftestval`
8167 +_ACEOF
8168 +rm -f conftest$ac_exeext
8169 +if { (eval echo "$as_me:7080: \"$ac_link\"") >&5
8170 +  (eval $ac_link) 2>&5
8171 +  ac_status=$?
8172 +  echo "$as_me:7083: \$? = $ac_status" >&5
8173 +  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8174 +  { (eval echo "$as_me:7085: \"$ac_try\"") >&5
8175 +  (eval $ac_try) 2>&5
8176 +  ac_status=$?
8177 +  echo "$as_me:7088: \$? = $ac_status" >&5
8178 +  (exit $ac_status); }; }; then
8179 +  ac_cv_sizeof_int=`cat conftest.val`
8180 +else
8181 +  echo "$as_me: program exited with status $ac_status" >&5
8182 +echo "$as_me: failed program was:" >&5
8183 +cat conftest.$ac_ext >&5
8184 +fi
8185 +rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8186 +fi
8187 +fi
8188 +rm -f conftest.val
8189  else
8190 -  echo "configure: failed program was:" >&5
8191 -  cat conftest.$ac_ext >&5
8192 -  rm -fr conftest*
8193    ac_cv_sizeof_int=0
8194  fi
8195 -rm -fr conftest*
8196  fi
8197 -
8198 +echo "$as_me:7104: result: $ac_cv_sizeof_int" >&5
8199 +echo "${ECHO_T}$ac_cv_sizeof_int" >&6
8200 +cat >>confdefs.h <<EOF
8201 +#define SIZEOF_INT $ac_cv_sizeof_int
8202 +EOF
8203 +
8204 +echo "$as_me:7110: checking for char" >&5
8205 +echo $ECHO_N "checking for char... $ECHO_C" >&6
8206 +if test "${ac_cv_type_char+set}" = set; then
8207 +  echo $ECHO_N "(cached) $ECHO_C" >&6
8208 +else
8209 +  cat >conftest.$ac_ext <<_ACEOF
8210 +#line 7116 "configure"
8211 +#include "confdefs.h"
8212 +$ac_includes_default
8213 +int
8214 +main ()
8215 +{
8216 +if ((char *) 0)
8217 +  return 0;
8218 +if (sizeof (char))
8219 +  return 0;
8220 +  ;
8221 +  return 0;
8222 +}
8223 +_ACEOF
8224 +rm -f conftest.$ac_objext
8225 +if { (eval echo "$as_me:7131: \"$ac_compile\"") >&5
8226 +  (eval $ac_compile) 2>&5
8227 +  ac_status=$?
8228 +  echo "$as_me:7134: \$? = $ac_status" >&5
8229 +  (exit $ac_status); } &&
8230 +         { ac_try='test -s conftest.$ac_objext'
8231 +  { (eval echo "$as_me:7137: \"$ac_try\"") >&5
8232 +  (eval $ac_try) 2>&5
8233 +  ac_status=$?
8234 +  echo "$as_me:7140: \$? = $ac_status" >&5
8235 +  (exit $ac_status); }; }; then
8236 +  ac_cv_type_char=yes
8237 +else
8238 +  echo "$as_me: failed program was:" >&5
8239 +cat conftest.$ac_ext >&5
8240 +ac_cv_type_char=no
8241 +fi
8242 +rm -f conftest.$ac_objext conftest.$ac_ext
8243 +fi
8244 +echo "$as_me:7150: result: $ac_cv_type_char" >&5
8245 +echo "${ECHO_T}$ac_cv_type_char" >&6
8246 +
8247 +echo "$as_me:7153: checking size of char" >&5
8248 +echo $ECHO_N "checking size of char... $ECHO_C" >&6
8249 +if test "${ac_cv_sizeof_char+set}" = set; then
8250 +  echo $ECHO_N "(cached) $ECHO_C" >&6
8251 +else
8252 +  if test "$ac_cv_type_char" = yes; then
8253 +  if test "$cross_compiling" = yes; then
8254 +  # Depending upon the size, compute the lo and hi bounds.
8255 +cat >conftest.$ac_ext <<_ACEOF
8256 +#line 7162 "configure"
8257 +#include "confdefs.h"
8258 +$ac_includes_default
8259 +int
8260 +main ()
8261 +{
8262 +int _array_ [1 - 2 * !((sizeof (char)) >= 0)]
8263 +  ;
8264 +  return 0;
8265 +}
8266 +_ACEOF
8267 +rm -f conftest.$ac_objext
8268 +if { (eval echo "$as_me:7174: \"$ac_compile\"") >&5
8269 +  (eval $ac_compile) 2>&5
8270 +  ac_status=$?
8271 +  echo "$as_me:7177: \$? = $ac_status" >&5
8272 +  (exit $ac_status); } &&
8273 +         { ac_try='test -s conftest.$ac_objext'
8274 +  { (eval echo "$as_me:7180: \"$ac_try\"") >&5
8275 +  (eval $ac_try) 2>&5
8276 +  ac_status=$?
8277 +  echo "$as_me:7183: \$? = $ac_status" >&5
8278 +  (exit $ac_status); }; }; then
8279 +  ac_lo=0 ac_mid=0
8280 +  while :; do
8281 +    cat >conftest.$ac_ext <<_ACEOF
8282 +#line 7188 "configure"
8283 +#include "confdefs.h"
8284 +$ac_includes_default
8285 +int
8286 +main ()
8287 +{
8288 +int _array_ [1 - 2 * !((sizeof (char)) <= $ac_mid)]
8289 +  ;
8290 +  return 0;
8291 +}
8292 +_ACEOF
8293 +rm -f conftest.$ac_objext
8294 +if { (eval echo "$as_me:7200: \"$ac_compile\"") >&5
8295 +  (eval $ac_compile) 2>&5
8296 +  ac_status=$?
8297 +  echo "$as_me:7203: \$? = $ac_status" >&5
8298 +  (exit $ac_status); } &&
8299 +         { ac_try='test -s conftest.$ac_objext'
8300 +  { (eval echo "$as_me:7206: \"$ac_try\"") >&5
8301 +  (eval $ac_try) 2>&5
8302 +  ac_status=$?
8303 +  echo "$as_me:7209: \$? = $ac_status" >&5
8304 +  (exit $ac_status); }; }; then
8305 +  ac_hi=$ac_mid; break
8306 +else
8307 +  echo "$as_me: failed program was:" >&5
8308 +cat conftest.$ac_ext >&5
8309 +ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
8310 +fi
8311 +rm -f conftest.$ac_objext conftest.$ac_ext
8312 +  done
8313 +else
8314 +  echo "$as_me: failed program was:" >&5
8315 +cat conftest.$ac_ext >&5
8316 +ac_hi=-1 ac_mid=-1
8317 +  while :; do
8318 +    cat >conftest.$ac_ext <<_ACEOF
8319 +#line 7225 "configure"
8320 +#include "confdefs.h"
8321 +$ac_includes_default
8322 +int
8323 +main ()
8324 +{
8325 +int _array_ [1 - 2 * !((sizeof (char)) >= $ac_mid)]
8326 +  ;
8327 +  return 0;
8328 +}
8329 +_ACEOF
8330 +rm -f conftest.$ac_objext
8331 +if { (eval echo "$as_me:7237: \"$ac_compile\"") >&5
8332 +  (eval $ac_compile) 2>&5
8333 +  ac_status=$?
8334 +  echo "$as_me:7240: \$? = $ac_status" >&5
8335 +  (exit $ac_status); } &&
8336 +         { ac_try='test -s conftest.$ac_objext'
8337 +  { (eval echo "$as_me:7243: \"$ac_try\"") >&5
8338 +  (eval $ac_try) 2>&5
8339 +  ac_status=$?
8340 +  echo "$as_me:7246: \$? = $ac_status" >&5
8341 +  (exit $ac_status); }; }; then
8342 +  ac_lo=$ac_mid; break
8343 +else
8344 +  echo "$as_me: failed program was:" >&5
8345 +cat conftest.$ac_ext >&5
8346 +ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
8347 +fi
8348 +rm -f conftest.$ac_objext conftest.$ac_ext
8349 +  done
8350 +fi
8351 +rm -f conftest.$ac_objext conftest.$ac_ext
8352 +# Binary search between lo and hi bounds.
8353 +while test "x$ac_lo" != "x$ac_hi"; do
8354 +  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8355 +  cat >conftest.$ac_ext <<_ACEOF
8356 +#line 7262 "configure"
8357 +#include "confdefs.h"
8358 +$ac_includes_default
8359 +int
8360 +main ()
8361 +{
8362 +int _array_ [1 - 2 * !((sizeof (char)) <= $ac_mid)]
8363 +  ;
8364 +  return 0;
8365 +}
8366 +_ACEOF
8367 +rm -f conftest.$ac_objext
8368 +if { (eval echo "$as_me:7274: \"$ac_compile\"") >&5
8369 +  (eval $ac_compile) 2>&5
8370 +  ac_status=$?
8371 +  echo "$as_me:7277: \$? = $ac_status" >&5
8372 +  (exit $ac_status); } &&
8373 +         { ac_try='test -s conftest.$ac_objext'
8374 +  { (eval echo "$as_me:7280: \"$ac_try\"") >&5
8375 +  (eval $ac_try) 2>&5
8376 +  ac_status=$?
8377 +  echo "$as_me:7283: \$? = $ac_status" >&5
8378 +  (exit $ac_status); }; }; then
8379 +  ac_hi=$ac_mid
8380 +else
8381 +  echo "$as_me: failed program was:" >&5
8382 +cat conftest.$ac_ext >&5
8383 +ac_lo=`expr $ac_mid + 1`
8384 +fi
8385 +rm -f conftest.$ac_objext conftest.$ac_ext
8386 +done
8387 +ac_cv_sizeof_char=$ac_lo
8388 +else
8389 +  if test "$cross_compiling" = yes; then
8390 +  { { echo "$as_me:7296: error: cannot run test program while cross compiling" >&5
8391 +echo "$as_me: error: cannot run test program while cross compiling" >&2;}
8392 +   { (exit 1); exit 1; }; }
8393 +else
8394 +  cat >conftest.$ac_ext <<_ACEOF
8395 +#line 7301 "configure"
8396 +#include "confdefs.h"
8397 +$ac_includes_default
8398 +int
8399 +main ()
8400 +{
8401 +FILE *f = fopen ("conftest.val", "w");
8402 +if (!f)
8403 +  exit (1);
8404 +fprintf (f, "%d", (sizeof (char)));
8405 +fclose (f);
8406 +  ;
8407 +  return 0;
8408 +}
8409 +_ACEOF
8410 +rm -f conftest$ac_exeext
8411 +if { (eval echo "$as_me:7317: \"$ac_link\"") >&5
8412 +  (eval $ac_link) 2>&5
8413 +  ac_status=$?
8414 +  echo "$as_me:7320: \$? = $ac_status" >&5
8415 +  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8416 +  { (eval echo "$as_me:7322: \"$ac_try\"") >&5
8417 +  (eval $ac_try) 2>&5
8418 +  ac_status=$?
8419 +  echo "$as_me:7325: \$? = $ac_status" >&5
8420 +  (exit $ac_status); }; }; then
8421 +  ac_cv_sizeof_char=`cat conftest.val`
8422 +else
8423 +  echo "$as_me: program exited with status $ac_status" >&5
8424 +echo "$as_me: failed program was:" >&5
8425 +cat conftest.$ac_ext >&5
8426 +fi
8427 +rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8428 +fi
8429 +fi
8430 +rm -f conftest.val
8431 +else
8432 +  ac_cv_sizeof_char=0
8433 +fi
8434  fi
8435 -echo "$ac_t""$ac_cv_sizeof_int" 1>&6
8436 -cat >> confdefs.h <<EOF
8437 -#define SIZEOF_INT $ac_cv_sizeof_int
8438 +echo "$as_me:7341: result: $ac_cv_sizeof_char" >&5
8439 +echo "${ECHO_T}$ac_cv_sizeof_char" >&6
8440 +cat >>confdefs.h <<EOF
8441 +#define SIZEOF_CHAR $ac_cv_sizeof_char
8442  EOF
8443  
8444 -
8445 -echo $ac_n "checking size of char""... $ac_c" 1>&6
8446 -echo "configure:5459: checking size of char" >&5
8447 -if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
8448 -  echo $ac_n "(cached) $ac_c" 1>&6
8449 +echo "$as_me:7347: checking for char*" >&5
8450 +echo $ECHO_N "checking for char*... $ECHO_C" >&6
8451 +if test "${ac_cv_type_charp+set}" = set; then
8452 +  echo $ECHO_N "(cached) $ECHO_C" >&6
8453  else
8454 -  if test "$cross_compiling" = yes; then
8455 -  ac_cv_sizeof_char=1
8456 +  cat >conftest.$ac_ext <<_ACEOF
8457 +#line 7353 "configure"
8458 +#include "confdefs.h"
8459 +$ac_includes_default
8460 +int
8461 +main ()
8462 +{
8463 +if ((char* *) 0)
8464 +  return 0;
8465 +if (sizeof (char*))
8466 +  return 0;
8467 +  ;
8468 +  return 0;
8469 +}
8470 +_ACEOF
8471 +rm -f conftest.$ac_objext
8472 +if { (eval echo "$as_me:7368: \"$ac_compile\"") >&5
8473 +  (eval $ac_compile) 2>&5
8474 +  ac_status=$?
8475 +  echo "$as_me:7371: \$? = $ac_status" >&5
8476 +  (exit $ac_status); } &&
8477 +         { ac_try='test -s conftest.$ac_objext'
8478 +  { (eval echo "$as_me:7374: \"$ac_try\"") >&5
8479 +  (eval $ac_try) 2>&5
8480 +  ac_status=$?
8481 +  echo "$as_me:7377: \$? = $ac_status" >&5
8482 +  (exit $ac_status); }; }; then
8483 +  ac_cv_type_charp=yes
8484 +else
8485 +  echo "$as_me: failed program was:" >&5
8486 +cat conftest.$ac_ext >&5
8487 +ac_cv_type_charp=no
8488 +fi
8489 +rm -f conftest.$ac_objext conftest.$ac_ext
8490 +fi
8491 +echo "$as_me:7387: result: $ac_cv_type_charp" >&5
8492 +echo "${ECHO_T}$ac_cv_type_charp" >&6
8493 +
8494 +echo "$as_me:7390: checking size of char*" >&5
8495 +echo $ECHO_N "checking size of char*... $ECHO_C" >&6
8496 +if test "${ac_cv_sizeof_charp+set}" = set; then
8497 +  echo $ECHO_N "(cached) $ECHO_C" >&6
8498  else
8499 -  cat > conftest.$ac_ext <<EOF
8500 -#line 5467 "configure"
8501 +  if test "$ac_cv_type_charp" = yes; then
8502 +  if test "$cross_compiling" = yes; then
8503 +  # Depending upon the size, compute the lo and hi bounds.
8504 +cat >conftest.$ac_ext <<_ACEOF
8505 +#line 7399 "configure"
8506  #include "confdefs.h"
8507 -#include <stdio.h>
8508 -main()
8509 +$ac_includes_default
8510 +int
8511 +main ()
8512  {
8513 -  FILE *f=fopen("conftestval", "w");
8514 -  if (!f) exit(1);
8515 -  fprintf(f, "%d\n", sizeof(char));
8516 -  exit(0);
8517 +int _array_ [1 - 2 * !((sizeof (char*)) >= 0)]
8518 +  ;
8519 +  return 0;
8520  }
8521 -EOF
8522 -if { (eval echo configure:5478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8523 -then
8524 -  ac_cv_sizeof_char=`cat conftestval`
8525 +_ACEOF
8526 +rm -f conftest.$ac_objext
8527 +if { (eval echo "$as_me:7411: \"$ac_compile\"") >&5
8528 +  (eval $ac_compile) 2>&5
8529 +  ac_status=$?
8530 +  echo "$as_me:7414: \$? = $ac_status" >&5
8531 +  (exit $ac_status); } &&
8532 +         { ac_try='test -s conftest.$ac_objext'
8533 +  { (eval echo "$as_me:7417: \"$ac_try\"") >&5
8534 +  (eval $ac_try) 2>&5
8535 +  ac_status=$?
8536 +  echo "$as_me:7420: \$? = $ac_status" >&5
8537 +  (exit $ac_status); }; }; then
8538 +  ac_lo=0 ac_mid=0
8539 +  while :; do
8540 +    cat >conftest.$ac_ext <<_ACEOF
8541 +#line 7425 "configure"
8542 +#include "confdefs.h"
8543 +$ac_includes_default
8544 +int
8545 +main ()
8546 +{
8547 +int _array_ [1 - 2 * !((sizeof (char*)) <= $ac_mid)]
8548 +  ;
8549 +  return 0;
8550 +}
8551 +_ACEOF
8552 +rm -f conftest.$ac_objext
8553 +if { (eval echo "$as_me:7437: \"$ac_compile\"") >&5
8554 +  (eval $ac_compile) 2>&5
8555 +  ac_status=$?
8556 +  echo "$as_me:7440: \$? = $ac_status" >&5
8557 +  (exit $ac_status); } &&
8558 +         { ac_try='test -s conftest.$ac_objext'
8559 +  { (eval echo "$as_me:7443: \"$ac_try\"") >&5
8560 +  (eval $ac_try) 2>&5
8561 +  ac_status=$?
8562 +  echo "$as_me:7446: \$? = $ac_status" >&5
8563 +  (exit $ac_status); }; }; then
8564 +  ac_hi=$ac_mid; break
8565 +else
8566 +  echo "$as_me: failed program was:" >&5
8567 +cat conftest.$ac_ext >&5
8568 +ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
8569 +fi
8570 +rm -f conftest.$ac_objext conftest.$ac_ext
8571 +  done
8572  else
8573 -  echo "configure: failed program was:" >&5
8574 -  cat conftest.$ac_ext >&5
8575 -  rm -fr conftest*
8576 -  ac_cv_sizeof_char=0
8577 +  echo "$as_me: failed program was:" >&5
8578 +cat conftest.$ac_ext >&5
8579 +ac_hi=-1 ac_mid=-1
8580 +  while :; do
8581 +    cat >conftest.$ac_ext <<_ACEOF
8582 +#line 7462 "configure"
8583 +#include "confdefs.h"
8584 +$ac_includes_default
8585 +int
8586 +main ()
8587 +{
8588 +int _array_ [1 - 2 * !((sizeof (char*)) >= $ac_mid)]
8589 +  ;
8590 +  return 0;
8591 +}
8592 +_ACEOF
8593 +rm -f conftest.$ac_objext
8594 +if { (eval echo "$as_me:7474: \"$ac_compile\"") >&5
8595 +  (eval $ac_compile) 2>&5
8596 +  ac_status=$?
8597 +  echo "$as_me:7477: \$? = $ac_status" >&5
8598 +  (exit $ac_status); } &&
8599 +         { ac_try='test -s conftest.$ac_objext'
8600 +  { (eval echo "$as_me:7480: \"$ac_try\"") >&5
8601 +  (eval $ac_try) 2>&5
8602 +  ac_status=$?
8603 +  echo "$as_me:7483: \$? = $ac_status" >&5
8604 +  (exit $ac_status); }; }; then
8605 +  ac_lo=$ac_mid; break
8606 +else
8607 +  echo "$as_me: failed program was:" >&5
8608 +cat conftest.$ac_ext >&5
8609 +ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
8610  fi
8611 -rm -fr conftest*
8612 +rm -f conftest.$ac_objext conftest.$ac_ext
8613 +  done
8614  fi
8615 -
8616 +rm -f conftest.$ac_objext conftest.$ac_ext
8617 +# Binary search between lo and hi bounds.
8618 +while test "x$ac_lo" != "x$ac_hi"; do
8619 +  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8620 +  cat >conftest.$ac_ext <<_ACEOF
8621 +#line 7499 "configure"
8622 +#include "confdefs.h"
8623 +$ac_includes_default
8624 +int
8625 +main ()
8626 +{
8627 +int _array_ [1 - 2 * !((sizeof (char*)) <= $ac_mid)]
8628 +  ;
8629 +  return 0;
8630 +}
8631 +_ACEOF
8632 +rm -f conftest.$ac_objext
8633 +if { (eval echo "$as_me:7511: \"$ac_compile\"") >&5
8634 +  (eval $ac_compile) 2>&5
8635 +  ac_status=$?
8636 +  echo "$as_me:7514: \$? = $ac_status" >&5
8637 +  (exit $ac_status); } &&
8638 +         { ac_try='test -s conftest.$ac_objext'
8639 +  { (eval echo "$as_me:7517: \"$ac_try\"") >&5
8640 +  (eval $ac_try) 2>&5
8641 +  ac_status=$?
8642 +  echo "$as_me:7520: \$? = $ac_status" >&5
8643 +  (exit $ac_status); }; }; then
8644 +  ac_hi=$ac_mid
8645 +else
8646 +  echo "$as_me: failed program was:" >&5
8647 +cat conftest.$ac_ext >&5
8648 +ac_lo=`expr $ac_mid + 1`
8649  fi
8650 -echo "$ac_t""$ac_cv_sizeof_char" 1>&6
8651 -cat >> confdefs.h <<EOF
8652 -#define SIZEOF_CHAR $ac_cv_sizeof_char
8653 -EOF
8654 -
8655 -
8656 -echo $ac_n "checking size of char*""... $ac_c" 1>&6
8657 -echo "configure:5498: checking size of char*" >&5
8658 -if eval "test \"`echo '$''{'ac_cv_sizeof_charp'+set}'`\" = set"; then
8659 -  echo $ac_n "(cached) $ac_c" 1>&6
8660 +rm -f conftest.$ac_objext conftest.$ac_ext
8661 +done
8662 +ac_cv_sizeof_charp=$ac_lo
8663  else
8664    if test "$cross_compiling" = yes; then
8665 -  ac_cv_sizeof_charp=2
8666 +  { { echo "$as_me:7533: error: cannot run test program while cross compiling" >&5
8667 +echo "$as_me: error: cannot run test program while cross compiling" >&2;}
8668 +   { (exit 1); exit 1; }; }
8669  else
8670 -  cat > conftest.$ac_ext <<EOF
8671 -#line 5506 "configure"
8672 +  cat >conftest.$ac_ext <<_ACEOF
8673 +#line 7538 "configure"
8674  #include "confdefs.h"
8675 -#include <stdio.h>
8676 -main()
8677 +$ac_includes_default
8678 +int
8679 +main ()
8680  {
8681 -  FILE *f=fopen("conftestval", "w");
8682 -  if (!f) exit(1);
8683 -  fprintf(f, "%d\n", sizeof(char*));
8684 -  exit(0);
8685 +FILE *f = fopen ("conftest.val", "w");
8686 +if (!f)
8687 +  exit (1);
8688 +fprintf (f, "%d", (sizeof (char*)));
8689 +fclose (f);
8690 +  ;
8691 +  return 0;
8692  }
8693 -EOF
8694 -if { (eval echo configure:5517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8695 -then
8696 -  ac_cv_sizeof_charp=`cat conftestval`
8697 +_ACEOF
8698 +rm -f conftest$ac_exeext
8699 +if { (eval echo "$as_me:7554: \"$ac_link\"") >&5
8700 +  (eval $ac_link) 2>&5
8701 +  ac_status=$?
8702 +  echo "$as_me:7557: \$? = $ac_status" >&5
8703 +  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8704 +  { (eval echo "$as_me:7559: \"$ac_try\"") >&5
8705 +  (eval $ac_try) 2>&5
8706 +  ac_status=$?
8707 +  echo "$as_me:7562: \$? = $ac_status" >&5
8708 +  (exit $ac_status); }; }; then
8709 +  ac_cv_sizeof_charp=`cat conftest.val`
8710 +else
8711 +  echo "$as_me: program exited with status $ac_status" >&5
8712 +echo "$as_me: failed program was:" >&5
8713 +cat conftest.$ac_ext >&5
8714 +fi
8715 +rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8716 +fi
8717 +fi
8718 +rm -f conftest.val
8719  else
8720 -  echo "configure: failed program was:" >&5
8721 -  cat conftest.$ac_ext >&5
8722 -  rm -fr conftest*
8723    ac_cv_sizeof_charp=0
8724  fi
8725 -rm -fr conftest*
8726 -fi
8727 -
8728  fi
8729 -echo "$ac_t""$ac_cv_sizeof_charp" 1>&6
8730 -cat >> confdefs.h <<EOF
8731 +echo "$as_me:7578: result: $ac_cv_sizeof_charp" >&5
8732 +echo "${ECHO_T}$ac_cv_sizeof_charp" >&6
8733 +cat >>confdefs.h <<EOF
8734  #define SIZEOF_CHARP $ac_cv_sizeof_charp
8735  EOF
8736  
8737 -
8738 -
8739 -
8740 -
8741  if test "x$GCC" = "xyes"; then
8742    case " $CFLAGS " in
8743    *[\ \        ]-Wall[\ \      ]*) ;;
8744 @@ -5548,11 +7594,10 @@
8745    xsrcdir="$srcdir"
8746  fi
8747  
8748 -
8749  for n in 2 3 4 5 6 7 8 9; do
8750    if test -f "${srcdir}/fribidi_tab_char_type_$n.i" ||
8751       test -f         "./fribidi_tab_char_type_$n.i"; then
8752 -    cat >> confdefs.h <<EOF
8753 +    cat >>confdefs.h <<EOF
8754  #define HAS_FRIBIDI_TAB_CHAR_TYPE_${n}_I 1
8755  EOF
8756  
8757 @@ -5562,22 +7607,21 @@
8758  echo "creating fribidi_tab_char_type_stamp"
8759  echo "time-stamp" > fribidi_tab_char_type_stamp
8760  
8761 -
8762 -
8763  # Check whether --enable-debug or --disable-debug was given.
8764  if test "${enable_debug+set}" = set; then
8765    enableval="$enable_debug"
8766    case "${enableval}" in
8767 -  yes) debug=true ;;  
8768 +  yes) debug=true ;;
8769    no)  debug=false ;;
8770 -  *) { echo "configure: error: bad value ${enableval} for --enable-debug" 1>&2; exit 1; } ;;
8771 +  *) { { echo "$as_me:7616: error: bad value ${enableval} for --enable-debug" >&5
8772 +echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;}
8773 +   { (exit 1); exit 1; }; } ;;
8774  esac
8775  else
8776    debug=false
8777 -fi
8778 -
8779 +fi;
8780  if test x"$debug" = xtrue; then
8781 -  cat >> confdefs.h <<\EOF
8782 +  cat >>confdefs.h <<\EOF
8783  #define DEBUG 1
8784  EOF
8785  
8786 @@ -5589,14 +7633,15 @@
8787    case "${enableval}" in
8788    yes) malloc=true ;;
8789    no)  malloc=false ;;
8790 -  *) { echo "configure: error: bad value ${enableval} for --enable-malloc" 1>&2; exit 1; } ;;
8791 +  *) { { echo "$as_me:7636: error: bad value ${enableval} for --enable-malloc" >&5
8792 +echo "$as_me: error: bad value ${enableval} for --enable-malloc" >&2;}
8793 +   { (exit 1); exit 1; }; } ;;
8794  esac
8795  else
8796    malloc=false
8797 -fi
8798 -
8799 +fi;
8800  if test x"$malloc" = xtrue; then
8801 -  cat >> confdefs.h <<\EOF
8802 +  cat >>confdefs.h <<\EOF
8803  #define USE_SIMPLE_MALLOC 1
8804  EOF
8805  
8806 @@ -5608,14 +7653,15 @@
8807    case "${enableval}" in
8808    yes) memopt=true ;;
8809    no)  memopt=false ;;
8810 -  *) { echo "configure: error: bad value ${enableval} for --enable-memopt" 1>&2; exit 1; } ;;
8811 +  *) { { echo "$as_me:7656: error: bad value ${enableval} for --enable-memopt" >&5
8812 +echo "$as_me: error: bad value ${enableval} for --enable-memopt" >&2;}
8813 +   { (exit 1); exit 1; }; } ;;
8814  esac
8815  else
8816    memopt=false
8817 -fi
8818 -
8819 +fi;
8820  if test x"$memopt" = xtrue; then
8821 -  cat >> confdefs.h <<\EOF
8822 +  cat >>confdefs.h <<\EOF
8823  #define MEM_OPTIMIZED 1
8824  EOF
8825  
8826 @@ -5627,14 +7673,15 @@
8827    case "${withval}" in
8828    yes) charsets=true ;;
8829    no)  charsets=false ;;
8830 -  *) { echo "configure: error: bad value ${withval} for --without-charsets" 1>&2; exit 1; } ;;
8831 +  *) { { echo "$as_me:7676: error: bad value ${withval} for --without-charsets" >&5
8832 +echo "$as_me: error: bad value ${withval} for --without-charsets" >&2;}
8833 +   { (exit 1); exit 1; }; } ;;
8834  esac
8835  else
8836    charsets=true
8837 -fi
8838 -
8839 +fi;
8840  if test x"$charsets" = xfalse; then
8841 -  cat >> confdefs.h <<\EOF
8842 +  cat >>confdefs.h <<\EOF
8843  #define FRIBIDI_NO_CHARSETS 1
8844  EOF
8845  
8846 @@ -5643,412 +7690,986 @@
8847    FRIBIDI_NO_CHARSETS=0
8848  fi
8849  
8850 -
8851 -trap '' 1 2 15
8852 -cat > confcache <<\EOF
8853 +ac_config_files="$ac_config_files Makefile fribidi_config.h fribidi-config fribidi.pc fribidi.spec"
8854 +ac_config_commands="$ac_config_commands default"
8855 +cat >confcache <<\_ACEOF
8856  # This file is a shell script that caches the results of configure
8857  # tests run on this system so they can be shared between configure
8858 -# scripts and configure runs.  It is not useful on other systems.
8859 -# If it contains results you don't want to keep, you may remove or edit it.
8860 -#
8861 -# By default, configure uses ./config.cache as the cache file,
8862 -# creating it if it does not exist already.  You can give configure
8863 -# the --cache-file=FILE option to use a different cache file; that is
8864 -# what configure does when it calls configure scripts in
8865 -# subdirectories, so they share the cache.
8866 -# Giving --cache-file=/dev/null disables caching, for debugging configure.
8867 -# config.status only pays attention to the cache file if you give it the
8868 -# --recheck option to rerun configure.
8869 -#
8870 -EOF
8871 +# scripts and configure runs, see configure's option --config-cache.
8872 +# It is not useful on other systems.  If it contains results you don't
8873 +# want to keep, you may remove or edit it.
8874 +#
8875 +# config.status only pays attention to the cache file if you give it
8876 +# the --recheck option to rerun configure.
8877 +#
8878 +# `ac_cv_env_foo' variables (set or unset) will be overriden when
8879 +# loading this file, other *unset* `ac_cv_foo' will be assigned the
8880 +# following values.
8881 +
8882 +_ACEOF
8883 +
8884  # The following way of writing the cache mishandles newlines in values,
8885  # but we know of no workaround that is simple, portable, and efficient.
8886  # So, don't put newlines in cache variables' values.
8887  # Ultrix sh set writes to stderr and can't be redirected directly,
8888  # and sets the high bit in the cache file unless we assign to the vars.
8889 -(set) 2>&1 |
8890 -  case `(ac_space=' '; set | grep ac_space) 2>&1` in
8891 -  *ac_space=\ *)
8892 -    # `set' does not quote correctly, so add quotes (double-quote substitution
8893 -    # turns \\\\ into \\, and sed turns \\ into \).
8894 -    sed -n \
8895 -      -e "s/'/'\\\\''/g" \
8896 -      -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8897 -    ;;
8898 -  *)
8899 -    # `set' quotes correctly as required by POSIX, so do not add quotes.
8900 -    sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8901 -    ;;
8902 -  esac >> confcache
8903 -if cmp -s $cache_file confcache; then
8904 -  :
8905 -else
8906 +{
8907 +  (set) 2>&1 |
8908 +    case `(ac_space=' '; set | grep ac_space) 2>&1` in
8909 +    *ac_space=\ *)
8910 +      # `set' does not quote correctly, so add quotes (double-quote
8911 +      # substitution turns \\\\ into \\, and sed turns \\ into \).
8912 +      sed -n \
8913 +        "s/'/'\\\\''/g;
8914 +         s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8915 +      ;;
8916 +    *)
8917 +      # `set' quotes correctly as required by POSIX, so do not add quotes.
8918 +      sed -n \
8919 +        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8920 +      ;;
8921 +    esac;
8922 +} |
8923 +  sed '
8924 +     t clear
8925 +     : clear
8926 +     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8927 +     t end
8928 +     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8929 +     : end' >>confcache
8930 +if cmp -s $cache_file confcache; then :; else
8931    if test -w $cache_file; then
8932 -    echo "updating cache $cache_file"
8933 -    cat confcache > $cache_file
8934 +    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8935 +    cat confcache >$cache_file
8936    else
8937      echo "not updating unwritable cache $cache_file"
8938    fi
8939  fi
8940  rm -f confcache
8941  
8942 -trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
8943 -
8944  test "x$prefix" = xNONE && prefix=$ac_default_prefix
8945  # Let make expand exec_prefix.
8946  test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8947  
8948 -# Any assignment to VPATH causes Sun make to only execute
8949 -# the first set of double-colon rules, so remove it if not needed.
8950 -# If there is a colon in the path, we need to keep it.
8951 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
8952 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8953 +# trailing colons and then remove the whole line if VPATH becomes empty
8954 +# (actually we leave an empty line to preserve line numbers).
8955  if test "x$srcdir" = x.; then
8956 -  ac_vpsub='/^[        ]*VPATH[        ]*=[^:]*$/d'
8957 +  ac_vpsub='/^[        ]*VPATH[        ]*=/{
8958 +s/:*\$(srcdir):*/:/;
8959 +s/:*\${srcdir}:*/:/;
8960 +s/:*@srcdir@:*/:/;
8961 +s/^\([^=]*=[   ]*\):*/\1/;
8962 +s/:*$//;
8963 +s/^[^=]*=[     ]*$//;
8964 +}'
8965  fi
8966  
8967 -trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
8968 -
8969  DEFS=-DHAVE_CONFIG_H
8970  
8971 -# Without the "./", some shells look in PATH for config.status.
8972 -: ${CONFIG_STATUS=./config.status}
8973 +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8974 +  { { echo "$as_me:7772: error: conditional \"AMDEP\" was never defined.
8975 +Usually this means the macro was only invoked conditionally." >&5
8976 +echo "$as_me: error: conditional \"AMDEP\" was never defined.
8977 +Usually this means the macro was only invoked conditionally." >&2;}
8978 +   { (exit 1); exit 1; }; }
8979 +fi
8980  
8981 -echo creating $CONFIG_STATUS
8982 -rm -f $CONFIG_STATUS
8983 -cat > $CONFIG_STATUS <<EOF
8984 -#! /bin/sh
8985 +: ${CONFIG_STATUS=./config.status}
8986 +ac_clean_files_save=$ac_clean_files
8987 +ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8988 +{ echo "$as_me:7782: creating $CONFIG_STATUS" >&5
8989 +echo "$as_me: creating $CONFIG_STATUS" >&6;}
8990 +cat >$CONFIG_STATUS <<_ACEOF
8991 +#! $SHELL
8992  # Generated automatically by configure.
8993  # Run this file to recreate the current configuration.
8994 -# This directory was configured as follows,
8995 -# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
8996 -#
8997 -# $0 $ac_configure_args
8998 -#
8999  # Compiler output produced by configure, useful for debugging
9000 -# configure, is in ./config.log if it exists.
9001 +# configure, is in config.log if it exists.
9002  
9003 -ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
9004 -for ac_option
9005 +debug=false
9006 +SHELL=\${CONFIG_SHELL-$SHELL}
9007 +ac_cs_invocation="\$0 \$@"
9008 +
9009 +_ACEOF
9010 +
9011 +cat >>$CONFIG_STATUS <<\_ACEOF
9012 +# Be Bourne compatible
9013 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
9014 +  emulate sh
9015 +  NULLCMD=:
9016 +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
9017 +  set -o posix
9018 +fi
9019 +
9020 +# Name of the executable.
9021 +as_me=`echo "$0" |sed 's,.*[\\/],,'`
9022 +
9023 +if expr a : '\(a\)' >/dev/null 2>&1; then
9024 +  as_expr=expr
9025 +else
9026 +  as_expr=false
9027 +fi
9028 +
9029 +rm -f conf$$ conf$$.exe conf$$.file
9030 +echo >conf$$.file
9031 +if ln -s conf$$.file conf$$ 2>/dev/null; then
9032 +  # We could just check for DJGPP; but this test a) works b) is more generic
9033 +  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
9034 +  if test -f conf$$.exe; then
9035 +    # Don't use ln at all; we don't have any links
9036 +    as_ln_s='cp -p'
9037 +  else
9038 +    as_ln_s='ln -s'
9039 +  fi
9040 +elif ln conf$$.file conf$$ 2>/dev/null; then
9041 +  as_ln_s=ln
9042 +else
9043 +  as_ln_s='cp -p'
9044 +fi
9045 +rm -f conf$$ conf$$.exe conf$$.file
9046 +
9047 +as_executable_p="test -f"
9048 +
9049 +# Support unset when possible.
9050 +if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
9051 +  as_unset=unset
9052 +else
9053 +  as_unset=false
9054 +fi
9055 +
9056 +# NLS nuisances.
9057 +$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
9058 +$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
9059 +$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
9060 +$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
9061 +$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
9062 +$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
9063 +$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
9064 +$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
9065 +
9066 +# IFS
9067 +# We need space, tab and new line, in precisely that order.
9068 +as_nl='
9069 +'
9070 +IFS="  $as_nl"
9071 +
9072 +# CDPATH.
9073 +$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
9074 +
9075 +exec 6>&1
9076 +
9077 +_ACEOF
9078 +
9079 +# Files that config.status was made for.
9080 +if test -n "$ac_config_files"; then
9081 +  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
9082 +fi
9083 +
9084 +if test -n "$ac_config_headers"; then
9085 +  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
9086 +fi
9087 +
9088 +if test -n "$ac_config_links"; then
9089 +  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
9090 +fi
9091 +
9092 +if test -n "$ac_config_commands"; then
9093 +  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
9094 +fi
9095 +
9096 +cat >>$CONFIG_STATUS <<\EOF
9097 +
9098 +ac_cs_usage="\
9099 +\`$as_me' instantiates files from templates according to the
9100 +current configuration.
9101 +
9102 +Usage: $0 [OPTIONS] [FILE]...
9103 +
9104 +  -h, --help       print this help, then exit
9105 +  -V, --version    print version number, then exit
9106 +  -d, --debug      don't remove temporary files
9107 +      --recheck    update $as_me by reconfiguring in the same conditions
9108 +  --file=FILE[:TEMPLATE]
9109 +                   instantiate the configuration file FILE
9110 +  --header=FILE[:TEMPLATE]
9111 +                   instantiate the configuration header FILE
9112 +
9113 +Configuration files:
9114 +$config_files
9115 +
9116 +Configuration headers:
9117 +$config_headers
9118 +
9119 +Configuration commands:
9120 +$config_commands
9121 +
9122 +Report bugs to <bug-autoconf@gnu.org>."
9123 +EOF
9124 +
9125 +cat >>$CONFIG_STATUS <<EOF
9126 +ac_cs_version="\\
9127 +config.status
9128 +configured by $0, generated by GNU Autoconf 2.52,
9129 +  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
9130 +
9131 +Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
9132 +Free Software Foundation, Inc.
9133 +This config.status script is free software; the Free Software Foundation
9134 +gives unlimited permission to copy, distribute and modify it."
9135 +srcdir=$srcdir
9136 +INSTALL="$INSTALL"
9137 +EOF
9138 +
9139 +cat >>$CONFIG_STATUS <<\EOF
9140 +# If no file are specified by the user, then we need to provide default
9141 +# value.  By we need to know if files were specified by the user.
9142 +ac_need_defaults=:
9143 +while test $# != 0
9144  do
9145 -  case "\$ac_option" in
9146 +  case $1 in
9147 +  --*=*)
9148 +    ac_option=`expr "x$1" : 'x\([^=]*\)='`
9149 +    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
9150 +    shift
9151 +    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
9152 +    shift
9153 +    ;;
9154 +  -*);;
9155 +  *) # This is not an option, so the user has probably given explicit
9156 +     # arguments.
9157 +     ac_need_defaults=false;;
9158 +  esac
9159 +
9160 +  case $1 in
9161 +  # Handling of the options.
9162 +EOF
9163 +cat >>$CONFIG_STATUS <<EOF
9164    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9165 -    echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
9166 -    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
9167 -  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
9168 -    echo "$CONFIG_STATUS generated by autoconf version 2.13"
9169 -    exit 0 ;;
9170 -  -help | --help | --hel | --he | --h)
9171 -    echo "\$ac_cs_usage"; exit 0 ;;
9172 -  *) echo "\$ac_cs_usage"; exit 1 ;;
9173 +    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
9174 +    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
9175 +EOF
9176 +cat >>$CONFIG_STATUS <<\EOF
9177 +  --version | --vers* | -V )
9178 +    echo "$ac_cs_version"; exit 0 ;;
9179 +  --he | --h)
9180 +    # Conflict between --help and --header
9181 +    { { echo "$as_me:7958: error: ambiguous option: $1
9182 +Try \`$0 --help' for more information." >&5
9183 +echo "$as_me: error: ambiguous option: $1
9184 +Try \`$0 --help' for more information." >&2;}
9185 +   { (exit 1); exit 1; }; };;
9186 +  --help | --hel | -h )
9187 +    echo "$ac_cs_usage"; exit 0 ;;
9188 +  --debug | --d* | -d )
9189 +    debug=: ;;
9190 +  --file | --fil | --fi | --f )
9191 +    shift
9192 +    CONFIG_FILES="$CONFIG_FILES $1"
9193 +    ac_need_defaults=false;;
9194 +  --header | --heade | --head | --hea )
9195 +    shift
9196 +    CONFIG_HEADERS="$CONFIG_HEADERS $1"
9197 +    ac_need_defaults=false;;
9198 +
9199 +  # This is an error.
9200 +  -*) { { echo "$as_me:7977: error: unrecognized option: $1
9201 +Try \`$0 --help' for more information." >&5
9202 +echo "$as_me: error: unrecognized option: $1
9203 +Try \`$0 --help' for more information." >&2;}
9204 +   { (exit 1); exit 1; }; } ;;
9205 +
9206 +  *) ac_config_targets="$ac_config_targets $1" ;;
9207 +
9208    esac
9209 +  shift
9210  done
9211  
9212 -ac_given_srcdir=$srcdir
9213 -ac_given_INSTALL="$INSTALL"
9214 -
9215 -trap 'rm -fr `echo "
9216 -Makefile
9217 -fribidi_config.h
9218 -fribidi-config
9219 -fribidi.pc
9220 -fribidi.spec
9221 - config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
9222 -EOF
9223 -cat >> $CONFIG_STATUS <<EOF
9224 -
9225 -# Protect against being on the right side of a sed subst in config.status.
9226 -sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
9227 - s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
9228 -$ac_vpsub
9229 -$extrasub
9230 -s%@SHELL@%$SHELL%g
9231 -s%@CFLAGS@%$CFLAGS%g
9232 -s%@CPPFLAGS@%$CPPFLAGS%g
9233 -s%@CXXFLAGS@%$CXXFLAGS%g
9234 -s%@FFLAGS@%$FFLAGS%g
9235 -s%@DEFS@%$DEFS%g
9236 -s%@LDFLAGS@%$LDFLAGS%g
9237 -s%@LIBS@%$LIBS%g
9238 -s%@exec_prefix@%$exec_prefix%g
9239 -s%@prefix@%$prefix%g
9240 -s%@program_transform_name@%$program_transform_name%g
9241 -s%@bindir@%$bindir%g
9242 -s%@sbindir@%$sbindir%g
9243 -s%@libexecdir@%$libexecdir%g
9244 -s%@datadir@%$datadir%g
9245 -s%@sysconfdir@%$sysconfdir%g
9246 -s%@sharedstatedir@%$sharedstatedir%g
9247 -s%@localstatedir@%$localstatedir%g
9248 -s%@libdir@%$libdir%g
9249 -s%@includedir@%$includedir%g
9250 -s%@oldincludedir@%$oldincludedir%g
9251 -s%@infodir@%$infodir%g
9252 -s%@mandir@%$mandir%g
9253 -s%@FRIBIDI_MAJOR_VERSION@%$FRIBIDI_MAJOR_VERSION%g
9254 -s%@FRIBIDI_MINOR_VERSION@%$FRIBIDI_MINOR_VERSION%g
9255 -s%@FRIBIDI_MICRO_VERSION@%$FRIBIDI_MICRO_VERSION%g
9256 -s%@FRIBIDI_VERSION@%$FRIBIDI_VERSION%g
9257 -s%@FRIBIDI_INTERFACE_VERSION@%$FRIBIDI_INTERFACE_VERSION%g
9258 -s%@FRIBIDI_INTERFACE_AGE@%$FRIBIDI_INTERFACE_AGE%g
9259 -s%@FRIBIDI_BINARY_AGE@%$FRIBIDI_BINARY_AGE%g
9260 -s%@FRIBIDI_RPM_RELEASE@%$FRIBIDI_RPM_RELEASE%g
9261 -s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
9262 -s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
9263 -s%@INSTALL_DATA@%$INSTALL_DATA%g
9264 -s%@PACKAGE@%$PACKAGE%g
9265 -s%@VERSION@%$VERSION%g
9266 -s%@ACLOCAL@%$ACLOCAL%g
9267 -s%@AUTOCONF@%$AUTOCONF%g
9268 -s%@AUTOMAKE@%$AUTOMAKE%g
9269 -s%@AUTOHEADER@%$AUTOHEADER%g
9270 -s%@MAKEINFO@%$MAKEINFO%g
9271 -s%@SET_MAKE@%$SET_MAKE%g
9272 -s%@AWK@%$AWK%g
9273 -s%@CC@%$CC%g
9274 -s%@CPP@%$CPP%g
9275 -s%@LN_S@%$LN_S%g
9276 -s%@RANLIB@%$RANLIB%g
9277 -s%@SED@%$SED%g
9278 -s%@host@%$host%g
9279 -s%@host_alias@%$host_alias%g
9280 -s%@host_cpu@%$host_cpu%g
9281 -s%@host_vendor@%$host_vendor%g
9282 -s%@host_os@%$host_os%g
9283 -s%@build@%$build%g
9284 -s%@build_alias@%$build_alias%g
9285 -s%@build_cpu@%$build_cpu%g
9286 -s%@build_vendor@%$build_vendor%g
9287 -s%@build_os@%$build_os%g
9288 -s%@OBJEXT@%$OBJEXT%g
9289 -s%@EXEEXT@%$EXEEXT%g
9290 -s%@ECHO@%$ECHO%g
9291 -s%@STRIP@%$STRIP%g
9292 -s%@LIBTOOL@%$LIBTOOL%g
9293 -s%@FRIBIDI_NO_CHARSETS@%$FRIBIDI_NO_CHARSETS%g
9294 +exec 5>>config.log
9295 +cat >&5 << _ACEOF
9296  
9297 -CEOF
9298 +## ----------------------- ##
9299 +## Running config.status.  ##
9300 +## ----------------------- ##
9301 +
9302 +This file was extended by $as_me 2.52, executed with
9303 +  CONFIG_FILES    = $CONFIG_FILES
9304 +  CONFIG_HEADERS  = $CONFIG_HEADERS
9305 +  CONFIG_LINKS    = $CONFIG_LINKS
9306 +  CONFIG_COMMANDS = $CONFIG_COMMANDS
9307 +  > $ac_cs_invocation
9308 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
9309 +
9310 +_ACEOF
9311  EOF
9312  
9313 -cat >> $CONFIG_STATUS <<\EOF
9314 +cat >>$CONFIG_STATUS <<EOF
9315 +#
9316 +# INIT-COMMANDS section.
9317 +#
9318  
9319 -# Split the substitutions into bite-sized pieces for seds with
9320 -# small command number limits, like on Digital OSF/1 and HP-UX.
9321 -ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
9322 -ac_file=1 # Number of current file.
9323 -ac_beg=1 # First line for current file.
9324 -ac_end=$ac_max_sed_cmds # Line after last line for current file.
9325 -ac_more_lines=:
9326 -ac_sed_cmds=""
9327 -while $ac_more_lines; do
9328 -  if test $ac_beg -gt 1; then
9329 -    sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
9330 -  else
9331 -    sed "${ac_end}q" conftest.subs > conftest.s$ac_file
9332 -  fi
9333 -  if test ! -s conftest.s$ac_file; then
9334 -    ac_more_lines=false
9335 -    rm -f conftest.s$ac_file
9336 -  else
9337 -    if test -z "$ac_sed_cmds"; then
9338 -      ac_sed_cmds="sed -f conftest.s$ac_file"
9339 -    else
9340 -      ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
9341 -    fi
9342 -    ac_file=`expr $ac_file + 1`
9343 -    ac_beg=$ac_end
9344 -    ac_end=`expr $ac_end + $ac_max_sed_cmds`
9345 -  fi
9346 +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
9347 +
9348 +EOF
9349 +
9350 +cat >>$CONFIG_STATUS <<\EOF
9351 +for ac_config_target in $ac_config_targets
9352 +do
9353 +  case "$ac_config_target" in
9354 +  # Handling of arguments.
9355 +  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
9356 +  "fribidi_config.h" ) CONFIG_FILES="$CONFIG_FILES fribidi_config.h" ;;
9357 +  "fribidi-config" ) CONFIG_FILES="$CONFIG_FILES fribidi-config" ;;
9358 +  "fribidi.pc" ) CONFIG_FILES="$CONFIG_FILES fribidi.pc" ;;
9359 +  "fribidi.spec" ) CONFIG_FILES="$CONFIG_FILES fribidi.spec" ;;
9360 +  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
9361 +  "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
9362 +  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
9363 +  *) { { echo "$as_me:8029: error: invalid argument: $ac_config_target" >&5
9364 +echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9365 +   { (exit 1); exit 1; }; };;
9366 +  esac
9367  done
9368 -if test -z "$ac_sed_cmds"; then
9369 -  ac_sed_cmds=cat
9370 +
9371 +# If the user did not use the arguments to specify the items to instantiate,
9372 +# then the envvar interface is used.  Set only those that are not.
9373 +# We use the long form for the default assignment because of an extremely
9374 +# bizarre bug on SunOS 4.1.3.
9375 +if $ac_need_defaults; then
9376 +  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
9377 +  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
9378 +  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
9379  fi
9380 +
9381 +# Create a temporary directory, and hook for its removal unless debugging.
9382 +$debug ||
9383 +{
9384 +  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
9385 +  trap '{ (exit 1); exit 1; }' 1 2 13 15
9386 +}
9387 +
9388 +# Create a (secure) tmp directory for tmp files.
9389 +: ${TMPDIR=/tmp}
9390 +{
9391 +  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
9392 +  test -n "$tmp" && test -d "$tmp"
9393 +}  ||
9394 +{
9395 +  tmp=$TMPDIR/cs$$-$RANDOM
9396 +  (umask 077 && mkdir $tmp)
9397 +} ||
9398 +{
9399 +   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
9400 +   { (exit 1); exit 1; }
9401 +}
9402 +
9403 +EOF
9404 +
9405 +cat >>$CONFIG_STATUS <<EOF
9406 +
9407 +#
9408 +# CONFIG_FILES section.
9409 +#
9410 +
9411 +# No need to generate the scripts if there are no CONFIG_FILES.
9412 +# This happens for instance when ./config.status config.h
9413 +if test -n "\$CONFIG_FILES"; then
9414 +  # Protect against being on the right side of a sed subst in config.status.
9415 +  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
9416 +   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
9417 +s,@SHELL@,$SHELL,;t t
9418 +s,@exec_prefix@,$exec_prefix,;t t
9419 +s,@prefix@,$prefix,;t t
9420 +s,@program_transform_name@,$program_transform_name,;t t
9421 +s,@bindir@,$bindir,;t t
9422 +s,@sbindir@,$sbindir,;t t
9423 +s,@libexecdir@,$libexecdir,;t t
9424 +s,@datadir@,$datadir,;t t
9425 +s,@sysconfdir@,$sysconfdir,;t t
9426 +s,@sharedstatedir@,$sharedstatedir,;t t
9427 +s,@localstatedir@,$localstatedir,;t t
9428 +s,@libdir@,$libdir,;t t
9429 +s,@includedir@,$includedir,;t t
9430 +s,@oldincludedir@,$oldincludedir,;t t
9431 +s,@infodir@,$infodir,;t t
9432 +s,@mandir@,$mandir,;t t
9433 +s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
9434 +s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
9435 +s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
9436 +s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
9437 +s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
9438 +s,@build_alias@,$build_alias,;t t
9439 +s,@host_alias@,$host_alias,;t t
9440 +s,@target_alias@,$target_alias,;t t
9441 +s,@ECHO_C@,$ECHO_C,;t t
9442 +s,@ECHO_N@,$ECHO_N,;t t
9443 +s,@ECHO_T@,$ECHO_T,;t t
9444 +s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
9445 +s,@DEFS@,$DEFS,;t t
9446 +s,@LIBS@,$LIBS,;t t
9447 +s,@FRIBIDI_MAJOR_VERSION@,$FRIBIDI_MAJOR_VERSION,;t t
9448 +s,@FRIBIDI_MINOR_VERSION@,$FRIBIDI_MINOR_VERSION,;t t
9449 +s,@FRIBIDI_MICRO_VERSION@,$FRIBIDI_MICRO_VERSION,;t t
9450 +s,@FRIBIDI_VERSION@,$FRIBIDI_VERSION,;t t
9451 +s,@FRIBIDI_INTERFACE_VERSION@,$FRIBIDI_INTERFACE_VERSION,;t t
9452 +s,@FRIBIDI_INTERFACE_AGE@,$FRIBIDI_INTERFACE_AGE,;t t
9453 +s,@FRIBIDI_BINARY_AGE@,$FRIBIDI_BINARY_AGE,;t t
9454 +s,@FRIBIDI_RPM_RELEASE@,$FRIBIDI_RPM_RELEASE,;t t
9455 +s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
9456 +s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
9457 +s,@INSTALL_DATA@,$INSTALL_DATA,;t t
9458 +s,@PACKAGE@,$PACKAGE,;t t
9459 +s,@VERSION@,$VERSION,;t t
9460 +s,@ACLOCAL@,$ACLOCAL,;t t
9461 +s,@AUTOCONF@,$AUTOCONF,;t t
9462 +s,@AUTOMAKE@,$AUTOMAKE,;t t
9463 +s,@AUTOHEADER@,$AUTOHEADER,;t t
9464 +s,@MAKEINFO@,$MAKEINFO,;t t
9465 +s,@AMTAR@,$AMTAR,;t t
9466 +s,@install_sh@,$install_sh,;t t
9467 +s,@STRIP@,$STRIP,;t t
9468 +s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
9469 +s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
9470 +s,@AWK@,$AWK,;t t
9471 +s,@SET_MAKE@,$SET_MAKE,;t t
9472 +s,@CC@,$CC,;t t
9473 +s,@CFLAGS@,$CFLAGS,;t t
9474 +s,@LDFLAGS@,$LDFLAGS,;t t
9475 +s,@CPPFLAGS@,$CPPFLAGS,;t t
9476 +s,@ac_ct_CC@,$ac_ct_CC,;t t
9477 +s,@EXEEXT@,$EXEEXT,;t t
9478 +s,@OBJEXT@,$OBJEXT,;t t
9479 +s,@DEPDIR@,$DEPDIR,;t t
9480 +s,@am__include@,$am__include,;t t
9481 +s,@am__quote@,$am__quote,;t t
9482 +s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
9483 +s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
9484 +s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
9485 +s,@CCDEPMODE@,$CCDEPMODE,;t t
9486 +s,@CPP@,$CPP,;t t
9487 +s,@LN_S@,$LN_S,;t t
9488 +s,@RANLIB@,$RANLIB,;t t
9489 +s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
9490 +s,@SED@,$SED,;t t
9491 +s,@build@,$build,;t t
9492 +s,@build_cpu@,$build_cpu,;t t
9493 +s,@build_vendor@,$build_vendor,;t t
9494 +s,@build_os@,$build_os,;t t
9495 +s,@host@,$host,;t t
9496 +s,@host_cpu@,$host_cpu,;t t
9497 +s,@host_vendor@,$host_vendor,;t t
9498 +s,@host_os@,$host_os,;t t
9499 +s,@ECHO@,$ECHO,;t t
9500 +s,@LIBTOOL@,$LIBTOOL,;t t
9501 +s,@FRIBIDI_NO_CHARSETS@,$FRIBIDI_NO_CHARSETS,;t t
9502 +CEOF
9503 +
9504  EOF
9505  
9506 -cat >> $CONFIG_STATUS <<EOF
9507 +  cat >>$CONFIG_STATUS <<\EOF
9508 +  # Split the substitutions into bite-sized pieces for seds with
9509 +  # small command number limits, like on Digital OSF/1 and HP-UX.
9510 +  ac_max_sed_lines=48
9511 +  ac_sed_frag=1 # Number of current file.
9512 +  ac_beg=1 # First line for current file.
9513 +  ac_end=$ac_max_sed_lines # Line after last line for current file.
9514 +  ac_more_lines=:
9515 +  ac_sed_cmds=
9516 +  while $ac_more_lines; do
9517 +    if test $ac_beg -gt 1; then
9518 +      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
9519 +    else
9520 +      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
9521 +    fi
9522 +    if test ! -s $tmp/subs.frag; then
9523 +      ac_more_lines=false
9524 +    else
9525 +      # The purpose of the label and of the branching condition is to
9526 +      # speed up the sed processing (if there are no `@' at all, there
9527 +      # is no need to browse any of the substitutions).
9528 +      # These are the two extra sed commands mentioned above.
9529 +      (echo ':t
9530 +  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
9531 +      if test -z "$ac_sed_cmds"; then
9532 +       ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
9533 +      else
9534 +       ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9535 +      fi
9536 +      ac_sed_frag=`expr $ac_sed_frag + 1`
9537 +      ac_beg=$ac_end
9538 +      ac_end=`expr $ac_end + $ac_max_sed_lines`
9539 +    fi
9540 +  done
9541 +  if test -z "$ac_sed_cmds"; then
9542 +    ac_sed_cmds=cat
9543 +  fi
9544 +fi # test -n "$CONFIG_FILES"
9545  
9546 -CONFIG_FILES=\${CONFIG_FILES-"Makefile
9547 -fribidi_config.h
9548 -fribidi-config
9549 -fribidi.pc
9550 -fribidi.spec
9551 -"}
9552  EOF
9553 -cat >> $CONFIG_STATUS <<\EOF
9554 -for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
9555 +cat >>$CONFIG_STATUS <<\EOF
9556 +for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
9557    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9558 -  case "$ac_file" in
9559 -  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
9560 -       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
9561 -  *) ac_file_in="${ac_file}.in" ;;
9562 +  case $ac_file in
9563 +  - | *:- | *:-:* ) # input from stdin
9564 +        cat >$tmp/stdin
9565 +        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9566 +        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9567 +  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9568 +        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9569 +  * )   ac_file_in=$ac_file.in ;;
9570    esac
9571  
9572 -  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
9573 -
9574 -  # Remove last slash and all that follows it.  Not all systems have dirname.
9575 -  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
9576 +  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
9577 +  ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9578 +         X"$ac_file" : 'X\(//\)[^/]' \| \
9579 +         X"$ac_file" : 'X\(//\)$' \| \
9580 +         X"$ac_file" : 'X\(/\)' \| \
9581 +         .     : '\(.\)' 2>/dev/null ||
9582 +echo X"$ac_file" |
9583 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9584 +         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9585 +         /^X\(\/\/\)$/{ s//\1/; q; }
9586 +         /^X\(\/\).*/{ s//\1/; q; }
9587 +         s/.*/./; q'`
9588    if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
9589 -    # The file is in a subdirectory.
9590 -    test ! -d "$ac_dir" && mkdir "$ac_dir"
9591 -    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
9592 +    { case "$ac_dir" in
9593 +  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
9594 +  *)                      as_incr_dir=.;;
9595 +esac
9596 +as_dummy="$ac_dir"
9597 +for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
9598 +  case $as_mkdir_dir in
9599 +    # Skip DOS drivespec
9600 +    ?:) as_incr_dir=$as_mkdir_dir ;;
9601 +    *)
9602 +      as_incr_dir=$as_incr_dir/$as_mkdir_dir
9603 +      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
9604 +    ;;
9605 +  esac
9606 +done; }
9607 +
9608 +    ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
9609      # A "../" for each directory in $ac_dir_suffix.
9610 -    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
9611 +    ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
9612    else
9613      ac_dir_suffix= ac_dots=
9614    fi
9615  
9616 -  case "$ac_given_srcdir" in
9617 -  .)  srcdir=.
9618 -      if test -z "$ac_dots"; then top_srcdir=.
9619 -      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
9620 -  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
9621 +  case $srcdir in
9622 +  .)  ac_srcdir=.
9623 +      if test -z "$ac_dots"; then
9624 +         ac_top_srcdir=.
9625 +      else
9626 +         ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
9627 +      fi ;;
9628 +  [\\/]* | ?:[\\/]* )
9629 +      ac_srcdir=$srcdir$ac_dir_suffix;
9630 +      ac_top_srcdir=$srcdir ;;
9631    *) # Relative path.
9632 -    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
9633 -    top_srcdir="$ac_dots$ac_given_srcdir" ;;
9634 +    ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
9635 +    ac_top_srcdir=$ac_dots$srcdir ;;
9636    esac
9637  
9638 -  case "$ac_given_INSTALL" in
9639 -  [/$]*) INSTALL="$ac_given_INSTALL" ;;
9640 -  *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
9641 -  esac
9642 -
9643 -  echo creating "$ac_file"
9644 -  rm -f "$ac_file"
9645 -  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
9646 -  case "$ac_file" in
9647 -  *Makefile*) ac_comsub="1i\\
9648 -# $configure_input" ;;
9649 -  *) ac_comsub= ;;
9650 -  esac
9651 -
9652 -  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
9653 -  sed -e "$ac_comsub
9654 -s%@configure_input@%$configure_input%g
9655 -s%@srcdir@%$srcdir%g
9656 -s%@top_srcdir@%$top_srcdir%g
9657 -s%@INSTALL@%$INSTALL%g
9658 -" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
9659 -fi; done
9660 -rm -f conftest.s*
9661 +  case $INSTALL in
9662 +  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9663 +  *) ac_INSTALL=$ac_dots$INSTALL ;;
9664 +  esac
9665 +
9666 +  if test x"$ac_file" != x-; then
9667 +    { echo "$as_me:8280: creating $ac_file" >&5
9668 +echo "$as_me: creating $ac_file" >&6;}
9669 +    rm -f "$ac_file"
9670 +  fi
9671 +  # Let's still pretend it is `configure' which instantiates (i.e., don't
9672 +  # use $as_me), people would be surprised to read:
9673 +  #    /* config.h.  Generated automatically by config.status.  */
9674 +  configure_input="Generated automatically from `echo $ac_file_in |
9675 +                                                 sed 's,.*/,,'` by configure."
9676 +
9677 +  # First look for the input files in the build tree, otherwise in the
9678 +  # src tree.
9679 +  ac_file_inputs=`IFS=:
9680 +    for f in $ac_file_in; do
9681 +      case $f in
9682 +      -) echo $tmp/stdin ;;
9683 +      [\\/$]*)
9684 +         # Absolute (can't be DOS-style, as IFS=:)
9685 +         test -f "$f" || { { echo "$as_me:8298: error: cannot find input file: $f" >&5
9686 +echo "$as_me: error: cannot find input file: $f" >&2;}
9687 +   { (exit 1); exit 1; }; }
9688 +         echo $f;;
9689 +      *) # Relative
9690 +         if test -f "$f"; then
9691 +           # Build tree
9692 +           echo $f
9693 +         elif test -f "$srcdir/$f"; then
9694 +           # Source tree
9695 +           echo $srcdir/$f
9696 +         else
9697 +           # /dev/null tree
9698 +           { { echo "$as_me:8311: error: cannot find input file: $f" >&5
9699 +echo "$as_me: error: cannot find input file: $f" >&2;}
9700 +   { (exit 1); exit 1; }; }
9701 +         fi;;
9702 +      esac
9703 +    done` || { (exit 1); exit 1; }
9704 +EOF
9705 +cat >>$CONFIG_STATUS <<EOF
9706 +  sed "$ac_vpsub
9707 +$extrasub
9708 +EOF
9709 +cat >>$CONFIG_STATUS <<\EOF
9710 +:t
9711 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9712 +s,@configure_input@,$configure_input,;t t
9713 +s,@srcdir@,$ac_srcdir,;t t
9714 +s,@top_srcdir@,$ac_top_srcdir,;t t
9715 +s,@INSTALL@,$ac_INSTALL,;t t
9716 +" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
9717 +  rm -f $tmp/stdin
9718 +  if test x"$ac_file" != x-; then
9719 +    mv $tmp/out $ac_file
9720 +  else
9721 +    cat $tmp/out
9722 +    rm -f $tmp/out
9723 +  fi
9724 +
9725 +done
9726 +EOF
9727 +cat >>$CONFIG_STATUS <<\EOF
9728 +
9729 +#
9730 +# CONFIG_HEADER section.
9731 +#
9732  
9733  # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
9734  # NAME is the cpp macro being defined and VALUE is the value it is being given.
9735  #
9736  # ac_d sets the value in "#define NAME VALUE" lines.
9737 -ac_dA='s%^\([  ]*\)#\([        ]*define[       ][      ]*\)'
9738 -ac_dB='\([     ][      ]*\)[^  ]*%\1#\2'
9739 -ac_dC='\3'
9740 -ac_dD='%g'
9741 -# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
9742 -ac_uA='s%^\([  ]*\)#\([        ]*\)undef\([    ][      ]*\)'
9743 -ac_uB='\([     ]\)%\1#\2define\3'
9744 +ac_dA='s,^\([  ]*\)#\([        ]*define[       ][      ]*\)'
9745 +ac_dB='[       ].*$,\1#\2'
9746 +ac_dC=' '
9747 +ac_dD=',;t'
9748 +# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
9749 +ac_uA='s,^\([  ]*\)#\([        ]*\)undef\([    ][      ]*\)'
9750 +ac_uB='$,\1#\2define\3'
9751  ac_uC=' '
9752 -ac_uD='\4%g'
9753 -# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
9754 -ac_eA='s%^\([  ]*\)#\([        ]*\)undef\([    ][      ]*\)'
9755 -ac_eB='$%\1#\2define\3'
9756 -ac_eC=' '
9757 -ac_eD='%g'
9758 +ac_uD=',;t'
9759  
9760 -if test "${CONFIG_HEADERS+set}" != set; then
9761 -EOF
9762 -cat >> $CONFIG_STATUS <<EOF
9763 -  CONFIG_HEADERS="config.h"
9764 -EOF
9765 -cat >> $CONFIG_STATUS <<\EOF
9766 -fi
9767 -for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
9768 +for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
9769    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9770 -  case "$ac_file" in
9771 -  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
9772 -       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
9773 -  *) ac_file_in="${ac_file}.in" ;;
9774 -  esac
9775 -
9776 -  echo creating $ac_file
9777 -
9778 -  rm -f conftest.frag conftest.in conftest.out
9779 -  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
9780 -  cat $ac_file_inputs > conftest.in
9781 +  case $ac_file in
9782 +  - | *:- | *:-:* ) # input from stdin
9783 +        cat >$tmp/stdin
9784 +        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9785 +        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9786 +  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9787 +        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9788 +  * )   ac_file_in=$ac_file.in ;;
9789 +  esac
9790  
9791 -EOF
9792 +  test x"$ac_file" != x- && { echo "$as_me:8372: creating $ac_file" >&5
9793 +echo "$as_me: creating $ac_file" >&6;}
9794 +
9795 +  # First look for the input files in the build tree, otherwise in the
9796 +  # src tree.
9797 +  ac_file_inputs=`IFS=:
9798 +    for f in $ac_file_in; do
9799 +      case $f in
9800 +      -) echo $tmp/stdin ;;
9801 +      [\\/$]*)
9802 +         # Absolute (can't be DOS-style, as IFS=:)
9803 +         test -f "$f" || { { echo "$as_me:8383: error: cannot find input file: $f" >&5
9804 +echo "$as_me: error: cannot find input file: $f" >&2;}
9805 +   { (exit 1); exit 1; }; }
9806 +         echo $f;;
9807 +      *) # Relative
9808 +         if test -f "$f"; then
9809 +           # Build tree
9810 +           echo $f
9811 +         elif test -f "$srcdir/$f"; then
9812 +           # Source tree
9813 +           echo $srcdir/$f
9814 +         else
9815 +           # /dev/null tree
9816 +           { { echo "$as_me:8396: error: cannot find input file: $f" >&5
9817 +echo "$as_me: error: cannot find input file: $f" >&2;}
9818 +   { (exit 1); exit 1; }; }
9819 +         fi;;
9820 +      esac
9821 +    done` || { (exit 1); exit 1; }
9822 +  # Remove the trailing spaces.
9823 +  sed 's/[     ]*$//' $ac_file_inputs >$tmp/in
9824  
9825 -# Transform confdefs.h into a sed script conftest.vals that substitutes
9826 -# the proper values into config.h.in to produce config.h.  And first:
9827 -# Protect against being on the right side of a sed subst in config.status.
9828 -# Protect against being in an unquoted here document in config.status.
9829 -rm -f conftest.vals
9830 -cat > conftest.hdr <<\EOF
9831 -s/[\\&%]/\\&/g
9832 -s%[\\$`]%\\&%g
9833 -s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
9834 -s%ac_d%ac_u%gp
9835 -s%ac_u%ac_e%gp
9836  EOF
9837 -sed -n -f conftest.hdr confdefs.h > conftest.vals
9838 -rm -f conftest.hdr
9839 +
9840 +# Transform confdefs.h into two sed scripts, `conftest.defines' and
9841 +# `conftest.undefs', that substitutes the proper values into
9842 +# config.h.in to produce config.h.  The first handles `#define'
9843 +# templates, and the second `#undef' templates.
9844 +# And first: Protect against being on the right side of a sed subst in
9845 +# config.status.  Protect against being in an unquoted here document
9846 +# in config.status.
9847 +rm -f conftest.defines conftest.undefs
9848 +# Using a here document instead of a string reduces the quoting nightmare.
9849 +# Putting comments in sed scripts is not portable.
9850 +#
9851 +# `end' is used to avoid that the second main sed command (meant for
9852 +# 0-ary CPP macros) applies to n-ary macro definitions.
9853 +# See the Autoconf documentation for `clear'.
9854 +cat >confdef2sed.sed <<\EOF
9855 +s/[\\&,]/\\&/g
9856 +s,[\\$`],\\&,g
9857 +t clear
9858 +: clear
9859 +s,^[   ]*#[    ]*define[       ][      ]*\(\([^        (][^    (]*\)([^)]*)\)[         ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
9860 +t end
9861 +s,^[   ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9862 +: end
9863 +EOF
9864 +# If some macros were called several times there might be several times
9865 +# the same #defines, which is useless.  Nevertheless, we may not want to
9866 +# sort them, since we want the *last* AC-DEFINE to be honored.
9867 +uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
9868 +sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
9869 +rm -f confdef2sed.sed
9870  
9871  # This sed command replaces #undef with comments.  This is necessary, for
9872  # example, in the case of _POSIX_SOURCE, which is predefined and required
9873  # on some systems where configure will not decide to define it.
9874 -cat >> conftest.vals <<\EOF
9875 -s%^[   ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
9876 +cat >>conftest.undefs <<\EOF
9877 +s,^[   ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9878  EOF
9879  
9880 -# Break up conftest.vals because some shells have a limit on
9881 -# the size of here documents, and old seds have small limits too.
9882 -
9883 +# Break up conftest.defines because some shells have a limit on the size
9884 +# of here documents, and old seds have small limits too (100 cmds).
9885 +echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
9886 +echo '  if egrep "^[   ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9887 +echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
9888 +echo '  :' >>$CONFIG_STATUS
9889 +rm -f conftest.tail
9890 +while grep . conftest.defines >/dev/null
9891 +do
9892 +  # Write a limited-size here document to $tmp/defines.sed.
9893 +  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
9894 +  # Speed up: don't consider the non `#define' lines.
9895 +  echo '/^[    ]*#[    ]*define/!b' >>$CONFIG_STATUS
9896 +  # Work around the forget-to-reset-the-flag bug.
9897 +  echo 't clr' >>$CONFIG_STATUS
9898 +  echo ': clr' >>$CONFIG_STATUS
9899 +  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
9900 +  echo 'CEOF
9901 +  sed -f $tmp/defines.sed $tmp/in >$tmp/out
9902 +  rm -f $tmp/in
9903 +  mv $tmp/out $tmp/in
9904 +' >>$CONFIG_STATUS
9905 +  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
9906 +  rm -f conftest.defines
9907 +  mv conftest.tail conftest.defines
9908 +done
9909 +rm -f conftest.defines
9910 +echo '  fi # egrep' >>$CONFIG_STATUS
9911 +echo >>$CONFIG_STATUS
9912 +
9913 +# Break up conftest.undefs because some shells have a limit on the size
9914 +# of here documents, and old seds have small limits too (100 cmds).
9915 +echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
9916  rm -f conftest.tail
9917 -while :
9918 +while grep . conftest.undefs >/dev/null
9919  do
9920 -  ac_lines=`grep -c . conftest.vals`
9921 -  # grep -c gives empty output for an empty file on some AIX systems.
9922 -  if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
9923 -  # Write a limited-size here document to conftest.frag.
9924 -  echo '  cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
9925 -  sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
9926 +  # Write a limited-size here document to $tmp/undefs.sed.
9927 +  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9928 +  # Speed up: don't consider the non `#undef'
9929 +  echo '/^[    ]*#[    ]*undef/!b' >>$CONFIG_STATUS
9930 +  # Work around the forget-to-reset-the-flag bug.
9931 +  echo 't clr' >>$CONFIG_STATUS
9932 +  echo ': clr' >>$CONFIG_STATUS
9933 +  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
9934    echo 'CEOF
9935 -  sed -f conftest.frag conftest.in > conftest.out
9936 -  rm -f conftest.in
9937 -  mv conftest.out conftest.in
9938 -' >> $CONFIG_STATUS
9939 -  sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
9940 -  rm -f conftest.vals
9941 -  mv conftest.tail conftest.vals
9942 -done
9943 -rm -f conftest.vals
9944 -
9945 -cat >> $CONFIG_STATUS <<\EOF
9946 -  rm -f conftest.frag conftest.h
9947 -  echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
9948 -  cat conftest.in >> conftest.h
9949 -  rm -f conftest.in
9950 -  if cmp -s $ac_file conftest.h 2>/dev/null; then
9951 -    echo "$ac_file is unchanged"
9952 -    rm -f conftest.h
9953 +  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
9954 +  rm -f $tmp/in
9955 +  mv $tmp/out $tmp/in
9956 +' >>$CONFIG_STATUS
9957 +  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
9958 +  rm -f conftest.undefs
9959 +  mv conftest.tail conftest.undefs
9960 +done
9961 +rm -f conftest.undefs
9962 +
9963 +cat >>$CONFIG_STATUS <<\EOF
9964 +  # Let's still pretend it is `configure' which instantiates (i.e., don't
9965 +  # use $as_me), people would be surprised to read:
9966 +  #    /* config.h.  Generated automatically by config.status.  */
9967 +  if test x"$ac_file" = x-; then
9968 +    echo "/* Generated automatically by configure.  */" >$tmp/config.h
9969    else
9970 -    # Remove last slash and all that follows it.  Not all systems have dirname.
9971 -      ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
9972 +    echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h
9973 +  fi
9974 +  cat $tmp/in >>$tmp/config.h
9975 +  rm -f $tmp/in
9976 +  if test x"$ac_file" != x-; then
9977 +    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
9978 +      { echo "$as_me:8513: $ac_file is unchanged" >&5
9979 +echo "$as_me: $ac_file is unchanged" >&6;}
9980 +    else
9981 +      ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9982 +         X"$ac_file" : 'X\(//\)[^/]' \| \
9983 +         X"$ac_file" : 'X\(//\)$' \| \
9984 +         X"$ac_file" : 'X\(/\)' \| \
9985 +         .     : '\(.\)' 2>/dev/null ||
9986 +echo X"$ac_file" |
9987 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9988 +         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9989 +         /^X\(\/\/\)$/{ s//\1/; q; }
9990 +         /^X\(\/\).*/{ s//\1/; q; }
9991 +         s/.*/./; q'`
9992        if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
9993 -      # The file is in a subdirectory.
9994 -      test ! -d "$ac_dir" && mkdir "$ac_dir"
9995 +        { case "$ac_dir" in
9996 +  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
9997 +  *)                      as_incr_dir=.;;
9998 +esac
9999 +as_dummy="$ac_dir"
10000 +for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
10001 +  case $as_mkdir_dir in
10002 +    # Skip DOS drivespec
10003 +    ?:) as_incr_dir=$as_mkdir_dir ;;
10004 +    *)
10005 +      as_incr_dir=$as_incr_dir/$as_mkdir_dir
10006 +      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
10007 +    ;;
10008 +  esac
10009 +done; }
10010 +
10011 +      fi
10012 +      rm -f $ac_file
10013 +      mv $tmp/config.h $ac_file
10014      fi
10015 -    rm -f $ac_file
10016 -    mv conftest.h $ac_file
10017 +  else
10018 +    cat $tmp/config.h
10019 +    rm -f $tmp/config.h
10020    fi
10021 -fi; done
10022 -
10023 +  # Run the commands associated with the file.
10024 +  case $ac_file in
10025 +    config.h ) # update the timestamp
10026 +echo 'timestamp for config.h' >"./stamp-h1"
10027 + ;;
10028 +  esac
10029 +done
10030  EOF
10031 -cat >> $CONFIG_STATUS <<EOF
10032 +cat >>$CONFIG_STATUS <<\EOF
10033  
10034 +#
10035 +# CONFIG_COMMANDS section.
10036 +#
10037 +for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
10038 +  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
10039 +  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
10040 +
10041 +  case $ac_dest in
10042 +    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
10043 +  # Strip MF so we end up with the name of the file.
10044 +  mf=`echo "$mf" | sed -e 's/:.*$//'`
10045 +  if (sed 1q $mf | fgrep 'generated by automake') > /dev/null 2>&1; then
10046 +    dirpart=`$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10047 +         X"$mf" : 'X\(//\)[^/]' \| \
10048 +         X"$mf" : 'X\(//\)$' \| \
10049 +         X"$mf" : 'X\(/\)' \| \
10050 +         .     : '\(.\)' 2>/dev/null ||
10051 +echo X"$mf" |
10052 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10053 +         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10054 +         /^X\(\/\/\)$/{ s//\1/; q; }
10055 +         /^X\(\/\).*/{ s//\1/; q; }
10056 +         s/.*/./; q'`
10057 +  else
10058 +    continue
10059 +  fi
10060 +  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
10061 +  # Extract the definition of DEP_FILES from the Makefile without
10062 +  # running `make'.
10063 +  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
10064 +  test -z "$DEPDIR" && continue
10065 +  # When using ansi2knr, U may be empty or an underscore; expand it
10066 +  U=`sed -n -e '/^U = / s///p' < "$mf"`
10067 +  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
10068 +  # We invoke sed twice because it is the simplest approach to
10069 +  # changing $(DEPDIR) to its actual value in the expansion.
10070 +  for file in `sed -n -e '
10071 +    /^DEP_FILES = .*\\\\$/ {
10072 +      s/^DEP_FILES = //
10073 +      :loop
10074 +       s/\\\\$//
10075 +       p
10076 +       n
10077 +       /\\\\$/ b loop
10078 +      p
10079 +    }
10080 +    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
10081 +       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10082 +    # Make sure the directory exists.
10083 +    test -f "$dirpart/$file" && continue
10084 +    fdir=`$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10085 +         X"$file" : 'X\(//\)[^/]' \| \
10086 +         X"$file" : 'X\(//\)$' \| \
10087 +         X"$file" : 'X\(/\)' \| \
10088 +         .     : '\(.\)' 2>/dev/null ||
10089 +echo X"$file" |
10090 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10091 +         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10092 +         /^X\(\/\/\)$/{ s//\1/; q; }
10093 +         /^X\(\/\).*/{ s//\1/; q; }
10094 +         s/.*/./; q'`
10095 +    { case $dirpart/$fdir in
10096 +  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
10097 +  *)                      as_incr_dir=.;;
10098 +esac
10099 +as_dummy=$dirpart/$fdir
10100 +for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
10101 +  case $as_mkdir_dir in
10102 +    # Skip DOS drivespec
10103 +    ?:) as_incr_dir=$as_mkdir_dir ;;
10104 +    *)
10105 +      as_incr_dir=$as_incr_dir/$as_mkdir_dir
10106 +      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
10107 +    ;;
10108 +  esac
10109 +done; }
10110  
10111 -EOF
10112 -cat >> $CONFIG_STATUS <<\EOF
10113 -test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
10114 -case "$CONFIG_FILES" in
10115 +    # echo "creating $dirpart/$file"
10116 +    echo '# dummy' > "$dirpart/$file"
10117 +  done
10118 +done
10119 + ;;
10120 +    default ) case "$CONFIG_FILES" in
10121  *fribidi-config*)chmod +x fribidi-config;;
10122 -esac
10123 -exit 0
10124 +esac ;;
10125 +  esac
10126 +done
10127 +EOF
10128 +
10129 +cat >>$CONFIG_STATUS <<\EOF
10130 +
10131 +{ (exit 0); exit 0; }
10132  EOF
10133  chmod +x $CONFIG_STATUS
10134 -rm -fr confdefs* $ac_clean_files
10135 -test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
10136 +ac_clean_files=$ac_clean_files_save
10137 +
10138 +# configure is writing to config.log, and then calls config.status.
10139 +# config.status does its own redirection, appending to config.log.
10140 +# Unfortunately, on DOS this fails, as config.log is still kept open
10141 +# by configure, so config.status won't be able to write to it; its
10142 +# output is simply discarded.  So we exec the FD to /dev/null,
10143 +# effectively closing config.log, so it can be properly (re)opened and
10144 +# appended to by config.status.  When coming back to configure, we
10145 +# need to make the FD available again.
10146 +if test "$no_create" != yes; then
10147 +  ac_cs_success=:
10148 +  exec 5>/dev/null
10149 +  $SHELL $CONFIG_STATUS || ac_cs_success=false
10150 +  exec 5>>config.log
10151 +  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10152 +  # would make configure fail if this is the last instruction.
10153 +  $ac_cs_success || { (exit 1); exit 1; }
10154 +fi
10155  
10156 diff -ruNa fribidi.old/depcomp fribidi/depcomp
10157 --- fribidi.old/depcomp Thu Jan  1 01:00:00 1970
10158 +++ fribidi/depcomp     Sun Jul 14 13:25:54 2002
10159 @@ -0,0 +1,436 @@
10160 +#! /bin/sh
10161 +
10162 +# depcomp - compile a program generating dependencies as side-effects
10163 +# Copyright 1999, 2000 Free Software Foundation, Inc.
10164 +
10165 +# This program is free software; you can redistribute it and/or modify
10166 +# it under the terms of the GNU General Public License as published by
10167 +# the Free Software Foundation; either version 2, or (at your option)
10168 +# any later version.
10169 +
10170 +# This program is distributed in the hope that it will be useful,
10171 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
10172 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10173 +# GNU General Public License for more details.
10174 +
10175 +# You should have received a copy of the GNU General Public License
10176 +# along with this program; if not, write to the Free Software
10177 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
10178 +# 02111-1307, USA.
10179 +
10180 +# As a special exception to the GNU General Public License, if you
10181 +# distribute this file as part of a program that contains a
10182 +# configuration script generated by Autoconf, you may include it under
10183 +# the same distribution terms that you use for the rest of that program.
10184 +
10185 +# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
10186 +
10187 +if test -z "$depmode" || test -z "$source" || test -z "$object"; then
10188 +  echo "depcomp: Variables source, object and depmode must be set" 1>&2
10189 +  exit 1
10190 +fi
10191 +# `libtool' can also be set to `yes' or `no'.
10192 +
10193 +if test -z "$depfile"; then
10194 +   base=`echo "$object" | sed -e 's,^.*/,,' -e 's,\.\([^.]*\)$,.P\1,'`
10195 +   dir=`echo "$object" | sed 's,/.*$,/,'`
10196 +   if test "$dir" = "$object"; then
10197 +      dir=
10198 +   fi
10199 +   # FIXME: should be _deps on DOS.
10200 +   depfile="$dir.deps/$base"
10201 +fi
10202 +
10203 +tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
10204 +
10205 +rm -f "$tmpdepfile"
10206 +
10207 +# Some modes work just like other modes, but use different flags.  We
10208 +# parameterize here, but still list the modes in the big case below,
10209 +# to make depend.m4 easier to write.  Note that we *cannot* use a case
10210 +# here, because this file can only contain one case statement.
10211 +if test "$depmode" = hp; then
10212 +  # HP compiler uses -M and no extra arg.
10213 +  gccflag=-M
10214 +  depmode=gcc
10215 +fi
10216 +
10217 +if test "$depmode" = dashXmstdout; then
10218 +   # This is just like dashmstdout with a different argument.
10219 +   dashmflag=-xM
10220 +   depmode=dashmstdout
10221 +fi
10222 +
10223 +case "$depmode" in
10224 +gcc3)
10225 +## gcc 3 implements dependency tracking that does exactly what
10226 +## we want.  Yay!  Note: for some reason libtool 1.4 doesn't like
10227 +## it if -MD -MP comes after the -MF stuff.  Hmm.
10228 +  "$@" -MT "$object" -MD -MP -MF "$tmpdepfile"
10229 +  stat=$?
10230 +  if test $stat -eq 0; then :
10231 +  else
10232 +    rm -f "$tmpdepfile"
10233 +    exit $stat
10234 +  fi
10235 +  mv "$tmpdepfile" "$depfile"
10236 +  ;;
10237 +
10238 +gcc)
10239 +## There are various ways to get dependency output from gcc.  Here's
10240 +## why we pick this rather obscure method:
10241 +## - Don't want to use -MD because we'd like the dependencies to end
10242 +##   up in a subdir.  Having to rename by hand is ugly.
10243 +##   (We might end up doing this anyway to support other compilers.)
10244 +## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
10245 +##   -MM, not -M (despite what the docs say).
10246 +## - Using -M directly means running the compiler twice (even worse
10247 +##   than renaming).
10248 +  if test -z "$gccflag"; then
10249 +    gccflag=-MD,
10250 +  fi
10251 +  "$@" -Wp,"$gccflag$tmpdepfile"
10252 +  stat=$?
10253 +  if test $stat -eq 0; then :
10254 +  else
10255 +    rm -f "$tmpdepfile"
10256 +    exit $stat
10257 +  fi
10258 +  rm -f "$depfile"
10259 +  echo "$object : \\" > "$depfile"
10260 +  alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
10261 +## The second -e expression handles DOS-style file names with drive letters.
10262 +  sed -e 's/^[^:]*: / /' \
10263 +      -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
10264 +## This next piece of magic avoids the `deleted header file' problem.
10265 +## The problem is that when a header file which appears in a .P file
10266 +## is deleted, the dependency causes make to die (because there is
10267 +## typically no way to rebuild the header).  We avoid this by adding
10268 +## dummy dependencies for each header file.  Too bad gcc doesn't do
10269 +## this for us directly.
10270 +  tr ' ' '
10271 +' < "$tmpdepfile" |
10272 +## Some versions of gcc put a space before the `:'.  On the theory
10273 +## that the space means something, we add a space to the output as
10274 +## well.
10275 +## Some versions of the HPUX 10.20 sed can't process this invocation
10276 +## correctly.  Breaking it into two sed invocations is a workaround.
10277 +    sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
10278 +  rm -f "$tmpdepfile"
10279 +  ;;
10280 +
10281 +hp)
10282 +  # This case exists only to let depend.m4 do its work.  It works by
10283 +  # looking at the text of this script.  This case will never be run,
10284 +  # since it is checked for above.
10285 +  exit 1
10286 +  ;;
10287 +
10288 +sgi)
10289 +  if test "$libtool" = yes; then
10290 +    "$@" "-Wp,-MDupdate,$tmpdepfile"
10291 +  else
10292 +    "$@" -MDupdate "$tmpdepfile"
10293 +  fi
10294 +  stat=$?
10295 +  if test $stat -eq 0; then :
10296 +  else
10297 +    rm -f "$tmpdepfile"
10298 +    exit $stat
10299 +  fi
10300 +  rm -f "$depfile"
10301 +
10302 +  if test -f "$tmpdepfile"; then  # yes, the sourcefile depend on other files
10303 +    echo "$object : \\" > "$depfile"
10304 +
10305 +    # Clip off the initial element (the dependent).  Don't try to be
10306 +    # clever and replace this with sed code, as IRIX sed won't handle
10307 +    # lines with more than a fixed number of characters (4096 in
10308 +    # IRIX 6.2 sed, 8192 in IRIX 6.5).  We also remove comment lines;
10309 +    # the IRIX cc adds comments like `#:fec' to the end of the
10310 +    # dependency line.
10311 +    tr ' ' '
10312 +' < "$tmpdepfile" \
10313 +    | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
10314 +    tr '
10315 +' ' ' >> $depfile
10316 +    echo >> $depfile
10317 +
10318 +    # The second pass generates a dummy entry for each header file.
10319 +    tr ' ' '
10320 +' < "$tmpdepfile" \
10321 +   | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
10322 +   >> $depfile
10323 +  else
10324 +    # The sourcefile does not contain any dependencies, so just
10325 +    # store a dummy comment line, to avoid errors with the Makefile
10326 +    # "include basename.Plo" scheme.
10327 +    echo "#dummy" > "$depfile"
10328 +  fi
10329 +  rm -f "$tmpdepfile"
10330 +  ;;
10331 +
10332 +aix)
10333 +  # The C for AIX Compiler uses -M and outputs the dependencies
10334 +  # in a .u file.  This file always lives in the current directory.
10335 +  # Also, the AIX compiler puts `$object:' at the start of each line;
10336 +  # $object doesn't have directory information.
10337 +  stripped=`echo "$object" | sed -e 's,^.*/,,' -e 's/\(.*\)\..*$/\1/'`
10338 +  tmpdepfile="$stripped.u"
10339 +  outname="$stripped.o"
10340 +  if test "$libtool" = yes; then
10341 +    "$@" -Wc,-M
10342 +  else
10343 +    "$@" -M
10344 +  fi
10345 +
10346 +  stat=$?
10347 +  if test $stat -eq 0; then :
10348 +  else
10349 +    rm -f "$tmpdepfile"
10350 +    exit $stat
10351 +  fi
10352 +
10353 +  if test -f "$tmpdepfile"; then
10354 +    # Each line is of the form `foo.o: dependent.h'.
10355 +    # Do two passes, one to just change these to
10356 +    # `$object: dependent.h' and one to simply `dependent.h:'.
10357 +    sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile"
10358 +    sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
10359 +  else
10360 +    # The sourcefile does not contain any dependencies, so just
10361 +    # store a dummy comment line, to avoid errors with the Makefile
10362 +    # "include basename.Plo" scheme.
10363 +    echo "#dummy" > "$depfile"
10364 +  fi
10365 +  rm -f "$tmpdepfile"
10366 +  ;;
10367 +
10368 +tru64)
10369 +   # The Tru64 compiler uses -MD to generate dependencies as a side
10370 +   # effect.  `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
10371 +   # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put 
10372 +   # dependencies in `foo.d' instead, so we check for that too.
10373 +   # Subdirectories are respected.
10374 +
10375 +   base=`echo "$object" | sed -e 's/\.o$//' -e 's/\.lo$//'`
10376 +   tmpdepfile1="$base.o.d"
10377 +   tmpdepfile2="$base.d"
10378 +   if test "$libtool" = yes; then
10379 +      "$@" -Wc,-MD
10380 +   else
10381 +      "$@" -MD
10382 +   fi
10383 +
10384 +   stat=$?
10385 +   if test $stat -eq 0; then :
10386 +   else
10387 +      rm -f "$tmpdepfile1" "$tmpdepfile2"
10388 +      exit $stat
10389 +   fi
10390 +
10391 +   if test -f "$tmpdepfile1"; then
10392 +      tmpdepfile="$tmpdepfile1"
10393 +   else
10394 +      tmpdepfile="$tmpdepfile2"
10395 +   fi
10396 +   if test -f "$tmpdepfile"; then
10397 +      sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
10398 +      # That's a space and a tab in the [].
10399 +      sed -e 's,^.*\.[a-z]*:[  ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
10400 +   else
10401 +      echo "#dummy" > "$depfile"
10402 +   fi
10403 +   rm -f "$tmpdepfile"
10404 +   ;;
10405 +
10406 +#nosideeffect)
10407 +  # This comment above is used by automake to tell side-effect
10408 +  # dependency tracking mechanisms from slower ones.
10409 +
10410 +dashmstdout)
10411 +  # Important note: in order to support this mode, a compiler *must*
10412 +  # always write the proprocessed file to stdout, regardless of -o,
10413 +  # because we must use -o when running libtool.
10414 +  test -z "$dashmflag" && dashmflag=-M
10415 +  ( IFS=" "
10416 +    case " $* " in
10417 +    *" --mode=compile "*) # this is libtool, let us make it quiet
10418 +      for arg
10419 +      do # cycle over the arguments
10420 +        case "$arg" in
10421 +       "--mode=compile")
10422 +         # insert --quiet before "--mode=compile"
10423 +         set fnord "$@" --quiet
10424 +         shift # fnord
10425 +         ;;
10426 +       esac
10427 +       set fnord "$@" "$arg"
10428 +       shift # fnord
10429 +       shift # "$arg"
10430 +      done
10431 +      ;;
10432 +    esac
10433 +    "$@" $dashmflag | sed 's:^[^:]*\:[         ]*:'"$object"'\: :' > "$tmpdepfile"
10434 +  ) &
10435 +  proc=$!
10436 +  "$@"
10437 +  stat=$?
10438 +  wait "$proc"
10439 +  if test "$stat" != 0; then exit $stat; fi
10440 +  rm -f "$depfile"
10441 +  cat < "$tmpdepfile" > "$depfile"
10442 +  tr ' ' '
10443 +' < "$tmpdepfile" | \
10444 +## Some versions of the HPUX 10.20 sed can't process this invocation
10445 +## correctly.  Breaking it into two sed invocations is a workaround.
10446 +    sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
10447 +  rm -f "$tmpdepfile"
10448 +  ;;
10449 +
10450 +dashXmstdout)
10451 +  # This case only exists to satisfy depend.m4.  It is never actually
10452 +  # run, as this mode is specially recognized in the preamble.
10453 +  exit 1
10454 +  ;;
10455 +
10456 +makedepend)
10457 +  # X makedepend
10458 +  (
10459 +    shift
10460 +    cleared=no
10461 +    for arg in "$@"; do
10462 +      case $cleared in no)
10463 +        set ""; shift
10464 +       cleared=yes
10465 +      esac
10466 +      case "$arg" in
10467 +        -D*|-I*)
10468 +         set fnord "$@" "$arg"; shift;;
10469 +       -*)
10470 +         ;;
10471 +       *)
10472 +         set fnord "$@" "$arg"; shift;;
10473 +      esac
10474 +    done
10475 +    obj_suffix="`echo $object | sed 's/^.*\././'`"
10476 +    touch "$tmpdepfile"
10477 +    ${MAKEDEPEND-makedepend} 2>/dev/null -o"$obj_suffix" -f"$tmpdepfile" "$@"
10478 +  ) &
10479 +  proc=$!
10480 +  "$@"
10481 +  stat=$?
10482 +  wait "$proc"
10483 +  if test "$stat" != 0; then exit $stat; fi
10484 +  rm -f "$depfile"
10485 +  cat < "$tmpdepfile" > "$depfile"
10486 +  sed '1,2d' "$tmpdepfile" | tr ' ' '
10487 +' | \
10488 +## Some versions of the HPUX 10.20 sed can't process this invocation
10489 +## correctly.  Breaking it into two sed invocations is a workaround.
10490 +    sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
10491 +  rm -f "$tmpdepfile" "$tmpdepfile".bak
10492 +  ;;
10493 +
10494 +cpp)
10495 +  # Important note: in order to support this mode, a compiler *must*
10496 +  # always write the proprocessed file to stdout, regardless of -o,
10497 +  # because we must use -o when running libtool.
10498 +  ( IFS=" "
10499 +    case " $* " in
10500 +    *" --mode=compile "*)
10501 +      for arg
10502 +      do # cycle over the arguments
10503 +        case $arg in
10504 +       "--mode=compile")
10505 +         # insert --quiet before "--mode=compile"
10506 +         set fnord "$@" --quiet
10507 +         shift # fnord
10508 +         ;;
10509 +       esac
10510 +       set fnord "$@" "$arg"
10511 +       shift # fnord
10512 +       shift # "$arg"
10513 +      done
10514 +      ;;
10515 +    esac
10516 +    "$@" -E |
10517 +    sed -n '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
10518 +    sed '$ s: \\$::' > "$tmpdepfile"
10519 +  ) &
10520 +  proc=$!
10521 +  "$@"
10522 +  stat=$?
10523 +  wait "$proc"
10524 +  if test "$stat" != 0; then exit $stat; fi
10525 +  rm -f "$depfile"
10526 +  echo "$object : \\" > "$depfile"
10527 +  cat < "$tmpdepfile" >> "$depfile"
10528 +  sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
10529 +  rm -f "$tmpdepfile"
10530 +  ;;
10531 +
10532 +msvisualcpp)
10533 +  # Important note: in order to support this mode, a compiler *must*
10534 +  # always write the proprocessed file to stdout, regardless of -o,
10535 +  # because we must use -o when running libtool.
10536 +  ( IFS=" "
10537 +    case " $* " in
10538 +    *" --mode=compile "*)
10539 +      for arg
10540 +      do # cycle over the arguments
10541 +        case $arg in
10542 +       "--mode=compile")
10543 +         # insert --quiet before "--mode=compile"
10544 +         set fnord "$@" --quiet
10545 +         shift # fnord
10546 +         ;;
10547 +       esac
10548 +       set fnord "$@" "$arg"
10549 +       shift # fnord
10550 +       shift # "$arg"
10551 +      done
10552 +      ;;
10553 +    esac
10554 +    for arg
10555 +    do
10556 +      case "$arg" in
10557 +      "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
10558 +       set fnord "$@"
10559 +       shift
10560 +       shift
10561 +       ;;
10562 +      *)
10563 +       set fnord "$@" "$arg"
10564 +       shift
10565 +       shift
10566 +       ;;
10567 +      esac
10568 +    done
10569 +    "$@" -E |
10570 +    sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
10571 +  ) &
10572 +  proc=$!
10573 +  "$@"
10574 +  stat=$?
10575 +  wait "$proc"
10576 +  if test "$stat" != 0; then exit $stat; fi
10577 +  rm -f "$depfile"
10578 +  echo "$object : \\" > "$depfile"
10579 +  . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::   \1 \\:p' >> "$depfile"
10580 +  echo "       " >> "$depfile"
10581 +  . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile"
10582 +  rm -f "$tmpdepfile"
10583 +  ;;
10584 +
10585 +none)
10586 +  exec "$@"
10587 +  ;;
10588 +
10589 +*)
10590 +  echo "Unknown depmode $depmode" 1>&2
10591 +  exit 1
10592 +  ;;
10593 +esac
10594 +
10595 +exit 0