2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by Autoconf 2.52.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
10 # Avoid depending upon Character Ranges.
11 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14 as_cr_digits
='0123456789'
15 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17 # Sed expression to map a string onto a valid variable name.
18 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
20 # Sed expression to map a string onto a valid CPP name.
21 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
23 # Be Bourne compatible
24 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
27 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
31 # Name of the executable.
32 as_me
=`echo "$0" |sed 's,.*[\\/],,'`
34 if expr a
: '\(a\)' >/dev
/null
2>&1; then
40 rm -f conf$$ conf$$.exe conf$$.
file
42 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
43 # We could just check for DJGPP; but this test a) works b) is more generic
44 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
45 if test -f conf$$.exe
; then
46 # Don't use ln at all; we don't have any links
51 elif ln conf$$.
file conf$$
2>/dev
/null
; then
56 rm -f conf$$ conf$$.exe conf$$.
file
58 as_executable_p
="test -f"
60 # Support unset when possible.
61 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
68 $as_unset LANG ||
test "${LANG+set}" != set ||
{ LANG
=C
; export LANG
; }
69 $as_unset LC_ALL ||
test "${LC_ALL+set}" != set ||
{ LC_ALL
=C
; export LC_ALL
; }
70 $as_unset LC_TIME ||
test "${LC_TIME+set}" != set ||
{ LC_TIME
=C
; export LC_TIME
; }
71 $as_unset LC_CTYPE ||
test "${LC_CTYPE+set}" != set ||
{ LC_CTYPE
=C
; export LC_CTYPE
; }
72 $as_unset LANGUAGE ||
test "${LANGUAGE+set}" != set ||
{ LANGUAGE
=C
; export LANGUAGE
; }
73 $as_unset LC_COLLATE ||
test "${LC_COLLATE+set}" != set ||
{ LC_COLLATE
=C
; export LC_COLLATE
; }
74 $as_unset LC_NUMERIC ||
test "${LC_NUMERIC+set}" != set ||
{ LC_NUMERIC
=C
; export LC_NUMERIC
; }
75 $as_unset LC_MESSAGES ||
test "${LC_MESSAGES+set}" != set ||
{ LC_MESSAGES
=C
; export LC_MESSAGES
; }
78 # We need space, tab and new line, in precisely that order.
84 $as_unset CDPATH ||
test "${CDPATH+set}" != set ||
{ CDPATH
=:; export CDPATH
; }
87 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
88 # so uname gets run too.
89 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
96 ac_default_prefix
=/usr
/local
100 SHELL
=${CONFIG_SHELL-/bin/sh}
102 # Maximum number of lines to put in a shell here document.
103 # This variable seems obsolete. It should probably be removed, and
104 # only ac_max_sed_lines should be used.
105 : ${ac_max_here_lines=38}
107 ac_unique_file
="gliv.c"
109 # Initialize some variables set by options.
111 ac_init_version
=false
112 # The variables have the same names as the options, with
113 # dashes changed to underlines.
121 program_transform_name
=s
,x
,x
,
129 # Installation directory options.
130 # These are left unexpanded so users can "make install exec_prefix=/foo"
131 # and all the variables that are supposed to be based on exec_prefix
132 # by default will actually change.
133 # Use braces instead of parens because sh, perl, etc. also accept them.
134 bindir
='${exec_prefix}/bin'
135 sbindir
='${exec_prefix}/sbin'
136 libexecdir
='${exec_prefix}/libexec'
137 datadir
='${prefix}/share'
138 sysconfdir
='${prefix}/etc'
139 sharedstatedir
='${prefix}/com'
140 localstatedir
='${prefix}/var'
141 libdir
='${exec_prefix}/lib'
142 includedir
='${prefix}/include'
143 oldincludedir
='/usr/include'
144 infodir
='${prefix}/info'
145 mandir
='${prefix}/man'
147 # Identity of this package.
157 # If the previous option needs an argument, assign it.
158 if test -n "$ac_prev"; then
159 eval "$ac_prev=\$ac_option"
164 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
166 # Accept the important Cygnus configure options, so we can diagnose typos.
170 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
172 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
175 -build |
--build |
--buil |
--bui |
--bu)
176 ac_prev
=build_alias
;;
177 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
178 build_alias
=$ac_optarg ;;
180 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
181 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
182 ac_prev
=cache_file
;;
183 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
184 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
185 cache_file
=$ac_optarg ;;
188 cache_file
=config.cache
;;
190 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
192 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
194 datadir
=$ac_optarg ;;
196 -disable-* |
--disable-*)
197 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
198 # Reject names that are not valid shell variable names.
199 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
200 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
201 { (exit 1); exit 1; }; }
202 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
203 eval "enable_$ac_feature=no" ;;
205 -enable-* |
--enable-*)
206 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
207 # Reject names that are not valid shell variable names.
208 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
209 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
210 { (exit 1); exit 1; }; }
211 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
213 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
216 eval "enable_$ac_feature='$ac_optarg'" ;;
218 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
219 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
220 |
--exec |
--exe |
--ex)
221 ac_prev
=exec_prefix
;;
222 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
223 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
224 |
--exec=* |
--exe=* |
--ex=*)
225 exec_prefix
=$ac_optarg ;;
227 -gas |
--gas |
--ga |
--g)
228 # Obsolete; use --with-gas.
231 -help |
--help |
--hel |
--he |
-h)
233 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
234 ac_init_help
=recursive
;;
235 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
236 ac_init_help
=short
;;
238 -host |
--host |
--hos |
--ho)
239 ac_prev
=host_alias
;;
240 -host=* |
--host=* |
--hos=* |
--ho=*)
241 host_alias
=$ac_optarg ;;
243 -includedir |
--includedir |
--includedi |
--included |
--include \
244 |
--includ |
--inclu |
--incl |
--inc)
245 ac_prev
=includedir
;;
246 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
247 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
248 includedir
=$ac_optarg ;;
250 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
252 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
253 infodir
=$ac_optarg ;;
255 -libdir |
--libdir |
--libdi |
--libd)
257 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
260 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
261 |
--libexe |
--libex |
--libe)
262 ac_prev
=libexecdir
;;
263 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
264 |
--libexe=* |
--libex=* |
--libe=*)
265 libexecdir
=$ac_optarg ;;
267 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
268 |
--localstate |
--localstat |
--localsta |
--localst \
269 |
--locals |
--local |
--loca |
--loc |
--lo)
270 ac_prev
=localstatedir
;;
271 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
272 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
273 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
274 localstatedir
=$ac_optarg ;;
276 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
278 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
282 # Obsolete; use --without-fp.
285 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
289 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
290 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
293 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
294 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
295 |
--oldin |
--oldi |
--old |
--ol |
--o)
296 ac_prev
=oldincludedir
;;
297 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
298 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
299 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
300 oldincludedir
=$ac_optarg ;;
302 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
304 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
307 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
308 |
--program-pre |
--program-pr |
--program-p)
309 ac_prev
=program_prefix
;;
310 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
311 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
312 program_prefix
=$ac_optarg ;;
314 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
315 |
--program-suf |
--program-su |
--program-s)
316 ac_prev
=program_suffix
;;
317 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
318 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
319 program_suffix
=$ac_optarg ;;
321 -program-transform-name |
--program-transform-name \
322 |
--program-transform-nam |
--program-transform-na \
323 |
--program-transform-n |
--program-transform- \
324 |
--program-transform |
--program-transfor \
325 |
--program-transfo |
--program-transf \
326 |
--program-trans |
--program-tran \
327 |
--progr-tra |
--program-tr |
--program-t)
328 ac_prev
=program_transform_name
;;
329 -program-transform-name=* |
--program-transform-name=* \
330 |
--program-transform-nam=* |
--program-transform-na=* \
331 |
--program-transform-n=* |
--program-transform-=* \
332 |
--program-transform=* |
--program-transfor=* \
333 |
--program-transfo=* |
--program-transf=* \
334 |
--program-trans=* |
--program-tran=* \
335 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
336 program_transform_name
=$ac_optarg ;;
338 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
339 |
-silent |
--silent |
--silen |
--sile |
--sil)
342 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
344 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
346 sbindir
=$ac_optarg ;;
348 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
349 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
350 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
352 ac_prev
=sharedstatedir
;;
353 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
354 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
355 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
357 sharedstatedir
=$ac_optarg ;;
359 -site |
--site |
--sit)
361 -site=* |
--site=* |
--sit=*)
364 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
366 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
369 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
370 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
371 ac_prev
=sysconfdir
;;
372 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
373 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
374 sysconfdir
=$ac_optarg ;;
376 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
377 ac_prev
=target_alias
;;
378 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
379 target_alias
=$ac_optarg ;;
381 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
384 -version |
--version |
--versio |
--versi |
--vers |
-V)
388 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
389 # Reject names that are not valid shell variable names.
390 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
391 { echo "$as_me: error: invalid package name: $ac_package" >&2
392 { (exit 1); exit 1; }; }
393 ac_package
=`echo $ac_package| sed 's/-/_/g'`
395 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
398 eval "with_$ac_package='$ac_optarg'" ;;
400 -without-* |
--without-*)
401 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
402 # Reject names that are not valid shell variable names.
403 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
404 { echo "$as_me: error: invalid package name: $ac_package" >&2
405 { (exit 1); exit 1; }; }
406 ac_package
=`echo $ac_package | sed 's/-/_/g'`
407 eval "with_$ac_package=no" ;;
410 # Obsolete; use --with-x.
413 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
414 |
--x-incl |
--x-inc |
--x-in |
--x-i)
415 ac_prev
=x_includes
;;
416 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
417 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
418 x_includes
=$ac_optarg ;;
420 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
421 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
422 ac_prev
=x_libraries
;;
423 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
424 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
425 x_libraries
=$ac_optarg ;;
427 -*) { echo "$as_me: error: unrecognized option: $ac_option
428 Try \`$0 --help' for more information." >&2
429 { (exit 1); exit 1; }; }
433 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
434 # Reject names that are not valid shell variable names.
435 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
436 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
437 { (exit 1); exit 1; }; }
438 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
439 eval "$ac_envvar='$ac_optarg'"
443 # FIXME: should be removed in autoconf 3.0.
444 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
445 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
446 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
447 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
453 if test -n "$ac_prev"; then
454 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
455 { echo "$as_me: error: missing argument to $ac_option" >&2
456 { (exit 1); exit 1; }; }
459 # Be sure to have absolute paths.
460 for ac_var
in exec_prefix prefix
462 eval ac_val
=$
`echo $ac_var`
464 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
465 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
466 { (exit 1); exit 1; }; };;
470 # Be sure to have absolute paths.
471 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
472 localstatedir libdir includedir oldincludedir infodir mandir
474 eval ac_val
=$
`echo $ac_var`
476 [\\/$
]* | ?
:[\\/]* ) ;;
477 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
478 { (exit 1); exit 1; }; };;
482 # There might be people who depend on the old broken behavior: `$host'
483 # used to hold the argument of --host etc.
488 # FIXME: should be removed in autoconf 3.0.
489 if test "x$host_alias" != x
; then
490 if test "x$build_alias" = x
; then
491 cross_compiling
=maybe
492 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
493 If a cross compiler is detected then cross compile mode will be used." >&2
494 elif test "x$build_alias" != "x$host_alias"; then
500 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
502 test "$silent" = yes && exec 6>/dev
/null
504 # Find the source files, if location was not specified.
505 if test -z "$srcdir"; then
506 ac_srcdir_defaulted
=yes
507 # Try the directory containing this script, then its parent.
509 ac_confdir
=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
510 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
512 if test ! -r $srcdir/$ac_unique_file; then
516 ac_srcdir_defaulted
=no
518 if test ! -r $srcdir/$ac_unique_file; then
519 if test "$ac_srcdir_defaulted" = yes; then
520 { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
521 { (exit 1); exit 1; }; }
523 { echo "$as_me: error: cannot find sources in $srcdir" >&2
524 { (exit 1); exit 1; }; }
527 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
528 ac_env_build_alias_set
=${build_alias+set}
529 ac_env_build_alias_value
=$build_alias
530 ac_cv_env_build_alias_set
=${build_alias+set}
531 ac_cv_env_build_alias_value
=$build_alias
532 ac_env_host_alias_set
=${host_alias+set}
533 ac_env_host_alias_value
=$host_alias
534 ac_cv_env_host_alias_set
=${host_alias+set}
535 ac_cv_env_host_alias_value
=$host_alias
536 ac_env_target_alias_set
=${target_alias+set}
537 ac_env_target_alias_value
=$target_alias
538 ac_cv_env_target_alias_set
=${target_alias+set}
539 ac_cv_env_target_alias_value
=$target_alias
540 ac_env_CC_set
=${CC+set}
542 ac_cv_env_CC_set
=${CC+set}
543 ac_cv_env_CC_value
=$CC
544 ac_env_CFLAGS_set
=${CFLAGS+set}
545 ac_env_CFLAGS_value
=$CFLAGS
546 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
547 ac_cv_env_CFLAGS_value
=$CFLAGS
548 ac_env_LDFLAGS_set
=${LDFLAGS+set}
549 ac_env_LDFLAGS_value
=$LDFLAGS
550 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
551 ac_cv_env_LDFLAGS_value
=$LDFLAGS
552 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
553 ac_env_CPPFLAGS_value
=$CPPFLAGS
554 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
555 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
556 ac_env_CPP_set
=${CPP+set}
557 ac_env_CPP_value
=$CPP
558 ac_cv_env_CPP_set
=${CPP+set}
559 ac_cv_env_CPP_value
=$CPP
562 # Report the --help message.
564 if test "$ac_init_help" = "long"; then
565 # Omit some internal or obsolete options to make the list less imposing.
566 # This message is too long to be a string in the A/UX 3.1 sh.
568 \`configure' configures this package to adapt to many kinds of systems.
570 Usage: $0 [OPTION]... [VAR=VALUE]...
572 To assign environment variables (e.g., CC, CFLAGS...), specify them as
573 VAR=VALUE. See below for descriptions of some of the useful variables.
575 Defaults for the options are specified in brackets.
578 -h, --help display this help and exit
579 --help=short display options specific to this package
580 --help=recursive display the short help of all the included packages
581 -V, --version display version information and exit
582 -q, --quiet, --silent do not print \`checking...' messages
583 --cache-file=FILE cache test results in FILE [disabled]
584 -C, --config-cache alias for \`--cache-file=config.cache'
585 -n, --no-create do not create output files
586 --srcdir=DIR find the sources in DIR [configure dir or \`..']
591 Installation directories:
592 --prefix=PREFIX install architecture-independent files in PREFIX
594 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
597 By default, \`make install' will install all the files in
598 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
599 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
600 for instance \`--prefix=\$HOME'.
602 For better control, use the options below.
604 Fine tuning of the installation directories:
605 --bindir=DIR user executables [EPREFIX/bin]
606 --sbindir=DIR system admin executables [EPREFIX/sbin]
607 --libexecdir=DIR program executables [EPREFIX/libexec]
608 --datadir=DIR read-only architecture-independent data [PREFIX/share]
609 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
610 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
611 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
612 --libdir=DIR object code libraries [EPREFIX/lib]
613 --includedir=DIR C header files [PREFIX/include]
614 --oldincludedir=DIR C header files for non-gcc [/usr/include]
615 --infodir=DIR info documentation [PREFIX/info]
616 --mandir=DIR man documentation [PREFIX/man]
622 --program-prefix=PREFIX prepend PREFIX to installed program names
623 --program-suffix=SUFFIX append SUFFIX to installed program names
624 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
627 --x-includes=DIR X include files are
in DIR
628 --x-libraries=DIR X library files are
in DIR
631 --build=BUILD configure
for building on BUILD
[guessed
]
632 --host=HOST build programs to run on HOST
[BUILD
]
636 if test -n "$ac_init_help"; then
641 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
642 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
643 --disable-dependency-tracking Speeds up one-time builds
644 --enable-dependency-tracking Do not reject slow dependency extractors
647 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
648 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
649 --with-x use the X Window System
651 Some influential environment variables
:
652 CC C compiler
command
653 CFLAGS C compiler flags
654 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
655 nonstandard directory
<lib dir
>
656 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
657 headers
in a nonstandard directory
<include dir
>
660 Use these variables to override the choices made by
`configure' or to help
661 it to find libraries and programs with nonstandard names/locations.
666 if test "$ac_init_help" = "recursive"; then
667 # If there are subdirs, report their specific --help.
669 for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
671 # A "../" for each directory in /$ac_subdir.
672 ac_dots=`echo $ac_subdir |
673 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
676 .) # No --srcdir option. We are building in place.
677 ac_sub_srcdir=$srcdir ;;
678 [\\/]* | ?:[\\/]* ) # Absolute path.
679 ac_sub_srcdir=$srcdir/$ac_subdir ;;
681 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
684 # Check for guested configure; otherwise get Cygnus style configure.
685 if test -f $ac_sub_srcdir/configure.gnu; then
687 $SHELL $ac_sub_srcdir/configure.gnu --help=recursive
688 elif test -f $ac_sub_srcdir/configure; then
690 $SHELL $ac_sub_srcdir/configure --help=recursive
691 elif test -f $ac_sub_srcdir/configure.ac ||
692 test -f $ac_sub_srcdir/configure.in; then
696 echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
702 test -n "$ac_init_help" && exit 0
703 if $ac_init_version; then
706 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
707 Free Software Foundation, Inc.
708 This configure script is free software; the Free Software Foundation
709 gives unlimited permission to copy, distribute and modify it.
715 This file contains any messages produced by compilers while
716 running configure, to aid debugging if configure makes a mistake.
718 It was created by $as_me, which was
719 generated by GNU Autoconf 2.52. Invocation command line was
730 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
731 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
732 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
733 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
734 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
736 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
737 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
739 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
740 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
741 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
742 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
743 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
744 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
745 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
759 # Keep a trace of the command line.
760 # Strip out --no-create and --no-recursion so they do not pile up.
761 # Also quote any args containing shell meta-characters.
767 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
768 | --no-cr | --no-c) ;;
769 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
770 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
771 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
772 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"`
773 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
775 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
778 # Get rid of the leading space.
781 # When interrupted or exit'd, cleanup temporary files, and complete
782 # config.log. We remove comments because anyway the quotes in there
783 # would cause problems or look ugly.
785 # Save into config.log some information that might help in debugging.
787 echo "## ----------------- ##" >&5
788 echo "## Cache variables. ##" >&5
789 echo "## ----------------- ##" >&5
791 # The following way of writing the cache mishandles newlines in values,
794 case `(ac_space
='"'"' '"'"'; set |
grep ac_space
) 2>&1` in
797 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
798 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
802 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
806 sed "/^$/d" confdefs.h >conftest.log
807 if test -s conftest.log; then
809 echo "## ------------ ##" >&5
810 echo "## confdefs.h. ##" >&5
811 echo "## ------------ ##" >&5
816 test "$ac_signal" != 0 &&
817 echo "$as_me: caught signal $ac_signal" >&5
818 echo "$as_me: exit $exit_status" >&5
819 rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
822 for ac_signal in 1 2 13 15; do
823 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
827 # confdefs.h avoids OS command line length limits that DEFS can exceed.
828 rm -rf conftest* confdefs.h
829 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
832 # Let the site file select an alternate cache file if it wants to.
833 # Prefer explicitly selected file to automatically selected ones.
834 if test -z "$CONFIG_SITE"; then
835 if test "x$prefix" != xNONE; then
836 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
838 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
841 for ac_site_file in $CONFIG_SITE; do
842 if test -r "$ac_site_file"; then
843 { echo "$as_me:843: loading site script $ac_site_file" >&5
844 echo "$as_me: loading site script $ac_site_file" >&6;}
845 cat "$ac_site_file" >&5
850 if test -r "$cache_file"; then
851 # Some versions of bash will fail to source /dev/null (special
852 # files actually), so we avoid doing that.
853 if test -f "$cache_file"; then
854 { echo "$as_me:854: loading cache $cache_file" >&5
855 echo "$as_me: loading cache $cache_file" >&6;}
857 [\\/]* | ?:[\\/]* ) . $cache_file;;
862 { echo "$as_me:862: creating cache $cache_file" >&5
863 echo "$as_me: creating cache $cache_file" >&6;}
867 # Check that the precious variables saved in the cache have kept the same
869 ac_cache_corrupted=false
870 for ac_var in `(set) 2>&1 |
871 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
872 eval ac_old_set=\$ac_cv_env_${ac_var}_set
873 eval ac_new_set=\$ac_env_${ac_var}_set
874 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
875 eval ac_new_val="\$ac_env_${ac_var}_value"
876 case $ac_old_set,$ac_new_set in
878 { echo "$as_me:878: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
879 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
880 ac_cache_corrupted=: ;;
882 { echo "$as_me:882: error: \`$ac_var' was not
set in the previous run
" >&5
883 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
884 ac_cache_corrupted=: ;;
887 if test "x$ac_old_val" != "x$ac_new_val"; then
888 { echo "$as_me:888: error: \`$ac_var' has changed since the previous run:" >&5
889 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
890 { echo "$as_me:890: former value
: $ac_old_val" >&5
891 echo "$as_me: former value
: $ac_old_val" >&2;}
892 { echo "$as_me:892: current value
: $ac_new_val" >&5
893 echo "$as_me: current value
: $ac_new_val" >&2;}
897 # Pass precious variables to config.status. It doesn't matter if
898 # we pass some twice (in addition to the command line arguments).
899 if test "$ac_new_set" = set; then
901 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
902 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"`
903 ac_configure_args="$ac_configure_args '$ac_arg'"
905 *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
910 if $ac_cache_corrupted; then
911 { echo "$as_me:911: error
: changes
in the environment can compromise the build
" >&5
912 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
913 { { echo "$as_me:913: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
914 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
915 { (exit 1); exit 1; }; }
919 ac_cpp='$CPP $CPPFLAGS'
920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
924 case `echo "testing\c"; echo 1,2,3`,`echo -n testing
; echo 1,2,3` in
925 *c*,-n*) ECHO_N= ECHO_C='
927 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
928 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
930 echo "#! $SHELL" >conftest.sh
931 echo "exit 0" >>conftest.sh
933 if { (echo "$as_me:933: PATH=\".;.\"; conftest.sh") >&5
934 (PATH=".;."; conftest.sh) 2>&5
936 echo "$as_me:936: \$? = $ac_status" >&5
937 (exit $ac_status); }; then
938 ac_path_separator=';'
942 PATH_SEPARATOR="$ac_path_separator"
946 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
947 if test -f $ac_dir/install-sh; then
949 ac_install_sh="$ac_aux_dir/install-sh -c"
951 elif test -f $ac_dir/install.sh; then
953 ac_install_sh="$ac_aux_dir/install.sh -c"
955 elif test -f $ac_dir/shtool; then
957 ac_install_sh="$ac_aux_dir/shtool install -c"
961 if test -z "$ac_aux_dir"; then
962 { { echo "$as_me:962: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
963 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
964 { (exit 1); exit 1; }; }
966 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
967 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
968 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
970 # Make sure we can run config.sub.
971 $ac_config_sub sun4 >/dev/null 2>&1 ||
972 { { echo "$as_me:972: error: cannot run $ac_config_sub" >&5
973 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
974 { (exit 1); exit 1; }; }
976 echo "$as_me:976: checking build system type" >&5
977 echo $ECHO_N "checking build system type... $ECHO_C" >&6
978 if test "${ac_cv_build+set}" = set; then
979 echo $ECHO_N "(cached) $ECHO_C" >&6
981 ac_cv_build_alias=$build_alias
982 test -z "$ac_cv_build_alias" &&
983 ac_cv_build_alias=`$ac_config_guess`
984 test -z "$ac_cv_build_alias" &&
985 { { echo "$as_me:985: error: cannot guess build type; you must specify one" >&5
986 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
987 { (exit 1); exit 1; }; }
988 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
989 { { echo "$as_me:989: error: $ac_config_sub $ac_cv_build_alias failed." >&5
990 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
991 { (exit 1); exit 1; }; }
994 echo "$as_me:994: result: $ac_cv_build" >&5
995 echo "${ECHO_T}$ac_cv_build" >&6
997 build_cpu=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
998 build_vendor=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
999 build_os=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1001 echo "$as_me:1001: checking host system type" >&5
1002 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1003 if test "${ac_cv_host+set}" = set; then
1004 echo $ECHO_N "(cached) $ECHO_C" >&6
1006 ac_cv_host_alias=$host_alias
1007 test -z "$ac_cv_host_alias" &&
1008 ac_cv_host_alias=$ac_cv_build_alias
1009 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1010 { { echo "$as_me:1010: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1011 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1012 { (exit 1); exit 1; }; }
1015 echo "$as_me:1015: result: $ac_cv_host" >&5
1016 echo "${ECHO_T}$ac_cv_host" >&6
1018 host_cpu=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1019 host_vendor=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1020 host_os=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1022 # Find a good install program. We prefer a C program (faster),
1023 # so one script is as good as another. But avoid the broken or
1024 # incompatible versions:
1025 # SysV /etc/install, /usr/sbin/install
1026 # SunOS /usr/etc/install
1027 # IRIX /sbin/install
1029 # AmigaOS /C/install, which installs bootblocks on floppy discs
1030 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1031 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1032 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1033 # ./install, which can be erroneously created by make from ./install.sh.
1034 echo "$as_me:1034: checking for a BSD compatible install" >&5
1035 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
1036 if test -z "$INSTALL"; then
1037 if test "${ac_cv_path_install+set}" = set; then
1038 echo $ECHO_N "(cached) $ECHO_C" >&6
1040 ac_save_IFS=$IFS; IFS=$ac_path_separator
1041 for ac_dir in $PATH; do
1043 # Account for people who put trailing slashes in PATH elements.
1045 / | ./ | .// | /cC/* \
1046 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
1049 # OSF1 and SCO ODT 3.0 have their own names for install.
1050 # Don't use installbsd from OSF since it installs stuff as root
1052 for ac_prog in ginstall scoinst install; do
1053 if $as_executable_p "$ac_dir/$ac_prog"; then
1054 if test $ac_prog = install &&
1055 grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
1056 # AIX install. It has an incompatible calling convention.
1058 elif test $ac_prog = install &&
1059 grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
1060 # program-specific install script used by HP pwplus--don't use.
1063 ac_cv_path_install="$ac_dir/$ac_prog -c"
1073 if test "${ac_cv_path_install+set}" = set; then
1074 INSTALL=$ac_cv_path_install
1076 # As a last resort, use the slow shell script. We don't cache a
1077 # path for INSTALL within a source directory, because that will
1078 # break other packages using the cache if that directory is
1079 # removed, or if the path is relative.
1080 INSTALL=$ac_install_sh
1083 echo "$as_me:1083: result: $INSTALL" >&5
1084 echo "${ECHO_T}$INSTALL" >&6
1086 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1087 # It thinks the first close brace ends the variable substitution.
1088 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1090 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1092 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1094 echo "$as_me:1094: checking whether build environment is sane" >&5
1095 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1098 echo timestamp > conftest.file
1099 # Do `set' in a subshell so we don't clobber the current shell
's
1100 # arguments. Must try -L first in case configure is actually a
1101 # symlink; some systems play weird games with the mod time of symlinks
1102 # (eg FreeBSD returns the mod time of the symlink's containing
1105 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1106 if test "$*" = "X"; then
1108 set X
`ls -t $srcdir/configure conftest.file`
1111 if test "$*" != "X $srcdir/configure conftest.file" \
1112 && test "$*" != "X conftest.file $srcdir/configure"; then
1114 # If neither matched, then we have a broken ls. This can happen
1115 # if, for instance, CONFIG_SHELL is bash and it inherits a
1116 # broken ls alias from the environment. This has actually
1117 # happened. Such a system could not be considered "sane".
1118 { { echo "$as_me:1118: error: ls -t appears to fail. Make sure there is not a broken
1119 alias in your environment" >&5
1120 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1121 alias in your environment" >&2;}
1122 { (exit 1); exit 1; }; }
1125 test "$2" = conftest.
file
1131 { { echo "$as_me:1131: error: newly created file is older than distributed files!
1132 Check your system clock" >&5
1133 echo "$as_me: error: newly created file is older than distributed files!
1134 Check your system clock" >&2;}
1135 { (exit 1); exit 1; }; }
1137 echo "$as_me:1137: result: yes" >&5
1138 echo "${ECHO_T}yes" >&6
1139 test "$program_prefix" != NONE
&&
1140 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1141 # Use a double $ so make ignores it.
1142 test "$program_suffix" != NONE
&&
1143 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1144 # Double any \ or $. echo might interpret backslashes.
1145 # By default was `s,x,x', remove it if useless.
1146 cat <<\_ACEOF
>conftest.
sed
1147 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1149 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1152 # expand $ac_aux_dir to an absolute path
1153 am_aux_dir
=`CDPATH=:; cd $ac_aux_dir && pwd`
1155 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1156 # Use eval to expand $SHELL
1157 if eval "$MISSING --run true"; then
1158 am_missing_run
="$MISSING --run "
1162 { echo "$as_me:1162: WARNING: ${am_backtick}missing' script is too old or missing" >&5
1163 echo "$as_me: WARNING: ${am_backtick}missing' script is too old or missing" >&2;}
1166 for ac_prog
in mawk gawk nawk
awk
1168 # Extract the first word of "$ac_prog", so it can be a program name with args.
1169 set dummy
$ac_prog; ac_word
=$2
1170 echo "$as_me:1170: checking for $ac_word" >&5
1171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1172 if test "${ac_cv_prog_AWK+set}" = set; then
1173 echo $ECHO_N "(cached) $ECHO_C" >&6
1175 if test -n "$AWK"; then
1176 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1178 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1180 for ac_dir
in $ac_dummy; do
1182 test -z "$ac_dir" && ac_dir
=.
1183 $as_executable_p "$ac_dir/$ac_word" ||
continue
1184 ac_cv_prog_AWK
="$ac_prog"
1185 echo "$as_me:1185: found $ac_dir/$ac_word" >&5
1192 if test -n "$AWK"; then
1193 echo "$as_me:1193: result: $AWK" >&5
1194 echo "${ECHO_T}$AWK" >&6
1196 echo "$as_me:1196: result: no" >&5
1197 echo "${ECHO_T}no" >&6
1200 test -n "$AWK" && break
1203 echo "$as_me:1203: checking whether ${MAKE-make} sets \${MAKE}" >&5
1204 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1205 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
1206 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1207 echo $ECHO_N "(cached) $ECHO_C" >&6
1209 cat >conftest.
make <<\EOF
1211 @
echo 'ac_maketemp="${MAKE}"'
1213 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1214 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1215 if test -n "$ac_maketemp"; then
1216 eval ac_cv_prog_make_
${ac_make}_set
=yes
1218 eval ac_cv_prog_make_
${ac_make}_set
=no
1222 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1223 echo "$as_me:1223: result: yes" >&5
1224 echo "${ECHO_T}yes" >&6
1227 echo "$as_me:1227: result: no" >&5
1228 echo "${ECHO_T}no" >&6
1229 SET_MAKE
="MAKE=${MAKE-make}"
1232 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1233 if test "${enable_dependency_tracking+set}" = set; then
1234 enableval
="$enable_dependency_tracking"
1237 if test "x$enable_dependency_tracking" != xno
; then
1238 am_depcomp
="$ac_aux_dir/depcomp"
1242 if test "x$enable_dependency_tracking" != xno; then
1250 rm -f .deps
2>/dev
/null
1251 mkdir .deps
2>/dev
/null
1252 if test -d .deps
; then
1255 # MS-DOS does not allow filenames that begin with a dot.
1258 rmdir .deps
2>/dev
/null
1260 # test to see if srcdir already configured
1261 if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
1262 test -f $srcdir/config.status
; then
1263 { { echo "$as_me:1263: error: source directory already configured; run \"make distclean\" there first" >&5
1264 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1265 { (exit 1); exit 1; }; }
1268 # Define the identity of the package.
1272 cat >>confdefs.h
<<EOF
1273 #define PACKAGE "$PACKAGE"
1276 cat >>confdefs.h
<<EOF
1277 #define VERSION "$VERSION"
1280 # Autoconf 2.50 wants to disallow AM_ names. We explicitly allow
1281 # the ones we care about.
1283 # Autoconf 2.50 always computes EXEEXT. However we need to be
1284 # compatible with 2.13, for now. So we always define EXEEXT, but we
1287 # Similar for OBJEXT -- only we only use OBJEXT if the user actually
1288 # requests that it be used. This is a bit dumb.
1291 # Some tools Automake needs.
1293 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal"}
1295 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1297 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake"}
1299 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1301 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1303 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1305 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1307 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1309 # We need awk for the "check" target. The system "awk" is bad on
1313 ac_cpp
='$CPP $CPPFLAGS'
1314 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1315 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1316 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1317 if test -n "$ac_tool_prefix"; then
1318 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1319 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1320 echo "$as_me:1320: checking for $ac_word" >&5
1321 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1322 if test "${ac_cv_prog_CC+set}" = set; then
1323 echo $ECHO_N "(cached) $ECHO_C" >&6
1325 if test -n "$CC"; then
1326 ac_cv_prog_CC
="$CC" # Let the user override the test.
1328 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1330 for ac_dir
in $ac_dummy; do
1332 test -z "$ac_dir" && ac_dir
=.
1333 $as_executable_p "$ac_dir/$ac_word" ||
continue
1334 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1335 echo "$as_me:1335: found $ac_dir/$ac_word" >&5
1342 if test -n "$CC"; then
1343 echo "$as_me:1343: result: $CC" >&5
1344 echo "${ECHO_T}$CC" >&6
1346 echo "$as_me:1346: result: no" >&5
1347 echo "${ECHO_T}no" >&6
1351 if test -z "$ac_cv_prog_CC"; then
1353 # Extract the first word of "gcc", so it can be a program name with args.
1354 set dummy gcc
; ac_word
=$2
1355 echo "$as_me:1355: checking for $ac_word" >&5
1356 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1357 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1358 echo $ECHO_N "(cached) $ECHO_C" >&6
1360 if test -n "$ac_ct_CC"; then
1361 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1363 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1365 for ac_dir
in $ac_dummy; do
1367 test -z "$ac_dir" && ac_dir
=.
1368 $as_executable_p "$ac_dir/$ac_word" ||
continue
1369 ac_cv_prog_ac_ct_CC
="gcc"
1370 echo "$as_me:1370: found $ac_dir/$ac_word" >&5
1376 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1377 if test -n "$ac_ct_CC"; then
1378 echo "$as_me:1378: result: $ac_ct_CC" >&5
1379 echo "${ECHO_T}$ac_ct_CC" >&6
1381 echo "$as_me:1381: result: no" >&5
1382 echo "${ECHO_T}no" >&6
1390 if test -z "$CC"; then
1391 if test -n "$ac_tool_prefix"; then
1392 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1393 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1394 echo "$as_me:1394: checking for $ac_word" >&5
1395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1396 if test "${ac_cv_prog_CC+set}" = set; then
1397 echo $ECHO_N "(cached) $ECHO_C" >&6
1399 if test -n "$CC"; then
1400 ac_cv_prog_CC
="$CC" # Let the user override the test.
1402 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1404 for ac_dir
in $ac_dummy; do
1406 test -z "$ac_dir" && ac_dir
=.
1407 $as_executable_p "$ac_dir/$ac_word" ||
continue
1408 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1409 echo "$as_me:1409: found $ac_dir/$ac_word" >&5
1416 if test -n "$CC"; then
1417 echo "$as_me:1417: result: $CC" >&5
1418 echo "${ECHO_T}$CC" >&6
1420 echo "$as_me:1420: result: no" >&5
1421 echo "${ECHO_T}no" >&6
1425 if test -z "$ac_cv_prog_CC"; then
1427 # Extract the first word of "cc", so it can be a program name with args.
1428 set dummy cc
; ac_word
=$2
1429 echo "$as_me:1429: checking for $ac_word" >&5
1430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1431 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1432 echo $ECHO_N "(cached) $ECHO_C" >&6
1434 if test -n "$ac_ct_CC"; then
1435 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1437 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1439 for ac_dir
in $ac_dummy; do
1441 test -z "$ac_dir" && ac_dir
=.
1442 $as_executable_p "$ac_dir/$ac_word" ||
continue
1443 ac_cv_prog_ac_ct_CC
="cc"
1444 echo "$as_me:1444: found $ac_dir/$ac_word" >&5
1450 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1451 if test -n "$ac_ct_CC"; then
1452 echo "$as_me:1452: result: $ac_ct_CC" >&5
1453 echo "${ECHO_T}$ac_ct_CC" >&6
1455 echo "$as_me:1455: result: no" >&5
1456 echo "${ECHO_T}no" >&6
1465 if test -z "$CC"; then
1466 # Extract the first word of "cc", so it can be a program name with args.
1467 set dummy cc
; ac_word
=$2
1468 echo "$as_me:1468: checking for $ac_word" >&5
1469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1470 if test "${ac_cv_prog_CC+set}" = set; then
1471 echo $ECHO_N "(cached) $ECHO_C" >&6
1473 if test -n "$CC"; then
1474 ac_cv_prog_CC
="$CC" # Let the user override the test.
1477 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1479 for ac_dir
in $ac_dummy; do
1481 test -z "$ac_dir" && ac_dir
=.
1482 $as_executable_p "$ac_dir/$ac_word" ||
continue
1483 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1484 ac_prog_rejected
=yes
1488 echo "$as_me:1488: found $ac_dir/$ac_word" >&5
1492 if test $ac_prog_rejected = yes; then
1493 # We found a bogon in the path, so make sure we never use it.
1494 set dummy
$ac_cv_prog_CC
1496 if test $# != 0; then
1497 # We chose a different compiler from the bogus one.
1498 # However, it has the same basename, so the bogon will be chosen
1499 # first if we set CC to just the basename; use the full file name.
1501 set dummy
"$ac_dir/$ac_word" ${1+"$@"}
1509 if test -n "$CC"; then
1510 echo "$as_me:1510: result: $CC" >&5
1511 echo "${ECHO_T}$CC" >&6
1513 echo "$as_me:1513: result: no" >&5
1514 echo "${ECHO_T}no" >&6
1518 if test -z "$CC"; then
1519 if test -n "$ac_tool_prefix"; then
1522 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1523 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1524 echo "$as_me:1524: checking for $ac_word" >&5
1525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1526 if test "${ac_cv_prog_CC+set}" = set; then
1527 echo $ECHO_N "(cached) $ECHO_C" >&6
1529 if test -n "$CC"; then
1530 ac_cv_prog_CC
="$CC" # Let the user override the test.
1532 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1534 for ac_dir
in $ac_dummy; do
1536 test -z "$ac_dir" && ac_dir
=.
1537 $as_executable_p "$ac_dir/$ac_word" ||
continue
1538 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1539 echo "$as_me:1539: found $ac_dir/$ac_word" >&5
1546 if test -n "$CC"; then
1547 echo "$as_me:1547: result: $CC" >&5
1548 echo "${ECHO_T}$CC" >&6
1550 echo "$as_me:1550: result: no" >&5
1551 echo "${ECHO_T}no" >&6
1554 test -n "$CC" && break
1557 if test -z "$CC"; then
1561 # Extract the first word of "$ac_prog", so it can be a program name with args.
1562 set dummy
$ac_prog; ac_word
=$2
1563 echo "$as_me:1563: checking for $ac_word" >&5
1564 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1565 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1566 echo $ECHO_N "(cached) $ECHO_C" >&6
1568 if test -n "$ac_ct_CC"; then
1569 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1571 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1573 for ac_dir
in $ac_dummy; do
1575 test -z "$ac_dir" && ac_dir
=.
1576 $as_executable_p "$ac_dir/$ac_word" ||
continue
1577 ac_cv_prog_ac_ct_CC
="$ac_prog"
1578 echo "$as_me:1578: found $ac_dir/$ac_word" >&5
1584 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1585 if test -n "$ac_ct_CC"; then
1586 echo "$as_me:1586: result: $ac_ct_CC" >&5
1587 echo "${ECHO_T}$ac_ct_CC" >&6
1589 echo "$as_me:1589: result: no" >&5
1590 echo "${ECHO_T}no" >&6
1593 test -n "$ac_ct_CC" && break
1601 test -z "$CC" && { { echo "$as_me:1601: error: no acceptable cc found in \$PATH" >&5
1602 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
1603 { (exit 1); exit 1; }; }
1605 # Provide some information about the compiler.
1606 echo "$as_me:1606:" \
1607 "checking for C compiler version" >&5
1608 ac_compiler
=`set X $ac_compile; echo $2`
1609 { (eval echo "$as_me:1609: \"$ac_compiler --version </dev/null >&5\"") >&5
1610 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1612 echo "$as_me:1612: \$? = $ac_status" >&5
1613 (exit $ac_status); }
1614 { (eval echo "$as_me:1614: \"$ac_compiler -v </dev/null >&5\"") >&5
1615 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1617 echo "$as_me:1617: \$? = $ac_status" >&5
1618 (exit $ac_status); }
1619 { (eval echo "$as_me:1619: \"$ac_compiler -V </dev/null >&5\"") >&5
1620 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1622 echo "$as_me:1622: \$? = $ac_status" >&5
1623 (exit $ac_status); }
1625 cat >conftest.
$ac_ext <<_ACEOF
1626 #line 1626 "configure"
1627 #include "confdefs.h"
1637 ac_clean_files_save
=$ac_clean_files
1638 ac_clean_files
="$ac_clean_files a.out a.exe"
1639 # Try to create an executable without -o first, disregard a.out.
1640 # It will help us diagnose broken compilers, and finding out an intuition
1642 echo "$as_me:1642: checking for C compiler default output" >&5
1643 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1644 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1645 if { (eval echo "$as_me:1645: \"$ac_link_default\"") >&5
1646 (eval $ac_link_default) 2>&5
1648 echo "$as_me:1648: \$? = $ac_status" >&5
1649 (exit $ac_status); }; then
1650 # Find the output, starting from the most likely. This scheme is
1651 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1653 for ac_file
in `ls a.exe conftest.exe 2>/dev/null;
1654 ls a.out conftest 2>/dev/null;
1655 ls a.* conftest.* 2>/dev/null`; do
1657 *.
$ac_ext |
*.o |
*.obj |
*.xcoff |
*.tds |
*.d |
*.pdb
) ;;
1658 a.out
) # We found the default executable, but exeext='' is most
1661 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1662 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1669 echo "$as_me: failed program was:" >&5
1670 cat conftest.
$ac_ext >&5
1671 { { echo "$as_me:1671: error: C compiler cannot create executables" >&5
1672 echo "$as_me: error: C compiler cannot create executables" >&2;}
1673 { (exit 77); exit 77; }; }
1676 ac_exeext
=$ac_cv_exeext
1677 echo "$as_me:1677: result: $ac_file" >&5
1678 echo "${ECHO_T}$ac_file" >&6
1680 # Check the compiler produces executables we can run. If not, either
1681 # the compiler is broken, or we cross compile.
1682 echo "$as_me:1682: checking whether the C compiler works" >&5
1683 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1684 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1685 # If not cross compiling, check that we can run a simple program.
1686 if test "$cross_compiling" != yes; then
1687 if { ac_try
='./$ac_file'
1688 { (eval echo "$as_me:1688: \"$ac_try\"") >&5
1691 echo "$as_me:1691: \$? = $ac_status" >&5
1692 (exit $ac_status); }; }; then
1695 if test "$cross_compiling" = maybe
; then
1698 { { echo "$as_me:1698: error: cannot run C compiled programs.
1699 If you meant to cross compile, use \`--host'." >&5
1700 echo "$as_me: error: cannot run C compiled programs.
1701 If you meant to cross compile, use \`--host'." >&2;}
1702 { (exit 1); exit 1; }; }
1706 echo "$as_me:1706: result: yes" >&5
1707 echo "${ECHO_T}yes" >&6
1709 rm -f a.out a.exe conftest
$ac_cv_exeext
1710 ac_clean_files
=$ac_clean_files_save
1711 # Check the compiler produces executables we can run. If not, either
1712 # the compiler is broken, or we cross compile.
1713 echo "$as_me:1713: checking whether we are cross compiling" >&5
1714 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1715 echo "$as_me:1715: result: $cross_compiling" >&5
1716 echo "${ECHO_T}$cross_compiling" >&6
1718 echo "$as_me:1718: checking for executable suffix" >&5
1719 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
1720 if { (eval echo "$as_me:1720: \"$ac_link\"") >&5
1721 (eval $ac_link) 2>&5
1723 echo "$as_me:1723: \$? = $ac_status" >&5
1724 (exit $ac_status); }; then
1725 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1726 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1727 # work properly (i.e., refer to `conftest.exe'), while it won't with
1729 for ac_file
in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1731 *.
$ac_ext |
*.o |
*.obj |
*.xcoff |
*.tds |
*.d |
*.pdb
) ;;
1732 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1739 { { echo "$as_me:1739: error: cannot compute EXEEXT: cannot compile and link" >&5
1740 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
1741 { (exit 1); exit 1; }; }
1744 rm -f conftest
$ac_cv_exeext
1745 echo "$as_me:1745: result: $ac_cv_exeext" >&5
1746 echo "${ECHO_T}$ac_cv_exeext" >&6
1748 rm -f conftest.
$ac_ext
1749 EXEEXT
=$ac_cv_exeext
1751 echo "$as_me:1751: checking for object suffix" >&5
1752 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
1753 if test "${ac_cv_objext+set}" = set; then
1754 echo $ECHO_N "(cached) $ECHO_C" >&6
1756 cat >conftest.
$ac_ext <<_ACEOF
1757 #line 1757 "configure"
1758 #include "confdefs.h"
1768 rm -f conftest.o conftest.obj
1769 if { (eval echo "$as_me:1769: \"$ac_compile\"") >&5
1770 (eval $ac_compile) 2>&5
1772 echo "$as_me:1772: \$? = $ac_status" >&5
1773 (exit $ac_status); }; then
1774 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1776 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb
) ;;
1777 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1782 echo "$as_me: failed program was:" >&5
1783 cat conftest.
$ac_ext >&5
1784 { { echo "$as_me:1784: error: cannot compute OBJEXT: cannot compile" >&5
1785 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
1786 { (exit 1); exit 1; }; }
1789 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1791 echo "$as_me:1791: result: $ac_cv_objext" >&5
1792 echo "${ECHO_T}$ac_cv_objext" >&6
1793 OBJEXT
=$ac_cv_objext
1795 echo "$as_me:1795: checking whether we are using the GNU C compiler" >&5
1796 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1797 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1798 echo $ECHO_N "(cached) $ECHO_C" >&6
1800 cat >conftest.
$ac_ext <<_ACEOF
1801 #line 1801 "configure"
1802 #include "confdefs.h"
1815 rm -f conftest.
$ac_objext
1816 if { (eval echo "$as_me:1816: \"$ac_compile\"") >&5
1817 (eval $ac_compile) 2>&5
1819 echo "$as_me:1819: \$? = $ac_status" >&5
1820 (exit $ac_status); } &&
1821 { ac_try
='test -s conftest.$ac_objext'
1822 { (eval echo "$as_me:1822: \"$ac_try\"") >&5
1825 echo "$as_me:1825: \$? = $ac_status" >&5
1826 (exit $ac_status); }; }; then
1829 echo "$as_me: failed program was:" >&5
1830 cat conftest.
$ac_ext >&5
1833 rm -f conftest.
$ac_objext conftest.
$ac_ext
1834 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1837 echo "$as_me:1837: result: $ac_cv_c_compiler_gnu" >&5
1838 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1839 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1840 ac_test_CFLAGS
=${CFLAGS+set}
1841 ac_save_CFLAGS
=$CFLAGS
1843 echo "$as_me:1843: checking whether $CC accepts -g" >&5
1844 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1845 if test "${ac_cv_prog_cc_g+set}" = set; then
1846 echo $ECHO_N "(cached) $ECHO_C" >&6
1848 cat >conftest.
$ac_ext <<_ACEOF
1849 #line 1849 "configure"
1850 #include "confdefs.h"
1860 rm -f conftest.
$ac_objext
1861 if { (eval echo "$as_me:1861: \"$ac_compile\"") >&5
1862 (eval $ac_compile) 2>&5
1864 echo "$as_me:1864: \$? = $ac_status" >&5
1865 (exit $ac_status); } &&
1866 { ac_try
='test -s conftest.$ac_objext'
1867 { (eval echo "$as_me:1867: \"$ac_try\"") >&5
1870 echo "$as_me:1870: \$? = $ac_status" >&5
1871 (exit $ac_status); }; }; then
1874 echo "$as_me: failed program was:" >&5
1875 cat conftest.
$ac_ext >&5
1878 rm -f conftest.
$ac_objext conftest.
$ac_ext
1880 echo "$as_me:1880: result: $ac_cv_prog_cc_g" >&5
1881 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1882 if test "$ac_test_CFLAGS" = set; then
1883 CFLAGS
=$ac_save_CFLAGS
1884 elif test $ac_cv_prog_cc_g = yes; then
1885 if test "$GCC" = yes; then
1891 if test "$GCC" = yes; then
1897 # Some people use a C++ compiler to compile C. Since we use `exit',
1898 # in C++ we need to declare it. In case someone uses the same compiler
1899 # for both compiling C and C++ we need to have the C++ compiler decide
1900 # the declaration of exit, since it's the most demanding environment.
1901 cat >conftest.
$ac_ext <<_ACEOF
1906 rm -f conftest.
$ac_objext
1907 if { (eval echo "$as_me:1907: \"$ac_compile\"") >&5
1908 (eval $ac_compile) 2>&5
1910 echo "$as_me:1910: \$? = $ac_status" >&5
1911 (exit $ac_status); } &&
1912 { ac_try
='test -s conftest.$ac_objext'
1913 { (eval echo "$as_me:1913: \"$ac_try\"") >&5
1916 echo "$as_me:1916: \$? = $ac_status" >&5
1917 (exit $ac_status); }; }; then
1918 for ac_declaration
in \
1920 '#include <stdlib.h>' \
1921 'extern "C" void std::exit (int) throw (); using std::exit;' \
1922 'extern "C" void std::exit (int); using std::exit;' \
1923 'extern "C" void exit (int) throw ();' \
1924 'extern "C" void exit (int);' \
1927 cat >conftest.
$ac_ext <<_ACEOF
1928 #line 1928 "configure"
1929 #include "confdefs.h"
1940 rm -f conftest.
$ac_objext
1941 if { (eval echo "$as_me:1941: \"$ac_compile\"") >&5
1942 (eval $ac_compile) 2>&5
1944 echo "$as_me:1944: \$? = $ac_status" >&5
1945 (exit $ac_status); } &&
1946 { ac_try
='test -s conftest.$ac_objext'
1947 { (eval echo "$as_me:1947: \"$ac_try\"") >&5
1950 echo "$as_me:1950: \$? = $ac_status" >&5
1951 (exit $ac_status); }; }; then
1954 echo "$as_me: failed program was:" >&5
1955 cat conftest.
$ac_ext >&5
1958 rm -f conftest.
$ac_objext conftest.
$ac_ext
1959 cat >conftest.
$ac_ext <<_ACEOF
1960 #line 1960 "configure"
1961 #include "confdefs.h"
1971 rm -f conftest.
$ac_objext
1972 if { (eval echo "$as_me:1972: \"$ac_compile\"") >&5
1973 (eval $ac_compile) 2>&5
1975 echo "$as_me:1975: \$? = $ac_status" >&5
1976 (exit $ac_status); } &&
1977 { ac_try
='test -s conftest.$ac_objext'
1978 { (eval echo "$as_me:1978: \"$ac_try\"") >&5
1981 echo "$as_me:1981: \$? = $ac_status" >&5
1982 (exit $ac_status); }; }; then
1985 echo "$as_me: failed program was:" >&5
1986 cat conftest.
$ac_ext >&5
1988 rm -f conftest.
$ac_objext conftest.
$ac_ext
1991 if test -n "$ac_declaration"; then
1992 echo '#ifdef __cplusplus' >>confdefs.h
1993 echo $ac_declaration >>confdefs.h
1994 echo '#endif' >>confdefs.h
1998 echo "$as_me: failed program was:" >&5
1999 cat conftest.
$ac_ext >&5
2001 rm -f conftest.
$ac_objext conftest.
$ac_ext
2003 ac_cpp
='$CPP $CPPFLAGS'
2004 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2005 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2006 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2008 ac_config_commands
="$ac_config_commands default-1"
2010 am_make
=${MAKE-make}
2011 cat > confinc
<< 'END'
2015 # If we don't find an include directive, just comment out the code.
2016 echo "$as_me:2016: checking for style of include used by $am_make" >&5
2017 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2021 # First try GNU make style include.
2022 echo "include confinc" > confmf
2023 # We grep out `Entering directory' and `Leaving directory'
2024 # messages which can occur if `w' ends up in MAKEFLAGS.
2025 # In particular we don't look at `^make:' because GNU make might
2026 # be invoked under some other name (usually "gmake"), in which
2027 # case it prints its new name instead of `make'.
2028 if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
2033 # Now try BSD make style include.
2034 if test "$am__include" = "#"; then
2035 echo '.include "confinc"' > confmf
2036 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2037 am__include
=.include
2043 echo "$as_me:2043: result: $_am_result" >&5
2044 echo "${ECHO_T}$_am_result" >&6
2045 rm -f confinc confmf
2047 depcc
="$CC" am_compiler_list
=
2049 echo "$as_me:2049: checking dependency style of $depcc" >&5
2050 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2051 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2052 echo $ECHO_N "(cached) $ECHO_C" >&6
2054 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2055 # We make a subdir and do the tests there. Otherwise we can end up
2056 # making bogus files that we don't know about and never remove. For
2057 # instance it was reported that on HP-UX the gcc test will end up
2058 # making a dummy file named `D' -- because `-MD' means `put the output
2061 # Copy depcomp to subdir because otherwise we won't find it if we're
2062 # using a relative directory.
2063 cp "$am_depcomp" conftest.dir
2066 am_cv_CC_dependencies_compiler_type
=none
2067 if test "$am_compiler_list" = ""; then
2068 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2070 for depmode
in $am_compiler_list; do
2071 # We need to recreate these files for each test, as the compiler may
2072 # overwrite some of them when testing with obscure command lines.
2073 # This happens at least with the AIX C compiler.
2074 echo '#include "conftest.h"' > conftest.c
2075 echo 'int i;' > conftest.h
2076 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2080 # after this tag, mechanisms are not by side-effect, so they'll
2081 # only be used when explicitly requested
2082 if test "x$enable_dependency_tracking" = xyes
; then
2090 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2091 # mode. It turns out that the SunPro C++ compiler does not properly
2092 # handle `-M -o', and we need to detect this.
2093 if depmode
=$depmode \
2094 source=conftest.c object
=conftest.o \
2095 depfile
=conftest.Po tmpdepfile
=conftest.TPo \
2096 $SHELL .
/depcomp
$depcc -c conftest.c
-o conftest.o
>/dev
/null
2>&1 &&
2097 grep conftest.h conftest.Po
> /dev
/null
2>&1 &&
2098 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2099 am_cv_CC_dependencies_compiler_type
=$depmode
2107 am_cv_CC_dependencies_compiler_type
=none
2111 echo "$as_me:2111: result: $am_cv_CC_dependencies_compiler_type" >&5
2112 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2113 CCDEPMODE
="depmode=$am_cv_CC_dependencies_compiler_type"
2115 if test "x$GCC" = "xyes"; then
2116 if test "x$ac_test_CFLAGS" = "x"; then
2117 CFLAGS
="-Wall -pipe -O3 -fomit-frame-pointer"
2119 if test "$build_cpu" = "$host_cpu"
2120 then # Extract the first word of "uname", so it can be a program name with args.
2121 set dummy uname
; ac_word
=$2
2122 echo "$as_me:2122: checking for $ac_word" >&5
2123 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2124 if test "${ac_cv_path_UNAME+set}" = set; then
2125 echo $ECHO_N "(cached) $ECHO_C" >&6
2129 ac_cv_path_UNAME
="$UNAME" # Let the user override the test with a path.
2132 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
2134 for ac_dir
in $ac_dummy; do
2136 test -z "$ac_dir" && ac_dir
=.
2137 if $as_executable_p "$ac_dir/$ac_word"; then
2138 ac_cv_path_UNAME
="$ac_dir/$ac_word"
2139 echo "$as_me:2139: found $ac_dir/$ac_word" >&5
2144 test -z "$ac_cv_path_UNAME" && ac_cv_path_UNAME
="false"
2148 UNAME
=$ac_cv_path_UNAME
2150 if test -n "$UNAME"; then
2151 echo "$as_me:2151: result: $UNAME" >&5
2152 echo "${ECHO_T}$UNAME" >&6
2154 echo "$as_me:2154: result: no" >&5
2155 echo "${ECHO_T}no" >&6
2158 if test "$UNAME" != "false"; then
2159 uname_arch
="`$UNAME -m`"
2161 echo "$as_me:2161: checking whether $CC accepts -march=$uname_arch" >&5
2162 echo $ECHO_N "checking whether $CC accepts -march=$uname_arch... $ECHO_C" >&6
2163 if $CC -march=$uname_arch -S -o /dev
/null
-xc /dev
/null
> /dev
/null
2>&1
2164 then CFLAGS
="-march=$uname_arch $CFLAGS"
2165 check_arch_cflag_res
="yes"
2167 check_arch_cflag_res
="no"
2169 echo "$as_me:2169: result: $check_arch_cflags_res" >&5
2170 echo "${ECHO_T}$check_arch_cflags_res" >&6
2174 if test "x$check_arch_cflag_res" != "xyes"; then
2176 echo "$as_me:2176: checking whether $CC accepts -march=$host_cpu" >&5
2177 echo $ECHO_N "checking whether $CC accepts -march=$host_cpu... $ECHO_C" >&6
2178 if $CC -march=$host_cpu -S -o /dev
/null
-xc /dev
/null
> /dev
/null
2>&1
2179 then CFLAGS
="-march=$host_cpu $CFLAGS"
2180 check_arch_cflag_res
="yes"
2182 check_arch_cflag_res
="no"
2184 echo "$as_me:2184: result: $check_arch_cflags_res" >&5
2185 echo "${ECHO_T}$check_arch_cflags_res" >&6
2190 if test "x$LDFLAGS" = "x"; then
2195 echo "$as_me:2195: checking for ceil in -lm" >&5
2196 echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6
2197 if test "${ac_cv_lib_m_ceil+set}" = set; then
2198 echo $ECHO_N "(cached) $ECHO_C" >&6
2200 ac_check_lib_save_LIBS
=$LIBS
2202 cat >conftest.
$ac_ext <<_ACEOF
2203 #line 2203 "configure"
2204 #include "confdefs.h"
2206 /* Override any gcc2 internal prototype to avoid an error. */
2210 /* We use char because int might match the return type of a gcc2
2211 builtin and then its argument prototype would still apply. */
2221 rm -f conftest.
$ac_objext conftest
$ac_exeext
2222 if { (eval echo "$as_me:2222: \"$ac_link\"") >&5
2223 (eval $ac_link) 2>&5
2225 echo "$as_me:2225: \$? = $ac_status" >&5
2226 (exit $ac_status); } &&
2227 { ac_try
='test -s conftest$ac_exeext'
2228 { (eval echo "$as_me:2228: \"$ac_try\"") >&5
2231 echo "$as_me:2231: \$? = $ac_status" >&5
2232 (exit $ac_status); }; }; then
2233 ac_cv_lib_m_ceil
=yes
2235 echo "$as_me: failed program was:" >&5
2236 cat conftest.
$ac_ext >&5
2239 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2240 LIBS
=$ac_check_lib_save_LIBS
2242 echo "$as_me:2242: result: $ac_cv_lib_m_ceil" >&5
2243 echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6
2244 if test $ac_cv_lib_m_ceil = yes; then
2246 LDFLAGS
="-lm $LDFLAGS"
2250 { { echo "$as_me:2250: error: Cannot use -lm" >&5
2251 echo "$as_me: error: Cannot use -lm" >&2;}
2252 { (exit 1); exit 1; }; }
2256 echo "$as_me:2256: checking for ceilf" >&5
2257 echo $ECHO_N "checking for ceilf... $ECHO_C" >&6
2258 if test "${ac_cv_func_ceilf+set}" = set; then
2259 echo $ECHO_N "(cached) $ECHO_C" >&6
2261 cat >conftest.
$ac_ext <<_ACEOF
2262 #line 2262 "configure"
2263 #include "confdefs.h"
2264 /* System header to define __stub macros and hopefully few prototypes,
2265 which can conflict with char ceilf (); below. */
2267 /* Override any gcc2 internal prototype to avoid an error. */
2271 /* We use char because int might match the return type of a gcc2
2272 builtin and then its argument prototype would still apply. */
2279 /* The GNU C library defines this for functions which it implements
2280 to always fail with ENOSYS. Some functions are actually named
2281 something starting with __ and the normal name is an alias. */
2282 #if defined (__stub_ceilf) || defined (__stub___ceilf)
2292 rm -f conftest.
$ac_objext conftest
$ac_exeext
2293 if { (eval echo "$as_me:2293: \"$ac_link\"") >&5
2294 (eval $ac_link) 2>&5
2296 echo "$as_me:2296: \$? = $ac_status" >&5
2297 (exit $ac_status); } &&
2298 { ac_try
='test -s conftest$ac_exeext'
2299 { (eval echo "$as_me:2299: \"$ac_try\"") >&5
2302 echo "$as_me:2302: \$? = $ac_status" >&5
2303 (exit $ac_status); }; }; then
2304 ac_cv_func_ceilf
=yes
2306 echo "$as_me: failed program was:" >&5
2307 cat conftest.
$ac_ext >&5
2310 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2312 echo "$as_me:2312: result: $ac_cv_func_ceilf" >&5
2313 echo "${ECHO_T}$ac_cv_func_ceilf" >&6
2314 if test $ac_cv_func_ceilf = yes; then
2315 cat >>confdefs.h
<<\EOF
2316 #define HAVE_CEILF 1
2321 echo "$as_me:2321: checking for fabsf" >&5
2322 echo $ECHO_N "checking for fabsf... $ECHO_C" >&6
2323 if test "${ac_cv_func_fabsf+set}" = set; then
2324 echo $ECHO_N "(cached) $ECHO_C" >&6
2326 cat >conftest.
$ac_ext <<_ACEOF
2327 #line 2327 "configure"
2328 #include "confdefs.h"
2329 /* System header to define __stub macros and hopefully few prototypes,
2330 which can conflict with char fabsf (); below. */
2332 /* Override any gcc2 internal prototype to avoid an error. */
2336 /* We use char because int might match the return type of a gcc2
2337 builtin and then its argument prototype would still apply. */
2344 /* The GNU C library defines this for functions which it implements
2345 to always fail with ENOSYS. Some functions are actually named
2346 something starting with __ and the normal name is an alias. */
2347 #if defined (__stub_fabsf) || defined (__stub___fabsf)
2357 rm -f conftest.
$ac_objext conftest
$ac_exeext
2358 if { (eval echo "$as_me:2358: \"$ac_link\"") >&5
2359 (eval $ac_link) 2>&5
2361 echo "$as_me:2361: \$? = $ac_status" >&5
2362 (exit $ac_status); } &&
2363 { ac_try
='test -s conftest$ac_exeext'
2364 { (eval echo "$as_me:2364: \"$ac_try\"") >&5
2367 echo "$as_me:2367: \$? = $ac_status" >&5
2368 (exit $ac_status); }; }; then
2369 ac_cv_func_fabsf
=yes
2371 echo "$as_me: failed program was:" >&5
2372 cat conftest.
$ac_ext >&5
2375 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2377 echo "$as_me:2377: result: $ac_cv_func_fabsf" >&5
2378 echo "${ECHO_T}$ac_cv_func_fabsf" >&6
2379 if test $ac_cv_func_fabsf = yes; then
2380 cat >>confdefs.h
<<\EOF
2381 #define HAVE_FABSF 1
2386 echo "$as_me:2386: checking for fminf" >&5
2387 echo $ECHO_N "checking for fminf... $ECHO_C" >&6
2388 if test "${ac_cv_func_fminf+set}" = set; then
2389 echo $ECHO_N "(cached) $ECHO_C" >&6
2391 cat >conftest.
$ac_ext <<_ACEOF
2392 #line 2392 "configure"
2393 #include "confdefs.h"
2394 /* System header to define __stub macros and hopefully few prototypes,
2395 which can conflict with char fminf (); below. */
2397 /* Override any gcc2 internal prototype to avoid an error. */
2401 /* We use char because int might match the return type of a gcc2
2402 builtin and then its argument prototype would still apply. */
2409 /* The GNU C library defines this for functions which it implements
2410 to always fail with ENOSYS. Some functions are actually named
2411 something starting with __ and the normal name is an alias. */
2412 #if defined (__stub_fminf) || defined (__stub___fminf)
2422 rm -f conftest.
$ac_objext conftest
$ac_exeext
2423 if { (eval echo "$as_me:2423: \"$ac_link\"") >&5
2424 (eval $ac_link) 2>&5
2426 echo "$as_me:2426: \$? = $ac_status" >&5
2427 (exit $ac_status); } &&
2428 { ac_try
='test -s conftest$ac_exeext'
2429 { (eval echo "$as_me:2429: \"$ac_try\"") >&5
2432 echo "$as_me:2432: \$? = $ac_status" >&5
2433 (exit $ac_status); }; }; then
2434 ac_cv_func_fminf
=yes
2436 echo "$as_me: failed program was:" >&5
2437 cat conftest.
$ac_ext >&5
2440 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2442 echo "$as_me:2442: result: $ac_cv_func_fminf" >&5
2443 echo "${ECHO_T}$ac_cv_func_fminf" >&6
2444 if test $ac_cv_func_fminf = yes; then
2445 cat >>confdefs.h
<<\EOF
2446 #define HAVE_FMINF 1
2451 echo "$as_me:2451: checking for logf" >&5
2452 echo $ECHO_N "checking for logf... $ECHO_C" >&6
2453 if test "${ac_cv_func_logf+set}" = set; then
2454 echo $ECHO_N "(cached) $ECHO_C" >&6
2456 cat >conftest.
$ac_ext <<_ACEOF
2457 #line 2457 "configure"
2458 #include "confdefs.h"
2459 /* System header to define __stub macros and hopefully few prototypes,
2460 which can conflict with char logf (); below. */
2462 /* Override any gcc2 internal prototype to avoid an error. */
2466 /* We use char because int might match the return type of a gcc2
2467 builtin and then its argument prototype would still apply. */
2474 /* The GNU C library defines this for functions which it implements
2475 to always fail with ENOSYS. Some functions are actually named
2476 something starting with __ and the normal name is an alias. */
2477 #if defined (__stub_logf) || defined (__stub___logf)
2487 rm -f conftest.
$ac_objext conftest
$ac_exeext
2488 if { (eval echo "$as_me:2488: \"$ac_link\"") >&5
2489 (eval $ac_link) 2>&5
2491 echo "$as_me:2491: \$? = $ac_status" >&5
2492 (exit $ac_status); } &&
2493 { ac_try
='test -s conftest$ac_exeext'
2494 { (eval echo "$as_me:2494: \"$ac_try\"") >&5
2497 echo "$as_me:2497: \$? = $ac_status" >&5
2498 (exit $ac_status); }; }; then
2501 echo "$as_me: failed program was:" >&5
2502 cat conftest.
$ac_ext >&5
2505 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2507 echo "$as_me:2507: result: $ac_cv_func_logf" >&5
2508 echo "${ECHO_T}$ac_cv_func_logf" >&6
2509 if test $ac_cv_func_logf = yes; then
2510 cat >>confdefs.h
<<\EOF
2516 echo "$as_me:2516: checking for ftw" >&5
2517 echo $ECHO_N "checking for ftw... $ECHO_C" >&6
2518 if test "${ac_cv_func_ftw+set}" = set; then
2519 echo $ECHO_N "(cached) $ECHO_C" >&6
2521 cat >conftest.
$ac_ext <<_ACEOF
2522 #line 2522 "configure"
2523 #include "confdefs.h"
2524 /* System header to define __stub macros and hopefully few prototypes,
2525 which can conflict with char ftw (); below. */
2527 /* Override any gcc2 internal prototype to avoid an error. */
2531 /* We use char because int might match the return type of a gcc2
2532 builtin and then its argument prototype would still apply. */
2539 /* The GNU C library defines this for functions which it implements
2540 to always fail with ENOSYS. Some functions are actually named
2541 something starting with __ and the normal name is an alias. */
2542 #if defined (__stub_ftw) || defined (__stub___ftw)
2552 rm -f conftest.
$ac_objext conftest
$ac_exeext
2553 if { (eval echo "$as_me:2553: \"$ac_link\"") >&5
2554 (eval $ac_link) 2>&5
2556 echo "$as_me:2556: \$? = $ac_status" >&5
2557 (exit $ac_status); } &&
2558 { ac_try
='test -s conftest$ac_exeext'
2559 { (eval echo "$as_me:2559: \"$ac_try\"") >&5
2562 echo "$as_me:2562: \$? = $ac_status" >&5
2563 (exit $ac_status); }; }; then
2566 echo "$as_me: failed program was:" >&5
2567 cat conftest.
$ac_ext >&5
2570 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2572 echo "$as_me:2572: result: $ac_cv_func_ftw" >&5
2573 echo "${ECHO_T}$ac_cv_func_ftw" >&6
2574 if test $ac_cv_func_ftw = yes; then
2575 cat >>confdefs.h
<<\EOF
2581 CFLAGS
="$CFLAGS -D_GNU_SOURCE"
2582 echo "$as_me:2582: checking for getline" >&5
2583 echo $ECHO_N "checking for getline... $ECHO_C" >&6
2584 if test "${ac_cv_func_getline+set}" = set; then
2585 echo $ECHO_N "(cached) $ECHO_C" >&6
2587 cat >conftest.
$ac_ext <<_ACEOF
2588 #line 2588 "configure"
2589 #include "confdefs.h"
2590 /* System header to define __stub macros and hopefully few prototypes,
2591 which can conflict with char getline (); below. */
2593 /* Override any gcc2 internal prototype to avoid an error. */
2597 /* We use char because int might match the return type of a gcc2
2598 builtin and then its argument prototype would still apply. */
2605 /* The GNU C library defines this for functions which it implements
2606 to always fail with ENOSYS. Some functions are actually named
2607 something starting with __ and the normal name is an alias. */
2608 #if defined (__stub_getline) || defined (__stub___getline)
2618 rm -f conftest.
$ac_objext conftest
$ac_exeext
2619 if { (eval echo "$as_me:2619: \"$ac_link\"") >&5
2620 (eval $ac_link) 2>&5
2622 echo "$as_me:2622: \$? = $ac_status" >&5
2623 (exit $ac_status); } &&
2624 { ac_try
='test -s conftest$ac_exeext'
2625 { (eval echo "$as_me:2625: \"$ac_try\"") >&5
2628 echo "$as_me:2628: \$? = $ac_status" >&5
2629 (exit $ac_status); }; }; then
2630 ac_cv_func_getline
=yes
2632 echo "$as_me: failed program was:" >&5
2633 cat conftest.
$ac_ext >&5
2634 ac_cv_func_getline
=no
2636 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2638 echo "$as_me:2638: result: $ac_cv_func_getline" >&5
2639 echo "${ECHO_T}$ac_cv_func_getline" >&6
2640 if test $ac_cv_func_getline = yes; then
2641 cat >>confdefs.h
<<\EOF
2642 #define HAVE_GETLINE 1
2648 ac_cpp
='$CPP $CPPFLAGS'
2649 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2650 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2651 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2652 echo "$as_me:2652: checking how to run the C preprocessor" >&5
2653 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2654 # On Suns, sometimes $CPP names a directory.
2655 if test -n "$CPP" && test -d "$CPP"; then
2658 if test -z "$CPP"; then
2659 if test "${ac_cv_prog_CPP+set}" = set; then
2660 echo $ECHO_N "(cached) $ECHO_C" >&6
2662 # Double quotes because CPP needs to be expanded
2663 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2666 for ac_c_preproc_warn_flag
in '' yes
2668 # Use a header file that comes with gcc, so configuring glibc
2669 # with a fresh cross-compiler works.
2670 # On the NeXT, cc -E runs the code through the compiler's parser,
2671 # not just through cpp. "Syntax error" is here to catch this case.
2672 cat >conftest.
$ac_ext <<_ACEOF
2673 #line 2673 "configure"
2674 #include "confdefs.h"
2678 if { (eval echo "$as_me:2678: \"$ac_cpp conftest.$ac_ext\"") >&5
2679 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2681 egrep -v '^ *\+' conftest.er1
>conftest.err
2683 cat conftest.err
>&5
2684 echo "$as_me:2684: \$? = $ac_status" >&5
2685 (exit $ac_status); } >/dev
/null
; then
2686 if test -s conftest.err
; then
2687 ac_cpp_err
=$ac_c_preproc_warn_flag
2694 if test -z "$ac_cpp_err"; then
2697 echo "$as_me: failed program was:" >&5
2698 cat conftest.
$ac_ext >&5
2699 # Broken: fails on valid input.
2702 rm -f conftest.err conftest.
$ac_ext
2704 # OK, works on sane cases. Now check whether non-existent headers
2705 # can be detected and how.
2706 cat >conftest.
$ac_ext <<_ACEOF
2707 #line 2707 "configure"
2708 #include "confdefs.h"
2709 #include <ac_nonexistent.h>
2711 if { (eval echo "$as_me:2711: \"$ac_cpp conftest.$ac_ext\"") >&5
2712 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2714 egrep -v '^ *\+' conftest.er1
>conftest.err
2716 cat conftest.err
>&5
2717 echo "$as_me:2717: \$? = $ac_status" >&5
2718 (exit $ac_status); } >/dev
/null
; then
2719 if test -s conftest.err
; then
2720 ac_cpp_err
=$ac_c_preproc_warn_flag
2727 if test -z "$ac_cpp_err"; then
2728 # Broken: success on invalid input.
2731 echo "$as_me: failed program was:" >&5
2732 cat conftest.
$ac_ext >&5
2733 # Passes both tests.
2737 rm -f conftest.err conftest.
$ac_ext
2740 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2741 rm -f conftest.err conftest.
$ac_ext
2742 if $ac_preproc_ok; then
2754 echo "$as_me:2754: result: $CPP" >&5
2755 echo "${ECHO_T}$CPP" >&6
2757 for ac_c_preproc_warn_flag
in '' yes
2759 # Use a header file that comes with gcc, so configuring glibc
2760 # with a fresh cross-compiler works.
2761 # On the NeXT, cc -E runs the code through the compiler's parser,
2762 # not just through cpp. "Syntax error" is here to catch this case.
2763 cat >conftest.
$ac_ext <<_ACEOF
2764 #line 2764 "configure"
2765 #include "confdefs.h"
2769 if { (eval echo "$as_me:2769: \"$ac_cpp conftest.$ac_ext\"") >&5
2770 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2772 egrep -v '^ *\+' conftest.er1
>conftest.err
2774 cat conftest.err
>&5
2775 echo "$as_me:2775: \$? = $ac_status" >&5
2776 (exit $ac_status); } >/dev
/null
; then
2777 if test -s conftest.err
; then
2778 ac_cpp_err
=$ac_c_preproc_warn_flag
2785 if test -z "$ac_cpp_err"; then
2788 echo "$as_me: failed program was:" >&5
2789 cat conftest.
$ac_ext >&5
2790 # Broken: fails on valid input.
2793 rm -f conftest.err conftest.
$ac_ext
2795 # OK, works on sane cases. Now check whether non-existent headers
2796 # can be detected and how.
2797 cat >conftest.
$ac_ext <<_ACEOF
2798 #line 2798 "configure"
2799 #include "confdefs.h"
2800 #include <ac_nonexistent.h>
2802 if { (eval echo "$as_me:2802: \"$ac_cpp conftest.$ac_ext\"") >&5
2803 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2805 egrep -v '^ *\+' conftest.er1
>conftest.err
2807 cat conftest.err
>&5
2808 echo "$as_me:2808: \$? = $ac_status" >&5
2809 (exit $ac_status); } >/dev
/null
; then
2810 if test -s conftest.err
; then
2811 ac_cpp_err
=$ac_c_preproc_warn_flag
2818 if test -z "$ac_cpp_err"; then
2819 # Broken: success on invalid input.
2822 echo "$as_me: failed program was:" >&5
2823 cat conftest.
$ac_ext >&5
2824 # Passes both tests.
2828 rm -f conftest.err conftest.
$ac_ext
2831 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2832 rm -f conftest.err conftest.
$ac_ext
2833 if $ac_preproc_ok; then
2836 { { echo "$as_me:2836: error: C preprocessor \"$CPP\" fails sanity check" >&5
2837 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2838 { (exit 1); exit 1; }; }
2842 ac_cpp
='$CPP $CPPFLAGS'
2843 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2844 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2845 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2847 echo "$as_me:2847: checking for X" >&5
2848 echo $ECHO_N "checking for X... $ECHO_C" >&6
2850 # Check whether --with-x or --without-x was given.
2851 if test "${with_x+set}" = set; then
2855 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
2856 if test "x$with_x" = xno
; then
2857 # The user explicitly disabled X.
2860 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
2861 # Both variables are already set.
2864 if test "${ac_cv_have_x+set}" = set; then
2865 echo $ECHO_N "(cached) $ECHO_C" >&6
2867 # One or both of the vars are not set, and there is no cached value.
2868 ac_x_includes
=no ac_x_libraries
=no
2870 if mkdir conftest.dir
; then
2872 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
2873 cat >Imakefile
<<'EOF'
2875 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
2877 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
2878 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2879 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
2880 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
2881 for ac_extension
in a so sl
; do
2882 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
2883 test -f $ac_im_libdir/libX11.
$ac_extension; then
2884 ac_im_usrlibdir
=$ac_im_libdir; break
2887 # Screen out bogus values from the imake configuration. They are
2888 # bogus both because they are the default anyway, and because
2889 # using them would break gcc on systems where it needs fixed includes.
2890 case $ac_im_incroot in
2892 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
2894 case $ac_im_usrlibdir in
2896 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
2903 # Standard set of common directories for X headers.
2904 # Check X11 before X11Rn because it is often a symlink to the current release.
2916 /usr/local/X11/include
2917 /usr/local/X11R6/include
2918 /usr/local/X11R5/include
2919 /usr/local/X11R4/include
2921 /usr/local/include/X11
2922 /usr/local/include/X11R6
2923 /usr/local/include/X11R5
2924 /usr/local/include/X11R4
2928 /usr/XFree86/include/X11
2932 /usr/unsupported/include
2934 /usr/local/x11r5/include
2935 /usr/lpp/Xamples/include
2937 /usr/openwin/include
2938 /usr/openwin/share/include'
2940 if test "$ac_x_includes" = no
; then
2941 # Guess where to find include files, by looking for Intrinsic.h.
2942 # First, try using that file with no special directory specified.
2943 cat >conftest.
$ac_ext <<_ACEOF
2944 #line 2944 "configure"
2945 #include "confdefs.h"
2946 #include <X11/Intrinsic.h>
2948 if { (eval echo "$as_me:2948: \"$ac_cpp conftest.$ac_ext\"") >&5
2949 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2951 egrep -v '^ *\+' conftest.er1
>conftest.err
2953 cat conftest.err
>&5
2954 echo "$as_me:2954: \$? = $ac_status" >&5
2955 (exit $ac_status); } >/dev
/null
; then
2956 if test -s conftest.err
; then
2957 ac_cpp_err
=$ac_c_preproc_warn_flag
2964 if test -z "$ac_cpp_err"; then
2965 # We can compile using X headers with no special include directory.
2968 echo "$as_me: failed program was:" >&5
2969 cat conftest.
$ac_ext >&5
2970 for ac_dir
in $ac_x_header_dirs; do
2971 if test -r "$ac_dir/X11/Intrinsic.h"; then
2972 ac_x_includes
=$ac_dir
2977 rm -f conftest.err conftest.
$ac_ext
2978 fi # $ac_x_includes = no
2980 if test "$ac_x_libraries" = no
; then
2981 # Check for the libraries.
2982 # See if we find them without any special options.
2983 # Don't add to $LIBS permanently.
2986 cat >conftest.
$ac_ext <<_ACEOF
2987 #line 2987 "configure"
2988 #include "confdefs.h"
2989 #include <X11/Intrinsic.h>
2998 rm -f conftest.
$ac_objext conftest
$ac_exeext
2999 if { (eval echo "$as_me:2999: \"$ac_link\"") >&5
3000 (eval $ac_link) 2>&5
3002 echo "$as_me:3002: \$? = $ac_status" >&5
3003 (exit $ac_status); } &&
3004 { ac_try
='test -s conftest$ac_exeext'
3005 { (eval echo "$as_me:3005: \"$ac_try\"") >&5
3008 echo "$as_me:3008: \$? = $ac_status" >&5
3009 (exit $ac_status); }; }; then
3011 # We can link X programs with no special library path.
3014 echo "$as_me: failed program was:" >&5
3015 cat conftest.
$ac_ext >&5
3017 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3019 # Don't even attempt the hair of trying to link an X program!
3020 for ac_extension
in a so sl
; do
3021 if test -r $ac_dir/libXt.
$ac_extension; then
3022 ac_x_libraries
=$ac_dir
3028 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3029 fi # $ac_x_libraries = no
3031 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
3032 # Didn't find X anywhere. Cache the known absence of X.
3033 ac_cv_have_x
="have_x=no"
3035 # Record where we found X for the cache.
3036 ac_cv_have_x
="have_x=yes \
3037 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
3042 eval "$ac_cv_have_x"
3045 if test "$have_x" != yes; then
3046 echo "$as_me:3046: result: $have_x" >&5
3047 echo "${ECHO_T}$have_x" >&6
3050 # If each of the values was on the command line, it overrides each guess.
3051 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
3052 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
3053 # Update the cache value to reflect the command line values.
3054 ac_cv_have_x
="have_x=yes \
3055 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
3056 echo "$as_me:3056: result: libraries $x_libraries, headers $x_includes" >&5
3057 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
3060 if test "$no_x" = yes; then
3061 # Not all programs may use this symbol, but it does not hurt to define it.
3063 cat >>confdefs.h
<<\EOF
3064 #define X_DISPLAY_MISSING 1
3067 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
3069 if test -n "$x_includes"; then
3070 X_CFLAGS
="$X_CFLAGS -I$x_includes"
3073 # It would also be nice to do this for all -L options, not just this one.
3074 if test -n "$x_libraries"; then
3075 X_LIBS
="$X_LIBS -L$x_libraries"
3076 # For Solaris; some versions of Sun CC require a space after -R and
3077 # others require no space. Words are not sufficient . . . .
3078 case `(uname -sr) 2>/dev/null` in
3080 echo "$as_me:3080: checking whether -R must be followed by a space" >&5
3081 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
3082 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
3083 cat >conftest.
$ac_ext <<_ACEOF
3084 #line 3084 "configure"
3085 #include "confdefs.h"
3095 rm -f conftest.
$ac_objext conftest
$ac_exeext
3096 if { (eval echo "$as_me:3096: \"$ac_link\"") >&5
3097 (eval $ac_link) 2>&5
3099 echo "$as_me:3099: \$? = $ac_status" >&5
3100 (exit $ac_status); } &&
3101 { ac_try
='test -s conftest$ac_exeext'
3102 { (eval echo "$as_me:3102: \"$ac_try\"") >&5
3105 echo "$as_me:3105: \$? = $ac_status" >&5
3106 (exit $ac_status); }; }; then
3109 echo "$as_me: failed program was:" >&5
3110 cat conftest.
$ac_ext >&5
3113 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3114 if test $ac_R_nospace = yes; then
3115 echo "$as_me:3115: result: no" >&5
3116 echo "${ECHO_T}no" >&6
3117 X_LIBS
="$X_LIBS -R$x_libraries"
3119 LIBS
="$ac_xsave_LIBS -R $x_libraries"
3120 cat >conftest.
$ac_ext <<_ACEOF
3121 #line 3121 "configure"
3122 #include "confdefs.h"
3132 rm -f conftest.
$ac_objext conftest
$ac_exeext
3133 if { (eval echo "$as_me:3133: \"$ac_link\"") >&5
3134 (eval $ac_link) 2>&5
3136 echo "$as_me:3136: \$? = $ac_status" >&5
3137 (exit $ac_status); } &&
3138 { ac_try
='test -s conftest$ac_exeext'
3139 { (eval echo "$as_me:3139: \"$ac_try\"") >&5
3142 echo "$as_me:3142: \$? = $ac_status" >&5
3143 (exit $ac_status); }; }; then
3146 echo "$as_me: failed program was:" >&5
3147 cat conftest.
$ac_ext >&5
3150 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3151 if test $ac_R_space = yes; then
3152 echo "$as_me:3152: result: yes" >&5
3153 echo "${ECHO_T}yes" >&6
3154 X_LIBS
="$X_LIBS -R $x_libraries"
3156 echo "$as_me:3156: result: neither works" >&5
3157 echo "${ECHO_T}neither works" >&6
3164 # Check for system-dependent libraries X programs must link with.
3165 # Do this before checking for the system-independent R6 libraries
3166 # (-lICE), since we may need -lsocket or whatever for X linking.
3168 if test "$ISC" = yes; then
3169 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
3171 # Martyn Johnson says this is needed for Ultrix, if the X
3172 # libraries were built with DECnet support. And Karl Berry says
3173 # the Alpha needs dnet_stub (dnet does not exist).
3174 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
3175 cat >conftest.
$ac_ext <<_ACEOF
3176 #line 3176 "configure"
3177 #include "confdefs.h"
3179 /* Override any gcc2 internal prototype to avoid an error. */
3183 /* We use char because int might match the return type of a gcc2
3184 builtin and then its argument prototype would still apply. */
3185 char XOpenDisplay ();
3194 rm -f conftest.
$ac_objext conftest
$ac_exeext
3195 if { (eval echo "$as_me:3195: \"$ac_link\"") >&5
3196 (eval $ac_link) 2>&5
3198 echo "$as_me:3198: \$? = $ac_status" >&5
3199 (exit $ac_status); } &&
3200 { ac_try
='test -s conftest$ac_exeext'
3201 { (eval echo "$as_me:3201: \"$ac_try\"") >&5
3204 echo "$as_me:3204: \$? = $ac_status" >&5
3205 (exit $ac_status); }; }; then
3208 echo "$as_me: failed program was:" >&5
3209 cat conftest.
$ac_ext >&5
3210 echo "$as_me:3210: checking for dnet_ntoa in -ldnet" >&5
3211 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
3212 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
3213 echo $ECHO_N "(cached) $ECHO_C" >&6
3215 ac_check_lib_save_LIBS
=$LIBS
3217 cat >conftest.
$ac_ext <<_ACEOF
3218 #line 3218 "configure"
3219 #include "confdefs.h"
3221 /* Override any gcc2 internal prototype to avoid an error. */
3225 /* We use char because int might match the return type of a gcc2
3226 builtin and then its argument prototype would still apply. */
3236 rm -f conftest.
$ac_objext conftest
$ac_exeext
3237 if { (eval echo "$as_me:3237: \"$ac_link\"") >&5
3238 (eval $ac_link) 2>&5
3240 echo "$as_me:3240: \$? = $ac_status" >&5
3241 (exit $ac_status); } &&
3242 { ac_try
='test -s conftest$ac_exeext'
3243 { (eval echo "$as_me:3243: \"$ac_try\"") >&5
3246 echo "$as_me:3246: \$? = $ac_status" >&5
3247 (exit $ac_status); }; }; then
3248 ac_cv_lib_dnet_dnet_ntoa
=yes
3250 echo "$as_me: failed program was:" >&5
3251 cat conftest.
$ac_ext >&5
3252 ac_cv_lib_dnet_dnet_ntoa
=no
3254 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3255 LIBS
=$ac_check_lib_save_LIBS
3257 echo "$as_me:3257: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
3258 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
3259 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
3260 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
3263 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
3264 echo "$as_me:3264: checking for dnet_ntoa in -ldnet_stub" >&5
3265 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
3266 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
3267 echo $ECHO_N "(cached) $ECHO_C" >&6
3269 ac_check_lib_save_LIBS
=$LIBS
3270 LIBS
="-ldnet_stub $LIBS"
3271 cat >conftest.
$ac_ext <<_ACEOF
3272 #line 3272 "configure"
3273 #include "confdefs.h"
3275 /* Override any gcc2 internal prototype to avoid an error. */
3279 /* We use char because int might match the return type of a gcc2
3280 builtin and then its argument prototype would still apply. */
3290 rm -f conftest.
$ac_objext conftest
$ac_exeext
3291 if { (eval echo "$as_me:3291: \"$ac_link\"") >&5
3292 (eval $ac_link) 2>&5
3294 echo "$as_me:3294: \$? = $ac_status" >&5
3295 (exit $ac_status); } &&
3296 { ac_try
='test -s conftest$ac_exeext'
3297 { (eval echo "$as_me:3297: \"$ac_try\"") >&5
3300 echo "$as_me:3300: \$? = $ac_status" >&5
3301 (exit $ac_status); }; }; then
3302 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
3304 echo "$as_me: failed program was:" >&5
3305 cat conftest.
$ac_ext >&5
3306 ac_cv_lib_dnet_stub_dnet_ntoa
=no
3308 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3309 LIBS
=$ac_check_lib_save_LIBS
3311 echo "$as_me:3311: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
3312 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
3313 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
3314 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
3319 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3320 LIBS
="$ac_xsave_LIBS"
3322 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
3323 # to get the SysV transport functions.
3324 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
3326 # The nsl library prevents programs from opening the X display
3327 # on Irix 5.2, according to T.E. Dickey.
3328 # The functions gethostbyname, getservbyname, and inet_addr are
3329 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
3330 echo "$as_me:3330: checking for gethostbyname" >&5
3331 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
3332 if test "${ac_cv_func_gethostbyname+set}" = set; then
3333 echo $ECHO_N "(cached) $ECHO_C" >&6
3335 cat >conftest.
$ac_ext <<_ACEOF
3336 #line 3336 "configure"
3337 #include "confdefs.h"
3338 /* System header to define __stub macros and hopefully few prototypes,
3339 which can conflict with char gethostbyname (); below. */
3341 /* Override any gcc2 internal prototype to avoid an error. */
3345 /* We use char because int might match the return type of a gcc2
3346 builtin and then its argument prototype would still apply. */
3347 char gethostbyname ();
3353 /* The GNU C library defines this for functions which it implements
3354 to always fail with ENOSYS. Some functions are actually named
3355 something starting with __ and the normal name is an alias. */
3356 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
3366 rm -f conftest.
$ac_objext conftest
$ac_exeext
3367 if { (eval echo "$as_me:3367: \"$ac_link\"") >&5
3368 (eval $ac_link) 2>&5
3370 echo "$as_me:3370: \$? = $ac_status" >&5
3371 (exit $ac_status); } &&
3372 { ac_try
='test -s conftest$ac_exeext'
3373 { (eval echo "$as_me:3373: \"$ac_try\"") >&5
3376 echo "$as_me:3376: \$? = $ac_status" >&5
3377 (exit $ac_status); }; }; then
3378 ac_cv_func_gethostbyname
=yes
3380 echo "$as_me: failed program was:" >&5
3381 cat conftest.
$ac_ext >&5
3382 ac_cv_func_gethostbyname
=no
3384 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3386 echo "$as_me:3386: result: $ac_cv_func_gethostbyname" >&5
3387 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
3389 if test $ac_cv_func_gethostbyname = no
; then
3390 echo "$as_me:3390: checking for gethostbyname in -lnsl" >&5
3391 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3392 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3393 echo $ECHO_N "(cached) $ECHO_C" >&6
3395 ac_check_lib_save_LIBS
=$LIBS
3397 cat >conftest.
$ac_ext <<_ACEOF
3398 #line 3398 "configure"
3399 #include "confdefs.h"
3401 /* Override any gcc2 internal prototype to avoid an error. */
3405 /* We use char because int might match the return type of a gcc2
3406 builtin and then its argument prototype would still apply. */
3407 char gethostbyname ();
3416 rm -f conftest.
$ac_objext conftest
$ac_exeext
3417 if { (eval echo "$as_me:3417: \"$ac_link\"") >&5
3418 (eval $ac_link) 2>&5
3420 echo "$as_me:3420: \$? = $ac_status" >&5
3421 (exit $ac_status); } &&
3422 { ac_try
='test -s conftest$ac_exeext'
3423 { (eval echo "$as_me:3423: \"$ac_try\"") >&5
3426 echo "$as_me:3426: \$? = $ac_status" >&5
3427 (exit $ac_status); }; }; then
3428 ac_cv_lib_nsl_gethostbyname
=yes
3430 echo "$as_me: failed program was:" >&5
3431 cat conftest.
$ac_ext >&5
3432 ac_cv_lib_nsl_gethostbyname
=no
3434 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3435 LIBS
=$ac_check_lib_save_LIBS
3437 echo "$as_me:3437: result: $ac_cv_lib_nsl_gethostbyname" >&5
3438 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3439 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3440 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
3443 if test $ac_cv_lib_nsl_gethostbyname = no
; then
3444 echo "$as_me:3444: checking for gethostbyname in -lbsd" >&5
3445 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
3446 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
3447 echo $ECHO_N "(cached) $ECHO_C" >&6
3449 ac_check_lib_save_LIBS
=$LIBS
3451 cat >conftest.
$ac_ext <<_ACEOF
3452 #line 3452 "configure"
3453 #include "confdefs.h"
3455 /* Override any gcc2 internal prototype to avoid an error. */
3459 /* We use char because int might match the return type of a gcc2
3460 builtin and then its argument prototype would still apply. */
3461 char gethostbyname ();
3470 rm -f conftest.
$ac_objext conftest
$ac_exeext
3471 if { (eval echo "$as_me:3471: \"$ac_link\"") >&5
3472 (eval $ac_link) 2>&5
3474 echo "$as_me:3474: \$? = $ac_status" >&5
3475 (exit $ac_status); } &&
3476 { ac_try
='test -s conftest$ac_exeext'
3477 { (eval echo "$as_me:3477: \"$ac_try\"") >&5
3480 echo "$as_me:3480: \$? = $ac_status" >&5
3481 (exit $ac_status); }; }; then
3482 ac_cv_lib_bsd_gethostbyname
=yes
3484 echo "$as_me: failed program was:" >&5
3485 cat conftest.
$ac_ext >&5
3486 ac_cv_lib_bsd_gethostbyname
=no
3488 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3489 LIBS
=$ac_check_lib_save_LIBS
3491 echo "$as_me:3491: result: $ac_cv_lib_bsd_gethostbyname" >&5
3492 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
3493 if test $ac_cv_lib_bsd_gethostbyname = yes; then
3494 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
3500 # lieder@skyler.mavd.honeywell.com says without -lsocket,
3501 # socket/setsockopt and other routines are undefined under SCO ODT
3502 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
3503 # on later versions), says Simon Leinen: it contains gethostby*
3504 # variants that don't use the nameserver (or something). -lsocket
3505 # must be given before -lnsl if both are needed. We assume that
3506 # if connect needs -lnsl, so does gethostbyname.
3507 echo "$as_me:3507: checking for connect" >&5
3508 echo $ECHO_N "checking for connect... $ECHO_C" >&6
3509 if test "${ac_cv_func_connect+set}" = set; then
3510 echo $ECHO_N "(cached) $ECHO_C" >&6
3512 cat >conftest.
$ac_ext <<_ACEOF
3513 #line 3513 "configure"
3514 #include "confdefs.h"
3515 /* System header to define __stub macros and hopefully few prototypes,
3516 which can conflict with char connect (); below. */
3518 /* Override any gcc2 internal prototype to avoid an error. */
3522 /* We use char because int might match the return type of a gcc2
3523 builtin and then its argument prototype would still apply. */
3530 /* The GNU C library defines this for functions which it implements
3531 to always fail with ENOSYS. Some functions are actually named
3532 something starting with __ and the normal name is an alias. */
3533 #if defined (__stub_connect) || defined (__stub___connect)
3543 rm -f conftest.
$ac_objext conftest
$ac_exeext
3544 if { (eval echo "$as_me:3544: \"$ac_link\"") >&5
3545 (eval $ac_link) 2>&5
3547 echo "$as_me:3547: \$? = $ac_status" >&5
3548 (exit $ac_status); } &&
3549 { ac_try
='test -s conftest$ac_exeext'
3550 { (eval echo "$as_me:3550: \"$ac_try\"") >&5
3553 echo "$as_me:3553: \$? = $ac_status" >&5
3554 (exit $ac_status); }; }; then
3555 ac_cv_func_connect
=yes
3557 echo "$as_me: failed program was:" >&5
3558 cat conftest.
$ac_ext >&5
3559 ac_cv_func_connect
=no
3561 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3563 echo "$as_me:3563: result: $ac_cv_func_connect" >&5
3564 echo "${ECHO_T}$ac_cv_func_connect" >&6
3566 if test $ac_cv_func_connect = no
; then
3567 echo "$as_me:3567: checking for connect in -lsocket" >&5
3568 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
3569 if test "${ac_cv_lib_socket_connect+set}" = set; then
3570 echo $ECHO_N "(cached) $ECHO_C" >&6
3572 ac_check_lib_save_LIBS
=$LIBS
3573 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
3574 cat >conftest.
$ac_ext <<_ACEOF
3575 #line 3575 "configure"
3576 #include "confdefs.h"
3578 /* Override any gcc2 internal prototype to avoid an error. */
3582 /* We use char because int might match the return type of a gcc2
3583 builtin and then its argument prototype would still apply. */
3593 rm -f conftest.
$ac_objext conftest
$ac_exeext
3594 if { (eval echo "$as_me:3594: \"$ac_link\"") >&5
3595 (eval $ac_link) 2>&5
3597 echo "$as_me:3597: \$? = $ac_status" >&5
3598 (exit $ac_status); } &&
3599 { ac_try
='test -s conftest$ac_exeext'
3600 { (eval echo "$as_me:3600: \"$ac_try\"") >&5
3603 echo "$as_me:3603: \$? = $ac_status" >&5
3604 (exit $ac_status); }; }; then
3605 ac_cv_lib_socket_connect
=yes
3607 echo "$as_me: failed program was:" >&5
3608 cat conftest.
$ac_ext >&5
3609 ac_cv_lib_socket_connect
=no
3611 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3612 LIBS
=$ac_check_lib_save_LIBS
3614 echo "$as_me:3614: result: $ac_cv_lib_socket_connect" >&5
3615 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
3616 if test $ac_cv_lib_socket_connect = yes; then
3617 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
3622 # Guillermo Gomez says -lposix is necessary on A/UX.
3623 echo "$as_me:3623: checking for remove" >&5
3624 echo $ECHO_N "checking for remove... $ECHO_C" >&6
3625 if test "${ac_cv_func_remove+set}" = set; then
3626 echo $ECHO_N "(cached) $ECHO_C" >&6
3628 cat >conftest.
$ac_ext <<_ACEOF
3629 #line 3629 "configure"
3630 #include "confdefs.h"
3631 /* System header to define __stub macros and hopefully few prototypes,
3632 which can conflict with char remove (); below. */
3634 /* Override any gcc2 internal prototype to avoid an error. */
3638 /* We use char because int might match the return type of a gcc2
3639 builtin and then its argument prototype would still apply. */
3646 /* The GNU C library defines this for functions which it implements
3647 to always fail with ENOSYS. Some functions are actually named
3648 something starting with __ and the normal name is an alias. */
3649 #if defined (__stub_remove) || defined (__stub___remove)
3659 rm -f conftest.
$ac_objext conftest
$ac_exeext
3660 if { (eval echo "$as_me:3660: \"$ac_link\"") >&5
3661 (eval $ac_link) 2>&5
3663 echo "$as_me:3663: \$? = $ac_status" >&5
3664 (exit $ac_status); } &&
3665 { ac_try
='test -s conftest$ac_exeext'
3666 { (eval echo "$as_me:3666: \"$ac_try\"") >&5
3669 echo "$as_me:3669: \$? = $ac_status" >&5
3670 (exit $ac_status); }; }; then
3671 ac_cv_func_remove
=yes
3673 echo "$as_me: failed program was:" >&5
3674 cat conftest.
$ac_ext >&5
3675 ac_cv_func_remove
=no
3677 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3679 echo "$as_me:3679: result: $ac_cv_func_remove" >&5
3680 echo "${ECHO_T}$ac_cv_func_remove" >&6
3682 if test $ac_cv_func_remove = no
; then
3683 echo "$as_me:3683: checking for remove in -lposix" >&5
3684 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
3685 if test "${ac_cv_lib_posix_remove+set}" = set; then
3686 echo $ECHO_N "(cached) $ECHO_C" >&6
3688 ac_check_lib_save_LIBS
=$LIBS
3689 LIBS
="-lposix $LIBS"
3690 cat >conftest.
$ac_ext <<_ACEOF
3691 #line 3691 "configure"
3692 #include "confdefs.h"
3694 /* Override any gcc2 internal prototype to avoid an error. */
3698 /* We use char because int might match the return type of a gcc2
3699 builtin and then its argument prototype would still apply. */
3709 rm -f conftest.
$ac_objext conftest
$ac_exeext
3710 if { (eval echo "$as_me:3710: \"$ac_link\"") >&5
3711 (eval $ac_link) 2>&5
3713 echo "$as_me:3713: \$? = $ac_status" >&5
3714 (exit $ac_status); } &&
3715 { ac_try
='test -s conftest$ac_exeext'
3716 { (eval echo "$as_me:3716: \"$ac_try\"") >&5
3719 echo "$as_me:3719: \$? = $ac_status" >&5
3720 (exit $ac_status); }; }; then
3721 ac_cv_lib_posix_remove
=yes
3723 echo "$as_me: failed program was:" >&5
3724 cat conftest.
$ac_ext >&5
3725 ac_cv_lib_posix_remove
=no
3727 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3728 LIBS
=$ac_check_lib_save_LIBS
3730 echo "$as_me:3730: result: $ac_cv_lib_posix_remove" >&5
3731 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
3732 if test $ac_cv_lib_posix_remove = yes; then
3733 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
3738 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
3739 echo "$as_me:3739: checking for shmat" >&5
3740 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
3741 if test "${ac_cv_func_shmat+set}" = set; then
3742 echo $ECHO_N "(cached) $ECHO_C" >&6
3744 cat >conftest.
$ac_ext <<_ACEOF
3745 #line 3745 "configure"
3746 #include "confdefs.h"
3747 /* System header to define __stub macros and hopefully few prototypes,
3748 which can conflict with char shmat (); below. */
3750 /* Override any gcc2 internal prototype to avoid an error. */
3754 /* We use char because int might match the return type of a gcc2
3755 builtin and then its argument prototype would still apply. */
3762 /* The GNU C library defines this for functions which it implements
3763 to always fail with ENOSYS. Some functions are actually named
3764 something starting with __ and the normal name is an alias. */
3765 #if defined (__stub_shmat) || defined (__stub___shmat)
3775 rm -f conftest.
$ac_objext conftest
$ac_exeext
3776 if { (eval echo "$as_me:3776: \"$ac_link\"") >&5
3777 (eval $ac_link) 2>&5
3779 echo "$as_me:3779: \$? = $ac_status" >&5
3780 (exit $ac_status); } &&
3781 { ac_try
='test -s conftest$ac_exeext'
3782 { (eval echo "$as_me:3782: \"$ac_try\"") >&5
3785 echo "$as_me:3785: \$? = $ac_status" >&5
3786 (exit $ac_status); }; }; then
3787 ac_cv_func_shmat
=yes
3789 echo "$as_me: failed program was:" >&5
3790 cat conftest.
$ac_ext >&5
3793 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3795 echo "$as_me:3795: result: $ac_cv_func_shmat" >&5
3796 echo "${ECHO_T}$ac_cv_func_shmat" >&6
3798 if test $ac_cv_func_shmat = no
; then
3799 echo "$as_me:3799: checking for shmat in -lipc" >&5
3800 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
3801 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
3802 echo $ECHO_N "(cached) $ECHO_C" >&6
3804 ac_check_lib_save_LIBS
=$LIBS
3806 cat >conftest.
$ac_ext <<_ACEOF
3807 #line 3807 "configure"
3808 #include "confdefs.h"
3810 /* Override any gcc2 internal prototype to avoid an error. */
3814 /* We use char because int might match the return type of a gcc2
3815 builtin and then its argument prototype would still apply. */
3825 rm -f conftest.
$ac_objext conftest
$ac_exeext
3826 if { (eval echo "$as_me:3826: \"$ac_link\"") >&5
3827 (eval $ac_link) 2>&5
3829 echo "$as_me:3829: \$? = $ac_status" >&5
3830 (exit $ac_status); } &&
3831 { ac_try
='test -s conftest$ac_exeext'
3832 { (eval echo "$as_me:3832: \"$ac_try\"") >&5
3835 echo "$as_me:3835: \$? = $ac_status" >&5
3836 (exit $ac_status); }; }; then
3837 ac_cv_lib_ipc_shmat
=yes
3839 echo "$as_me: failed program was:" >&5
3840 cat conftest.
$ac_ext >&5
3841 ac_cv_lib_ipc_shmat
=no
3843 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3844 LIBS
=$ac_check_lib_save_LIBS
3846 echo "$as_me:3846: result: $ac_cv_lib_ipc_shmat" >&5
3847 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
3848 if test $ac_cv_lib_ipc_shmat = yes; then
3849 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
3855 # Check for libraries that X11R6 Xt/Xaw programs need.
3856 ac_save_LDFLAGS
=$LDFLAGS
3857 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
3858 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
3859 # check for ICE first), but we must link in the order -lSM -lICE or
3860 # we get undefined symbols. So assume we have SM if we have ICE.
3861 # These have to be linked with before -lX11, unlike the other
3862 # libraries we check for below, so use a different variable.
3863 # John Interrante, Karl Berry
3864 echo "$as_me:3864: checking for IceConnectionNumber in -lICE" >&5
3865 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
3866 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
3867 echo $ECHO_N "(cached) $ECHO_C" >&6
3869 ac_check_lib_save_LIBS
=$LIBS
3870 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
3871 cat >conftest.
$ac_ext <<_ACEOF
3872 #line 3872 "configure"
3873 #include "confdefs.h"
3875 /* Override any gcc2 internal prototype to avoid an error. */
3879 /* We use char because int might match the return type of a gcc2
3880 builtin and then its argument prototype would still apply. */
3881 char IceConnectionNumber ();
3885 IceConnectionNumber ();
3890 rm -f conftest.
$ac_objext conftest
$ac_exeext
3891 if { (eval echo "$as_me:3891: \"$ac_link\"") >&5
3892 (eval $ac_link) 2>&5
3894 echo "$as_me:3894: \$? = $ac_status" >&5
3895 (exit $ac_status); } &&
3896 { ac_try
='test -s conftest$ac_exeext'
3897 { (eval echo "$as_me:3897: \"$ac_try\"") >&5
3900 echo "$as_me:3900: \$? = $ac_status" >&5
3901 (exit $ac_status); }; }; then
3902 ac_cv_lib_ICE_IceConnectionNumber
=yes
3904 echo "$as_me: failed program was:" >&5
3905 cat conftest.
$ac_ext >&5
3906 ac_cv_lib_ICE_IceConnectionNumber
=no
3908 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3909 LIBS
=$ac_check_lib_save_LIBS
3911 echo "$as_me:3911: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
3912 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
3913 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
3914 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
3917 LDFLAGS
=$ac_save_LDFLAGS
3921 CFLAGS
="-I$x_includes $X_CFLAGS $CFLAGS"
3922 LDFLAGS
="-L$x_libraries $X_PRE_LIBS $X_LIBS $X_EXTRA_LIBS $LDFLAGS"
3924 echo "$as_me:3924: checking for glBegin in -lGL" >&5
3925 echo $ECHO_N "checking for glBegin in -lGL... $ECHO_C" >&6
3926 if test "${ac_cv_lib_GL_glBegin+set}" = set; then
3927 echo $ECHO_N "(cached) $ECHO_C" >&6
3929 ac_check_lib_save_LIBS
=$LIBS
3931 cat >conftest.
$ac_ext <<_ACEOF
3932 #line 3932 "configure"
3933 #include "confdefs.h"
3935 /* Override any gcc2 internal prototype to avoid an error. */
3939 /* We use char because int might match the return type of a gcc2
3940 builtin and then its argument prototype would still apply. */
3950 rm -f conftest.
$ac_objext conftest
$ac_exeext
3951 if { (eval echo "$as_me:3951: \"$ac_link\"") >&5
3952 (eval $ac_link) 2>&5
3954 echo "$as_me:3954: \$? = $ac_status" >&5
3955 (exit $ac_status); } &&
3956 { ac_try
='test -s conftest$ac_exeext'
3957 { (eval echo "$as_me:3957: \"$ac_try\"") >&5
3960 echo "$as_me:3960: \$? = $ac_status" >&5
3961 (exit $ac_status); }; }; then
3962 ac_cv_lib_GL_glBegin
=yes
3964 echo "$as_me: failed program was:" >&5
3965 cat conftest.
$ac_ext >&5
3966 ac_cv_lib_GL_glBegin
=no
3968 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3969 LIBS
=$ac_check_lib_save_LIBS
3971 echo "$as_me:3971: result: $ac_cv_lib_GL_glBegin" >&5
3972 echo "${ECHO_T}$ac_cv_lib_GL_glBegin" >&6
3973 if test $ac_cv_lib_GL_glBegin = yes; then
3974 LDFLAGS
="-lGL $LDFLAGS"
3979 if test "x$ogl" = "xno"; then
3980 { echo "$as_me:3980: Maybe libGL requires libpthread..." >&5
3981 echo "$as_me: Maybe libGL requires libpthread..." >&6;}
3982 echo "$as_me:3982: checking for glBegin in -lGL" >&5
3983 echo $ECHO_N "checking for glBegin in -lGL... $ECHO_C" >&6
3984 if test "${ac_cv_lib_GL_glBegin+set}" = set; then
3985 echo $ECHO_N "(cached) $ECHO_C" >&6
3987 ac_check_lib_save_LIBS
=$LIBS
3988 LIBS
="-lGL -lpthread $LIBS"
3989 cat >conftest.
$ac_ext <<_ACEOF
3990 #line 3990 "configure"
3991 #include "confdefs.h"
3993 /* Override any gcc2 internal prototype to avoid an error. */
3997 /* We use char because int might match the return type of a gcc2
3998 builtin and then its argument prototype would still apply. */
4008 rm -f conftest.
$ac_objext conftest
$ac_exeext
4009 if { (eval echo "$as_me:4009: \"$ac_link\"") >&5
4010 (eval $ac_link) 2>&5
4012 echo "$as_me:4012: \$? = $ac_status" >&5
4013 (exit $ac_status); } &&
4014 { ac_try
='test -s conftest$ac_exeext'
4015 { (eval echo "$as_me:4015: \"$ac_try\"") >&5
4018 echo "$as_me:4018: \$? = $ac_status" >&5
4019 (exit $ac_status); }; }; then
4020 ac_cv_lib_GL_glBegin
=yes
4022 echo "$as_me: failed program was:" >&5
4023 cat conftest.
$ac_ext >&5
4024 ac_cv_lib_GL_glBegin
=no
4026 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4027 LIBS
=$ac_check_lib_save_LIBS
4029 echo "$as_me:4029: result: $ac_cv_lib_GL_glBegin" >&5
4030 echo "${ECHO_T}$ac_cv_lib_GL_glBegin" >&6
4031 if test $ac_cv_lib_GL_glBegin = yes; then
4032 LDFLAGS
="-lpthread -lGL $LDFLAGS"
4034 { { echo "$as_me:4034: error: Cannot use -lGL" >&5
4035 echo "$as_me: error: Cannot use -lGL" >&2;}
4036 { (exit 1); exit 1; }; }
4041 echo "$as_me:4041: checking for gluOrtho2D in -lGLU" >&5
4042 echo $ECHO_N "checking for gluOrtho2D in -lGLU... $ECHO_C" >&6
4043 if test "${ac_cv_lib_GLU_gluOrtho2D+set}" = set; then
4044 echo $ECHO_N "(cached) $ECHO_C" >&6
4046 ac_check_lib_save_LIBS
=$LIBS
4048 cat >conftest.
$ac_ext <<_ACEOF
4049 #line 4049 "configure"
4050 #include "confdefs.h"
4052 /* Override any gcc2 internal prototype to avoid an error. */
4056 /* We use char because int might match the return type of a gcc2
4057 builtin and then its argument prototype would still apply. */
4067 rm -f conftest.
$ac_objext conftest
$ac_exeext
4068 if { (eval echo "$as_me:4068: \"$ac_link\"") >&5
4069 (eval $ac_link) 2>&5
4071 echo "$as_me:4071: \$? = $ac_status" >&5
4072 (exit $ac_status); } &&
4073 { ac_try
='test -s conftest$ac_exeext'
4074 { (eval echo "$as_me:4074: \"$ac_try\"") >&5
4077 echo "$as_me:4077: \$? = $ac_status" >&5
4078 (exit $ac_status); }; }; then
4079 ac_cv_lib_GLU_gluOrtho2D
=yes
4081 echo "$as_me: failed program was:" >&5
4082 cat conftest.
$ac_ext >&5
4083 ac_cv_lib_GLU_gluOrtho2D
=no
4085 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4086 LIBS
=$ac_check_lib_save_LIBS
4088 echo "$as_me:4088: result: $ac_cv_lib_GLU_gluOrtho2D" >&5
4089 echo "${ECHO_T}$ac_cv_lib_GLU_gluOrtho2D" >&6
4090 if test $ac_cv_lib_GLU_gluOrtho2D = yes; then
4091 LDFLAGS
="-lGLU $LDFLAGS"
4093 { { echo "$as_me:4093: error: Cannot use -lGLU" >&5
4094 echo "$as_me: error: Cannot use -lGLU" >&2;}
4095 { (exit 1); exit 1; }; }
4098 # Extract the first word of "imlib2-config", so it can be a program name with args.
4099 set dummy imlib2-config
; ac_word
=$2
4100 echo "$as_me:4100: checking for $ac_word" >&5
4101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4102 if test "${ac_cv_path_IMLIB2_CONFIG+set}" = set; then
4103 echo $ECHO_N "(cached) $ECHO_C" >&6
4105 case $IMLIB2_CONFIG in
4107 ac_cv_path_IMLIB2_CONFIG
="$IMLIB2_CONFIG" # Let the user override the test with a path.
4110 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
4112 for ac_dir
in $ac_dummy; do
4114 test -z "$ac_dir" && ac_dir
=.
4115 if $as_executable_p "$ac_dir/$ac_word"; then
4116 ac_cv_path_IMLIB2_CONFIG
="$ac_dir/$ac_word"
4117 echo "$as_me:4117: found $ac_dir/$ac_word" >&5
4122 test -z "$ac_cv_path_IMLIB2_CONFIG" && ac_cv_path_IMLIB2_CONFIG
="false"
4126 IMLIB2_CONFIG
=$ac_cv_path_IMLIB2_CONFIG
4128 if test -n "$IMLIB2_CONFIG"; then
4129 echo "$as_me:4129: result: $IMLIB2_CONFIG" >&5
4130 echo "${ECHO_T}$IMLIB2_CONFIG" >&6
4132 echo "$as_me:4132: result: no" >&5
4133 echo "${ECHO_T}no" >&6
4136 if $IMLIB2_CONFIG --version &> /dev
/null
;then
4137 CFLAGS
="$CFLAGS `$IMLIB2_CONFIG --cflags`"
4138 LDFLAGS
="$LDFLAGS `$IMLIB2_CONFIG --libs`"
4140 { { echo "$as_me:4140: error: Cannot use Imlib2" >&5
4141 echo "$as_me: error: Cannot use Imlib2" >&2;}
4142 { (exit 1); exit 1; }; }
4145 # Extract the first word of "gtk-config", so it can be a program name with args.
4146 set dummy gtk-config
; ac_word
=$2
4147 echo "$as_me:4147: checking for $ac_word" >&5
4148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4149 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
4150 echo $ECHO_N "(cached) $ECHO_C" >&6
4154 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
4157 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
4159 for ac_dir
in $ac_dummy; do
4161 test -z "$ac_dir" && ac_dir
=.
4162 if $as_executable_p "$ac_dir/$ac_word"; then
4163 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
4164 echo "$as_me:4164: found $ac_dir/$ac_word" >&5
4169 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="false"
4173 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
4175 if test -n "$GTK_CONFIG"; then
4176 echo "$as_me:4176: result: $GTK_CONFIG" >&5
4177 echo "${ECHO_T}$GTK_CONFIG" >&6
4179 echo "$as_me:4179: result: no" >&5
4180 echo "${ECHO_T}no" >&6
4183 if $GTK_CONFIG --version &> /dev
/null
;then
4184 CFLAGS
="$CFLAGS `$GTK_CONFIG --cflags`"
4185 LDFLAGS
="$LDFLAGS `$GTK_CONFIG --libs`"
4187 { { echo "$as_me:4187: error: Cannot use GTK" >&5
4188 echo "$as_me: error: Cannot use GTK" >&2;}
4189 { (exit 1); exit 1; }; }
4192 echo "$as_me:4192: checking for gtk_gl_area_new in -lgtkgl" >&5
4193 echo $ECHO_N "checking for gtk_gl_area_new in -lgtkgl... $ECHO_C" >&6
4194 if test "${ac_cv_lib_gtkgl_gtk_gl_area_new+set}" = set; then
4195 echo $ECHO_N "(cached) $ECHO_C" >&6
4197 ac_check_lib_save_LIBS
=$LIBS
4198 LIBS
="-lgtkgl $LIBS"
4199 cat >conftest.
$ac_ext <<_ACEOF
4200 #line 4200 "configure"
4201 #include "confdefs.h"
4203 /* Override any gcc2 internal prototype to avoid an error. */
4207 /* We use char because int might match the return type of a gcc2
4208 builtin and then its argument prototype would still apply. */
4209 char gtk_gl_area_new ();
4218 rm -f conftest.
$ac_objext conftest
$ac_exeext
4219 if { (eval echo "$as_me:4219: \"$ac_link\"") >&5
4220 (eval $ac_link) 2>&5
4222 echo "$as_me:4222: \$? = $ac_status" >&5
4223 (exit $ac_status); } &&
4224 { ac_try
='test -s conftest$ac_exeext'
4225 { (eval echo "$as_me:4225: \"$ac_try\"") >&5
4228 echo "$as_me:4228: \$? = $ac_status" >&5
4229 (exit $ac_status); }; }; then
4230 ac_cv_lib_gtkgl_gtk_gl_area_new
=yes
4232 echo "$as_me: failed program was:" >&5
4233 cat conftest.
$ac_ext >&5
4234 ac_cv_lib_gtkgl_gtk_gl_area_new
=no
4236 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4237 LIBS
=$ac_check_lib_save_LIBS
4239 echo "$as_me:4239: result: $ac_cv_lib_gtkgl_gtk_gl_area_new" >&5
4240 echo "${ECHO_T}$ac_cv_lib_gtkgl_gtk_gl_area_new" >&6
4241 if test $ac_cv_lib_gtkgl_gtk_gl_area_new = yes; then
4242 LDFLAGS
="$LDFLAGS -lgtkgl"
4244 { { echo "$as_me:4244: error: Cannot use GtkGLArea" >&5
4245 echo "$as_me: error: Cannot use GtkGLArea" >&2;}
4246 { (exit 1); exit 1; }; }
4249 ac_config_files
="$ac_config_files Makefile"
4250 cat >confcache
<<\_ACEOF
4251 # This file is a shell script that caches the results of configure
4252 # tests run on this system so they can be shared between configure
4253 # scripts and configure runs, see configure's option --config-cache.
4254 # It is not useful on other systems. If it contains results you don't
4255 # want to keep, you may remove or edit it.
4257 # config.status only pays attention to the cache file if you give it
4258 # the --recheck option to rerun configure.
4260 # `ac_cv_env_foo' variables (set or unset) will be overriden when
4261 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4266 # The following way of writing the cache mishandles newlines in values,
4267 # but we know of no workaround that is simple, portable, and efficient.
4268 # So, don't put newlines in cache variables' values.
4269 # Ultrix sh set writes to stderr and can't be redirected directly,
4270 # and sets the high bit in the cache file unless we assign to the vars.
4273 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4275 # `set' does not quote correctly, so add quotes (double-quote
4276 # substitution turns \\\\ into \\, and sed turns \\ into \).
4279 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4282 # `set' quotes correctly as required by POSIX, so do not add quotes.
4284 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4291 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4293 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4295 if cmp -s $cache_file confcache
; then :; else
4296 if test -w $cache_file; then
4297 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4298 cat confcache
>$cache_file
4300 echo "not updating unwritable cache $cache_file"
4305 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4306 # Let make expand exec_prefix.
4307 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4309 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4310 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4311 # trailing colons and then remove the whole line if VPATH becomes empty
4312 # (actually we leave an empty line to preserve line numbers).
4313 if test "x$srcdir" = x.
; then
4314 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
4315 s/:*\$(srcdir):*/:/;
4316 s/:*\${srcdir}:*/:/;
4318 s/^\([^=]*=[ ]*\):*/\1/;
4324 # Transform confdefs.h into DEFS.
4325 # Protect against shell expansion while executing Makefile rules.
4326 # Protect against Makefile macro expansion.
4328 # If the first sed substitution is executed (which looks for macros that
4329 # take arguments), then we branch to the quote section. Otherwise,
4330 # look for a macro that doesn't take arguments.
4331 cat >confdef2opt.
sed <<\EOF
4334 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
4336 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
4340 s
,[ `~#$^&*(){}\\|;'"<>?],\\&,g
4346 # We use echo to avoid assuming a particular line-breaking character.
4347 # The extra dot is to prevent the shell from consuming trailing
4348 # line-breaks from the sub-command output. A line-break within
4349 # single-quotes doesn't work because, if this script is created in a
4350 # platform that uses two characters for line-breaks (e.g., DOS), tr
4352 ac_LF_and_DOT=`echo; echo .
`
4353 DEFS=`sed -n -f confdef2opt.
sed confdefs.h |
tr "$ac_LF_and_DOT" ' .'`
4354 rm -f confdef2opt.sed
4356 : ${CONFIG_STATUS=./config.status}
4357 ac_clean_files_save=$ac_clean_files
4358 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4359 { echo "$as_me:4359: creating $CONFIG_STATUS" >&5
4360 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4361 cat >$CONFIG_STATUS <<_ACEOF
4363 # Generated automatically by configure.
4364 # Run this file to recreate the current configuration.
4365 # Compiler output produced by configure, useful for debugging
4366 # configure, is in config.log if it exists.
4369 SHELL=\${CONFIG_SHELL-$SHELL}
4370 ac_cs_invocation="\$0 \$@"
4374 cat >>$CONFIG_STATUS <<\_ACEOF
4375 # Be Bourne compatible
4376 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4379 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4383 # Name of the executable.
4384 as_me=`echo "$0" |
sed 's,.*[\\/],,'`
4386 if expr a : '\(a\)' >/dev/null 2>&1; then
4392 rm -f conf$$ conf$$.exe conf$$.file
4394 if ln -s conf$$.file conf$$ 2>/dev/null; then
4395 # We could just check for DJGPP; but this test a) works b) is more generic
4396 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4397 if test -f conf$$.exe; then
4398 # Don't use ln at all; we don't have any links
4403 elif ln conf$$.file conf$$ 2>/dev/null; then
4408 rm -f conf$$ conf$$.exe conf$$.file
4410 as_executable_p="test -f"
4412 # Support unset when possible.
4413 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
4420 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
4421 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
4422 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
4423 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
4424 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
4425 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
4426 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
4427 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
4430 # We need space, tab and new line, in precisely that order.
4436 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
4442 # Files that config.status was made for.
4443 if test -n "$ac_config_files"; then
4444 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4447 if test -n "$ac_config_headers"; then
4448 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4451 if test -n "$ac_config_links"; then
4452 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4455 if test -n "$ac_config_commands"; then
4456 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4459 cat >>$CONFIG_STATUS <<\EOF
4462 \`$as_me' instantiates files from templates according to the
4463 current configuration.
4465 Usage: $0 [OPTIONS] [FILE]...
4467 -h, --help print this help, then exit
4468 -V, --version print version number, then exit
4469 -d, --debug don't remove temporary files
4470 --recheck update
$as_me by reconfiguring
in the same conditions
4471 --file=FILE
[:TEMPLATE
]
4472 instantiate the configuration
file FILE
4474 Configuration files
:
4477 Configuration commands
:
4480 Report bugs to
<bug-autoconf@gnu.org
>.
"
4483 cat >>$CONFIG_STATUS <<EOF
4486 configured by
$0, generated by GNU Autoconf
2.52,
4487 with options
\\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4489 Copyright
1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
4490 Free Software Foundation
, Inc.
4491 This config.status
script is free software
; the Free Software Foundation
4492 gives unlimited permission to copy
, distribute and modify it.
"
4497 cat >>$CONFIG_STATUS <<\EOF
4498 # If no file are specified by the user, then we need to provide default
4499 # value. By we need to know if files were specified by the user.
4505 ac_option=`expr "x
$1" : 'x\([^=]*\)='`
4506 ac_optarg=`expr "x
$1" : 'x[^=]*=\(.*\)'`
4508 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
4512 *) # This is not an option, so the user has probably given explicit
4514 ac_need_defaults=false;;
4518 # Handling of the options.
4520 cat >>$CONFIG_STATUS <<EOF
4521 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4522 echo "running
$SHELL $0 " $ac_configure_args " --no-create --no-recursion"
4523 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
4525 cat >>$CONFIG_STATUS <<\EOF
4526 --version | --vers* | -V )
4527 echo "$ac_cs_version"; exit 0 ;;
4529 # Conflict between --help and --header
4530 { { echo "$as_me:4530: error
: ambiguous option
: $1
4531 Try \
`$0 --help' for more information." >&5
4532 echo "$as_me: error: ambiguous option: $1
4533 Try \`$0 --help' for more information." >&2;}
4534 { (exit 1); exit 1; }; };;
4535 --help | --hel | -h )
4536 echo "$ac_cs_usage"; exit 0 ;;
4537 --debug | --d* | -d )
4539 --file | --fil | --fi | --f )
4541 CONFIG_FILES="$CONFIG_FILES $1"
4542 ac_need_defaults=false;;
4543 --header | --heade | --head | --hea )
4545 CONFIG_HEADERS="$CONFIG_HEADERS $1"
4546 ac_need_defaults=false;;
4549 -*) { { echo "$as_me:4549: error: unrecognized option: $1
4550 Try \`$0 --help' for more information.
" >&5
4551 echo "$as_me: error
: unrecognized option
: $1
4552 Try \
`$0 --help' for more information." >&2;}
4553 { (exit 1); exit 1; }; } ;;
4555 *) ac_config_targets="$ac_config_targets $1" ;;
4564 ## ----------------------- ##
4565 ## Running config.status. ##
4566 ## ----------------------- ##
4568 This file was extended by $as_me 2.52, executed with
4569 CONFIG_FILES = $CONFIG_FILES
4570 CONFIG_HEADERS = $CONFIG_HEADERS
4571 CONFIG_LINKS = $CONFIG_LINKS
4572 CONFIG_COMMANDS = $CONFIG_COMMANDS
4574 on `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
4579 cat >>$CONFIG_STATUS <<EOF
4581 # INIT-COMMANDS section.
4584 AMDEP_TRUE="$AMDEP_TRUE"
4585 ac_aux_dir="$ac_aux_dir"
4589 cat >>$CONFIG_STATUS <<\EOF
4590 for ac_config_target in $ac_config_targets
4592 case "$ac_config_target" in
4593 # Handling of arguments.
4594 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4595 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
4596 *) { { echo "$as_me:4596: error: invalid argument: $ac_config_target" >&5
4597 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4598 { (exit 1); exit 1; }; };;
4602 # If the user did not use the arguments to specify the items to instantiate,
4603 # then the envvar interface is used. Set only those that are not.
4604 # We use the long form for the default assignment because of an extremely
4605 # bizarre bug on SunOS 4.1.3.
4606 if $ac_need_defaults; then
4607 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4608 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4611 # Create a temporary directory, and hook for its removal unless debugging.
4614 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4615 trap '{ (exit 1); exit 1; }' 1 2 13 15
4618 # Create a (secure) tmp directory for tmp files.
4621 tmp=`(umask 077 && mktemp
-d -q "$TMPDIR/csXXXXXX") 2>/dev
/null
` &&
4622 test -n "$tmp" && test -d "$tmp"
4625 tmp=$TMPDIR/cs$$-$RANDOM
4626 (umask 077 && mkdir $tmp)
4629 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
4630 { (exit 1); exit 1; }
4635 cat >>$CONFIG_STATUS <<EOF
4638 # CONFIG_FILES section.
4641 # No need to generate the scripts if there are no CONFIG_FILES.
4642 # This happens for instance when ./config.status config.h
4643 if test -n "\$CONFIG_FILES"; then
4644 # Protect against being on the right side of a sed subst in config.status.
4645 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4646 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4647 s,@SHELL@,$SHELL,;t t
4648 s,@exec_prefix@,$exec_prefix,;t t
4649 s,@prefix@,$prefix,;t t
4650 s,@program_transform_name@,$program_transform_name,;t t
4651 s,@bindir@,$bindir,;t t
4652 s,@sbindir@,$sbindir,;t t
4653 s,@libexecdir@,$libexecdir,;t t
4654 s,@datadir@,$datadir,;t t
4655 s,@sysconfdir@,$sysconfdir,;t t
4656 s,@sharedstatedir@,$sharedstatedir,;t t
4657 s,@localstatedir@,$localstatedir,;t t
4658 s,@libdir@,$libdir,;t t
4659 s,@includedir@,$includedir,;t t
4660 s,@oldincludedir@,$oldincludedir,;t t
4661 s,@infodir@,$infodir,;t t
4662 s,@mandir@,$mandir,;t t
4663 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4664 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4665 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4666 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4667 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4668 s,@build_alias@,$build_alias,;t t
4669 s,@host_alias@,$host_alias,;t t
4670 s,@target_alias@,$target_alias,;t t
4671 s,@ECHO_C@,$ECHO_C,;t t
4672 s,@ECHO_N@,$ECHO_N,;t t
4673 s,@ECHO_T@,$ECHO_T,;t t
4674 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4677 s,@build@,$build,;t t
4678 s,@build_cpu@,$build_cpu,;t t
4679 s,@build_vendor@,$build_vendor,;t t
4680 s,@build_os@,$build_os,;t t
4682 s,@host_cpu@,$host_cpu,;t t
4683 s,@host_vendor@,$host_vendor,;t t
4684 s,@host_os@,$host_os,;t t
4685 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4686 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4687 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4688 s,@PACKAGE@,$PACKAGE,;t t
4689 s,@VERSION@,$VERSION,;t t
4690 s,@EXEEXT@,$EXEEXT,;t t
4691 s,@OBJEXT@,$OBJEXT,;t t
4692 s,@ACLOCAL@,$ACLOCAL,;t t
4693 s,@AUTOCONF@,$AUTOCONF,;t t
4694 s,@AUTOMAKE@,$AUTOMAKE,;t t
4695 s,@AUTOHEADER@,$AUTOHEADER,;t t
4696 s,@MAKEINFO@,$MAKEINFO,;t t
4697 s,@AMTAR@,$AMTAR,;t t
4698 s,@install_sh@,$install_sh,;t t
4699 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4701 s,@SET_MAKE@,$SET_MAKE,;t t
4702 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
4703 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
4704 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
4705 s,@DEPDIR@,$DEPDIR,;t t
4707 s,@CFLAGS@,$CFLAGS,;t t
4708 s,@LDFLAGS@,$LDFLAGS,;t t
4709 s,@CPPFLAGS@,$CPPFLAGS,;t t
4710 s,@ac_ct_CC@,$ac_ct_CC,;t t
4711 s,@am__include@,$am__include,;t t
4712 s,@am__quote@,$am__quote,;t t
4713 s,@CCDEPMODE@,$CCDEPMODE,;t t
4714 s,@UNAME@,$UNAME,;t t
4716 s,@X_CFLAGS@,$X_CFLAGS,;t t
4717 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
4718 s,@X_LIBS@,$X_LIBS,;t t
4719 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
4720 s,@IMLIB2_CONFIG@,$IMLIB2_CONFIG,;t t
4721 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
4726 cat >>$CONFIG_STATUS <<\EOF
4727 # Split the substitutions into bite-sized pieces for seds with
4728 # small command number limits, like on Digital OSF/1 and HP-UX.
4730 ac_sed_frag=1 # Number of current file.
4731 ac_beg=1 # First line for current file.
4732 ac_end=$ac_max_sed_lines # Line after last line for current file.
4735 while $ac_more_lines; do
4736 if test $ac_beg -gt 1; then
4737 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4739 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4741 if test ! -s $tmp/subs.frag; then
4744 # The purpose of the label and of the branching condition is to
4745 # speed up the sed processing (if there are no `@
' at all, there
4746 # is no need to browse any of the substitutions).
4747 # These are the two extra sed commands mentioned above.
4749 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4750 if test -z "$ac_sed_cmds"; then
4751 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4753 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4755 ac_sed_frag=`expr $ac_sed_frag + 1`
4757 ac_end=`expr $ac_end + $ac_max_sed_lines`
4760 if test -z "$ac_sed_cmds"; then
4763 fi # test -n "$CONFIG_FILES"
4766 cat >>$CONFIG_STATUS <<\EOF
4767 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4768 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4770 - | *:- | *:-:* ) # input from stdin
4772 ac_file_in=`echo "$ac_file" | sed 's
,[^
:]*:,,'`
4773 ac_file=`echo "$ac_file" | sed 's
,:.
*,,'` ;;
4774 *:* ) ac_file_in=`echo "$ac_file" | sed 's
,[^
:]*:,,'`
4775 ac_file=`echo "$ac_file" | sed 's
,:.
*,,'` ;;
4776 * ) ac_file_in=$ac_file.in ;;
4779 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4780 ac_dir=`$as_expr X"$ac_file" : 'X\
(.
*[^
/]\
)//*[^
/][^
/]*/*$
' \| \
4781 X"$ac_file" : 'X\
(//\
)[^
/]' \| \
4782 X"$ac_file" : 'X\
(//\
)$
' \| \
4783 X"$ac_file" : 'X\
(/\
)' \| \
4784 . : '\
(.\
)' 2>/dev/null ||
4786 sed '/^X\
(.
*[^
/]\
)\
/\
/*[^
/][^
/]*\
/*$
/{ s
//\
1/; q
; }
4787 /^X\
(\
/\
/\
)[^
/].
*/{ s
//\
1/; q
; }
4788 /^X\
(\
/\
/\
)$
/{ s
//\
1/; q
; }
4789 /^X\
(\
/\
).
*/{ s
//\
1/; q
; }
4791 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
4793 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
4797 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
4798 case $as_mkdir_dir in
4799 # Skip DOS drivespec
4800 ?:) as_incr_dir=$as_mkdir_dir ;;
4802 as_incr_dir=$as_incr_dir/$as_mkdir_dir
4803 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
4808 ac_dir_suffix="/`echo $ac_dir|sed 's
,^\.
/,,'`"
4809 # A "../" for each directory in $ac_dir_suffix.
4810 ac_dots=`echo "$ac_dir_suffix" | sed 's
,/[^
/]*,..
/,g
'`
4812 ac_dir_suffix= ac_dots=
4817 if test -z "$ac_dots"; then
4820 ac_top_srcdir=`echo $ac_dots | sed 's
,/$
,,'`
4823 ac_srcdir=$srcdir$ac_dir_suffix;
4824 ac_top_srcdir=$srcdir ;;
4826 ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
4827 ac_top_srcdir=$ac_dots$srcdir ;;
4831 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4832 *) ac_INSTALL=$ac_dots$INSTALL ;;
4835 if test x"$ac_file" != x-; then
4836 { echo "$as_me:4836: creating $ac_file" >&5
4837 echo "$as_me: creating $ac_file" >&6;}
4840 # Let's still pretend it is
`configure' which instantiates (i.e., don't
4841 # use $as_me), people would be surprised to read:
4842 # /* config.h. Generated automatically by config.status. */
4843 configure_input="Generated automatically from `echo $ac_file_in |
4844 sed 's,.*/,,'` by configure."
4846 # First look for the input files in the build tree, otherwise in the
4848 ac_file_inputs=`IFS
=:
4849 for f
in $ac_file_in; do
4851 -) echo $tmp/stdin
;;
4853 # Absolute (can't be DOS-style, as IFS=:)
4854 test -f "$f" ||
{ { echo "$as_me:4854: error: cannot find input file: $f" >&5
4855 echo "$as_me: error: cannot find input file: $f" >&2;}
4856 { (exit 1); exit 1; }; }
4859 if test -f "$f"; then
4862 elif test -f "$srcdir/$f"; then
4867 { { echo "$as_me:4867: error: cannot find input file: $f" >&5
4868 echo "$as_me: error: cannot find input file: $f" >&2;}
4869 { (exit 1); exit 1; }; }
4872 done` || { (exit 1); exit 1; }
4874 cat >>$CONFIG_STATUS <<EOF
4878 cat >>$CONFIG_STATUS <<\EOF
4880 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4881 s,@configure_input@,$configure_input,;t t
4882 s,@srcdir@,$ac_srcdir,;t t
4883 s,@top_srcdir@,$ac_top_srcdir,;t t
4884 s,@INSTALL@,$ac_INSTALL,;t t
4885 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4887 if test x"$ac_file" != x-; then
4888 mv $tmp/out $ac_file
4896 cat >>$CONFIG_STATUS <<\EOF
4899 # CONFIG_COMMANDS section.
4901 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
4902 ac_dest=`echo "$ac_file" |
sed 's,:.*,,'`
4903 ac_source=`echo "$ac_file" |
sed 's,[^:]*:,,'`
4907 test x"$AMDEP_TRUE" != x"" ||
4908 for mf in $CONFIG_FILES; do
4910 Makefile) dirpart=.;;
4911 */Makefile) dirpart=`echo "$mf" |
sed -e 's|/[^/]*$||'`;;
4914 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
4915 # Extract the definition of DEP_FILES from the Makefile without
4917 DEPDIR=`sed -n -e '/^DEPDIR
= / s
///p
' < "$mf"`
4918 test -z "$DEPDIR" && continue
4919 # When using ansi2knr, U may be empty or an underscore; expand it
4920 U=`sed -n -e '/^U
= / s
///p
' < "$mf"`
4921 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
4922 # We invoke sed twice because it is the simplest approach to
4923 # changing $(DEPDIR) to its actual value in the expansion.
4924 for file in `sed -n -e '
4925 /^DEP_FILES
= .
*\\\\$
/ {
4934 /^DEP_FILES
= / s
/^DEP_FILES
= //p
' < "$mf" | \
4935 sed -e 's
/\$
(DEPDIR
)/'"$DEPDIR"'/g
' -e 's
/\
$U/'"$U"'/g
'`; do
4936 # Make sure the directory exists.
4937 test -f "$dirpart/$file" && continue
4938 fdir=`echo "$file" | sed -e 's|
/[^
/]*$||
'`
4939 $ac_aux_dir/mkinstalldirs "$dirpart/$fdir" > /dev/null 2>&1
4940 # echo "creating $dirpart/$file"
4941 echo '# dummy' > "$dirpart/$file"
4949 cat >>$CONFIG_STATUS <<\EOF
4951 { (exit 0); exit 0; }
4953 chmod +x
$CONFIG_STATUS
4954 ac_clean_files
=$ac_clean_files_save
4956 # configure is writing to config.log, and then calls config.status.
4957 # config.status does its own redirection, appending to config.log.
4958 # Unfortunately, on DOS this fails, as config.log is still kept open
4959 # by configure, so config.status won't be able to write to it; its
4960 # output is simply discarded. So we exec the FD to /dev/null,
4961 # effectively closing config.log, so it can be properly (re)opened and
4962 # appended to by config.status. When coming back to configure, we
4963 # need to make the FD available again.
4964 if test "$no_create" != yes; then
4967 $SHELL $CONFIG_STATUS || ac_cs_success
=false
4969 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4970 # would make configure fail if this is the last instruction.
4971 $ac_cs_success ||
{ (exit 1); exit 1; }
4975 echo "Using Imlib2 `$IMLIB2_CONFIG --version` and GTK+ `$GTK_CONFIG --version`"