* sol-thread.c (GET_LWP, GET_THREAD, BUILD_LWP, BUILD_THREAD):
[deliverable/binutils-gdb.git] / intl / configure
CommitLineData
252b5132
RH
1#! /bin/sh
2
3# Guess values for system-dependent variables and create Makefiles.
4# Generated automatically using autoconf version 2.12.1
5# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
6#
7# This configure script is free software; the Free Software Foundation
8# gives unlimited permission to copy, distribute and modify it.
9
10# Defaults:
11ac_help=
12ac_default_prefix=/usr/local
13# Any additions from configure.in:
14ac_help="$ac_help
15 --disable-nls do not use Native Language Support"
16ac_help="$ac_help
17 --with-included-gettext use the GNU gettext library included here"
18
19# Initialize some variables set by options.
20# The variables have the same names as the options, with
21# dashes changed to underlines.
22build=NONE
23cache_file=./config.cache
24exec_prefix=NONE
25host=NONE
26no_create=
27nonopt=NONE
28no_recursion=
29prefix=NONE
30program_prefix=NONE
31program_suffix=NONE
32program_transform_name=s,x,x,
33silent=
34site=
35srcdir=
36target=NONE
37verbose=
38x_includes=NONE
39x_libraries=NONE
40bindir='${exec_prefix}/bin'
41sbindir='${exec_prefix}/sbin'
42libexecdir='${exec_prefix}/libexec'
43datadir='${prefix}/share'
44sysconfdir='${prefix}/etc'
45sharedstatedir='${prefix}/com'
46localstatedir='${prefix}/var'
47libdir='${exec_prefix}/lib'
48includedir='${prefix}/include'
49oldincludedir='/usr/include'
50infodir='${prefix}/info'
51mandir='${prefix}/man'
52
53# Initialize some other variables.
54subdirs=
55MFLAGS= MAKEFLAGS=
56SHELL=${CONFIG_SHELL-/bin/sh}
57# Maximum number of lines to put in a shell here document.
58ac_max_here_lines=12
59
60ac_prev=
61for ac_option
62do
63
64 # If the previous option needs an argument, assign it.
65 if test -n "$ac_prev"; then
66 eval "$ac_prev=\$ac_option"
67 ac_prev=
68 continue
69 fi
70
71 case "$ac_option" in
72 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
73 *) ac_optarg= ;;
74 esac
75
76 # Accept the important Cygnus configure options, so we can diagnose typos.
77
78 case "$ac_option" in
79
80 -bindir | --bindir | --bindi | --bind | --bin | --bi)
81 ac_prev=bindir ;;
82 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
83 bindir="$ac_optarg" ;;
84
85 -build | --build | --buil | --bui | --bu)
86 ac_prev=build ;;
87 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
88 build="$ac_optarg" ;;
89
90 -cache-file | --cache-file | --cache-fil | --cache-fi \
91 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
92 ac_prev=cache_file ;;
93 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
94 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
95 cache_file="$ac_optarg" ;;
96
97 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
98 ac_prev=datadir ;;
99 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
100 | --da=*)
101 datadir="$ac_optarg" ;;
102
103 -disable-* | --disable-*)
104 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
105 # Reject names that are not valid shell variable names.
106 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
107 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
108 fi
109 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
110 eval "enable_${ac_feature}=no" ;;
111
112 -enable-* | --enable-*)
113 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
114 # Reject names that are not valid shell variable names.
115 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
116 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
117 fi
118 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
119 case "$ac_option" in
120 *=*) ;;
121 *) ac_optarg=yes ;;
122 esac
123 eval "enable_${ac_feature}='$ac_optarg'" ;;
124
125 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
126 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
127 | --exec | --exe | --ex)
128 ac_prev=exec_prefix ;;
129 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
130 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
131 | --exec=* | --exe=* | --ex=*)
132 exec_prefix="$ac_optarg" ;;
133
134 -gas | --gas | --ga | --g)
135 # Obsolete; use --with-gas.
136 with_gas=yes ;;
137
138 -help | --help | --hel | --he)
139 # Omit some internal or obsolete options to make the list less imposing.
140 # This message is too long to be a string in the A/UX 3.1 sh.
141 cat << EOF
142Usage: configure [options] [host]
143Options: [defaults in brackets after descriptions]
144Configuration:
145 --cache-file=FILE cache test results in FILE
146 --help print this message
147 --no-create do not create output files
148 --quiet, --silent do not print \`checking...' messages
149 --version print the version of autoconf that created configure
150Directory and file names:
151 --prefix=PREFIX install architecture-independent files in PREFIX
152 [$ac_default_prefix]
153 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
154 [same as prefix]
155 --bindir=DIR user executables in DIR [EPREFIX/bin]
156 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
157 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
158 --datadir=DIR read-only architecture-independent data in DIR
159 [PREFIX/share]
160 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
161 --sharedstatedir=DIR modifiable architecture-independent data in DIR
162 [PREFIX/com]
163 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
164 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
165 --includedir=DIR C header files in DIR [PREFIX/include]
166 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
167 --infodir=DIR info documentation in DIR [PREFIX/info]
168 --mandir=DIR man documentation in DIR [PREFIX/man]
169 --srcdir=DIR find the sources in DIR [configure dir or ..]
170 --program-prefix=PREFIX prepend PREFIX to installed program names
171 --program-suffix=SUFFIX append SUFFIX to installed program names
172 --program-transform-name=PROGRAM
173 run sed PROGRAM on installed program names
174EOF
175 cat << EOF
176Host type:
177 --build=BUILD configure for building on BUILD [BUILD=HOST]
178 --host=HOST configure for HOST [guessed]
179 --target=TARGET configure for TARGET [TARGET=HOST]
180Features and packages:
181 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
182 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
183 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
184 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
185 --x-includes=DIR X include files are in DIR
186 --x-libraries=DIR X library files are in DIR
187EOF
188 if test -n "$ac_help"; then
189 echo "--enable and --with options recognized:$ac_help"
190 fi
191 exit 0 ;;
192
193 -host | --host | --hos | --ho)
194 ac_prev=host ;;
195 -host=* | --host=* | --hos=* | --ho=*)
196 host="$ac_optarg" ;;
197
198 -includedir | --includedir | --includedi | --included | --include \
199 | --includ | --inclu | --incl | --inc)
200 ac_prev=includedir ;;
201 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
202 | --includ=* | --inclu=* | --incl=* | --inc=*)
203 includedir="$ac_optarg" ;;
204
205 -infodir | --infodir | --infodi | --infod | --info | --inf)
206 ac_prev=infodir ;;
207 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
208 infodir="$ac_optarg" ;;
209
210 -libdir | --libdir | --libdi | --libd)
211 ac_prev=libdir ;;
212 -libdir=* | --libdir=* | --libdi=* | --libd=*)
213 libdir="$ac_optarg" ;;
214
215 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
216 | --libexe | --libex | --libe)
217 ac_prev=libexecdir ;;
218 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
219 | --libexe=* | --libex=* | --libe=*)
220 libexecdir="$ac_optarg" ;;
221
222 -localstatedir | --localstatedir | --localstatedi | --localstated \
223 | --localstate | --localstat | --localsta | --localst \
224 | --locals | --local | --loca | --loc | --lo)
225 ac_prev=localstatedir ;;
226 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
227 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
228 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
229 localstatedir="$ac_optarg" ;;
230
231 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
232 ac_prev=mandir ;;
233 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
234 mandir="$ac_optarg" ;;
235
236 -nfp | --nfp | --nf)
237 # Obsolete; use --without-fp.
238 with_fp=no ;;
239
240 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
241 | --no-cr | --no-c)
242 no_create=yes ;;
243
244 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
245 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
246 no_recursion=yes ;;
247
248 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
249 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
250 | --oldin | --oldi | --old | --ol | --o)
251 ac_prev=oldincludedir ;;
252 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
253 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
254 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
255 oldincludedir="$ac_optarg" ;;
256
257 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
258 ac_prev=prefix ;;
259 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
260 prefix="$ac_optarg" ;;
261
262 -program-prefix | --program-prefix | --program-prefi | --program-pref \
263 | --program-pre | --program-pr | --program-p)
264 ac_prev=program_prefix ;;
265 -program-prefix=* | --program-prefix=* | --program-prefi=* \
266 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
267 program_prefix="$ac_optarg" ;;
268
269 -program-suffix | --program-suffix | --program-suffi | --program-suff \
270 | --program-suf | --program-su | --program-s)
271 ac_prev=program_suffix ;;
272 -program-suffix=* | --program-suffix=* | --program-suffi=* \
273 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
274 program_suffix="$ac_optarg" ;;
275
276 -program-transform-name | --program-transform-name \
277 | --program-transform-nam | --program-transform-na \
278 | --program-transform-n | --program-transform- \
279 | --program-transform | --program-transfor \
280 | --program-transfo | --program-transf \
281 | --program-trans | --program-tran \
282 | --progr-tra | --program-tr | --program-t)
283 ac_prev=program_transform_name ;;
284 -program-transform-name=* | --program-transform-name=* \
285 | --program-transform-nam=* | --program-transform-na=* \
286 | --program-transform-n=* | --program-transform-=* \
287 | --program-transform=* | --program-transfor=* \
288 | --program-transfo=* | --program-transf=* \
289 | --program-trans=* | --program-tran=* \
290 | --progr-tra=* | --program-tr=* | --program-t=*)
291 program_transform_name="$ac_optarg" ;;
292
293 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
294 | -silent | --silent | --silen | --sile | --sil)
295 silent=yes ;;
296
297 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
298 ac_prev=sbindir ;;
299 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
300 | --sbi=* | --sb=*)
301 sbindir="$ac_optarg" ;;
302
303 -sharedstatedir | --sharedstatedir | --sharedstatedi \
304 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
305 | --sharedst | --shareds | --shared | --share | --shar \
306 | --sha | --sh)
307 ac_prev=sharedstatedir ;;
308 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
309 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
310 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
311 | --sha=* | --sh=*)
312 sharedstatedir="$ac_optarg" ;;
313
314 -site | --site | --sit)
315 ac_prev=site ;;
316 -site=* | --site=* | --sit=*)
317 site="$ac_optarg" ;;
318
319 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
320 ac_prev=srcdir ;;
321 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
322 srcdir="$ac_optarg" ;;
323
324 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
325 | --syscon | --sysco | --sysc | --sys | --sy)
326 ac_prev=sysconfdir ;;
327 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
328 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
329 sysconfdir="$ac_optarg" ;;
330
331 -target | --target | --targe | --targ | --tar | --ta | --t)
332 ac_prev=target ;;
333 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
334 target="$ac_optarg" ;;
335
336 -v | -verbose | --verbose | --verbos | --verbo | --verb)
337 verbose=yes ;;
338
339 -version | --version | --versio | --versi | --vers)
340 echo "configure generated by autoconf version 2.12.1"
341 exit 0 ;;
342
343 -with-* | --with-*)
344 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
345 # Reject names that are not valid shell variable names.
346 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
347 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
348 fi
349 ac_package=`echo $ac_package| sed 's/-/_/g'`
350 case "$ac_option" in
351 *=*) ;;
352 *) ac_optarg=yes ;;
353 esac
354 eval "with_${ac_package}='$ac_optarg'" ;;
355
356 -without-* | --without-*)
357 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
358 # Reject names that are not valid shell variable names.
359 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
360 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
361 fi
362 ac_package=`echo $ac_package| sed 's/-/_/g'`
363 eval "with_${ac_package}=no" ;;
364
365 --x)
366 # Obsolete; use --with-x.
367 with_x=yes ;;
368
369 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
370 | --x-incl | --x-inc | --x-in | --x-i)
371 ac_prev=x_includes ;;
372 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
373 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
374 x_includes="$ac_optarg" ;;
375
376 -x-libraries | --x-libraries | --x-librarie | --x-librari \
377 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
378 ac_prev=x_libraries ;;
379 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
380 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
381 x_libraries="$ac_optarg" ;;
382
383 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
384 ;;
385
386 *)
387 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
388 echo "configure: warning: $ac_option: invalid host type" 1>&2
389 fi
390 if test "x$nonopt" != xNONE; then
391 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
392 fi
393 nonopt="$ac_option"
394 ;;
395
396 esac
397done
398
399if test -n "$ac_prev"; then
400 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
401fi
402
403trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
404
405# File descriptor usage:
406# 0 standard input
407# 1 file creation
408# 2 errors and warnings
409# 3 some systems may open it to /dev/tty
410# 4 used on the Kubota Titan
411# 6 checking for... messages and results
412# 5 compiler messages saved in config.log
413if test "$silent" = yes; then
414 exec 6>/dev/null
415else
416 exec 6>&1
417fi
418exec 5>./config.log
419
420echo "\
421This file contains any messages produced by compilers while
422running configure, to aid debugging if configure makes a mistake.
423" 1>&5
424
425# Strip out --no-create and --no-recursion so they do not pile up.
426# Also quote any args containing shell metacharacters.
427ac_configure_args=
428for ac_arg
429do
430 case "$ac_arg" in
431 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
432 | --no-cr | --no-c) ;;
433 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
434 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
435 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
436 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
437 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
438 esac
439done
440
441# NLS nuisances.
442# Only set these to C if already set. These must not be set unconditionally
443# because not all systems understand e.g. LANG=C (notably SCO).
444# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
445# Non-C LC_CTYPE values break the ctype check.
446if test "${LANG+set}" = set; then LANG=C; export LANG; fi
447if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
448if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
449if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
450
451# confdefs.h avoids OS command line length limits that DEFS can exceed.
452rm -rf conftest* confdefs.h
453# AIX cpp loses on an empty file, so make sure it contains at least a newline.
454echo > confdefs.h
455
456# A filename unique to this package, relative to the directory that
457# configure is in, which we can look for to find out if srcdir is correct.
458ac_unique_file=dgettext.c
459
460# Find the source files, if location was not specified.
461if test -z "$srcdir"; then
462 ac_srcdir_defaulted=yes
463 # Try the directory containing this script, then its parent.
464 ac_prog=$0
465 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
466 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
467 srcdir=$ac_confdir
468 if test ! -r $srcdir/$ac_unique_file; then
469 srcdir=..
470 fi
471else
472 ac_srcdir_defaulted=no
473fi
474if test ! -r $srcdir/$ac_unique_file; then
475 if test "$ac_srcdir_defaulted" = yes; then
476 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
477 else
478 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
479 fi
480fi
481srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
482
483# Prefer explicitly selected file to automatically selected ones.
484if test -z "$CONFIG_SITE"; then
485 if test "x$prefix" != xNONE; then
486 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
487 else
488 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
489 fi
490fi
491for ac_site_file in $CONFIG_SITE; do
492 if test -r "$ac_site_file"; then
493 echo "loading site script $ac_site_file"
494 . "$ac_site_file"
495 fi
496done
497
498if test -r "$cache_file"; then
499 echo "loading cache $cache_file"
500 . $cache_file
501else
502 echo "creating cache $cache_file"
503 > $cache_file
504fi
505
506ac_ext=c
507# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
508ac_cpp='$CPP $CPPFLAGS'
509ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
510ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
511cross_compiling=$ac_cv_prog_cc_cross
512
513if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
514 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
515 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
516 ac_n= ac_c='
517' ac_t=' '
518 else
519 ac_n=-n ac_c= ac_t=
520 fi
521else
522 ac_n= ac_c='\c' ac_t=
523fi
524
525
526
527
528
529
530ac_aux_dir=
531for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
532 if test -f $ac_dir/install-sh; then
533 ac_aux_dir=$ac_dir
534 ac_install_sh="$ac_aux_dir/install-sh -c"
535 break
536 elif test -f $ac_dir/install.sh; then
537 ac_aux_dir=$ac_dir
538 ac_install_sh="$ac_aux_dir/install.sh -c"
539 break
540 fi
541done
542if test -z "$ac_aux_dir"; then
543 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
544fi
545ac_config_guess=$ac_aux_dir/config.guess
546ac_config_sub=$ac_aux_dir/config.sub
547ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
548
549# Find a good install program. We prefer a C program (faster),
550# so one script is as good as another. But avoid the broken or
551# incompatible versions:
552# SysV /etc/install, /usr/sbin/install
553# SunOS /usr/etc/install
554# IRIX /sbin/install
555# AIX /bin/install
556# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
557# AFS /usr/afsws/bin/install, which mishandles nonexistent args
558# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
559# ./install, which can be erroneously created by make from ./install.sh.
560echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
561echo "configure:562: checking for a BSD compatible install" >&5
562if test -z "$INSTALL"; then
563if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
564 echo $ac_n "(cached) $ac_c" 1>&6
565else
566 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:"
567 for ac_dir in $PATH; do
568 # Account for people who put trailing slashes in PATH elements.
569 case "$ac_dir/" in
570 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
571 *)
572 # OSF1 and SCO ODT 3.0 have their own names for install.
573 # Don't use installbsd from OSF since it installs stuff as root
574 # by default.
575 for ac_prog in ginstall scoinst install; do
576 if test -f $ac_dir/$ac_prog; then
577 if test $ac_prog = install &&
578 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
579 # AIX install. It has an incompatible calling convention.
580 :
581 else
582 ac_cv_path_install="$ac_dir/$ac_prog -c"
583 break 2
584 fi
585 fi
586 done
587 ;;
588 esac
589 done
590 IFS="$ac_save_IFS"
591
592fi
593 if test "${ac_cv_path_install+set}" = set; then
594 INSTALL="$ac_cv_path_install"
595 else
596 # As a last resort, use the slow shell script. We don't cache a
597 # path for INSTALL within a source directory, because that will
598 # break other packages using the cache if that directory is
599 # removed, or if the path is relative.
600 INSTALL="$ac_install_sh"
601 fi
602fi
603echo "$ac_t""$INSTALL" 1>&6
604
605# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
606# It thinks the first close brace ends the variable substitution.
607test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
608
609test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
610
611
612test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
613
614echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
615echo "configure:616: checking how to run the C preprocessor" >&5
616# On Suns, sometimes $CPP names a directory.
617if test -n "$CPP" && test -d "$CPP"; then
618 CPP=
619fi
620if test -z "$CPP"; then
621if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
622 echo $ac_n "(cached) $ac_c" 1>&6
623else
624 # This must be in double quotes, not single quotes, because CPP may get
625 # substituted into the Makefile and "${CC-cc}" will confuse make.
626 CPP="${CC-cc} -E"
627 # On the NeXT, cc -E runs the code through the compiler's parser,
628 # not just through cpp.
629 cat > conftest.$ac_ext <<EOF
630#line 631 "configure"
631#include "confdefs.h"
632#include <assert.h>
633Syntax Error
634EOF
635ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
636{ (eval echo configure:637: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
637ac_err=`grep -v '^ *+' conftest.out`
638if test -z "$ac_err"; then
639 :
640else
641 echo "$ac_err" >&5
642 echo "configure: failed program was:" >&5
643 cat conftest.$ac_ext >&5
644 rm -rf conftest*
645 CPP="${CC-cc} -E -traditional-cpp"
646 cat > conftest.$ac_ext <<EOF
647#line 648 "configure"
648#include "confdefs.h"
649#include <assert.h>
650Syntax Error
651EOF
652ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
653{ (eval echo configure:654: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
654ac_err=`grep -v '^ *+' conftest.out`
655if test -z "$ac_err"; then
656 :
657else
658 echo "$ac_err" >&5
659 echo "configure: failed program was:" >&5
660 cat conftest.$ac_ext >&5
661 rm -rf conftest*
662 CPP=/lib/cpp
663fi
664rm -f conftest*
665fi
666rm -f conftest*
667 ac_cv_prog_CPP="$CPP"
668fi
669 CPP="$ac_cv_prog_CPP"
670else
671 ac_cv_prog_CPP="$CPP"
672fi
673echo "$ac_t""$CPP" 1>&6
674
675echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
676echo "configure:677: checking whether ${MAKE-make} sets \${MAKE}" >&5
677set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
678if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
679 echo $ac_n "(cached) $ac_c" 1>&6
680else
681 cat > conftestmake <<\EOF
682all:
683 @echo 'ac_maketemp="${MAKE}"'
684EOF
685# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
686eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
687if test -n "$ac_maketemp"; then
688 eval ac_cv_prog_make_${ac_make}_set=yes
689else
690 eval ac_cv_prog_make_${ac_make}_set=no
691fi
692rm -f conftestmake
693fi
694if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
695 echo "$ac_t""yes" 1>&6
696 SET_MAKE=
697else
698 echo "$ac_t""no" 1>&6
699 SET_MAKE="MAKE=${MAKE-make}"
700fi
701
702# Extract the first word of "gcc", so it can be a program name with args.
703set dummy gcc; ac_word=$2
704echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
705echo "configure:706: checking for $ac_word" >&5
706if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
707 echo $ac_n "(cached) $ac_c" 1>&6
708else
709 if test -n "$CC"; then
710 ac_cv_prog_CC="$CC" # Let the user override the test.
711else
712 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
713 for ac_dir in $PATH; do
714 test -z "$ac_dir" && ac_dir=.
715 if test -f $ac_dir/$ac_word; then
716 ac_cv_prog_CC="gcc"
717 break
718 fi
719 done
720 IFS="$ac_save_ifs"
721fi
722fi
723CC="$ac_cv_prog_CC"
724if test -n "$CC"; then
725 echo "$ac_t""$CC" 1>&6
726else
727 echo "$ac_t""no" 1>&6
728fi
729
730if test -z "$CC"; then
731 # Extract the first word of "cc", so it can be a program name with args.
732set dummy cc; ac_word=$2
733echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
734echo "configure:735: checking for $ac_word" >&5
735if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
736 echo $ac_n "(cached) $ac_c" 1>&6
737else
738 if test -n "$CC"; then
739 ac_cv_prog_CC="$CC" # Let the user override the test.
740else
741 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
742 ac_prog_rejected=no
743 for ac_dir in $PATH; do
744 test -z "$ac_dir" && ac_dir=.
745 if test -f $ac_dir/$ac_word; then
746 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
747 ac_prog_rejected=yes
748 continue
749 fi
750 ac_cv_prog_CC="cc"
751 break
752 fi
753 done
754 IFS="$ac_save_ifs"
755if test $ac_prog_rejected = yes; then
756 # We found a bogon in the path, so make sure we never use it.
757 set dummy $ac_cv_prog_CC
758 shift
759 if test $# -gt 0; then
760 # We chose a different compiler from the bogus one.
761 # However, it has the same basename, so the bogon will be chosen
762 # first if we set CC to just the basename; use the full file name.
763 shift
764 set dummy "$ac_dir/$ac_word" "$@"
765 shift
766 ac_cv_prog_CC="$@"
767 fi
768fi
769fi
770fi
771CC="$ac_cv_prog_CC"
772if test -n "$CC"; then
773 echo "$ac_t""$CC" 1>&6
774else
775 echo "$ac_t""no" 1>&6
776fi
777
778 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
779fi
780
781echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
782echo "configure:783: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
783
784ac_ext=c
785# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
786ac_cpp='$CPP $CPPFLAGS'
787ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
788ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
789cross_compiling=$ac_cv_prog_cc_cross
790
791cat > conftest.$ac_ext <<EOF
792#line 793 "configure"
793#include "confdefs.h"
794main(){return(0);}
795EOF
796if { (eval echo configure:797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
797 ac_cv_prog_cc_works=yes
798 # If we can't run a trivial program, we are probably using a cross compiler.
799 if (./conftest; exit) 2>/dev/null; then
800 ac_cv_prog_cc_cross=no
801 else
802 ac_cv_prog_cc_cross=yes
803 fi
804else
805 echo "configure: failed program was:" >&5
806 cat conftest.$ac_ext >&5
807 ac_cv_prog_cc_works=no
808fi
809rm -fr conftest*
810
811echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
812if test $ac_cv_prog_cc_works = no; then
813 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
814fi
815echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
816echo "configure:817: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
817echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
818cross_compiling=$ac_cv_prog_cc_cross
819
820echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
821echo "configure:822: checking whether we are using GNU C" >&5
822if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
823 echo $ac_n "(cached) $ac_c" 1>&6
824else
825 cat > conftest.c <<EOF
826#ifdef __GNUC__
827 yes;
828#endif
829EOF
830if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:831: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
831 ac_cv_prog_gcc=yes
832else
833 ac_cv_prog_gcc=no
834fi
835fi
836
837echo "$ac_t""$ac_cv_prog_gcc" 1>&6
838
839if test $ac_cv_prog_gcc = yes; then
840 GCC=yes
841 ac_test_CFLAGS="${CFLAGS+set}"
842 ac_save_CFLAGS="$CFLAGS"
843 CFLAGS=
844 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
845echo "configure:846: checking whether ${CC-cc} accepts -g" >&5
846if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
847 echo $ac_n "(cached) $ac_c" 1>&6
848else
849 echo 'void f(){}' > conftest.c
850if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
851 ac_cv_prog_cc_g=yes
852else
853 ac_cv_prog_cc_g=no
854fi
855rm -f conftest*
856
857fi
858
859echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
860 if test "$ac_test_CFLAGS" = set; then
861 CFLAGS="$ac_save_CFLAGS"
862 elif test $ac_cv_prog_cc_g = yes; then
863 CFLAGS="-g -O2"
864 else
865 CFLAGS="-O2"
866 fi
867else
868 GCC=
869 test "${CFLAGS+set}" = set || CFLAGS="-g"
870fi
871
872# Extract the first word of "ranlib", so it can be a program name with args.
873set dummy ranlib; ac_word=$2
874echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
875echo "configure:876: checking for $ac_word" >&5
876if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
877 echo $ac_n "(cached) $ac_c" 1>&6
878else
879 if test -n "$RANLIB"; then
880 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
881else
882 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
883 for ac_dir in $PATH; do
884 test -z "$ac_dir" && ac_dir=.
885 if test -f $ac_dir/$ac_word; then
886 ac_cv_prog_RANLIB="ranlib"
887 break
888 fi
889 done
890 IFS="$ac_save_ifs"
891 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
892fi
893fi
894RANLIB="$ac_cv_prog_RANLIB"
895if test -n "$RANLIB"; then
896 echo "$ac_t""$RANLIB" 1>&6
897else
898 echo "$ac_t""no" 1>&6
899fi
900
901echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
902echo "configure:903: checking for POSIXized ISC" >&5
903if test -d /etc/conf/kconfig.d &&
904 grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
905then
906 echo "$ac_t""yes" 1>&6
907 ISC=yes # If later tests want to check for ISC.
908 cat >> confdefs.h <<\EOF
909#define _POSIX_SOURCE 1
910EOF
911
912 if test "$GCC" = yes; then
913 CC="$CC -posix"
914 else
915 CC="$CC -Xp"
916 fi
917else
918 echo "$ac_t""no" 1>&6
919 ISC=
920fi
921
922echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
923echo "configure:924: checking for ANSI C header files" >&5
924if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
925 echo $ac_n "(cached) $ac_c" 1>&6
926else
927 cat > conftest.$ac_ext <<EOF
928#line 929 "configure"
929#include "confdefs.h"
930#include <stdlib.h>
931#include <stdarg.h>
932#include <string.h>
933#include <float.h>
934EOF
935ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
936{ (eval echo configure:937: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
937ac_err=`grep -v '^ *+' conftest.out`
938if test -z "$ac_err"; then
939 rm -rf conftest*
940 ac_cv_header_stdc=yes
941else
942 echo "$ac_err" >&5
943 echo "configure: failed program was:" >&5
944 cat conftest.$ac_ext >&5
945 rm -rf conftest*
946 ac_cv_header_stdc=no
947fi
948rm -f conftest*
949
950if test $ac_cv_header_stdc = yes; then
951 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
952cat > conftest.$ac_ext <<EOF
953#line 954 "configure"
954#include "confdefs.h"
955#include <string.h>
956EOF
957if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
958 egrep "memchr" >/dev/null 2>&1; then
959 :
960else
961 rm -rf conftest*
962 ac_cv_header_stdc=no
963fi
964rm -f conftest*
965
966fi
967
968if test $ac_cv_header_stdc = yes; then
969 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
970cat > conftest.$ac_ext <<EOF
971#line 972 "configure"
972#include "confdefs.h"
973#include <stdlib.h>
974EOF
975if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
976 egrep "free" >/dev/null 2>&1; then
977 :
978else
979 rm -rf conftest*
980 ac_cv_header_stdc=no
981fi
982rm -f conftest*
983
984fi
985
986if test $ac_cv_header_stdc = yes; then
987 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
988if test "$cross_compiling" = yes; then
989 :
990else
991 cat > conftest.$ac_ext <<EOF
992#line 993 "configure"
993#include "confdefs.h"
994#include <ctype.h>
995#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
996#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
997#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
998int main () { int i; for (i = 0; i < 256; i++)
999if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
1000exit (0); }
1001
1002EOF
1003if { (eval echo configure:1004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
1004then
1005 :
1006else
1007 echo "configure: failed program was:" >&5
1008 cat conftest.$ac_ext >&5
1009 rm -fr conftest*
1010 ac_cv_header_stdc=no
1011fi
1012rm -fr conftest*
1013fi
1014
1015fi
1016fi
1017
1018echo "$ac_t""$ac_cv_header_stdc" 1>&6
1019if test $ac_cv_header_stdc = yes; then
1020 cat >> confdefs.h <<\EOF
1021#define STDC_HEADERS 1
1022EOF
1023
1024fi
1025
1026echo $ac_n "checking for working const""... $ac_c" 1>&6
1027echo "configure:1028: checking for working const" >&5
1028if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
1029 echo $ac_n "(cached) $ac_c" 1>&6
1030else
1031 cat > conftest.$ac_ext <<EOF
1032#line 1033 "configure"
1033#include "confdefs.h"
1034
1035int main() {
1036
1037/* Ultrix mips cc rejects this. */
1038typedef int charset[2]; const charset x;
1039/* SunOS 4.1.1 cc rejects this. */
1040char const *const *ccp;
1041char **p;
1042/* NEC SVR4.0.2 mips cc rejects this. */
1043struct point {int x, y;};
1044static struct point const zero = {0,0};
1045/* AIX XL C 1.02.0.0 rejects this.
1046 It does not let you subtract one const X* pointer from another in an arm
1047 of an if-expression whose if-part is not a constant expression */
1048const char *g = "string";
1049ccp = &g + (g ? g-g : 0);
1050/* HPUX 7.0 cc rejects these. */
1051++ccp;
1052p = (char**) ccp;
1053ccp = (char const *const *) p;
1054{ /* SCO 3.2v4 cc rejects this. */
1055 char *t;
1056 char const *s = 0 ? (char *) 0 : (char const *) 0;
1057
1058 *t++ = 0;
1059}
1060{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
1061 int x[] = {25, 17};
1062 const int *foo = &x[0];
1063 ++foo;
1064}
1065{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
1066 typedef const int *iptr;
1067 iptr p = 0;
1068 ++p;
1069}
1070{ /* AIX XL C 1.02.0.0 rejects this saying
1071 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
1072 struct s { int j; const int *ap[3]; };
1073 struct s *b; b->j = 5;
1074}
1075{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
1076 const int foo = 10;
1077}
1078
1079; return 0; }
1080EOF
1081if { (eval echo configure:1082: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1082 rm -rf conftest*
1083 ac_cv_c_const=yes
1084else
1085 echo "configure: failed program was:" >&5
1086 cat conftest.$ac_ext >&5
1087 rm -rf conftest*
1088 ac_cv_c_const=no
1089fi
1090rm -f conftest*
1091fi
1092
1093echo "$ac_t""$ac_cv_c_const" 1>&6
1094if test $ac_cv_c_const = no; then
1095 cat >> confdefs.h <<\EOF
1096#define const
1097EOF
1098
1099fi
1100
1101echo $ac_n "checking for inline""... $ac_c" 1>&6
1102echo "configure:1103: checking for inline" >&5
1103if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
1104 echo $ac_n "(cached) $ac_c" 1>&6
1105else
1106 ac_cv_c_inline=no
1107for ac_kw in inline __inline__ __inline; do
1108 cat > conftest.$ac_ext <<EOF
1109#line 1110 "configure"
1110#include "confdefs.h"
1111
1112int main() {
1113} $ac_kw foo() {
1114; return 0; }
1115EOF
1116if { (eval echo configure:1117: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1117 rm -rf conftest*
1118 ac_cv_c_inline=$ac_kw; break
1119else
1120 echo "configure: failed program was:" >&5
1121 cat conftest.$ac_ext >&5
1122fi
1123rm -f conftest*
1124done
1125
1126fi
1127
1128echo "$ac_t""$ac_cv_c_inline" 1>&6
1129case "$ac_cv_c_inline" in
1130 inline | yes) ;;
1131 no) cat >> confdefs.h <<\EOF
1132#define inline
1133EOF
1134 ;;
1135 *) cat >> confdefs.h <<EOF
1136#define inline $ac_cv_c_inline
1137EOF
1138 ;;
1139esac
1140
1141echo $ac_n "checking for off_t""... $ac_c" 1>&6
1142echo "configure:1143: checking for off_t" >&5
1143if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
1144 echo $ac_n "(cached) $ac_c" 1>&6
1145else
1146 cat > conftest.$ac_ext <<EOF
1147#line 1148 "configure"
1148#include "confdefs.h"
1149#include <sys/types.h>
1150#if STDC_HEADERS
1151#include <stdlib.h>
1152#include <stddef.h>
1153#endif
1154EOF
1155if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1156 egrep "off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
1157 rm -rf conftest*
1158 ac_cv_type_off_t=yes
1159else
1160 rm -rf conftest*
1161 ac_cv_type_off_t=no
1162fi
1163rm -f conftest*
1164
1165fi
1166echo "$ac_t""$ac_cv_type_off_t" 1>&6
1167if test $ac_cv_type_off_t = no; then
1168 cat >> confdefs.h <<\EOF
1169#define off_t long
1170EOF
1171
1172fi
1173
1174echo $ac_n "checking for size_t""... $ac_c" 1>&6
1175echo "configure:1176: checking for size_t" >&5
1176if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
1177 echo $ac_n "(cached) $ac_c" 1>&6
1178else
1179 cat > conftest.$ac_ext <<EOF
1180#line 1181 "configure"
1181#include "confdefs.h"
1182#include <sys/types.h>
1183#if STDC_HEADERS
1184#include <stdlib.h>
1185#include <stddef.h>
1186#endif
1187EOF
1188if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1189 egrep "size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
1190 rm -rf conftest*
1191 ac_cv_type_size_t=yes
1192else
1193 rm -rf conftest*
1194 ac_cv_type_size_t=no
1195fi
1196rm -f conftest*
1197
1198fi
1199echo "$ac_t""$ac_cv_type_size_t" 1>&6
1200if test $ac_cv_type_size_t = no; then
1201 cat >> confdefs.h <<\EOF
1202#define size_t unsigned
1203EOF
1204
1205fi
1206
1207# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
1208# for constant arguments. Useless!
1209echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
1210echo "configure:1211: checking for working alloca.h" >&5
1211if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
1212 echo $ac_n "(cached) $ac_c" 1>&6
1213else
1214 cat > conftest.$ac_ext <<EOF
1215#line 1216 "configure"
1216#include "confdefs.h"
1217#include <alloca.h>
1218int main() {
1219char *p = alloca(2 * sizeof(int));
1220; return 0; }
1221EOF
1222if { (eval echo configure:1223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1223 rm -rf conftest*
1224 ac_cv_header_alloca_h=yes
1225else
1226 echo "configure: failed program was:" >&5
1227 cat conftest.$ac_ext >&5
1228 rm -rf conftest*
1229 ac_cv_header_alloca_h=no
1230fi
1231rm -f conftest*
1232fi
1233
1234echo "$ac_t""$ac_cv_header_alloca_h" 1>&6
1235if test $ac_cv_header_alloca_h = yes; then
1236 cat >> confdefs.h <<\EOF
1237#define HAVE_ALLOCA_H 1
1238EOF
1239
1240fi
1241
1242echo $ac_n "checking for alloca""... $ac_c" 1>&6
1243echo "configure:1244: checking for alloca" >&5
1244if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
1245 echo $ac_n "(cached) $ac_c" 1>&6
1246else
1247 cat > conftest.$ac_ext <<EOF
1248#line 1249 "configure"
1249#include "confdefs.h"
1250
1251#ifdef __GNUC__
1252# define alloca __builtin_alloca
1253#else
1254# if HAVE_ALLOCA_H
1255# include <alloca.h>
1256# else
1257# ifdef _AIX
1258 #pragma alloca
1259# else
1260# ifndef alloca /* predefined by HP cc +Olibcalls */
1261char *alloca ();
1262# endif
1263# endif
1264# endif
1265#endif
1266
1267int main() {
1268char *p = (char *) alloca(1);
1269; return 0; }
1270EOF
1271if { (eval echo configure:1272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1272 rm -rf conftest*
1273 ac_cv_func_alloca_works=yes
1274else
1275 echo "configure: failed program was:" >&5
1276 cat conftest.$ac_ext >&5
1277 rm -rf conftest*
1278 ac_cv_func_alloca_works=no
1279fi
1280rm -f conftest*
1281fi
1282
1283echo "$ac_t""$ac_cv_func_alloca_works" 1>&6
1284if test $ac_cv_func_alloca_works = yes; then
1285 cat >> confdefs.h <<\EOF
1286#define HAVE_ALLOCA 1
1287EOF
1288
1289fi
1290
1291if test $ac_cv_func_alloca_works = no; then
1292 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
1293 # that cause trouble. Some versions do not even contain alloca or
1294 # contain a buggy version. If you still want to use their alloca,
1295 # use ar to extract alloca.o from them instead of compiling alloca.c.
1296 ALLOCA=alloca.o
1297 cat >> confdefs.h <<\EOF
1298#define C_ALLOCA 1
1299EOF
1300
1301
1302echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
1303echo "configure:1304: checking whether alloca needs Cray hooks" >&5
1304if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
1305 echo $ac_n "(cached) $ac_c" 1>&6
1306else
1307 cat > conftest.$ac_ext <<EOF
1308#line 1309 "configure"
1309#include "confdefs.h"
1310#if defined(CRAY) && ! defined(CRAY2)
1311webecray
1312#else
1313wenotbecray
1314#endif
1315
1316EOF
1317if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1318 egrep "webecray" >/dev/null 2>&1; then
1319 rm -rf conftest*
1320 ac_cv_os_cray=yes
1321else
1322 rm -rf conftest*
1323 ac_cv_os_cray=no
1324fi
1325rm -f conftest*
1326
1327fi
1328
1329echo "$ac_t""$ac_cv_os_cray" 1>&6
1330if test $ac_cv_os_cray = yes; then
1331for ac_func in _getb67 GETB67 getb67; do
1332 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1333echo "configure:1334: checking for $ac_func" >&5
1334if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1335 echo $ac_n "(cached) $ac_c" 1>&6
1336else
1337 cat > conftest.$ac_ext <<EOF
1338#line 1339 "configure"
1339#include "confdefs.h"
1340/* System header to define __stub macros and hopefully few prototypes,
1341 which can conflict with char $ac_func(); below. */
1342#include <assert.h>
1343/* Override any gcc2 internal prototype to avoid an error. */
1344/* We use char because int might match the return type of a gcc2
1345 builtin and then its argument prototype would still apply. */
1346char $ac_func();
1347
1348int main() {
1349
1350/* The GNU C library defines this for functions which it implements
1351 to always fail with ENOSYS. Some functions are actually named
1352 something starting with __ and the normal name is an alias. */
1353#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1354choke me
1355#else
1356$ac_func();
1357#endif
1358
1359; return 0; }
1360EOF
1361if { (eval echo configure:1362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1362 rm -rf conftest*
1363 eval "ac_cv_func_$ac_func=yes"
1364else
1365 echo "configure: failed program was:" >&5
1366 cat conftest.$ac_ext >&5
1367 rm -rf conftest*
1368 eval "ac_cv_func_$ac_func=no"
1369fi
1370rm -f conftest*
1371fi
1372
1373if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
1374 echo "$ac_t""yes" 1>&6
1375 cat >> confdefs.h <<EOF
1376#define CRAY_STACKSEG_END $ac_func
1377EOF
1378
1379 break
1380else
1381 echo "$ac_t""no" 1>&6
1382fi
1383
1384done
1385fi
1386
1387echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
1388echo "configure:1389: checking stack direction for C alloca" >&5
1389if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
1390 echo $ac_n "(cached) $ac_c" 1>&6
1391else
1392 if test "$cross_compiling" = yes; then
1393 ac_cv_c_stack_direction=0
1394else
1395 cat > conftest.$ac_ext <<EOF
1396#line 1397 "configure"
1397#include "confdefs.h"
1398find_stack_direction ()
1399{
1400 static char *addr = 0;
1401 auto char dummy;
1402 if (addr == 0)
1403 {
1404 addr = &dummy;
1405 return find_stack_direction ();
1406 }
1407 else
1408 return (&dummy > addr) ? 1 : -1;
1409}
1410main ()
1411{
1412 exit (find_stack_direction() < 0);
1413}
1414EOF
1415if { (eval echo configure:1416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
1416then
1417 ac_cv_c_stack_direction=1
1418else
1419 echo "configure: failed program was:" >&5
1420 cat conftest.$ac_ext >&5
1421 rm -fr conftest*
1422 ac_cv_c_stack_direction=-1
1423fi
1424rm -fr conftest*
1425fi
1426
1427fi
1428
1429echo "$ac_t""$ac_cv_c_stack_direction" 1>&6
1430cat >> confdefs.h <<EOF
1431#define STACK_DIRECTION $ac_cv_c_stack_direction
1432EOF
1433
1434fi
1435
1436for ac_hdr in unistd.h
1437do
1438ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1439echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1440echo "configure:1441: checking for $ac_hdr" >&5
1441if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1442 echo $ac_n "(cached) $ac_c" 1>&6
1443else
1444 cat > conftest.$ac_ext <<EOF
1445#line 1446 "configure"
1446#include "confdefs.h"
1447#include <$ac_hdr>
1448EOF
1449ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1450{ (eval echo configure:1451: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1451ac_err=`grep -v '^ *+' conftest.out`
1452if test -z "$ac_err"; then
1453 rm -rf conftest*
1454 eval "ac_cv_header_$ac_safe=yes"
1455else
1456 echo "$ac_err" >&5
1457 echo "configure: failed program was:" >&5
1458 cat conftest.$ac_ext >&5
1459 rm -rf conftest*
1460 eval "ac_cv_header_$ac_safe=no"
1461fi
1462rm -f conftest*
1463fi
1464if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1465 echo "$ac_t""yes" 1>&6
1466 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
1467 cat >> confdefs.h <<EOF
1468#define $ac_tr_hdr 1
1469EOF
1470
1471else
1472 echo "$ac_t""no" 1>&6
1473fi
1474done
1475
1476for ac_func in getpagesize
1477do
1478echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1479echo "configure:1480: checking for $ac_func" >&5
1480if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1481 echo $ac_n "(cached) $ac_c" 1>&6
1482else
1483 cat > conftest.$ac_ext <<EOF
1484#line 1485 "configure"
1485#include "confdefs.h"
1486/* System header to define __stub macros and hopefully few prototypes,
1487 which can conflict with char $ac_func(); below. */
1488#include <assert.h>
1489/* Override any gcc2 internal prototype to avoid an error. */
1490/* We use char because int might match the return type of a gcc2
1491 builtin and then its argument prototype would still apply. */
1492char $ac_func();
1493
1494int main() {
1495
1496/* The GNU C library defines this for functions which it implements
1497 to always fail with ENOSYS. Some functions are actually named
1498 something starting with __ and the normal name is an alias. */
1499#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1500choke me
1501#else
1502$ac_func();
1503#endif
1504
1505; return 0; }
1506EOF
1507if { (eval echo configure:1508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1508 rm -rf conftest*
1509 eval "ac_cv_func_$ac_func=yes"
1510else
1511 echo "configure: failed program was:" >&5
1512 cat conftest.$ac_ext >&5
1513 rm -rf conftest*
1514 eval "ac_cv_func_$ac_func=no"
1515fi
1516rm -f conftest*
1517fi
1518
1519if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
1520 echo "$ac_t""yes" 1>&6
1521 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
1522 cat >> confdefs.h <<EOF
1523#define $ac_tr_func 1
1524EOF
1525
1526else
1527 echo "$ac_t""no" 1>&6
1528fi
1529done
1530
1531echo $ac_n "checking for working mmap""... $ac_c" 1>&6
1532echo "configure:1533: checking for working mmap" >&5
1533if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
1534 echo $ac_n "(cached) $ac_c" 1>&6
1535else
1536 if test "$cross_compiling" = yes; then
1537 ac_cv_func_mmap_fixed_mapped=no
1538else
1539 cat > conftest.$ac_ext <<EOF
1540#line 1541 "configure"
1541#include "confdefs.h"
1542
1543/* Thanks to Mike Haertel and Jim Avera for this test.
1544 Here is a matrix of mmap possibilities:
1545 mmap private not fixed
1546 mmap private fixed at somewhere currently unmapped
1547 mmap private fixed at somewhere already mapped
1548 mmap shared not fixed
1549 mmap shared fixed at somewhere currently unmapped
1550 mmap shared fixed at somewhere already mapped
1551 For private mappings, we should verify that changes cannot be read()
1552 back from the file, nor mmap's back from the file at a different
1553 address. (There have been systems where private was not correctly
1554 implemented like the infamous i386 svr4.0, and systems where the
1555 VM page cache was not coherent with the filesystem buffer cache
1556 like early versions of FreeBSD and possibly contemporary NetBSD.)
1557 For shared mappings, we should conversely verify that changes get
1558 propogated back to all the places they're supposed to be.
1559
1560 Grep wants private fixed already mapped.
1561 The main things grep needs to know about mmap are:
1562 * does it exist and is it safe to write into the mmap'd area
1563 * how to use it (BSD variants) */
1564#include <sys/types.h>
1565#include <fcntl.h>
1566#include <sys/mman.h>
1567
1568/* This mess was copied from the GNU getpagesize.h. */
1569#ifndef HAVE_GETPAGESIZE
1570# ifdef HAVE_UNISTD_H
1571# include <unistd.h>
1572# endif
1573
1574/* Assume that all systems that can run configure have sys/param.h. */
1575# ifndef HAVE_SYS_PARAM_H
1576# define HAVE_SYS_PARAM_H 1
1577# endif
1578
1579# ifdef _SC_PAGESIZE
1580# define getpagesize() sysconf(_SC_PAGESIZE)
1581# else /* no _SC_PAGESIZE */
1582# ifdef HAVE_SYS_PARAM_H
1583# include <sys/param.h>
1584# ifdef EXEC_PAGESIZE
1585# define getpagesize() EXEC_PAGESIZE
1586# else /* no EXEC_PAGESIZE */
1587# ifdef NBPG
1588# define getpagesize() NBPG * CLSIZE
1589# ifndef CLSIZE
1590# define CLSIZE 1
1591# endif /* no CLSIZE */
1592# else /* no NBPG */
1593# ifdef NBPC
1594# define getpagesize() NBPC
1595# else /* no NBPC */
1596# ifdef PAGESIZE
1597# define getpagesize() PAGESIZE
1598# endif /* PAGESIZE */
1599# endif /* no NBPC */
1600# endif /* no NBPG */
1601# endif /* no EXEC_PAGESIZE */
1602# else /* no HAVE_SYS_PARAM_H */
1603# define getpagesize() 8192 /* punt totally */
1604# endif /* no HAVE_SYS_PARAM_H */
1605# endif /* no _SC_PAGESIZE */
1606
1607#endif /* no HAVE_GETPAGESIZE */
1608
1609#ifdef __cplusplus
1610extern "C" { void *malloc(unsigned); }
1611#else
1612char *malloc();
1613#endif
1614
1615int
1616main()
1617{
1618 char *data, *data2, *data3;
1619 int i, pagesize;
1620 int fd;
1621
1622 pagesize = getpagesize();
1623
1624 /*
1625 * First, make a file with some known garbage in it.
1626 */
1627 data = malloc(pagesize);
1628 if (!data)
1629 exit(1);
1630 for (i = 0; i < pagesize; ++i)
1631 *(data + i) = rand();
1632 umask(0);
1633 fd = creat("conftestmmap", 0600);
1634 if (fd < 0)
1635 exit(1);
1636 if (write(fd, data, pagesize) != pagesize)
1637 exit(1);
1638 close(fd);
1639
1640 /*
1641 * Next, try to mmap the file at a fixed address which
1642 * already has something else allocated at it. If we can,
1643 * also make sure that we see the same garbage.
1644 */
1645 fd = open("conftestmmap", O_RDWR);
1646 if (fd < 0)
1647 exit(1);
1648 data2 = malloc(2 * pagesize);
1649 if (!data2)
1650 exit(1);
1651 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
1652 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
1653 MAP_PRIVATE | MAP_FIXED, fd, 0L))
1654 exit(1);
1655 for (i = 0; i < pagesize; ++i)
1656 if (*(data + i) != *(data2 + i))
1657 exit(1);
1658
1659 /*
1660 * Finally, make sure that changes to the mapped area
1661 * do not percolate back to the file as seen by read().
1662 * (This is a bug on some variants of i386 svr4.0.)
1663 */
1664 for (i = 0; i < pagesize; ++i)
1665 *(data2 + i) = *(data2 + i) + 1;
1666 data3 = malloc(pagesize);
1667 if (!data3)
1668 exit(1);
1669 if (read(fd, data3, pagesize) != pagesize)
1670 exit(1);
1671 for (i = 0; i < pagesize; ++i)
1672 if (*(data + i) != *(data3 + i))
1673 exit(1);
1674 close(fd);
1675 unlink("conftestmmap");
1676 exit(0);
1677}
1678
1679EOF
1680if { (eval echo configure:1681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
1681then
1682 ac_cv_func_mmap_fixed_mapped=yes
1683else
1684 echo "configure: failed program was:" >&5
1685 cat conftest.$ac_ext >&5
1686 rm -fr conftest*
1687 ac_cv_func_mmap_fixed_mapped=no
1688fi
1689rm -fr conftest*
1690fi
1691
1692fi
1693
1694echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
1695if test $ac_cv_func_mmap_fixed_mapped = yes; then
1696 cat >> confdefs.h <<\EOF
1697#define HAVE_MMAP 1
1698EOF
1699
1700fi
1701
1702
1703 for ac_hdr in argz.h limits.h locale.h nl_types.h malloc.h string.h \
1704unistd.h values.h sys/param.h
1705do
1706ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1707echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1708echo "configure:1709: checking for $ac_hdr" >&5
1709if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1710 echo $ac_n "(cached) $ac_c" 1>&6
1711else
1712 cat > conftest.$ac_ext <<EOF
1713#line 1714 "configure"
1714#include "confdefs.h"
1715#include <$ac_hdr>
1716EOF
1717ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1718{ (eval echo configure:1719: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1719ac_err=`grep -v '^ *+' conftest.out`
1720if test -z "$ac_err"; then
1721 rm -rf conftest*
1722 eval "ac_cv_header_$ac_safe=yes"
1723else
1724 echo "$ac_err" >&5
1725 echo "configure: failed program was:" >&5
1726 cat conftest.$ac_ext >&5
1727 rm -rf conftest*
1728 eval "ac_cv_header_$ac_safe=no"
1729fi
1730rm -f conftest*
1731fi
1732if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1733 echo "$ac_t""yes" 1>&6
1734 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
1735 cat >> confdefs.h <<EOF
1736#define $ac_tr_hdr 1
1737EOF
1738
1739else
1740 echo "$ac_t""no" 1>&6
1741fi
1742done
1743
1744 for ac_func in getcwd munmap putenv setenv setlocale strchr strcasecmp \
1745__argz_count __argz_stringify __argz_next
1746do
1747echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1748echo "configure:1749: checking for $ac_func" >&5
1749if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1750 echo $ac_n "(cached) $ac_c" 1>&6
1751else
1752 cat > conftest.$ac_ext <<EOF
1753#line 1754 "configure"
1754#include "confdefs.h"
1755/* System header to define __stub macros and hopefully few prototypes,
1756 which can conflict with char $ac_func(); below. */
1757#include <assert.h>
1758/* Override any gcc2 internal prototype to avoid an error. */
1759/* We use char because int might match the return type of a gcc2
1760 builtin and then its argument prototype would still apply. */
1761char $ac_func();
1762
1763int main() {
1764
1765/* The GNU C library defines this for functions which it implements
1766 to always fail with ENOSYS. Some functions are actually named
1767 something starting with __ and the normal name is an alias. */
1768#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1769choke me
1770#else
1771$ac_func();
1772#endif
1773
1774; return 0; }
1775EOF
1776if { (eval echo configure:1777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1777 rm -rf conftest*
1778 eval "ac_cv_func_$ac_func=yes"
1779else
1780 echo "configure: failed program was:" >&5
1781 cat conftest.$ac_ext >&5
1782 rm -rf conftest*
1783 eval "ac_cv_func_$ac_func=no"
1784fi
1785rm -f conftest*
1786fi
1787
1788if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
1789 echo "$ac_t""yes" 1>&6
1790 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
1791 cat >> confdefs.h <<EOF
1792#define $ac_tr_func 1
1793EOF
1794
1795else
1796 echo "$ac_t""no" 1>&6
1797fi
1798done
1799
1800
1801 if test "${ac_cv_func_stpcpy+set}" != "set"; then
1802 for ac_func in stpcpy
1803do
1804echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1805echo "configure:1806: checking for $ac_func" >&5
1806if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1807 echo $ac_n "(cached) $ac_c" 1>&6
1808else
1809 cat > conftest.$ac_ext <<EOF
1810#line 1811 "configure"
1811#include "confdefs.h"
1812/* System header to define __stub macros and hopefully few prototypes,
1813 which can conflict with char $ac_func(); below. */
1814#include <assert.h>
1815/* Override any gcc2 internal prototype to avoid an error. */
1816/* We use char because int might match the return type of a gcc2
1817 builtin and then its argument prototype would still apply. */
1818char $ac_func();
1819
1820int main() {
1821
1822/* The GNU C library defines this for functions which it implements
1823 to always fail with ENOSYS. Some functions are actually named
1824 something starting with __ and the normal name is an alias. */
1825#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1826choke me
1827#else
1828$ac_func();
1829#endif
1830
1831; return 0; }
1832EOF
1833if { (eval echo configure:1834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1834 rm -rf conftest*
1835 eval "ac_cv_func_$ac_func=yes"
1836else
1837 echo "configure: failed program was:" >&5
1838 cat conftest.$ac_ext >&5
1839 rm -rf conftest*
1840 eval "ac_cv_func_$ac_func=no"
1841fi
1842rm -f conftest*
1843fi
1844
1845if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
1846 echo "$ac_t""yes" 1>&6
1847 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
1848 cat >> confdefs.h <<EOF
1849#define $ac_tr_func 1
1850EOF
1851
1852else
1853 echo "$ac_t""no" 1>&6
1854fi
1855done
1856
1857 fi
1858 if test "${ac_cv_func_stpcpy}" = "yes"; then
1859 cat >> confdefs.h <<\EOF
1860#define HAVE_STPCPY 1
1861EOF
1862
1863 fi
1864
1865 if test $ac_cv_header_locale_h = yes; then
1866 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
1867echo "configure:1868: checking for LC_MESSAGES" >&5
1868if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then
1869 echo $ac_n "(cached) $ac_c" 1>&6
1870else
1871 cat > conftest.$ac_ext <<EOF
1872#line 1873 "configure"
1873#include "confdefs.h"
1874#include <locale.h>
1875int main() {
1876return LC_MESSAGES
1877; return 0; }
1878EOF
1879if { (eval echo configure:1880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1880 rm -rf conftest*
1881 am_cv_val_LC_MESSAGES=yes
1882else
1883 echo "configure: failed program was:" >&5
1884 cat conftest.$ac_ext >&5
1885 rm -rf conftest*
1886 am_cv_val_LC_MESSAGES=no
1887fi
1888rm -f conftest*
1889fi
1890
1891echo "$ac_t""$am_cv_val_LC_MESSAGES" 1>&6
1892 if test $am_cv_val_LC_MESSAGES = yes; then
1893 cat >> confdefs.h <<\EOF
1894#define HAVE_LC_MESSAGES 1
1895EOF
1896
1897 fi
1898 fi
1899 echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6
1900echo "configure:1901: checking whether NLS is requested" >&5
1901 # Check whether --enable-nls or --disable-nls was given.
1902if test "${enable_nls+set}" = set; then
1903 enableval="$enable_nls"
1904 USE_NLS=$enableval
1905else
1906 USE_NLS=yes
1907fi
1908
1909 echo "$ac_t""$USE_NLS" 1>&6
1910
1911
1912 USE_INCLUDED_LIBINTL=no
1913
1914 if test "$USE_NLS" = "yes"; then
1915 cat >> confdefs.h <<\EOF
1916#define ENABLE_NLS 1
1917EOF
1918
1919 echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6
1920echo "configure:1921: checking whether included gettext is requested" >&5
1921 # Check whether --with-included-gettext or --without-included-gettext was given.
1922if test "${with_included_gettext+set}" = set; then
1923 withval="$with_included_gettext"
1924 nls_cv_force_use_gnu_gettext=$withval
1925else
1926 nls_cv_force_use_gnu_gettext=no
1927fi
1928
1929 echo "$ac_t""$nls_cv_force_use_gnu_gettext" 1>&6
1930
1931 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
1932 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
1933 nls_cv_header_intl=
1934 nls_cv_header_libgt=
1935 CATOBJEXT=NONE
1936
1937 ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'`
1938echo $ac_n "checking for libintl.h""... $ac_c" 1>&6
1939echo "configure:1940: checking for libintl.h" >&5
1940if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1941 echo $ac_n "(cached) $ac_c" 1>&6
1942else
1943 cat > conftest.$ac_ext <<EOF
1944#line 1945 "configure"
1945#include "confdefs.h"
1946#include <libintl.h>
1947EOF
1948ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1949{ (eval echo configure:1950: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1950ac_err=`grep -v '^ *+' conftest.out`
1951if test -z "$ac_err"; then
1952 rm -rf conftest*
1953 eval "ac_cv_header_$ac_safe=yes"
1954else
1955 echo "$ac_err" >&5
1956 echo "configure: failed program was:" >&5
1957 cat conftest.$ac_ext >&5
1958 rm -rf conftest*
1959 eval "ac_cv_header_$ac_safe=no"
1960fi
1961rm -f conftest*
1962fi
1963if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1964 echo "$ac_t""yes" 1>&6
1965 echo $ac_n "checking for gettext in libc""... $ac_c" 1>&6
1966echo "configure:1967: checking for gettext in libc" >&5
1967if eval "test \"`echo '$''{'gt_cv_func_gettext_libc'+set}'`\" = set"; then
1968 echo $ac_n "(cached) $ac_c" 1>&6
1969else
1970 cat > conftest.$ac_ext <<EOF
1971#line 1972 "configure"
1972#include "confdefs.h"
1973#include <libintl.h>
1974int main() {
1975return (int) gettext ("")
1976; return 0; }
1977EOF
1978if { (eval echo configure:1979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1979 rm -rf conftest*
1980 gt_cv_func_gettext_libc=yes
1981else
1982 echo "configure: failed program was:" >&5
1983 cat conftest.$ac_ext >&5
1984 rm -rf conftest*
1985 gt_cv_func_gettext_libc=no
1986fi
1987rm -f conftest*
1988fi
1989
1990echo "$ac_t""$gt_cv_func_gettext_libc" 1>&6
1991
1992 if test "$gt_cv_func_gettext_libc" != "yes"; then
1993 echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6
1994echo "configure:1995: checking for bindtextdomain in -lintl" >&5
1995ac_lib_var=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'`
1996if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1997 echo $ac_n "(cached) $ac_c" 1>&6
1998else
1999 ac_save_LIBS="$LIBS"
2000LIBS="-lintl $LIBS"
2001cat > conftest.$ac_ext <<EOF
2002#line 2003 "configure"
2003#include "confdefs.h"
2004/* Override any gcc2 internal prototype to avoid an error. */
2005/* We use char because int might match the return type of a gcc2
2006 builtin and then its argument prototype would still apply. */
2007char bindtextdomain();
2008
2009int main() {
2010bindtextdomain()
2011; return 0; }
2012EOF
2013if { (eval echo configure:2014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2014 rm -rf conftest*
2015 eval "ac_cv_lib_$ac_lib_var=yes"
2016else
2017 echo "configure: failed program was:" >&5
2018 cat conftest.$ac_ext >&5
2019 rm -rf conftest*
2020 eval "ac_cv_lib_$ac_lib_var=no"
2021fi
2022rm -f conftest*
2023LIBS="$ac_save_LIBS"
2024
2025fi
2026if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2027 echo "$ac_t""yes" 1>&6
2028 echo $ac_n "checking for gettext in libintl""... $ac_c" 1>&6
2029echo "configure:2030: checking for gettext in libintl" >&5
2030if eval "test \"`echo '$''{'gt_cv_func_gettext_libintl'+set}'`\" = set"; then
2031 echo $ac_n "(cached) $ac_c" 1>&6
2032else
2033 cat > conftest.$ac_ext <<EOF
2034#line 2035 "configure"
2035#include "confdefs.h"
2036
2037int main() {
2038return (int) gettext ("")
2039; return 0; }
2040EOF
2041if { (eval echo configure:2042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2042 rm -rf conftest*
2043 gt_cv_func_gettext_libintl=yes
2044else
2045 echo "configure: failed program was:" >&5
2046 cat conftest.$ac_ext >&5
2047 rm -rf conftest*
2048 gt_cv_func_gettext_libintl=no
2049fi
2050rm -f conftest*
2051fi
2052
2053echo "$ac_t""$gt_cv_func_gettext_libintl" 1>&6
2054else
2055 echo "$ac_t""no" 1>&6
2056fi
2057
2058 fi
2059
2060 if test "$gt_cv_func_gettext_libc" = "yes" \
2061 || test "$gt_cv_func_gettext_libintl" = "yes"; then
2062 cat >> confdefs.h <<\EOF
2063#define HAVE_GETTEXT 1
2064EOF
2065
2066 # Extract the first word of "msgfmt", so it can be a program name with args.
2067set dummy msgfmt; ac_word=$2
2068echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2069echo "configure:2070: checking for $ac_word" >&5
2070if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
2071 echo $ac_n "(cached) $ac_c" 1>&6
2072else
2073 case "$MSGFMT" in
2074 /*)
2075 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
2076 ;;
2077 *)
2078 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2079 for ac_dir in $PATH; do
2080 test -z "$ac_dir" && ac_dir=.
2081 if test -f $ac_dir/$ac_word; then
2082 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
2083 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
2084 break
2085 fi
2086 fi
2087 done
2088 IFS="$ac_save_ifs"
2089 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
2090 ;;
2091esac
2092fi
2093MSGFMT="$ac_cv_path_MSGFMT"
2094if test -n "$MSGFMT"; then
2095 echo "$ac_t""$MSGFMT" 1>&6
2096else
2097 echo "$ac_t""no" 1>&6
2098fi
2099 if test "$MSGFMT" != "no"; then
2100 for ac_func in dcgettext
2101do
2102echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2103echo "configure:2104: checking for $ac_func" >&5
2104if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2105 echo $ac_n "(cached) $ac_c" 1>&6
2106else
2107 cat > conftest.$ac_ext <<EOF
2108#line 2109 "configure"
2109#include "confdefs.h"
2110/* System header to define __stub macros and hopefully few prototypes,
2111 which can conflict with char $ac_func(); below. */
2112#include <assert.h>
2113/* Override any gcc2 internal prototype to avoid an error. */
2114/* We use char because int might match the return type of a gcc2
2115 builtin and then its argument prototype would still apply. */
2116char $ac_func();
2117
2118int main() {
2119
2120/* The GNU C library defines this for functions which it implements
2121 to always fail with ENOSYS. Some functions are actually named
2122 something starting with __ and the normal name is an alias. */
2123#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2124choke me
2125#else
2126$ac_func();
2127#endif
2128
2129; return 0; }
2130EOF
2131if { (eval echo configure:2132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2132 rm -rf conftest*
2133 eval "ac_cv_func_$ac_func=yes"
2134else
2135 echo "configure: failed program was:" >&5
2136 cat conftest.$ac_ext >&5
2137 rm -rf conftest*
2138 eval "ac_cv_func_$ac_func=no"
2139fi
2140rm -f conftest*
2141fi
2142
2143if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
2144 echo "$ac_t""yes" 1>&6
2145 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2146 cat >> confdefs.h <<EOF
2147#define $ac_tr_func 1
2148EOF
2149
2150else
2151 echo "$ac_t""no" 1>&6
2152fi
2153done
2154
2155 # Extract the first word of "gmsgfmt", so it can be a program name with args.
2156set dummy gmsgfmt; ac_word=$2
2157echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2158echo "configure:2159: checking for $ac_word" >&5
2159if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
2160 echo $ac_n "(cached) $ac_c" 1>&6
2161else
2162 case "$GMSGFMT" in
2163 /*)
2164 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
2165 ;;
2166 ?:/*)
2167 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a dos path.
2168 ;;
2169 *)
2170 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2171 for ac_dir in $PATH; do
2172 test -z "$ac_dir" && ac_dir=.
2173 if test -f $ac_dir/$ac_word; then
2174 ac_cv_path_GMSGFMT="$ac_dir/$ac_word"
2175 break
2176 fi
2177 done
2178 IFS="$ac_save_ifs"
2179 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
2180 ;;
2181esac
2182fi
2183GMSGFMT="$ac_cv_path_GMSGFMT"
2184if test -n "$GMSGFMT"; then
2185 echo "$ac_t""$GMSGFMT" 1>&6
2186else
2187 echo "$ac_t""no" 1>&6
2188fi
2189
2190 # Extract the first word of "xgettext", so it can be a program name with args.
2191set dummy xgettext; ac_word=$2
2192echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2193echo "configure:2194: checking for $ac_word" >&5
2194if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
2195 echo $ac_n "(cached) $ac_c" 1>&6
2196else
2197 case "$XGETTEXT" in
2198 /*)
2199 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
2200 ;;
2201 *)
2202 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2203 for ac_dir in $PATH; do
2204 test -z "$ac_dir" && ac_dir=.
2205 if test -f $ac_dir/$ac_word; then
2206 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
2207 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
2208 break
2209 fi
2210 fi
2211 done
2212 IFS="$ac_save_ifs"
2213 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
2214 ;;
2215esac
2216fi
2217XGETTEXT="$ac_cv_path_XGETTEXT"
2218if test -n "$XGETTEXT"; then
2219 echo "$ac_t""$XGETTEXT" 1>&6
2220else
2221 echo "$ac_t""no" 1>&6
2222fi
2223
2224 cat > conftest.$ac_ext <<EOF
2225#line 2226 "configure"
2226#include "confdefs.h"
2227
2228int main() {
2229extern int _nl_msg_cat_cntr;
2230 return _nl_msg_cat_cntr
2231; return 0; }
2232EOF
2233if { (eval echo configure:2234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2234 rm -rf conftest*
2235 CATOBJEXT=.gmo
2236 DATADIRNAME=share
2237else
2238 echo "configure: failed program was:" >&5
2239 cat conftest.$ac_ext >&5
2240 rm -rf conftest*
2241 CATOBJEXT=.mo
2242 DATADIRNAME=lib
2243fi
2244rm -f conftest*
2245 INSTOBJEXT=.mo
2246 fi
2247 fi
2248
2249else
2250 echo "$ac_t""no" 1>&6
2251fi
2252
2253
2254
2255 if test "$CATOBJEXT" = "NONE"; then
2256 nls_cv_use_gnu_gettext=yes
2257 fi
2258 fi
2259
2260 if test "$nls_cv_use_gnu_gettext" = "yes"; then
2261 INTLOBJS="\$(GETTOBJS)"
2262 # Extract the first word of "msgfmt", so it can be a program name with args.
2263set dummy msgfmt; ac_word=$2
2264echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2265echo "configure:2266: checking for $ac_word" >&5
2266if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
2267 echo $ac_n "(cached) $ac_c" 1>&6
2268else
2269 case "$MSGFMT" in
2270 /*)
2271 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
2272 ;;
2273 *)
2274 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2275 for ac_dir in $PATH; do
2276 test -z "$ac_dir" && ac_dir=.
2277 if test -f $ac_dir/$ac_word; then
2278 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
2279 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
2280 break
2281 fi
2282 fi
2283 done
2284 IFS="$ac_save_ifs"
2285 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="msgfmt"
2286 ;;
2287esac
2288fi
2289MSGFMT="$ac_cv_path_MSGFMT"
2290if test -n "$MSGFMT"; then
2291 echo "$ac_t""$MSGFMT" 1>&6
2292else
2293 echo "$ac_t""no" 1>&6
2294fi
2295
2296 # Extract the first word of "gmsgfmt", so it can be a program name with args.
2297set dummy gmsgfmt; ac_word=$2
2298echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2299echo "configure:2300: checking for $ac_word" >&5
2300if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
2301 echo $ac_n "(cached) $ac_c" 1>&6
2302else
2303 case "$GMSGFMT" in
2304 /*)
2305 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
2306 ;;
2307 ?:/*)
2308 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a dos path.
2309 ;;
2310 *)
2311 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2312 for ac_dir in $PATH; do
2313 test -z "$ac_dir" && ac_dir=.
2314 if test -f $ac_dir/$ac_word; then
2315 ac_cv_path_GMSGFMT="$ac_dir/$ac_word"
2316 break
2317 fi
2318 done
2319 IFS="$ac_save_ifs"
2320 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
2321 ;;
2322esac
2323fi
2324GMSGFMT="$ac_cv_path_GMSGFMT"
2325if test -n "$GMSGFMT"; then
2326 echo "$ac_t""$GMSGFMT" 1>&6
2327else
2328 echo "$ac_t""no" 1>&6
2329fi
2330
2331 # Extract the first word of "xgettext", so it can be a program name with args.
2332set dummy xgettext; ac_word=$2
2333echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2334echo "configure:2335: checking for $ac_word" >&5
2335if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
2336 echo $ac_n "(cached) $ac_c" 1>&6
2337else
2338 case "$XGETTEXT" in
2339 /*)
2340 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
2341 ;;
2342 *)
2343 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2344 for ac_dir in $PATH; do
2345 test -z "$ac_dir" && ac_dir=.
2346 if test -f $ac_dir/$ac_word; then
2347 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
2348 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
2349 break
2350 fi
2351 fi
2352 done
2353 IFS="$ac_save_ifs"
2354 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
2355 ;;
2356esac
2357fi
2358XGETTEXT="$ac_cv_path_XGETTEXT"
2359if test -n "$XGETTEXT"; then
2360 echo "$ac_t""$XGETTEXT" 1>&6
2361else
2362 echo "$ac_t""no" 1>&6
2363fi
2364
2365
2366 USE_INCLUDED_LIBINTL=yes
2367 CATOBJEXT=.gmo
2368 INSTOBJEXT=.mo
2369 DATADIRNAME=share
2370 INTLDEPS='$(top_builddir)/../intl/libintl.a'
2371 INTLLIBS=$INTLDEPS
2372 LIBS=`echo $LIBS | sed -e 's/-lintl//'`
2373 nls_cv_header_intl=libintl.h
2374 nls_cv_header_libgt=libgettext.h
2375 fi
2376
2377 if test "$XGETTEXT" != ":"; then
2378 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
2379 : ;
2380 else
2381 echo "$ac_t""found xgettext programs is not GNU xgettext; ignore it" 1>&6
2382 XGETTEXT=":"
2383 fi
2384 fi
2385
2386 # We need to process the po/ directory.
2387 POSUB=po
2388 else
2389 DATADIRNAME=share
2390 nls_cv_header_intl=libintl.h
2391 nls_cv_header_libgt=libgettext.h
2392 fi
2393
2394 # If this is used in GNU gettext we have to set USE_NLS to `yes'
2395 # because some of the sources are only built for this goal.
2396 if test "$PACKAGE" = gettext; then
2397 USE_NLS=yes
2398 USE_INCLUDED_LIBINTL=yes
2399 fi
2400
2401 for lang in $ALL_LINGUAS; do
2402 GMOFILES="$GMOFILES $lang.gmo"
2403 POFILES="$POFILES $lang.po"
2404 done
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419 if test "x$CATOBJEXT" != "x"; then
2420 if test "x$ALL_LINGUAS" = "x"; then
2421 LINGUAS=
2422 else
2423 echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6
2424echo "configure:2425: checking for catalogs to be installed" >&5
2425 NEW_LINGUAS=
2426 for lang in ${LINGUAS=$ALL_LINGUAS}; do
2427 case "$ALL_LINGUAS" in
2428 *$lang*) NEW_LINGUAS="$NEW_LINGUAS $lang" ;;
2429 esac
2430 done
2431 LINGUAS=$NEW_LINGUAS
2432 echo "$ac_t""$LINGUAS" 1>&6
2433 fi
2434
2435 if test -n "$LINGUAS"; then
2436 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
2437 fi
2438 fi
2439
2440 if test $ac_cv_header_locale_h = yes; then
2441 INCLUDE_LOCALE_H="#include <locale.h>"
2442 else
2443 INCLUDE_LOCALE_H="\
2444/* The system does not provide the header <locale.h>. Take care yourself. */"
2445 fi
2446
2447
2448 if test -f $srcdir/po2tbl.sed.in; then
2449 if test "$CATOBJEXT" = ".cat"; then
2450 ac_safe=`echo "linux/version.h" | sed 'y%./+-%__p_%'`
2451echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6
2452echo "configure:2453: checking for linux/version.h" >&5
2453if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2454 echo $ac_n "(cached) $ac_c" 1>&6
2455else
2456 cat > conftest.$ac_ext <<EOF
2457#line 2458 "configure"
2458#include "confdefs.h"
2459#include <linux/version.h>
2460EOF
2461ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2462{ (eval echo configure:2463: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2463ac_err=`grep -v '^ *+' conftest.out`
2464if test -z "$ac_err"; then
2465 rm -rf conftest*
2466 eval "ac_cv_header_$ac_safe=yes"
2467else
2468 echo "$ac_err" >&5
2469 echo "configure: failed program was:" >&5
2470 cat conftest.$ac_ext >&5
2471 rm -rf conftest*
2472 eval "ac_cv_header_$ac_safe=no"
2473fi
2474rm -f conftest*
2475fi
2476if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2477 echo "$ac_t""yes" 1>&6
2478 msgformat=linux
2479else
2480 echo "$ac_t""no" 1>&6
2481msgformat=xopen
2482fi
2483
2484
2485 sed -e '/^#/d' $srcdir/$msgformat-msg.sed > po2msg.sed
2486 fi
2487 sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \
2488 $srcdir/po2tbl.sed.in > po2tbl.sed
2489 fi
2490
2491 if test "$PACKAGE" = "gettext"; then
2492 GT_NO="#NO#"
2493 GT_YES=
2494 else
2495 GT_NO=
2496 GT_YES="#YES#"
2497 fi
2498
2499
2500
2501 MKINSTALLDIRS="\$(srcdir)/../../mkinstalldirs"
2502
2503
2504 l=
2505
2506
2507 if test -d $srcdir/po; then
2508 test -d po || mkdir po
2509 if test "x$srcdir" != "x."; then
2510 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
2511 posrcprefix="$srcdir/"
2512 else
2513 posrcprefix="../$srcdir/"
2514 fi
2515 else
2516 posrcprefix="../"
2517 fi
2518 rm -f po/POTFILES
2519 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
2520 < $srcdir/po/POTFILES.in > po/POTFILES
2521 fi
2522
2523
2524
2525trap '' 1 2 15
2526cat > confcache <<\EOF
2527# This file is a shell script that caches the results of configure
2528# tests run on this system so they can be shared between configure
2529# scripts and configure runs. It is not useful on other systems.
2530# If it contains results you don't want to keep, you may remove or edit it.
2531#
2532# By default, configure uses ./config.cache as the cache file,
2533# creating it if it does not exist already. You can give configure
2534# the --cache-file=FILE option to use a different cache file; that is
2535# what configure does when it calls configure scripts in
2536# subdirectories, so they share the cache.
2537# Giving --cache-file=/dev/null disables caching, for debugging configure.
2538# config.status only pays attention to the cache file if you give it the
2539# --recheck option to rerun configure.
2540#
2541EOF
2542# The following way of writing the cache mishandles newlines in values,
2543# but we know of no workaround that is simple, portable, and efficient.
2544# So, don't put newlines in cache variables' values.
2545# Ultrix sh set writes to stderr and can't be redirected directly,
2546# and sets the high bit in the cache file unless we assign to the vars.
2547(set) 2>&1 |
2548 case `(ac_space=' '; set) 2>&1 | grep ac_space` in
2549 *ac_space=\ *)
2550 # `set' does not quote correctly, so add quotes (double-quote substitution
2551 # turns \\\\ into \\, and sed turns \\ into \).
2552 sed -n \
2553 -e "s/'/'\\\\''/g" \
2554 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2555 ;;
2556 *)
2557 # `set' quotes correctly as required by POSIX, so do not add quotes.
2558 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2559 ;;
2560 esac >> confcache
2561if cmp -s $cache_file confcache; then
2562 :
2563else
2564 if test -w $cache_file; then
2565 echo "updating cache $cache_file"
2566 cat confcache > $cache_file
2567 else
2568 echo "not updating unwritable cache $cache_file"
2569 fi
2570fi
2571rm -f confcache
2572
2573trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
2574
2575test "x$prefix" = xNONE && prefix=$ac_default_prefix
2576# Let make expand exec_prefix.
2577test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2578
2579# Any assignment to VPATH causes Sun make to only execute
2580# the first set of double-colon rules, so remove it if not needed.
2581# If there is a colon in the path, we need to keep it.
2582if test "x$srcdir" = x.; then
2583 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
2584fi
2585
2586trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
2587
2588DEFS=-DHAVE_CONFIG_H
2589
2590# Without the "./", some shells look in PATH for config.status.
2591: ${CONFIG_STATUS=./config.status}
2592
2593echo creating $CONFIG_STATUS
2594rm -f $CONFIG_STATUS
2595cat > $CONFIG_STATUS <<EOF
2596#! /bin/sh
2597# Generated automatically by configure.
2598# Run this file to recreate the current configuration.
2599# This directory was configured as follows,
2600# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
2601#
2602# $0 $ac_configure_args
2603#
2604# Compiler output produced by configure, useful for debugging
2605# configure, is in ./config.log if it exists.
2606
2607ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
2608for ac_option
2609do
2610 case "\$ac_option" in
2611 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2612 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
2613 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
2614 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
2615 echo "$CONFIG_STATUS generated by autoconf version 2.12.1"
2616 exit 0 ;;
2617 -help | --help | --hel | --he | --h)
2618 echo "\$ac_cs_usage"; exit 0 ;;
2619 *) echo "\$ac_cs_usage"; exit 1 ;;
2620 esac
2621done
2622
2623ac_given_srcdir=$srcdir
2624ac_given_INSTALL="$INSTALL"
2625
2626trap 'rm -fr `echo "Makefile config.h:config.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
2627EOF
2628cat >> $CONFIG_STATUS <<EOF
2629
2630# Protect against being on the right side of a sed subst in config.status.
2631sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
2632 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
2633$ac_vpsub
2634$extrasub
2635s%@SHELL@%$SHELL%g
2636s%@CFLAGS@%$CFLAGS%g
2637s%@CPPFLAGS@%$CPPFLAGS%g
2638s%@CXXFLAGS@%$CXXFLAGS%g
2639s%@DEFS@%$DEFS%g
2640s%@LDFLAGS@%$LDFLAGS%g
2641s%@LIBS@%$LIBS%g
2642s%@exec_prefix@%$exec_prefix%g
2643s%@prefix@%$prefix%g
2644s%@program_transform_name@%$program_transform_name%g
2645s%@bindir@%$bindir%g
2646s%@sbindir@%$sbindir%g
2647s%@libexecdir@%$libexecdir%g
2648s%@datadir@%$datadir%g
2649s%@sysconfdir@%$sysconfdir%g
2650s%@sharedstatedir@%$sharedstatedir%g
2651s%@localstatedir@%$localstatedir%g
2652s%@libdir@%$libdir%g
2653s%@includedir@%$includedir%g
2654s%@oldincludedir@%$oldincludedir%g
2655s%@infodir@%$infodir%g
2656s%@mandir@%$mandir%g
2657s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
2658s%@INSTALL_DATA@%$INSTALL_DATA%g
2659s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
2660s%@SET_MAKE@%$SET_MAKE%g
2661s%@CC@%$CC%g
2662s%@RANLIB@%$RANLIB%g
2663s%@CPP@%$CPP%g
2664s%@ALLOCA@%$ALLOCA%g
2665s%@USE_NLS@%$USE_NLS%g
2666s%@MSGFMT@%$MSGFMT%g
2667s%@GMSGFMT@%$GMSGFMT%g
2668s%@XGETTEXT@%$XGETTEXT%g
2669s%@USE_INCLUDED_LIBINTL@%$USE_INCLUDED_LIBINTL%g
2670s%@CATALOGS@%$CATALOGS%g
2671s%@CATOBJEXT@%$CATOBJEXT%g
2672s%@DATADIRNAME@%$DATADIRNAME%g
2673s%@GMOFILES@%$GMOFILES%g
2674s%@INSTOBJEXT@%$INSTOBJEXT%g
2675s%@INTLDEPS@%$INTLDEPS%g
2676s%@INTLLIBS@%$INTLLIBS%g
2677s%@INTLOBJS@%$INTLOBJS%g
2678s%@POFILES@%$POFILES%g
2679s%@POSUB@%$POSUB%g
2680s%@INCLUDE_LOCALE_H@%$INCLUDE_LOCALE_H%g
2681s%@GT_NO@%$GT_NO%g
2682s%@GT_YES@%$GT_YES%g
2683s%@MKINSTALLDIRS@%$MKINSTALLDIRS%g
2684s%@l@%$l%g
2685
2686CEOF
2687EOF
2688
2689cat >> $CONFIG_STATUS <<\EOF
2690
2691# Split the substitutions into bite-sized pieces for seds with
2692# small command number limits, like on Digital OSF/1 and HP-UX.
2693ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
2694ac_file=1 # Number of current file.
2695ac_beg=1 # First line for current file.
2696ac_end=$ac_max_sed_cmds # Line after last line for current file.
2697ac_more_lines=:
2698ac_sed_cmds=""
2699while $ac_more_lines; do
2700 if test $ac_beg -gt 1; then
2701 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
2702 else
2703 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
2704 fi
2705 if test ! -s conftest.s$ac_file; then
2706 ac_more_lines=false
2707 rm -f conftest.s$ac_file
2708 else
2709 if test -z "$ac_sed_cmds"; then
2710 ac_sed_cmds="sed -f conftest.s$ac_file"
2711 else
2712 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
2713 fi
2714 ac_file=`expr $ac_file + 1`
2715 ac_beg=$ac_end
2716 ac_end=`expr $ac_end + $ac_max_sed_cmds`
2717 fi
2718done
2719if test -z "$ac_sed_cmds"; then
2720 ac_sed_cmds=cat
2721fi
2722EOF
2723
2724cat >> $CONFIG_STATUS <<EOF
2725
2726CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
2727EOF
2728cat >> $CONFIG_STATUS <<\EOF
2729for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
2730 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2731 case "$ac_file" in
2732 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
2733 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
2734 *) ac_file_in="${ac_file}.in" ;;
2735 esac
2736
2737 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
2738
2739 # Remove last slash and all that follows it. Not all systems have dirname.
2740 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
2741 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2742 # The file is in a subdirectory.
2743 test ! -d "$ac_dir" && mkdir "$ac_dir"
2744 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
2745 # A "../" for each directory in $ac_dir_suffix.
2746 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
2747 else
2748 ac_dir_suffix= ac_dots=
2749 fi
2750
2751 case "$ac_given_srcdir" in
2752 .) srcdir=.
2753 if test -z "$ac_dots"; then top_srcdir=.
2754 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
2755 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
2756 *) # Relative path.
2757 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
2758 top_srcdir="$ac_dots$ac_given_srcdir" ;;
2759 esac
2760
2761 case "$ac_given_INSTALL" in
2762 [/$]*) INSTALL="$ac_given_INSTALL" ;;
2763 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
2764 esac
2765
2766 echo creating "$ac_file"
2767 rm -f "$ac_file"
2768 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
2769 case "$ac_file" in
2770 *Makefile*) ac_comsub="1i\\
2771# $configure_input" ;;
2772 *) ac_comsub= ;;
2773 esac
2774
2775 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2776 sed -e "$ac_comsub
2777s%@configure_input@%$configure_input%g
2778s%@srcdir@%$srcdir%g
2779s%@top_srcdir@%$top_srcdir%g
2780s%@INSTALL@%$INSTALL%g
2781" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
2782fi; done
2783rm -f conftest.s*
2784
2785# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
2786# NAME is the cpp macro being defined and VALUE is the value it is being given.
2787#
2788# ac_d sets the value in "#define NAME VALUE" lines.
2789ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
2790ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
2791ac_dC='\3'
2792ac_dD='%g'
2793# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
2794ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
2795ac_uB='\([ ]\)%\1#\2define\3'
2796ac_uC=' '
2797ac_uD='\4%g'
2798# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
2799ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
2800ac_eB='$%\1#\2define\3'
2801ac_eC=' '
2802ac_eD='%g'
2803
2804if test "${CONFIG_HEADERS+set}" != set; then
2805EOF
2806cat >> $CONFIG_STATUS <<EOF
2807 CONFIG_HEADERS="config.h:config.in"
2808EOF
2809cat >> $CONFIG_STATUS <<\EOF
2810fi
2811for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
2812 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2813 case "$ac_file" in
2814 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
2815 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
2816 *) ac_file_in="${ac_file}.in" ;;
2817 esac
2818
2819 echo creating $ac_file
2820
2821 rm -f conftest.frag conftest.in conftest.out
2822 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2823 cat $ac_file_inputs > conftest.in
2824
2825EOF
2826
2827# Transform confdefs.h into a sed script conftest.vals that substitutes
2828# the proper values into config.h.in to produce config.h. And first:
2829# Protect against being on the right side of a sed subst in config.status.
2830# Protect against being in an unquoted here document in config.status.
2831rm -f conftest.vals
2832cat > conftest.hdr <<\EOF
2833s/[\\&%]/\\&/g
2834s%[\\$`]%\\&%g
2835s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
2836s%ac_d%ac_u%gp
2837s%ac_u%ac_e%gp
2838EOF
2839sed -n -f conftest.hdr confdefs.h > conftest.vals
2840rm -f conftest.hdr
2841
2842# This sed command replaces #undef with comments. This is necessary, for
2843# example, in the case of _POSIX_SOURCE, which is predefined and required
2844# on some systems where configure will not decide to define it.
2845cat >> conftest.vals <<\EOF
2846s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
2847EOF
2848
2849# Break up conftest.vals because some shells have a limit on
2850# the size of here documents, and old seds have small limits too.
2851
2852rm -f conftest.tail
2853while :
2854do
2855 ac_lines=`grep -c . conftest.vals`
2856 # grep -c gives empty output for an empty file on some AIX systems.
2857 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
2858 # Write a limited-size here document to conftest.frag.
2859 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
2860 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
2861 echo 'CEOF
2862 sed -f conftest.frag conftest.in > conftest.out
2863 rm -f conftest.in
2864 mv conftest.out conftest.in
2865' >> $CONFIG_STATUS
2866 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
2867 rm -f conftest.vals
2868 mv conftest.tail conftest.vals
2869done
2870rm -f conftest.vals
2871
2872cat >> $CONFIG_STATUS <<\EOF
2873 rm -f conftest.frag conftest.h
2874 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
2875 cat conftest.in >> conftest.h
2876 rm -f conftest.in
2877 if cmp -s $ac_file conftest.h 2>/dev/null; then
2878 echo "$ac_file is unchanged"
2879 rm -f conftest.h
2880 else
2881 # Remove last slash and all that follows it. Not all systems have dirname.
2882 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
2883 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2884 # The file is in a subdirectory.
2885 test ! -d "$ac_dir" && mkdir "$ac_dir"
2886 fi
2887 rm -f $ac_file
2888 mv conftest.h $ac_file
2889 fi
2890fi; done
2891
2892EOF
2893
2894cat >> $CONFIG_STATUS <<EOF
2895ac_sources="$nls_cv_header_libgt"
2896ac_dests="$nls_cv_header_intl"
2897EOF
2898
2899cat >> $CONFIG_STATUS <<\EOF
2900srcdir=$ac_given_srcdir
2901while test -n "$ac_sources"; do
2902 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
2903 set $ac_sources; ac_source=$1; shift; ac_sources=$*
2904
2905 echo "linking $srcdir/$ac_source to $ac_dest"
2906
2907 if test ! -r $srcdir/$ac_source; then
2908 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
2909 fi
2910 rm -f $ac_dest
2911
2912 # Make relative symlinks.
2913 # Remove last slash and all that follows it. Not all systems have dirname.
2914 ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
2915 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
2916 # The dest file is in a subdirectory.
2917 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
2918 ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
2919 # A "../" for each directory in $ac_dest_dir_suffix.
2920 ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
2921 else
2922 ac_dest_dir_suffix= ac_dots=
2923 fi
2924
2925 case "$srcdir" in
2926 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
2927 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
2928 esac
2929
2930 # Make a symlink if possible; otherwise try a hard link.
2931 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
2932 ln $srcdir/$ac_source $ac_dest; then :
2933 else
2934 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
2935 fi
2936done
2937EOF
2938cat >> $CONFIG_STATUS <<EOF
2939
2940
2941EOF
2942cat >> $CONFIG_STATUS <<\EOF
2943test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
2944
2945exit 0
2946EOF
2947chmod +x $CONFIG_STATUS
2948rm -fr confdefs* $ac_clean_files
2949test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
2950
This page took 0.146244 seconds and 4 git commands to generate.