2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
221 test -d ./-p && rmdir ./-p
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file="include/h323.h"
275 # Factoring default headers for most tests.
276 ac_includes_default="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subdirs_all="$ac_subdirs_all plugins"
313 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT CC CFLAGS ac_ct_CC CPP EGREP OPENH323DIR INSTALLPREFIX LIBDIR MAJOR_VERSION MINOR_VERSION BUILD_NUMBER OPENH323_VERSION PWLIBDIR NOTRACE NOAUDIOCODECS NOVIDEO H323_RFC2190_AVCODEC H323_RFC2190_AVCODEC_DIR H323_AVCODEC H323_VICH263 H323_TRANSNEXUS_OSP H323_T38 H323_H248 H323_H450 H323_H460 H323_H501 H323_T120 H323_IXJ STDCCFLAGS LDLIBS ENDLDLIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA subdirs LIBOBJS LTLIBOBJS'
316 # Initialize some variables set by options.
318 ac_init_version=false
319 # The variables have the same names as the options, with
320 # dashes changed to underlines.
328 program_transform_name=s,x,x,
336 # Installation directory options.
337 # These are left unexpanded so users can "make install exec_prefix=/foo"
338 # and all the variables that are supposed to be based on exec_prefix
339 # by default will actually change.
340 # Use braces instead of parens because sh, perl, etc. also accept them.
341 bindir='${exec_prefix}/bin'
342 sbindir='${exec_prefix}/sbin'
343 libexecdir='${exec_prefix}/libexec'
344 datadir='${prefix}/share'
345 sysconfdir='${prefix}/etc'
346 sharedstatedir='${prefix}/com'
347 localstatedir='${prefix}/var'
348 libdir='${exec_prefix}/lib'
349 includedir='${prefix}/include'
350 oldincludedir='/usr/include'
351 infodir='${prefix}/info'
352 mandir='${prefix}/man'
357 # If the previous option needs an argument, assign it.
358 if test -n "$ac_prev"; then
359 eval "$ac_prev=\$ac_option"
364 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
366 # Accept the important Cygnus configure options, so we can diagnose typos.
370 -bindir | --bindir | --bindi | --bind | --bin | --bi)
372 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
375 -build | --build | --buil | --bui | --bu)
376 ac_prev=build_alias ;;
377 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
378 build_alias=$ac_optarg ;;
380 -cache-file | --cache-file | --cache-fil | --cache-fi \
381 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
382 ac_prev=cache_file ;;
383 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
384 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
385 cache_file=$ac_optarg ;;
388 cache_file=config.cache ;;
390 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
392 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
394 datadir=$ac_optarg ;;
396 -disable-* | --disable-*)
397 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
398 # Reject names that are not valid shell variable names.
399 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
400 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
401 { (exit 1); exit 1; }; }
402 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
403 eval "enable_$ac_feature=no" ;;
405 -enable-* | --enable-*)
406 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
407 # Reject names that are not valid shell variable names.
408 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
409 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
410 { (exit 1); exit 1; }; }
411 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
413 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416 eval "enable_$ac_feature='$ac_optarg'" ;;
418 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
419 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
420 | --exec | --exe | --ex)
421 ac_prev=exec_prefix ;;
422 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
423 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
424 | --exec=* | --exe=* | --ex=*)
425 exec_prefix=$ac_optarg ;;
427 -gas | --gas | --ga | --g)
428 # Obsolete; use --with-gas.
431 -help | --help | --hel | --he | -h)
433 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
434 ac_init_help=recursive ;;
435 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
436 ac_init_help=short ;;
438 -host | --host | --hos | --ho)
439 ac_prev=host_alias ;;
440 -host=* | --host=* | --hos=* | --ho=*)
441 host_alias=$ac_optarg ;;
443 -includedir | --includedir | --includedi | --included | --include \
444 | --includ | --inclu | --incl | --inc)
445 ac_prev=includedir ;;
446 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
447 | --includ=* | --inclu=* | --incl=* | --inc=*)
448 includedir=$ac_optarg ;;
450 -infodir | --infodir | --infodi | --infod | --info | --inf)
452 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
453 infodir=$ac_optarg ;;
455 -libdir | --libdir | --libdi | --libd)
457 -libdir=* | --libdir=* | --libdi=* | --libd=*)
460 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
461 | --libexe | --libex | --libe)
462 ac_prev=libexecdir ;;
463 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
464 | --libexe=* | --libex=* | --libe=*)
465 libexecdir=$ac_optarg ;;
467 -localstatedir | --localstatedir | --localstatedi | --localstated \
468 | --localstate | --localstat | --localsta | --localst \
469 | --locals | --local | --loca | --loc | --lo)
470 ac_prev=localstatedir ;;
471 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
472 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
473 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
474 localstatedir=$ac_optarg ;;
476 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
478 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
482 # Obsolete; use --without-fp.
485 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
486 | --no-cr | --no-c | -n)
489 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
490 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
493 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
494 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
495 | --oldin | --oldi | --old | --ol | --o)
496 ac_prev=oldincludedir ;;
497 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
498 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
499 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
500 oldincludedir=$ac_optarg ;;
502 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
504 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
507 -program-prefix | --program-prefix | --program-prefi | --program-pref \
508 | --program-pre | --program-pr | --program-p)
509 ac_prev=program_prefix ;;
510 -program-prefix=* | --program-prefix=* | --program-prefi=* \
511 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
512 program_prefix=$ac_optarg ;;
514 -program-suffix | --program-suffix | --program-suffi | --program-suff \
515 | --program-suf | --program-su | --program-s)
516 ac_prev=program_suffix ;;
517 -program-suffix=* | --program-suffix=* | --program-suffi=* \
518 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
519 program_suffix=$ac_optarg ;;
521 -program-transform-name | --program-transform-name \
522 | --program-transform-nam | --program-transform-na \
523 | --program-transform-n | --program-transform- \
524 | --program-transform | --program-transfor \
525 | --program-transfo | --program-transf \
526 | --program-trans | --program-tran \
527 | --progr-tra | --program-tr | --program-t)
528 ac_prev=program_transform_name ;;
529 -program-transform-name=* | --program-transform-name=* \
530 | --program-transform-nam=* | --program-transform-na=* \
531 | --program-transform-n=* | --program-transform-=* \
532 | --program-transform=* | --program-transfor=* \
533 | --program-transfo=* | --program-transf=* \
534 | --program-trans=* | --program-tran=* \
535 | --progr-tra=* | --program-tr=* | --program-t=*)
536 program_transform_name=$ac_optarg ;;
538 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
539 | -silent | --silent | --silen | --sile | --sil)
542 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
544 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
546 sbindir=$ac_optarg ;;
548 -sharedstatedir | --sharedstatedir | --sharedstatedi \
549 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
550 | --sharedst | --shareds | --shared | --share | --shar \
552 ac_prev=sharedstatedir ;;
553 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
554 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
555 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
557 sharedstatedir=$ac_optarg ;;
559 -site | --site | --sit)
561 -site=* | --site=* | --sit=*)
564 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
566 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
569 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
570 | --syscon | --sysco | --sysc | --sys | --sy)
571 ac_prev=sysconfdir ;;
572 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
573 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
574 sysconfdir=$ac_optarg ;;
576 -target | --target | --targe | --targ | --tar | --ta | --t)
577 ac_prev=target_alias ;;
578 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
579 target_alias=$ac_optarg ;;
581 -v | -verbose | --verbose | --verbos | --verbo | --verb)
584 -version | --version | --versio | --versi | --vers | -V)
588 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
589 # Reject names that are not valid shell variable names.
590 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
591 { echo "$as_me: error: invalid package name: $ac_package" >&2
592 { (exit 1); exit 1; }; }
593 ac_package=`echo $ac_package| sed 's/-/_/g'`
595 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
598 eval "with_$ac_package='$ac_optarg'" ;;
600 -without-* | --without-*)
601 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
602 # Reject names that are not valid shell variable names.
603 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
604 { echo "$as_me: error: invalid package name: $ac_package" >&2
605 { (exit 1); exit 1; }; }
606 ac_package=`echo $ac_package | sed 's/-/_/g'`
607 eval "with_$ac_package=no" ;;
610 # Obsolete; use --with-x.
613 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
614 | --x-incl | --x-inc | --x-in | --x-i)
615 ac_prev=x_includes ;;
616 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
617 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
618 x_includes=$ac_optarg ;;
620 -x-libraries | --x-libraries | --x-librarie | --x-librari \
621 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
622 ac_prev=x_libraries ;;
623 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
624 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
625 x_libraries=$ac_optarg ;;
627 -*) { echo "$as_me: error: unrecognized option: $ac_option
628 Try \`$0 --help' for more information." >&2
629 { (exit 1); exit 1; }; }
633 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
634 # Reject names that are not valid shell variable names.
635 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
636 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
637 { (exit 1); exit 1; }; }
638 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
639 eval "$ac_envvar='$ac_optarg'"
643 # FIXME: should be removed in autoconf 3.0.
644 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
645 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
646 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
647 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
653 if test -n "$ac_prev"; then
654 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
655 { echo "$as_me: error: missing argument to $ac_option" >&2
656 { (exit 1); exit 1; }; }
659 # Be sure to have absolute paths.
660 for ac_var in exec_prefix prefix
662 eval ac_val=$`echo $ac_var`
664 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
665 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
666 { (exit 1); exit 1; }; };;
670 # Be sure to have absolute paths.
671 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
672 localstatedir libdir includedir oldincludedir infodir mandir
674 eval ac_val=$`echo $ac_var`
676 [\\/$]* | ?:[\\/]* ) ;;
677 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
678 { (exit 1); exit 1; }; };;
682 # There might be people who depend on the old broken behavior: `$host'
683 # used to hold the argument of --host etc.
684 # FIXME: To remove some day.
689 # FIXME: To remove some day.
690 if test "x$host_alias" != x; then
691 if test "x$build_alias" = x; then
692 cross_compiling=maybe
693 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
694 If a cross compiler is detected then cross compile mode will be used." >&2
695 elif test "x$build_alias" != "x$host_alias"; then
701 test -n "$host_alias" && ac_tool_prefix=$host_alias-
703 test "$silent" = yes && exec 6>/dev/null
706 # Find the source files, if location was not specified.
707 if test -z "$srcdir"; then
708 ac_srcdir_defaulted=yes
709 # Try the directory containing this script, then its parent.
710 ac_confdir=`(dirname "$0") 2>/dev/null ||
711 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
712 X"$0" : 'X\(//\)[^/]' \| \
713 X"$0" : 'X\(//\)$' \| \
714 X"$0" : 'X\(/\)' \| \
715 . : '\(.\)' 2>/dev/null ||
717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
718 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
719 /^X\(\/\/\)$/{ s//\1/; q; }
720 /^X\(\/\).*/{ s//\1/; q; }
723 if test ! -r $srcdir/$ac_unique_file; then
727 ac_srcdir_defaulted=no
729 if test ! -r $srcdir/$ac_unique_file; then
730 if test "$ac_srcdir_defaulted" = yes; then
731 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
732 { (exit 1); exit 1; }; }
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
735 { (exit 1); exit 1; }; }
738 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
739 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
740 { (exit 1); exit 1; }; }
741 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
742 ac_env_build_alias_set=${build_alias+set}
743 ac_env_build_alias_value=$build_alias
744 ac_cv_env_build_alias_set=${build_alias+set}
745 ac_cv_env_build_alias_value=$build_alias
746 ac_env_host_alias_set=${host_alias+set}
747 ac_env_host_alias_value=$host_alias
748 ac_cv_env_host_alias_set=${host_alias+set}
749 ac_cv_env_host_alias_value=$host_alias
750 ac_env_target_alias_set=${target_alias+set}
751 ac_env_target_alias_value=$target_alias
752 ac_cv_env_target_alias_set=${target_alias+set}
753 ac_cv_env_target_alias_value=$target_alias
754 ac_env_CXX_set=${CXX+set}
755 ac_env_CXX_value=$CXX
756 ac_cv_env_CXX_set=${CXX+set}
757 ac_cv_env_CXX_value=$CXX
758 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
759 ac_env_CXXFLAGS_value=$CXXFLAGS
760 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
761 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
762 ac_env_LDFLAGS_set=${LDFLAGS+set}
763 ac_env_LDFLAGS_value=$LDFLAGS
764 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
765 ac_cv_env_LDFLAGS_value=$LDFLAGS
766 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
767 ac_env_CPPFLAGS_value=$CPPFLAGS
768 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
769 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
770 ac_env_CC_set=${CC+set}
772 ac_cv_env_CC_set=${CC+set}
773 ac_cv_env_CC_value=$CC
774 ac_env_CFLAGS_set=${CFLAGS+set}
775 ac_env_CFLAGS_value=$CFLAGS
776 ac_cv_env_CFLAGS_set=${CFLAGS+set}
777 ac_cv_env_CFLAGS_value=$CFLAGS
778 ac_env_CPP_set=${CPP+set}
779 ac_env_CPP_value=$CPP
780 ac_cv_env_CPP_set=${CPP+set}
781 ac_cv_env_CPP_value=$CPP
784 # Report the --help message.
786 if test "$ac_init_help" = "long"; then
787 # Omit some internal or obsolete options to make the list less imposing.
788 # This message is too long to be a string in the A/UX 3.1 sh.
790 \`configure' configures this package to adapt to many kinds of systems.
792 Usage: $0 [OPTION]... [VAR=VALUE]...
794 To assign environment variables (e.g., CC, CFLAGS...), specify them as
795 VAR=VALUE. See below for descriptions of some of the useful variables.
797 Defaults for the options are specified in brackets.
800 -h, --help display this help and exit
801 --help=short display options specific to this package
802 --help=recursive display the short help of all the included packages
803 -V, --version display version information and exit
804 -q, --quiet, --silent do not print \`checking...' messages
805 --cache-file=FILE cache test results in FILE [disabled]
806 -C, --config-cache alias for \`--cache-file=config.cache'
807 -n, --no-create do not create output files
808 --srcdir=DIR find the sources in DIR [configure dir or \`..']
813 Installation directories:
814 --prefix=PREFIX install architecture-independent files in PREFIX
816 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
819 By default, \`make install' will install all the files in
820 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
821 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
822 for instance \`--prefix=\$HOME'.
824 For better control, use the options below.
826 Fine tuning of the installation directories:
827 --bindir=DIR user executables [EPREFIX/bin]
828 --sbindir=DIR system admin executables [EPREFIX/sbin]
829 --libexecdir=DIR program executables [EPREFIX/libexec]
830 --datadir=DIR read-only architecture-independent data [PREFIX/share]
831 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
832 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
833 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
834 --libdir=DIR object code libraries [EPREFIX/lib]
835 --includedir=DIR C header files [PREFIX/include]
836 --oldincludedir=DIR C header files for non-gcc [/usr/include]
837 --infodir=DIR info documentation [PREFIX/info]
838 --mandir=DIR man documentation [PREFIX/man]
845 if test -n "$ac_init_help"; then
850 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
851 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
852 --disable-versioncheck disable PWLib version check
853 --enable-minsize minimise the size of the lib by disabling least used options
854 --disable-asntracing disable ASN tracing
855 --disable-audio disable audio codecs
856 --enable-embeddedgsm embed GSM codec via static linking
857 --disable-video disable video functions
858 --enable-rfc2190avcodec set directory for H263 using RFC2190-compatible ffmpeg
859 --enable-h263avcodec enable search for H.263 using non-RFC2190-compatible ffmpeg
860 --enable-vich263 enable search for H.263 using VIC
861 --disable-transnexusosp disable support for the Transnexus OSP toolkit
862 --disable-t38 disable T.38
863 --disable-h248 enable H.248
864 --disable-h450 disable H.450
865 --disable-h460 disable H.460
866 --disable-h501 disable H.501
867 --disable-t120 disable T.120
868 --disable-ixj disable Quicknet card support
870 Some influential environment variables:
871 CXX C++ compiler command
872 CXXFLAGS C++ compiler flags
873 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
874 nonstandard directory <lib dir>
875 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
876 headers in a nonstandard directory <include dir>
877 CC C compiler command
878 CFLAGS C compiler flags
881 Use these variables to override the choices made by `configure' or to help
882 it to find libraries and programs with nonstandard names/locations.
887 if test "$ac_init_help" = "recursive"; then
888 # If there are subdirs, report their specific --help.
890 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
891 test -d $ac_dir || continue
894 if test "$ac_dir" != .; then
895 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
896 # A "../" for each directory in $ac_dir_suffix.
897 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
899 ac_dir_suffix= ac_top_builddir=
903 .) # No --srcdir option. We are building in place.
905 if test -z "$ac_top_builddir"; then
908 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
910 [\\/]* | ?:[\\/]* ) # Absolute path.
911 ac_srcdir=$srcdir$ac_dir_suffix;
912 ac_top_srcdir=$srcdir ;;
914 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
915 ac_top_srcdir=$ac_top_builddir$srcdir ;;
918 # Do not use `cd foo && pwd` to compute absolute paths, because
919 # the directories may not exist.
921 .) ac_abs_builddir="$ac_dir";;
924 .) ac_abs_builddir=`pwd`;;
925 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
926 *) ac_abs_builddir=`pwd`/"$ac_dir";;
929 case $ac_abs_builddir in
930 .) ac_abs_top_builddir=${ac_top_builddir}.;;
932 case ${ac_top_builddir}. in
933 .) ac_abs_top_builddir=$ac_abs_builddir;;
934 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
935 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
938 case $ac_abs_builddir in
939 .) ac_abs_srcdir=$ac_srcdir;;
942 .) ac_abs_srcdir=$ac_abs_builddir;;
943 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
944 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
947 case $ac_abs_builddir in
948 .) ac_abs_top_srcdir=$ac_top_srcdir;;
950 case $ac_top_srcdir in
951 .) ac_abs_top_srcdir=$ac_abs_builddir;;
952 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
953 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
958 # Check for guested configure; otherwise get Cygnus style configure.
959 if test -f $ac_srcdir/configure.gnu; then
961 $SHELL $ac_srcdir/configure.gnu --help=recursive
962 elif test -f $ac_srcdir/configure; then
964 $SHELL $ac_srcdir/configure --help=recursive
965 elif test -f $ac_srcdir/configure.ac ||
966 test -f $ac_srcdir/configure.in; then
970 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
976 test -n "$ac_init_help" && exit 0
977 if $ac_init_version; then
980 Copyright (C) 2003 Free Software Foundation, Inc.
981 This configure script is free software; the Free Software Foundation
982 gives unlimited permission to copy, distribute and modify it.
988 This file contains any messages produced by compilers while
989 running configure, to aid debugging if configure makes a mistake.
991 It was created by $as_me, which was
992 generated by GNU Autoconf 2.59. Invocation command line was
1003 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1004 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1005 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1006 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1007 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1009 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1010 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1012 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1013 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1014 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1015 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1016 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1017 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1018 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1026 test -z "$as_dir" && as_dir=.
1027 echo "PATH: $as_dir"
1042 # Keep a trace of the command line.
1043 # Strip out --no-create and --no-recursion so they do not pile up.
1044 # Strip out --silent because we don't want to record it for future runs.
1045 # Also quote any args containing shell meta-characters.
1046 # Make two passes to allow for proper duplicate-argument suppression.
1051 ac_must_keep_next=false
1057 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1058 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1059 | -silent | --silent | --silen | --sile | --sil)
1061 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1062 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1065 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1067 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1068 if test $ac_must_keep_next = true; then
1069 ac_must_keep_next=false # Got value, back to normal.
1072 *=* | --config-cache | -C | -disable-* | --disable-* \
1073 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1074 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1075 | -with-* | --with-* | -without-* | --without-* | --x)
1076 case "$ac_configure_args0 " in
1077 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1080 -* ) ac_must_keep_next=true ;;
1083 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1084 # Get rid of the leading space.
1090 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1091 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1093 # When interrupted or exit'd, cleanup temporary files, and complete
1094 # config.log. We remove comments because anyway the quotes in there
1095 # would cause problems or look ugly.
1096 # WARNING: Be sure not to use single quotes in there, as some shells,
1097 # such as our DU 5.0 friend, will then `close' the trap.
1098 trap 'exit_status=$?
1099 # Save into config.log some information that might help in debugging.
1104 ## ---------------- ##
1105 ## Cache variables. ##
1106 ## ---------------- ##
1109 # The following way of writing the cache mishandles newlines in values,
1112 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1115 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1116 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1120 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1127 ## ----------------- ##
1128 ## Output variables. ##
1129 ## ----------------- ##
1132 for ac_var in $ac_subst_vars
1134 eval ac_val=$`echo $ac_var`
1135 echo "$ac_var='"'"'$ac_val'"'"'"
1139 if test -n "$ac_subst_files"; then
1146 for ac_var in $ac_subst_files
1148 eval ac_val=$`echo $ac_var`
1149 echo "$ac_var='"'"'$ac_val'"'"'"
1154 if test -s confdefs.h; then
1161 sed "/^$/d" confdefs.h | sort
1164 test "$ac_signal" != 0 &&
1165 echo "$as_me: caught signal $ac_signal"
1166 echo "$as_me: exit $exit_status"
1168 rm -f core *.core &&
1169 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1172 for ac_signal in 1 2 13 15; do
1173 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1177 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1178 rm -rf conftest* confdefs.h
1179 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1182 # Predefined preprocessor variables.
1184 cat >>confdefs.h <<_ACEOF
1185 #define PACKAGE_NAME "$PACKAGE_NAME"
1189 cat >>confdefs.h <<_ACEOF
1190 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1194 cat >>confdefs.h <<_ACEOF
1195 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1199 cat >>confdefs.h <<_ACEOF
1200 #define PACKAGE_STRING "$PACKAGE_STRING"
1204 cat >>confdefs.h <<_ACEOF
1205 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1209 # Let the site file select an alternate cache file if it wants to.
1210 # Prefer explicitly selected file to automatically selected ones.
1211 if test -z "$CONFIG_SITE"; then
1212 if test "x$prefix" != xNONE; then
1213 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1215 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1218 for ac_site_file in $CONFIG_SITE; do
1219 if test -r "$ac_site_file"; then
1220 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1221 echo "$as_me: loading site script $ac_site_file" >&6;}
1222 sed 's/^/| /' "$ac_site_file" >&5
1227 if test -r "$cache_file"; then
1228 # Some versions of bash will fail to source /dev/null (special
1229 # files actually), so we avoid doing that.
1230 if test -f "$cache_file"; then
1231 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1232 echo "$as_me: loading cache $cache_file" >&6;}
1234 [\\/]* | ?:[\\/]* ) . $cache_file;;
1235 *) . ./$cache_file;;
1239 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1240 echo "$as_me: creating cache $cache_file" >&6;}
1244 # Check that the precious variables saved in the cache have kept the same
1246 ac_cache_corrupted=false
1247 for ac_var in `(set) 2>&1 |
1248 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1249 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1250 eval ac_new_set=\$ac_env_${ac_var}_set
1251 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1252 eval ac_new_val="\$ac_env_${ac_var}_value"
1253 case $ac_old_set,$ac_new_set in
1255 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1256 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1257 ac_cache_corrupted=: ;;
1259 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1260 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1261 ac_cache_corrupted=: ;;
1264 if test "x$ac_old_val" != "x$ac_new_val"; then
1265 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1266 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1267 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1268 echo "$as_me: former value: $ac_old_val" >&2;}
1269 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1270 echo "$as_me: current value: $ac_new_val" >&2;}
1271 ac_cache_corrupted=:
1274 # Pass precious variables to config.status.
1275 if test "$ac_new_set" = set; then
1277 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1278 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1279 *) ac_arg=$ac_var=$ac_new_val ;;
1281 case " $ac_configure_args " in
1282 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1283 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1287 if $ac_cache_corrupted; then
1288 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1289 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1290 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1291 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1292 { (exit 1); exit 1; }; }
1296 ac_cpp='$CPP $CPPFLAGS'
1297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1321 ac_cpp='$CXXCPP $CPPFLAGS'
1322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1325 if test -n "$ac_tool_prefix"; then
1326 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1328 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1329 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1330 echo "$as_me:$LINENO: checking for $ac_word" >&5
1331 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1332 if test "${ac_cv_prog_CXX+set}" = set; then
1333 echo $ECHO_N "(cached) $ECHO_C" >&6
1335 if test -n "$CXX"; then
1336 ac_cv_prog_CXX="$CXX" # Let the user override the test.
1338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1342 test -z "$as_dir" && as_dir=.
1343 for ac_exec_ext in '' $ac_executable_extensions; do
1344 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1345 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1355 if test -n "$CXX"; then
1356 echo "$as_me:$LINENO: result: $CXX" >&5
1357 echo "${ECHO_T}$CXX" >&6
1359 echo "$as_me:$LINENO: result: no" >&5
1360 echo "${ECHO_T}no" >&6
1363 test -n "$CXX" && break
1366 if test -z "$CXX"; then
1368 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1370 # Extract the first word of "$ac_prog", so it can be a program name with args.
1371 set dummy $ac_prog; ac_word=$2
1372 echo "$as_me:$LINENO: checking for $ac_word" >&5
1373 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1374 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1375 echo $ECHO_N "(cached) $ECHO_C" >&6
1377 if test -n "$ac_ct_CXX"; then
1378 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1384 test -z "$as_dir" && as_dir=.
1385 for ac_exec_ext in '' $ac_executable_extensions; do
1386 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1387 ac_cv_prog_ac_ct_CXX="$ac_prog"
1388 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1396 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
1397 if test -n "$ac_ct_CXX"; then
1398 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
1399 echo "${ECHO_T}$ac_ct_CXX" >&6
1401 echo "$as_me:$LINENO: result: no" >&5
1402 echo "${ECHO_T}no" >&6
1405 test -n "$ac_ct_CXX" && break
1407 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
1413 # Provide some information about the compiler.
1414 echo "$as_me:$LINENO:" \
1415 "checking for C++ compiler version" >&5
1416 ac_compiler=`set X $ac_compile; echo $2`
1417 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1418 (eval $ac_compiler --version </dev/null >&5) 2>&5
1420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1421 (exit $ac_status); }
1422 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1423 (eval $ac_compiler -v </dev/null >&5) 2>&5
1425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1426 (exit $ac_status); }
1427 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1428 (eval $ac_compiler -V </dev/null >&5) 2>&5
1430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1431 (exit $ac_status); }
1433 cat >conftest.$ac_ext <<_ACEOF
1436 cat confdefs.h >>conftest.$ac_ext
1437 cat >>conftest.$ac_ext <<_ACEOF
1438 /* end confdefs.h. */
1448 ac_clean_files_save=$ac_clean_files
1449 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1450 # Try to create an executable without -o first, disregard a.out.
1451 # It will help us diagnose broken compilers, and finding out an intuition
1453 echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
1454 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
1455 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1456 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1457 (eval $ac_link_default) 2>&5
1459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1460 (exit $ac_status); }; then
1461 # Find the output, starting from the most likely. This scheme is
1462 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1465 # Be careful to initialize this variable, since it used to be cached.
1466 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1468 # b.out is created by i960 compilers.
1469 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1471 test -f "$ac_file" || continue
1473 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1476 # This is the source file.
1479 # We found the default executable, but exeext='' is most
1483 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1484 # FIXME: I believe we export ac_cv_exeext for Libtool,
1485 # but it would be cool to find out if it's true. Does anybody
1486 # maintain Libtool? --akim.
1494 echo "$as_me: failed program was:" >&5
1495 sed 's/^/| /' conftest.$ac_ext >&5
1497 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
1498 See \`config.log' for more details." >&5
1499 echo "$as_me: error: C++ compiler cannot create executables
1500 See \`config.log' for more details." >&2;}
1501 { (exit 77); exit 77; }; }
1504 ac_exeext=$ac_cv_exeext
1505 echo "$as_me:$LINENO: result: $ac_file" >&5
1506 echo "${ECHO_T}$ac_file" >&6
1508 # Check the compiler produces executables we can run. If not, either
1509 # the compiler is broken, or we cross compile.
1510 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
1511 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
1512 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1513 # If not cross compiling, check that we can run a simple program.
1514 if test "$cross_compiling" != yes; then
1515 if { ac_try='./$ac_file'
1516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1520 (exit $ac_status); }; }; then
1523 if test "$cross_compiling" = maybe; then
1526 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
1527 If you meant to cross compile, use \`--host'.
1528 See \`config.log' for more details." >&5
1529 echo "$as_me: error: cannot run C++ compiled programs.
1530 If you meant to cross compile, use \`--host'.
1531 See \`config.log' for more details." >&2;}
1532 { (exit 1); exit 1; }; }
1536 echo "$as_me:$LINENO: result: yes" >&5
1537 echo "${ECHO_T}yes" >&6
1539 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1540 ac_clean_files=$ac_clean_files_save
1541 # Check the compiler produces executables we can run. If not, either
1542 # the compiler is broken, or we cross compile.
1543 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1544 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1545 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1546 echo "${ECHO_T}$cross_compiling" >&6
1548 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1549 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1551 (eval $ac_link) 2>&5
1553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1554 (exit $ac_status); }; then
1555 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1556 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1557 # work properly (i.e., refer to `conftest.exe'), while it won't with
1559 for ac_file in conftest.exe conftest conftest.*; do
1560 test -f "$ac_file" || continue
1562 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1563 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1570 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1571 See \`config.log' for more details." >&5
1572 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1573 See \`config.log' for more details." >&2;}
1574 { (exit 1); exit 1; }; }
1577 rm -f conftest$ac_cv_exeext
1578 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1579 echo "${ECHO_T}$ac_cv_exeext" >&6
1581 rm -f conftest.$ac_ext
1582 EXEEXT=$ac_cv_exeext
1584 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1585 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1586 if test "${ac_cv_objext+set}" = set; then
1587 echo $ECHO_N "(cached) $ECHO_C" >&6
1589 cat >conftest.$ac_ext <<_ACEOF
1592 cat confdefs.h >>conftest.$ac_ext
1593 cat >>conftest.$ac_ext <<_ACEOF
1594 /* end confdefs.h. */
1604 rm -f conftest.o conftest.obj
1605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1606 (eval $ac_compile) 2>&5
1608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1609 (exit $ac_status); }; then
1610 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1612 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1613 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1618 echo "$as_me: failed program was:" >&5
1619 sed 's/^/| /' conftest.$ac_ext >&5
1621 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1622 See \`config.log' for more details." >&5
1623 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1624 See \`config.log' for more details." >&2;}
1625 { (exit 1); exit 1; }; }
1628 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1630 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1631 echo "${ECHO_T}$ac_cv_objext" >&6
1632 OBJEXT=$ac_cv_objext
1634 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
1635 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
1636 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
1637 echo $ECHO_N "(cached) $ECHO_C" >&6
1639 cat >conftest.$ac_ext <<_ACEOF
1642 cat confdefs.h >>conftest.$ac_ext
1643 cat >>conftest.$ac_ext <<_ACEOF
1644 /* end confdefs.h. */
1657 rm -f conftest.$ac_objext
1658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1659 (eval $ac_compile) 2>conftest.er1
1661 grep -v '^ *+' conftest.er1 >conftest.err
1663 cat conftest.err >&5
1664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1665 (exit $ac_status); } &&
1666 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
1667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1671 (exit $ac_status); }; } &&
1672 { ac_try='test -s conftest.$ac_objext'
1673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1677 (exit $ac_status); }; }; then
1680 echo "$as_me: failed program was:" >&5
1681 sed 's/^/| /' conftest.$ac_ext >&5
1685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1686 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
1689 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
1690 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
1691 GXX=`test $ac_compiler_gnu = yes && echo yes`
1692 ac_test_CXXFLAGS=${CXXFLAGS+set}
1693 ac_save_CXXFLAGS=$CXXFLAGS
1695 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
1696 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
1697 if test "${ac_cv_prog_cxx_g+set}" = set; then
1698 echo $ECHO_N "(cached) $ECHO_C" >&6
1700 cat >conftest.$ac_ext <<_ACEOF
1703 cat confdefs.h >>conftest.$ac_ext
1704 cat >>conftest.$ac_ext <<_ACEOF
1705 /* end confdefs.h. */
1715 rm -f conftest.$ac_objext
1716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1717 (eval $ac_compile) 2>conftest.er1
1719 grep -v '^ *+' conftest.er1 >conftest.err
1721 cat conftest.err >&5
1722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1723 (exit $ac_status); } &&
1724 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
1725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1729 (exit $ac_status); }; } &&
1730 { ac_try='test -s conftest.$ac_objext'
1731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1735 (exit $ac_status); }; }; then
1736 ac_cv_prog_cxx_g=yes
1738 echo "$as_me: failed program was:" >&5
1739 sed 's/^/| /' conftest.$ac_ext >&5
1743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1745 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
1746 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
1747 if test "$ac_test_CXXFLAGS" = set; then
1748 CXXFLAGS=$ac_save_CXXFLAGS
1749 elif test $ac_cv_prog_cxx_g = yes; then
1750 if test "$GXX" = yes; then
1756 if test "$GXX" = yes; then
1762 for ac_declaration in \
1764 'extern "C" void std::exit (int) throw (); using std::exit;' \
1765 'extern "C" void std::exit (int); using std::exit;' \
1766 'extern "C" void exit (int) throw ();' \
1767 'extern "C" void exit (int);' \
1770 cat >conftest.$ac_ext <<_ACEOF
1773 cat confdefs.h >>conftest.$ac_ext
1774 cat >>conftest.$ac_ext <<_ACEOF
1775 /* end confdefs.h. */
1786 rm -f conftest.$ac_objext
1787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1788 (eval $ac_compile) 2>conftest.er1
1790 grep -v '^ *+' conftest.er1 >conftest.err
1792 cat conftest.err >&5
1793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1794 (exit $ac_status); } &&
1795 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
1796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1800 (exit $ac_status); }; } &&
1801 { ac_try='test -s conftest.$ac_objext'
1802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1806 (exit $ac_status); }; }; then
1809 echo "$as_me: failed program was:" >&5
1810 sed 's/^/| /' conftest.$ac_ext >&5
1814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1815 cat >conftest.$ac_ext <<_ACEOF
1818 cat confdefs.h >>conftest.$ac_ext
1819 cat >>conftest.$ac_ext <<_ACEOF
1820 /* end confdefs.h. */
1830 rm -f conftest.$ac_objext
1831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1832 (eval $ac_compile) 2>conftest.er1
1834 grep -v '^ *+' conftest.er1 >conftest.err
1836 cat conftest.err >&5
1837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1838 (exit $ac_status); } &&
1839 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
1840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1844 (exit $ac_status); }; } &&
1845 { ac_try='test -s conftest.$ac_objext'
1846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1850 (exit $ac_status); }; }; then
1853 echo "$as_me: failed program was:" >&5
1854 sed 's/^/| /' conftest.$ac_ext >&5
1857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1860 if test -n "$ac_declaration"; then
1861 echo '#ifdef __cplusplus' >>confdefs.h
1862 echo $ac_declaration >>confdefs.h
1863 echo '#endif' >>confdefs.h
1867 ac_cpp='$CPP $CPPFLAGS'
1868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1873 ac_cpp='$CPP $CPPFLAGS'
1874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1877 if test -n "$ac_tool_prefix"; then
1878 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1879 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1880 echo "$as_me:$LINENO: checking for $ac_word" >&5
1881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1882 if test "${ac_cv_prog_CC+set}" = set; then
1883 echo $ECHO_N "(cached) $ECHO_C" >&6
1885 if test -n "$CC"; then
1886 ac_cv_prog_CC="$CC" # Let the user override the test.
1888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1892 test -z "$as_dir" && as_dir=.
1893 for ac_exec_ext in '' $ac_executable_extensions; do
1894 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1895 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1905 if test -n "$CC"; then
1906 echo "$as_me:$LINENO: result: $CC" >&5
1907 echo "${ECHO_T}$CC" >&6
1909 echo "$as_me:$LINENO: result: no" >&5
1910 echo "${ECHO_T}no" >&6
1914 if test -z "$ac_cv_prog_CC"; then
1916 # Extract the first word of "gcc", so it can be a program name with args.
1917 set dummy gcc; ac_word=$2
1918 echo "$as_me:$LINENO: checking for $ac_word" >&5
1919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1920 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1921 echo $ECHO_N "(cached) $ECHO_C" >&6
1923 if test -n "$ac_ct_CC"; then
1924 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1930 test -z "$as_dir" && as_dir=.
1931 for ac_exec_ext in '' $ac_executable_extensions; do
1932 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1933 ac_cv_prog_ac_ct_CC="gcc"
1934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1942 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1943 if test -n "$ac_ct_CC"; then
1944 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1945 echo "${ECHO_T}$ac_ct_CC" >&6
1947 echo "$as_me:$LINENO: result: no" >&5
1948 echo "${ECHO_T}no" >&6
1956 if test -z "$CC"; then
1957 if test -n "$ac_tool_prefix"; then
1958 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1959 set dummy ${ac_tool_prefix}cc; ac_word=$2
1960 echo "$as_me:$LINENO: checking for $ac_word" >&5
1961 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1962 if test "${ac_cv_prog_CC+set}" = set; then
1963 echo $ECHO_N "(cached) $ECHO_C" >&6
1965 if test -n "$CC"; then
1966 ac_cv_prog_CC="$CC" # Let the user override the test.
1968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1972 test -z "$as_dir" && as_dir=.
1973 for ac_exec_ext in '' $ac_executable_extensions; do
1974 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1975 ac_cv_prog_CC="${ac_tool_prefix}cc"
1976 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1985 if test -n "$CC"; then
1986 echo "$as_me:$LINENO: result: $CC" >&5
1987 echo "${ECHO_T}$CC" >&6
1989 echo "$as_me:$LINENO: result: no" >&5
1990 echo "${ECHO_T}no" >&6
1994 if test -z "$ac_cv_prog_CC"; then
1996 # Extract the first word of "cc", so it can be a program name with args.
1997 set dummy cc; ac_word=$2
1998 echo "$as_me:$LINENO: checking for $ac_word" >&5
1999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2000 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2001 echo $ECHO_N "(cached) $ECHO_C" >&6
2003 if test -n "$ac_ct_CC"; then
2004 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2010 test -z "$as_dir" && as_dir=.
2011 for ac_exec_ext in '' $ac_executable_extensions; do
2012 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2013 ac_cv_prog_ac_ct_CC="cc"
2014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2022 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2023 if test -n "$ac_ct_CC"; then
2024 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2025 echo "${ECHO_T}$ac_ct_CC" >&6
2027 echo "$as_me:$LINENO: result: no" >&5
2028 echo "${ECHO_T}no" >&6
2037 if test -z "$CC"; then
2038 # Extract the first word of "cc", so it can be a program name with args.
2039 set dummy cc; ac_word=$2
2040 echo "$as_me:$LINENO: checking for $ac_word" >&5
2041 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2042 if test "${ac_cv_prog_CC+set}" = set; then
2043 echo $ECHO_N "(cached) $ECHO_C" >&6
2045 if test -n "$CC"; then
2046 ac_cv_prog_CC="$CC" # Let the user override the test.
2049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2053 test -z "$as_dir" && as_dir=.
2054 for ac_exec_ext in '' $ac_executable_extensions; do
2055 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2056 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2057 ac_prog_rejected=yes
2061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2067 if test $ac_prog_rejected = yes; then
2068 # We found a bogon in the path, so make sure we never use it.
2069 set dummy $ac_cv_prog_CC
2071 if test $# != 0; then
2072 # We chose a different compiler from the bogus one.
2073 # However, it has the same basename, so the bogon will be chosen
2074 # first if we set CC to just the basename; use the full file name.
2076 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2082 if test -n "$CC"; then
2083 echo "$as_me:$LINENO: result: $CC" >&5
2084 echo "${ECHO_T}$CC" >&6
2086 echo "$as_me:$LINENO: result: no" >&5
2087 echo "${ECHO_T}no" >&6
2091 if test -z "$CC"; then
2092 if test -n "$ac_tool_prefix"; then
2095 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2096 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2097 echo "$as_me:$LINENO: checking for $ac_word" >&5
2098 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2099 if test "${ac_cv_prog_CC+set}" = set; then
2100 echo $ECHO_N "(cached) $ECHO_C" >&6
2102 if test -n "$CC"; then
2103 ac_cv_prog_CC="$CC" # Let the user override the test.
2105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2109 test -z "$as_dir" && as_dir=.
2110 for ac_exec_ext in '' $ac_executable_extensions; do
2111 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2112 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2113 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2122 if test -n "$CC"; then
2123 echo "$as_me:$LINENO: result: $CC" >&5
2124 echo "${ECHO_T}$CC" >&6
2126 echo "$as_me:$LINENO: result: no" >&5
2127 echo "${ECHO_T}no" >&6
2130 test -n "$CC" && break
2133 if test -z "$CC"; then
2137 # Extract the first word of "$ac_prog", so it can be a program name with args.
2138 set dummy $ac_prog; ac_word=$2
2139 echo "$as_me:$LINENO: checking for $ac_word" >&5
2140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2141 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2142 echo $ECHO_N "(cached) $ECHO_C" >&6
2144 if test -n "$ac_ct_CC"; then
2145 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2151 test -z "$as_dir" && as_dir=.
2152 for ac_exec_ext in '' $ac_executable_extensions; do
2153 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2154 ac_cv_prog_ac_ct_CC="$ac_prog"
2155 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2163 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2164 if test -n "$ac_ct_CC"; then
2165 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2166 echo "${ECHO_T}$ac_ct_CC" >&6
2168 echo "$as_me:$LINENO: result: no" >&5
2169 echo "${ECHO_T}no" >&6
2172 test -n "$ac_ct_CC" && break
2181 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2182 See \`config.log' for more details." >&5
2183 echo "$as_me: error: no acceptable C compiler found in \$PATH
2184 See \`config.log' for more details." >&2;}
2185 { (exit 1); exit 1; }; }
2187 # Provide some information about the compiler.
2188 echo "$as_me:$LINENO:" \
2189 "checking for C compiler version" >&5
2190 ac_compiler=`set X $ac_compile; echo $2`
2191 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2192 (eval $ac_compiler --version </dev/null >&5) 2>&5
2194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2195 (exit $ac_status); }
2196 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2197 (eval $ac_compiler -v </dev/null >&5) 2>&5
2199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2200 (exit $ac_status); }
2201 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2202 (eval $ac_compiler -V </dev/null >&5) 2>&5
2204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2205 (exit $ac_status); }
2207 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2208 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2209 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2210 echo $ECHO_N "(cached) $ECHO_C" >&6
2212 cat >conftest.$ac_ext <<_ACEOF
2215 cat confdefs.h >>conftest.$ac_ext
2216 cat >>conftest.$ac_ext <<_ACEOF
2217 /* end confdefs.h. */
2230 rm -f conftest.$ac_objext
2231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2232 (eval $ac_compile) 2>conftest.er1
2234 grep -v '^ *+' conftest.er1 >conftest.err
2236 cat conftest.err >&5
2237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2238 (exit $ac_status); } &&
2239 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2244 (exit $ac_status); }; } &&
2245 { ac_try='test -s conftest.$ac_objext'
2246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2250 (exit $ac_status); }; }; then
2253 echo "$as_me: failed program was:" >&5
2254 sed 's/^/| /' conftest.$ac_ext >&5
2258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2259 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2262 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2263 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2264 GCC=`test $ac_compiler_gnu = yes && echo yes`
2265 ac_test_CFLAGS=${CFLAGS+set}
2266 ac_save_CFLAGS=$CFLAGS
2268 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2269 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2270 if test "${ac_cv_prog_cc_g+set}" = set; then
2271 echo $ECHO_N "(cached) $ECHO_C" >&6
2273 cat >conftest.$ac_ext <<_ACEOF
2276 cat confdefs.h >>conftest.$ac_ext
2277 cat >>conftest.$ac_ext <<_ACEOF
2278 /* end confdefs.h. */
2288 rm -f conftest.$ac_objext
2289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2290 (eval $ac_compile) 2>conftest.er1
2292 grep -v '^ *+' conftest.er1 >conftest.err
2294 cat conftest.err >&5
2295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2296 (exit $ac_status); } &&
2297 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2302 (exit $ac_status); }; } &&
2303 { ac_try='test -s conftest.$ac_objext'
2304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2308 (exit $ac_status); }; }; then
2311 echo "$as_me: failed program was:" >&5
2312 sed 's/^/| /' conftest.$ac_ext >&5
2316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2318 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2319 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2320 if test "$ac_test_CFLAGS" = set; then
2321 CFLAGS=$ac_save_CFLAGS
2322 elif test $ac_cv_prog_cc_g = yes; then
2323 if test "$GCC" = yes; then
2329 if test "$GCC" = yes; then
2335 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2336 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2337 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2338 echo $ECHO_N "(cached) $ECHO_C" >&6
2340 ac_cv_prog_cc_stdc=no
2342 cat >conftest.$ac_ext <<_ACEOF
2345 cat confdefs.h >>conftest.$ac_ext
2346 cat >>conftest.$ac_ext <<_ACEOF
2347 /* end confdefs.h. */
2350 #include <sys/types.h>
2351 #include <sys/stat.h>
2352 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2353 struct buf { int x; };
2354 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2355 static char *e (p, i)
2361 static char *f (char * (*g) (char **, int), char **p, ...)
2366 s = g (p, va_arg (v,int));
2371 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2372 function prototypes and stuff, but not '\xHH' hex character constants.
2373 These don't provoke an error unfortunately, instead are silently treated
2374 as 'x'. The following induces an error, until -std1 is added to get
2375 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2376 array size at least. It's necessary to write '\x00'==0 to get something
2377 that's true only with -std1. */
2378 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2380 int test (int i, double x);
2381 struct s1 {int (*f) (int a);};
2382 struct s2 {int (*f) (double a);};
2383 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2389 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2394 # Don't try gcc -ansi; that turns off useful extensions and
2395 # breaks some systems' header files.
2396 # AIX -qlanglvl=ansi
2397 # Ultrix and OSF/1 -std1
2398 # HP-UX 10.20 and later -Ae
2399 # HP-UX older versions -Aa -D_HPUX_SOURCE
2400 # SVR4 -Xc -D__EXTENSIONS__
2401 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2403 CC="$ac_save_CC $ac_arg"
2404 rm -f conftest.$ac_objext
2405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2406 (eval $ac_compile) 2>conftest.er1
2408 grep -v '^ *+' conftest.er1 >conftest.err
2410 cat conftest.err >&5
2411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2412 (exit $ac_status); } &&
2413 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2418 (exit $ac_status); }; } &&
2419 { ac_try='test -s conftest.$ac_objext'
2420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2424 (exit $ac_status); }; }; then
2425 ac_cv_prog_cc_stdc=$ac_arg
2428 echo "$as_me: failed program was:" >&5
2429 sed 's/^/| /' conftest.$ac_ext >&5
2432 rm -f conftest.err conftest.$ac_objext
2434 rm -f conftest.$ac_ext conftest.$ac_objext
2439 case "x$ac_cv_prog_cc_stdc" in
2441 echo "$as_me:$LINENO: result: none needed" >&5
2442 echo "${ECHO_T}none needed" >&6 ;;
2444 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2445 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2446 CC="$CC $ac_cv_prog_cc_stdc" ;;
2449 # Some people use a C++ compiler to compile C. Since we use `exit',
2450 # in C++ we need to declare it. In case someone uses the same compiler
2451 # for both compiling C and C++ we need to have the C++ compiler decide
2452 # the declaration of exit, since it's the most demanding environment.
2453 cat >conftest.$ac_ext <<_ACEOF
2458 rm -f conftest.$ac_objext
2459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2460 (eval $ac_compile) 2>conftest.er1
2462 grep -v '^ *+' conftest.er1 >conftest.err
2464 cat conftest.err >&5
2465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2466 (exit $ac_status); } &&
2467 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2472 (exit $ac_status); }; } &&
2473 { ac_try='test -s conftest.$ac_objext'
2474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2478 (exit $ac_status); }; }; then
2479 for ac_declaration in \
2481 'extern "C" void std::exit (int) throw (); using std::exit;' \
2482 'extern "C" void std::exit (int); using std::exit;' \
2483 'extern "C" void exit (int) throw ();' \
2484 'extern "C" void exit (int);' \
2487 cat >conftest.$ac_ext <<_ACEOF
2490 cat confdefs.h >>conftest.$ac_ext
2491 cat >>conftest.$ac_ext <<_ACEOF
2492 /* end confdefs.h. */
2503 rm -f conftest.$ac_objext
2504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2505 (eval $ac_compile) 2>conftest.er1
2507 grep -v '^ *+' conftest.er1 >conftest.err
2509 cat conftest.err >&5
2510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2511 (exit $ac_status); } &&
2512 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2517 (exit $ac_status); }; } &&
2518 { ac_try='test -s conftest.$ac_objext'
2519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2523 (exit $ac_status); }; }; then
2526 echo "$as_me: failed program was:" >&5
2527 sed 's/^/| /' conftest.$ac_ext >&5
2531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2532 cat >conftest.$ac_ext <<_ACEOF
2535 cat confdefs.h >>conftest.$ac_ext
2536 cat >>conftest.$ac_ext <<_ACEOF
2537 /* end confdefs.h. */
2547 rm -f conftest.$ac_objext
2548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2549 (eval $ac_compile) 2>conftest.er1
2551 grep -v '^ *+' conftest.er1 >conftest.err
2553 cat conftest.err >&5
2554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2555 (exit $ac_status); } &&
2556 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2561 (exit $ac_status); }; } &&
2562 { ac_try='test -s conftest.$ac_objext'
2563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2567 (exit $ac_status); }; }; then
2570 echo "$as_me: failed program was:" >&5
2571 sed 's/^/| /' conftest.$ac_ext >&5
2574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2577 if test -n "$ac_declaration"; then
2578 echo '#ifdef __cplusplus' >>confdefs.h
2579 echo $ac_declaration >>confdefs.h
2580 echo '#endif' >>confdefs.h
2584 echo "$as_me: failed program was:" >&5
2585 sed 's/^/| /' conftest.$ac_ext >&5
2588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2590 ac_cpp='$CPP $CPPFLAGS'
2591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2597 ac_cpp='$CPP $CPPFLAGS'
2598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2601 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2602 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2603 # On Suns, sometimes $CPP names a directory.
2604 if test -n "$CPP" && test -d "$CPP"; then
2607 if test -z "$CPP"; then
2608 if test "${ac_cv_prog_CPP+set}" = set; then
2609 echo $ECHO_N "(cached) $ECHO_C" >&6
2611 # Double quotes because CPP needs to be expanded
2612 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2615 for ac_c_preproc_warn_flag in '' yes
2617 # Use a header file that comes with gcc, so configuring glibc
2618 # with a fresh cross-compiler works.
2619 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2620 # <limits.h> exists even on freestanding compilers.
2621 # On the NeXT, cc -E runs the code through the compiler's parser,
2622 # not just through cpp. "Syntax error" is here to catch this case.
2623 cat >conftest.$ac_ext <<_ACEOF
2626 cat confdefs.h >>conftest.$ac_ext
2627 cat >>conftest.$ac_ext <<_ACEOF
2628 /* end confdefs.h. */
2630 # include <limits.h>
2632 # include <assert.h>
2636 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2637 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2639 grep -v '^ *+' conftest.er1 >conftest.err
2641 cat conftest.err >&5
2642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2643 (exit $ac_status); } >/dev/null; then
2644 if test -s conftest.err; then
2645 ac_cpp_err=$ac_c_preproc_warn_flag
2646 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2653 if test -z "$ac_cpp_err"; then
2656 echo "$as_me: failed program was:" >&5
2657 sed 's/^/| /' conftest.$ac_ext >&5
2659 # Broken: fails on valid input.
2662 rm -f conftest.err conftest.$ac_ext
2664 # OK, works on sane cases. Now check whether non-existent headers
2665 # can be detected and how.
2666 cat >conftest.$ac_ext <<_ACEOF
2669 cat confdefs.h >>conftest.$ac_ext
2670 cat >>conftest.$ac_ext <<_ACEOF
2671 /* end confdefs.h. */
2672 #include <ac_nonexistent.h>
2674 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2675 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2677 grep -v '^ *+' conftest.er1 >conftest.err
2679 cat conftest.err >&5
2680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2681 (exit $ac_status); } >/dev/null; then
2682 if test -s conftest.err; then
2683 ac_cpp_err=$ac_c_preproc_warn_flag
2684 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2691 if test -z "$ac_cpp_err"; then
2692 # Broken: success on invalid input.
2695 echo "$as_me: failed program was:" >&5
2696 sed 's/^/| /' conftest.$ac_ext >&5
2698 # Passes both tests.
2702 rm -f conftest.err conftest.$ac_ext
2705 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2706 rm -f conftest.err conftest.$ac_ext
2707 if $ac_preproc_ok; then
2719 echo "$as_me:$LINENO: result: $CPP" >&5
2720 echo "${ECHO_T}$CPP" >&6
2722 for ac_c_preproc_warn_flag in '' yes
2724 # Use a header file that comes with gcc, so configuring glibc
2725 # with a fresh cross-compiler works.
2726 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2727 # <limits.h> exists even on freestanding compilers.
2728 # On the NeXT, cc -E runs the code through the compiler's parser,
2729 # not just through cpp. "Syntax error" is here to catch this case.
2730 cat >conftest.$ac_ext <<_ACEOF
2733 cat confdefs.h >>conftest.$ac_ext
2734 cat >>conftest.$ac_ext <<_ACEOF
2735 /* end confdefs.h. */
2737 # include <limits.h>
2739 # include <assert.h>
2743 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2744 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2746 grep -v '^ *+' conftest.er1 >conftest.err
2748 cat conftest.err >&5
2749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2750 (exit $ac_status); } >/dev/null; then
2751 if test -s conftest.err; then
2752 ac_cpp_err=$ac_c_preproc_warn_flag
2753 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2760 if test -z "$ac_cpp_err"; then
2763 echo "$as_me: failed program was:" >&5
2764 sed 's/^/| /' conftest.$ac_ext >&5
2766 # Broken: fails on valid input.
2769 rm -f conftest.err conftest.$ac_ext
2771 # OK, works on sane cases. Now check whether non-existent headers
2772 # can be detected and how.
2773 cat >conftest.$ac_ext <<_ACEOF
2776 cat confdefs.h >>conftest.$ac_ext
2777 cat >>conftest.$ac_ext <<_ACEOF
2778 /* end confdefs.h. */
2779 #include <ac_nonexistent.h>
2781 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2782 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2784 grep -v '^ *+' conftest.er1 >conftest.err
2786 cat conftest.err >&5
2787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2788 (exit $ac_status); } >/dev/null; then
2789 if test -s conftest.err; then
2790 ac_cpp_err=$ac_c_preproc_warn_flag
2791 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2798 if test -z "$ac_cpp_err"; then
2799 # Broken: success on invalid input.
2802 echo "$as_me: failed program was:" >&5
2803 sed 's/^/| /' conftest.$ac_ext >&5
2805 # Passes both tests.
2809 rm -f conftest.err conftest.$ac_ext
2812 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2813 rm -f conftest.err conftest.$ac_ext
2814 if $ac_preproc_ok; then
2817 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2818 See \`config.log' for more details." >&5
2819 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2820 See \`config.log' for more details." >&2;}
2821 { (exit 1); exit 1; }; }
2825 ac_cpp='$CPP $CPPFLAGS'
2826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2831 echo "$as_me:$LINENO: checking for egrep" >&5
2832 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2833 if test "${ac_cv_prog_egrep+set}" = set; then
2834 echo $ECHO_N "(cached) $ECHO_C" >&6
2836 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2837 then ac_cv_prog_egrep='grep -E'
2838 else ac_cv_prog_egrep='egrep'
2841 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2842 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2843 EGREP=$ac_cv_prog_egrep
2846 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2847 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2848 if test "${ac_cv_header_stdc+set}" = set; then
2849 echo $ECHO_N "(cached) $ECHO_C" >&6
2851 cat >conftest.$ac_ext <<_ACEOF
2854 cat confdefs.h >>conftest.$ac_ext
2855 cat >>conftest.$ac_ext <<_ACEOF
2856 /* end confdefs.h. */
2870 rm -f conftest.$ac_objext
2871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2872 (eval $ac_compile) 2>conftest.er1
2874 grep -v '^ *+' conftest.er1 >conftest.err
2876 cat conftest.err >&5
2877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2878 (exit $ac_status); } &&
2879 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2884 (exit $ac_status); }; } &&
2885 { ac_try='test -s conftest.$ac_objext'
2886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2890 (exit $ac_status); }; }; then
2891 ac_cv_header_stdc=yes
2893 echo "$as_me: failed program was:" >&5
2894 sed 's/^/| /' conftest.$ac_ext >&5
2896 ac_cv_header_stdc=no
2898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2900 if test $ac_cv_header_stdc = yes; then
2901 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2902 cat >conftest.$ac_ext <<_ACEOF
2905 cat confdefs.h >>conftest.$ac_ext
2906 cat >>conftest.$ac_ext <<_ACEOF
2907 /* end confdefs.h. */
2911 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2912 $EGREP "memchr" >/dev/null 2>&1; then
2915 ac_cv_header_stdc=no
2921 if test $ac_cv_header_stdc = yes; then
2922 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2923 cat >conftest.$ac_ext <<_ACEOF
2926 cat confdefs.h >>conftest.$ac_ext
2927 cat >>conftest.$ac_ext <<_ACEOF
2928 /* end confdefs.h. */
2932 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2933 $EGREP "free" >/dev/null 2>&1; then
2936 ac_cv_header_stdc=no
2942 if test $ac_cv_header_stdc = yes; then
2943 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2944 if test "$cross_compiling" = yes; then
2947 cat >conftest.$ac_ext <<_ACEOF
2950 cat confdefs.h >>conftest.$ac_ext
2951 cat >>conftest.$ac_ext <<_ACEOF
2952 /* end confdefs.h. */
2954 #if ((' ' & 0x0FF) == 0x020)
2955 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2956 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2958 # define ISLOWER(c) \
2959 (('a' <= (c) && (c) <= 'i') \
2960 || ('j' <= (c) && (c) <= 'r') \
2961 || ('s' <= (c) && (c) <= 'z'))
2962 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2965 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2970 for (i = 0; i < 256; i++)
2971 if (XOR (islower (i), ISLOWER (i))
2972 || toupper (i) != TOUPPER (i))
2977 rm -f conftest$ac_exeext
2978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2979 (eval $ac_link) 2>&5
2981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2982 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2987 (exit $ac_status); }; }; then
2990 echo "$as_me: program exited with status $ac_status" >&5
2991 echo "$as_me: failed program was:" >&5
2992 sed 's/^/| /' conftest.$ac_ext >&5
2995 ac_cv_header_stdc=no
2997 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3001 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3002 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3003 if test $ac_cv_header_stdc = yes; then
3005 cat >>confdefs.h <<\_ACEOF
3006 #define STDC_HEADERS 1
3012 REQUIRED_PWLIB_MAJOR=1
3013 REQUIRED_PWLIB_MINOR=10
3014 REQUIRED_PWLIB_BUILD=0
3020 if test "x$prefix" = "xNONE"; then
3021 INSTALLPREFIX="/usr/local"
3023 INSTALLPREFIX="${prefix}"
3034 MAJOR_VERSION=`cat ${OPENH323DIR}/version.h | grep MAJOR_VERSION | cut -f3 -d' '`
3035 MINOR_VERSION=`cat ${OPENH323DIR}/version.h | grep MINOR_VERSION | cut -f3 -d' '`
3036 BUILD_NUMBER=`cat ${OPENH323DIR}/version.h | grep BUILD_NUMBER | cut -f3 -d' '`
3037 OPENH323_VERSION="${MAJOR_VERSION}.${MINOR_VERSION}.${BUILD_NUMBER}"
3042 MAJOR_VERSION=$MAJOR_VERSION
3044 MINOR_VERSION=$MINOR_VERSION
3046 BUILD_NUMBER=$BUILD_NUMBER
3049 echo "OpenH323 version is ${OPENH323_VERSION}"
3051 cat >>confdefs.h <<_ACEOF
3052 #define OPENH323_MAJOR ${MAJOR_VERSION}
3055 cat >>confdefs.h <<_ACEOF
3056 #define OPENH323_MINOR ${MINOR_VERSION}
3059 cat >>confdefs.h <<_ACEOF
3060 #define OPENH323_BUILD ${BUILD_NUMBER}
3063 cat >>confdefs.h <<_ACEOF
3064 #define OPENH323_VERSION "$OPENH323_VERSION"
3069 #if test "${PWLIBDIR:-unset}" != "unset" ; then
3070 # AC_CHECK_FILE(${PWLIBDIR}/version.h, HAS_PTLIB=1)
3072 #if test "${HAS_PTLIB:-unset}" = "unset" ; then
3073 # AC_CHECK_FILE(${OPENH323DIR}/../pwlib/version.h, HAS_PTLIB=1)
3074 # if test "${HAS_PTLIB:-unset}" != "unset" ; then
3075 # PWLIBDIR="${OPENH323DIR}/../pwlib"
3077 # AC_CHECK_FILE(${HOME}/pwlib/include/ptlib.h, HAS_PTLIB=1)
3078 # if test "${HAS_PTLIB:-unset}" != "unset" ; then
3079 # PWLIBDIR="${HOME}/pwlib"
3081 # AC_CHECK_FILE(/usr/local/include/ptlib.h, HAS_PTLIB=1)
3082 # if test "${HAS_PTLIB:-unset}" != "unset" ; then
3083 # AC_PATH_PROG(PTLIB_CONFIG, ptlib-config, , /usr/local/bin)
3085 # AC_CHECK_FILE(/usr/include/ptlib.h, HAS_PTLIB=1)
3086 # if test "${HAS_PTLIB:-unset}" != "unset" ; then
3087 # AC_PATH_PROG(PTLIB_CONFIG, ptlib-config, , /usr/share/pwlib/make/)
3094 if test "${HAS_PTLIB:-unset}" = "unset" ; then
3095 echo "Cannot find pwlib - please install or set PWLIBDIR and try again"
3099 if test "${PWLIBDIR:-unset}" = "unset" ; then
3100 if test "${PTLIB_CONFIG:-unset}" = "unset" ; then
3101 echo "Cannot find ptlib-config - please install and try again"
3104 PWLIBDIR=`$PTLIB_CONFIG --prefix`
3107 if test "x$PWLIBDIR" = "x/usr" -o "x$PWLIBDIR" = "x/usr/"; then
3108 PWLIBDIR="/usr/share/pwlib/"
3110 if test "x$PWLIBDIR" = "x/usr/local" -o "x$PWLIBDIR" = "x/usr/"; then
3111 PWLIBDIR="/usr/local/share/pwlib/"
3114 echo "PWLib prefix set to.... $PWLIBDIR"
3116 if test "${PWLIBDIR:-unset}" = "unset" ; then
3117 PWVERSION=`$PTLIB_CONFIG --version`
3118 PW_MAJOR_VERSION=`echo $PW_VERSION | cut -d'.' -f1`
3119 PW_MINOR_VERSION=`echo $PW_VERSION | cut -d'.' -f2`
3120 PW_BUILD_NUMBER=`echo $PW_VERSION | cut -d'.' -f3`
3123 PW_MAJOR_VERSION=`cat ${PWLIBDIR}/version.h | grep MAJOR_VERSION | cut -f3 -d' '`
3124 PW_MINOR_VERSION=`cat ${PWLIBDIR}/version.h | grep MINOR_VERSION | cut -f3 -d' '`
3125 PW_BUILD_NUMBER=`cat ${PWLIBDIR}/version.h | grep BUILD_NUMBER | cut -f3 -d' '`
3126 PWVERSION="${PW_MAJOR_VERSION}.${PW_MINOR_VERSION}.${PW_BUILD_NUMBER}"
3129 # Check whether --enable-versioncheck or --disable-versioncheck was given.
3130 if test "${enable_versioncheck+set}" = set; then
3131 enableval="$enable_versioncheck"
3132 PWLIB_VERSION_CHECK=$enableval
3135 echo "$as_me:$LINENO: checking Checking PWLib version ${PWVERSION}" >&5
3136 echo $ECHO_N "checking Checking PWLib version ${PWVERSION}... $ECHO_C" >&6
3137 if test "${PWLIB_VERSION_CHECK}x" = "nox" ; then
3138 echo "$as_me:$LINENO: result: check disabled" >&5
3139 echo "${ECHO_T}check disabled" >&6
3141 if test $PW_MAJOR_VERSION -lt $REQUIRED_PWLIB_MAJOR ; then
3142 echo "$as_me:$LINENO: result: Major version less than required $REQUIRED_PWLIB_MAJOR" >&5
3143 echo "${ECHO_T}Major version less than required $REQUIRED_PWLIB_MAJOR" >&6
3146 if test $PW_MINOR_VERSION -lt $REQUIRED_PWLIB_MINOR ; then
3147 echo "$as_me:$LINENO: result: Minor version less than required $REQUIRED_PWLIB_MINOR" >&5
3148 echo "${ECHO_T}Minor version less than required $REQUIRED_PWLIB_MINOR" >&6
3151 if test $PW_BUILD_NUMBER -lt $REQUIRED_PWLIB_BUILD ; then
3152 echo "$as_me:$LINENO: result: Build version less than required $REQUIRED_PWLIB_BUILD" >&5
3153 echo "${ECHO_T}Build version less than required $REQUIRED_PWLIB_BUILD" >&6
3156 echo "$as_me:$LINENO: result: ok" >&5
3157 echo "${ECHO_T}ok" >&6
3163 # Check whether --enable-minsize or --disable-minsize was given.
3164 if test "${enable_minsize+set}" = set; then
3165 enableval="$enable_minsize"
3172 default_asntracing=yes
3179 default_transnexusosp=yes
3180 default_h263avcodec=no
3182 { echo "$as_me:$LINENO: 2345" >&5
3183 echo "$as_me: 2345" >&6;}
3185 if test "${enable_minsize}x" = "yesx" ; then
3186 { echo "$as_me:$LINENO: 1234" >&5
3187 echo "$as_me: 1234" >&6;}
3191 default_asntracing=no
3198 default_transnexusosp=no
3199 default_h263avcodec=no
3205 # Check whether --enable-asntracing or --disable-asntracing was given.
3206 if test "${enable_asntracing+set}" = set; then
3207 enableval="$enable_asntracing"
3211 if test "${enable_asntracing}z" = "z" ; then
3212 enable_asntracing=$default_asntracing
3215 if test "$enable_asntracing" = "no" ; then
3216 { echo "$as_me:$LINENO: Disabling ASN tracing" >&5
3217 echo "$as_me: Disabling ASN tracing" >&6;}
3224 # Check whether --enable-audio or --disable-audio was given.
3225 if test "${enable_audio+set}" = set; then
3226 enableval="$enable_audio"
3230 if test "${enable_audio}z" = "z" ; then
3234 if test "$enable_audio" = "no" ; then
3235 { echo "$as_me:$LINENO: Disabling audio functions" >&5
3236 echo "$as_me: Disabling audio functions" >&6;}
3240 cat >>confdefs.h <<\_ACEOF
3241 #define H323_AUDIO_CODECS 1
3245 # Check whether --enable-embeddedgsm or --disable-embeddedgsm was given.
3246 if test "${enable_embeddedgsm+set}" = set; then
3247 enableval="$enable_embeddedgsm"
3248 EMBEDDED_GSM=$enableval
3250 if test "${EMBEDDED_GSM}x" != "x" ; then
3251 { echo "$as_me:$LINENO: Embedding GSM codec" >&5
3252 echo "$as_me: Embedding GSM codec" >&6;}
3253 LDFLAGS="$LDFLAGS -L${OPENH323DIR}/plugins/audio/GSM0610"
3254 ENDLDLIBS="$ENDLDLIBS -lgsm0610_audio_s"
3255 echo "$as_me:$LINENO: checking for gsm_create in -lgsm" >&5
3256 echo $ECHO_N "checking for gsm_create in -lgsm... $ECHO_C" >&6
3257 if test "${ac_cv_lib_gsm_gsm_create+set}" = set; then
3258 echo $ECHO_N "(cached) $ECHO_C" >&6
3260 ac_check_lib_save_LIBS=$LIBS
3262 cat >conftest.$ac_ext <<_ACEOF
3265 cat confdefs.h >>conftest.$ac_ext
3266 cat >>conftest.$ac_ext <<_ACEOF
3267 /* end confdefs.h. */
3269 /* Override any gcc2 internal prototype to avoid an error. */
3273 /* We use char because int might match the return type of a gcc2
3274 builtin and then its argument prototype would still apply. */
3284 rm -f conftest.$ac_objext conftest$ac_exeext
3285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3286 (eval $ac_link) 2>conftest.er1
3288 grep -v '^ *+' conftest.er1 >conftest.err
3290 cat conftest.err >&5
3291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3292 (exit $ac_status); } &&
3293 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3298 (exit $ac_status); }; } &&
3299 { ac_try='test -s conftest$ac_exeext'
3300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3304 (exit $ac_status); }; }; then
3305 ac_cv_lib_gsm_gsm_create=yes
3307 echo "$as_me: failed program was:" >&5
3308 sed 's/^/| /' conftest.$ac_ext >&5
3310 ac_cv_lib_gsm_gsm_create=no
3312 rm -f conftest.err conftest.$ac_objext \
3313 conftest$ac_exeext conftest.$ac_ext
3314 LIBS=$ac_check_lib_save_LIBS
3316 echo "$as_me:$LINENO: result: $ac_cv_lib_gsm_gsm_create" >&5
3317 echo "${ECHO_T}$ac_cv_lib_gsm_gsm_create" >&6
3318 if test $ac_cv_lib_gsm_gsm_create = yes; then
3322 if test "x$GSM" != "x"; then
3323 ENDLDLIBS="$ENDLDLIBS -lgsm"
3325 cat >>confdefs.h <<\_ACEOF
3326 #define H323_EMBEDDED_GSM 1
3334 # Check whether --enable-video or --disable-video was given.
3335 if test "${enable_video+set}" = set; then
3336 enableval="$enable_video"
3340 if test "${enable_video}z" = "z" ; then
3341 enable_video=$default_video
3344 if test "$enable_video" = "no" ; then
3345 { echo "$as_me:$LINENO: Disabling video support" >&5
3346 echo "$as_me: Disabling video support" >&6;}
3350 cat >>confdefs.h <<\_ACEOF
3351 #define H323_VIDEO 1
3358 H323_RFC2190_AVCODEC=
3359 H323_RFC2190_AVCODEC_DIR=
3363 if test "$enable_video" = "yes" ; then
3365 # Check whether --enable-rfc2190avcodec or --disable-rfc2190avcodec was given.
3366 if test "${enable_rfc2190avcodec+set}" = set; then
3367 enableval="$enable_rfc2190avcodec"
3371 if test "${enable_rfc2190avcodec}x" = "x" ; then
3372 { echo "$as_me:$LINENO: Skipping tests for RFC 2190 H.263 support" >&5
3373 echo "$as_me: Skipping tests for RFC 2190 H.263 support" >&6;}
3375 { echo "$as_me:$LINENO: Checking for RFC2190 H.263 codec" >&5
3376 echo "$as_me: Checking for RFC2190 H.263 codec" >&6;}
3377 H323_RFC2190_AVCODEC_DIR=$enable_rfc2190avcodec
3378 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3388 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3389 inttypes.h stdint.h unistd.h
3391 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3392 echo "$as_me:$LINENO: checking for $ac_header" >&5
3393 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3394 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3395 echo $ECHO_N "(cached) $ECHO_C" >&6
3397 cat >conftest.$ac_ext <<_ACEOF
3400 cat confdefs.h >>conftest.$ac_ext
3401 cat >>conftest.$ac_ext <<_ACEOF
3402 /* end confdefs.h. */
3403 $ac_includes_default
3405 #include <$ac_header>
3407 rm -f conftest.$ac_objext
3408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3409 (eval $ac_compile) 2>conftest.er1
3411 grep -v '^ *+' conftest.er1 >conftest.err
3413 cat conftest.err >&5
3414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3415 (exit $ac_status); } &&
3416 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3421 (exit $ac_status); }; } &&
3422 { ac_try='test -s conftest.$ac_objext'
3423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3427 (exit $ac_status); }; }; then
3428 eval "$as_ac_Header=yes"
3430 echo "$as_me: failed program was:" >&5
3431 sed 's/^/| /' conftest.$ac_ext >&5
3433 eval "$as_ac_Header=no"
3435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3438 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3439 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3440 cat >>confdefs.h <<_ACEOF
3441 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3449 as_ac_Header=`echo "ac_cv_header_${H323_RFC2190_AVCODEC_DIR}/avcodec.h" | $as_tr_sh`
3450 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3451 echo "$as_me:$LINENO: checking for ${H323_RFC2190_AVCODEC_DIR}/avcodec.h" >&5
3452 echo $ECHO_N "checking for ${H323_RFC2190_AVCODEC_DIR}/avcodec.h... $ECHO_C" >&6
3453 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3454 echo $ECHO_N "(cached) $ECHO_C" >&6
3456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3457 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3459 # Is the header compilable?
3460 echo "$as_me:$LINENO: checking ${H323_RFC2190_AVCODEC_DIR}/avcodec.h usability" >&5
3461 echo $ECHO_N "checking ${H323_RFC2190_AVCODEC_DIR}/avcodec.h usability... $ECHO_C" >&6
3462 cat >conftest.$ac_ext <<_ACEOF
3465 cat confdefs.h >>conftest.$ac_ext
3466 cat >>conftest.$ac_ext <<_ACEOF
3467 /* end confdefs.h. */
3468 $ac_includes_default
3469 #include <${H323_RFC2190_AVCODEC_DIR}/avcodec.h>
3471 rm -f conftest.$ac_objext
3472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3473 (eval $ac_compile) 2>conftest.er1
3475 grep -v '^ *+' conftest.er1 >conftest.err
3477 cat conftest.err >&5
3478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3479 (exit $ac_status); } &&
3480 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3485 (exit $ac_status); }; } &&
3486 { ac_try='test -s conftest.$ac_objext'
3487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3491 (exit $ac_status); }; }; then
3492 ac_header_compiler=yes
3494 echo "$as_me: failed program was:" >&5
3495 sed 's/^/| /' conftest.$ac_ext >&5
3497 ac_header_compiler=no
3499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3500 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3501 echo "${ECHO_T}$ac_header_compiler" >&6
3503 # Is the header present?
3504 echo "$as_me:$LINENO: checking ${H323_RFC2190_AVCODEC_DIR}/avcodec.h presence" >&5
3505 echo $ECHO_N "checking ${H323_RFC2190_AVCODEC_DIR}/avcodec.h presence... $ECHO_C" >&6
3506 cat >conftest.$ac_ext <<_ACEOF
3509 cat confdefs.h >>conftest.$ac_ext
3510 cat >>conftest.$ac_ext <<_ACEOF
3511 /* end confdefs.h. */
3512 #include <${H323_RFC2190_AVCODEC_DIR}/avcodec.h>
3514 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3515 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3517 grep -v '^ *+' conftest.er1 >conftest.err
3519 cat conftest.err >&5
3520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3521 (exit $ac_status); } >/dev/null; then
3522 if test -s conftest.err; then
3523 ac_cpp_err=$ac_c_preproc_warn_flag
3524 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3531 if test -z "$ac_cpp_err"; then
3532 ac_header_preproc=yes
3534 echo "$as_me: failed program was:" >&5
3535 sed 's/^/| /' conftest.$ac_ext >&5
3537 ac_header_preproc=no
3539 rm -f conftest.err conftest.$ac_ext
3540 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3541 echo "${ECHO_T}$ac_header_preproc" >&6
3543 # So? What about this header?
3544 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3546 { echo "$as_me:$LINENO: WARNING: ${H323_RFC2190_AVCODEC_DIR}/avcodec.h: accepted by the compiler, rejected by the preprocessor!" >&5
3547 echo "$as_me: WARNING: ${H323_RFC2190_AVCODEC_DIR}/avcodec.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3548 { echo "$as_me:$LINENO: WARNING: ${H323_RFC2190_AVCODEC_DIR}/avcodec.h: proceeding with the compiler's result" >&5
3549 echo "$as_me: WARNING: ${H323_RFC2190_AVCODEC_DIR}/avcodec.h: proceeding with the compiler's result" >&2;}
3550 ac_header_preproc=yes
3553 { echo "$as_me:$LINENO: WARNING: ${H323_RFC2190_AVCODEC_DIR}/avcodec.h: present but cannot be compiled" >&5
3554 echo "$as_me: WARNING: ${H323_RFC2190_AVCODEC_DIR}/avcodec.h: present but cannot be compiled" >&2;}
3555 { echo "$as_me:$LINENO: WARNING: ${H323_RFC2190_AVCODEC_DIR}/avcodec.h: check for missing prerequisite headers?" >&5
3556 echo "$as_me: WARNING: ${H323_RFC2190_AVCODEC_DIR}/avcodec.h: check for missing prerequisite headers?" >&2;}
3557 { echo "$as_me:$LINENO: WARNING: ${H323_RFC2190_AVCODEC_DIR}/avcodec.h: see the Autoconf documentation" >&5
3558 echo "$as_me: WARNING: ${H323_RFC2190_AVCODEC_DIR}/avcodec.h: see the Autoconf documentation" >&2;}
3559 { echo "$as_me:$LINENO: WARNING: ${H323_RFC2190_AVCODEC_DIR}/avcodec.h: section \"Present But Cannot Be Compiled\"" >&5
3560 echo "$as_me: WARNING: ${H323_RFC2190_AVCODEC_DIR}/avcodec.h: section \"Present But Cannot Be Compiled\"" >&2;}
3561 { echo "$as_me:$LINENO: WARNING: ${H323_RFC2190_AVCODEC_DIR}/avcodec.h: proceeding with the preprocessor's result" >&5
3562 echo "$as_me: WARNING: ${H323_RFC2190_AVCODEC_DIR}/avcodec.h: proceeding with the preprocessor's result" >&2;}
3563 { echo "$as_me:$LINENO: WARNING: ${H323_RFC2190_AVCODEC_DIR}/avcodec.h: in the future, the compiler will take precedence" >&5
3564 echo "$as_me: WARNING: ${H323_RFC2190_AVCODEC_DIR}/avcodec.h: in the future, the compiler will take precedence" >&2;}
3567 ## ------------------------------------------ ##
3568 ## Report this to the AC_PACKAGE_NAME lists. ##
3569 ## ------------------------------------------ ##
3572 sed "s/^/$as_me: WARNING: /" >&2
3575 echo "$as_me:$LINENO: checking for ${H323_RFC2190_AVCODEC_DIR}/avcodec.h" >&5
3576 echo $ECHO_N "checking for ${H323_RFC2190_AVCODEC_DIR}/avcodec.h... $ECHO_C" >&6
3577 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3578 echo $ECHO_N "(cached) $ECHO_C" >&6
3580 eval "$as_ac_Header=\$ac_header_preproc"
3582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3583 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3586 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3587 H323_RFC2190_AVCODEC=1
3591 if test "${H323_RFC2190_AVCODEC}" == "1" ; then
3592 cat >>confdefs.h <<\_ACEOF
3593 #define H323_RFC2190_AVCODEC 1
3596 H323_RFC2190_AVCODEC=1
3597 H323_RFC2190_AVCODEC_DIR=${H323_RFC2190_AVCODEC_DIR}
3598 STDCCFLAGS="${STDCCFLAGS} -I${H323_RFC2190_AVCODEC_DIR}"
3604 # Check whether --enable-h263avcodec or --disable-h263avcodec was given.
3605 if test "${enable_h263avcodec+set}" = set; then
3606 enableval="$enable_h263avcodec"
3609 if test "${enable_h263avcodec}z" = "z" ; then
3610 enable_h263avcodec=$default_h263avcodec
3613 if test "$enable_h263avcodec" = "no" ; then
3614 { echo "$as_me:$LINENO: Disabled non-RFC2190 H.263 using ffmpeg" >&5
3615 echo "$as_me: Disabled non-RFC2190 H.263 using ffmpeg" >&6;}
3618 for ac_header in avcodec.h
3620 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3621 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3622 echo "$as_me:$LINENO: checking for $ac_header" >&5
3623 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3624 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3625 echo $ECHO_N "(cached) $ECHO_C" >&6
3627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3628 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3630 # Is the header compilable?
3631 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3632 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3633 cat >conftest.$ac_ext <<_ACEOF
3636 cat confdefs.h >>conftest.$ac_ext
3637 cat >>conftest.$ac_ext <<_ACEOF
3638 /* end confdefs.h. */
3639 $ac_includes_default
3640 #include <$ac_header>
3642 rm -f conftest.$ac_objext
3643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3644 (eval $ac_compile) 2>conftest.er1
3646 grep -v '^ *+' conftest.er1 >conftest.err
3648 cat conftest.err >&5
3649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3650 (exit $ac_status); } &&
3651 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3656 (exit $ac_status); }; } &&
3657 { ac_try='test -s conftest.$ac_objext'
3658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3662 (exit $ac_status); }; }; then
3663 ac_header_compiler=yes
3665 echo "$as_me: failed program was:" >&5
3666 sed 's/^/| /' conftest.$ac_ext >&5
3668 ac_header_compiler=no
3670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3671 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3672 echo "${ECHO_T}$ac_header_compiler" >&6
3674 # Is the header present?
3675 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3676 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3677 cat >conftest.$ac_ext <<_ACEOF
3680 cat confdefs.h >>conftest.$ac_ext
3681 cat >>conftest.$ac_ext <<_ACEOF
3682 /* end confdefs.h. */
3683 #include <$ac_header>
3685 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3686 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3688 grep -v '^ *+' conftest.er1 >conftest.err
3690 cat conftest.err >&5
3691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3692 (exit $ac_status); } >/dev/null; then
3693 if test -s conftest.err; then
3694 ac_cpp_err=$ac_c_preproc_warn_flag
3695 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3702 if test -z "$ac_cpp_err"; then
3703 ac_header_preproc=yes
3705 echo "$as_me: failed program was:" >&5
3706 sed 's/^/| /' conftest.$ac_ext >&5
3708 ac_header_preproc=no
3710 rm -f conftest.err conftest.$ac_ext
3711 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3712 echo "${ECHO_T}$ac_header_preproc" >&6
3714 # So? What about this header?
3715 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3717 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3718 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3719 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3720 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3721 ac_header_preproc=yes
3724 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3725 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3726 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3727 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3728 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3729 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3730 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3731 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3732 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3733 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3734 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3735 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3738 ## ------------------------------------------ ##
3739 ## Report this to the AC_PACKAGE_NAME lists. ##
3740 ## ------------------------------------------ ##
3743 sed "s/^/$as_me: WARNING: /" >&2
3746 echo "$as_me:$LINENO: checking for $ac_header" >&5
3747 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3748 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3749 echo $ECHO_N "(cached) $ECHO_C" >&6
3751 eval "$as_ac_Header=\$ac_header_preproc"
3753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3754 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3757 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3758 cat >>confdefs.h <<_ACEOF
3759 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3767 if test "${H323_AVCODEC}z" != "z" ; then
3768 echo "$as_me:$LINENO: checking for avcodec_open in -lavcodec" >&5
3769 echo $ECHO_N "checking for avcodec_open in -lavcodec... $ECHO_C" >&6
3770 if test "${ac_cv_lib_avcodec_avcodec_open+set}" = set; then
3771 echo $ECHO_N "(cached) $ECHO_C" >&6
3773 ac_check_lib_save_LIBS=$LIBS
3774 LIBS="-lavcodec $LIBS"
3775 cat >conftest.$ac_ext <<_ACEOF
3778 cat confdefs.h >>conftest.$ac_ext
3779 cat >>conftest.$ac_ext <<_ACEOF
3780 /* end confdefs.h. */
3782 /* Override any gcc2 internal prototype to avoid an error. */
3786 /* We use char because int might match the return type of a gcc2
3787 builtin and then its argument prototype would still apply. */
3788 char avcodec_open ();
3797 rm -f conftest.$ac_objext conftest$ac_exeext
3798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3799 (eval $ac_link) 2>conftest.er1
3801 grep -v '^ *+' conftest.er1 >conftest.err
3803 cat conftest.err >&5
3804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3805 (exit $ac_status); } &&
3806 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3811 (exit $ac_status); }; } &&
3812 { ac_try='test -s conftest$ac_exeext'
3813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3817 (exit $ac_status); }; }; then
3818 ac_cv_lib_avcodec_avcodec_open=yes
3820 echo "$as_me: failed program was:" >&5
3821 sed 's/^/| /' conftest.$ac_ext >&5
3823 ac_cv_lib_avcodec_avcodec_open=no
3825 rm -f conftest.err conftest.$ac_objext \
3826 conftest$ac_exeext conftest.$ac_ext
3827 LIBS=$ac_check_lib_save_LIBS
3829 echo "$as_me:$LINENO: result: $ac_cv_lib_avcodec_avcodec_open" >&5
3830 echo "${ECHO_T}$ac_cv_lib_avcodec_avcodec_open" >&6
3831 if test $ac_cv_lib_avcodec_avcodec_open = yes; then
3839 if test "${H323_AVCODEC}z" != "z" ; then
3840 echo "$as_me:$LINENO: checking for /usr/local/include/ffmpeg/avcodec.h" >&5
3841 echo $ECHO_N "checking for /usr/local/include/ffmpeg/avcodec.h... $ECHO_C" >&6
3842 if test "${ac_cv_file__usr_local_include_ffmpeg_avcodec_h+set}" = set; then
3843 echo $ECHO_N "(cached) $ECHO_C" >&6
3845 test "$cross_compiling" = yes &&
3846 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
3847 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
3848 { (exit 1); exit 1; }; }
3849 if test -r "/usr/local/include/ffmpeg/avcodec.h"; then
3850 ac_cv_file__usr_local_include_ffmpeg_avcodec_h=yes
3852 ac_cv_file__usr_local_include_ffmpeg_avcodec_h=no
3855 echo "$as_me:$LINENO: result: $ac_cv_file__usr_local_include_ffmpeg_avcodec_h" >&5
3856 echo "${ECHO_T}$ac_cv_file__usr_local_include_ffmpeg_avcodec_h" >&6
3857 if test $ac_cv_file__usr_local_include_ffmpeg_avcodec_h = yes; then
3863 if test "${H323_AVCODEC}z" = "z" ; then
3864 { echo "$as_me:$LINENO: Unable to find non-RFC2190 H.263 using ffmpeg" >&5
3865 echo "$as_me: Unable to find non-RFC2190 H.263 using ffmpeg" >&6;}
3869 cat >>confdefs.h <<\_ACEOF
3870 #define H323_AVCODEC 1
3873 AVCODECINCLUDEDIR=/usr/local/include/ffmpeg
3874 AVCODECLIBDIR=/usr/local/lib
3875 STDCCFLAGS="$STDCCFLAGS -I${AVCODECINCLUDEDIR}"
3877 { echo "$as_me:$LINENO: Enabled non-RFC2190 H.263 using ffmpeg" >&5
3878 echo "$as_me: Enabled non-RFC2190 H.263 using ffmpeg" >&6;}
3884 # Check whether --enable-vich263 or --disable-vich263 was given.
3885 if test "${enable_vich263+set}" = set; then
3886 enableval="$enable_vich263"
3889 if test "${enable_vich263}z" = "z" ; then
3890 enable_vich263=$default_vich263
3893 if test "$enable_vich263" = "no" ; then
3894 { echo "$as_me:$LINENO: Disabled H.263 using VIC" >&5
3895 echo "$as_me: Disabled H.263 using VIC" >&6;}
3898 for ac_header in encoder-h263.h
3900 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3901 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3902 echo "$as_me:$LINENO: checking for $ac_header" >&5
3903 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3904 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3905 echo $ECHO_N "(cached) $ECHO_C" >&6
3907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3908 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3910 # Is the header compilable?
3911 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3912 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3913 cat >conftest.$ac_ext <<_ACEOF
3916 cat confdefs.h >>conftest.$ac_ext
3917 cat >>conftest.$ac_ext <<_ACEOF
3918 /* end confdefs.h. */
3919 $ac_includes_default
3920 #include <$ac_header>
3922 rm -f conftest.$ac_objext
3923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3924 (eval $ac_compile) 2>conftest.er1
3926 grep -v '^ *+' conftest.er1 >conftest.err
3928 cat conftest.err >&5
3929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3930 (exit $ac_status); } &&
3931 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3936 (exit $ac_status); }; } &&
3937 { ac_try='test -s conftest.$ac_objext'
3938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3942 (exit $ac_status); }; }; then
3943 ac_header_compiler=yes
3945 echo "$as_me: failed program was:" >&5
3946 sed 's/^/| /' conftest.$ac_ext >&5
3948 ac_header_compiler=no
3950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3951 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3952 echo "${ECHO_T}$ac_header_compiler" >&6
3954 # Is the header present?
3955 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3956 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3957 cat >conftest.$ac_ext <<_ACEOF
3960 cat confdefs.h >>conftest.$ac_ext
3961 cat >>conftest.$ac_ext <<_ACEOF
3962 /* end confdefs.h. */
3963 #include <$ac_header>
3965 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3966 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3968 grep -v '^ *+' conftest.er1 >conftest.err
3970 cat conftest.err >&5
3971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3972 (exit $ac_status); } >/dev/null; then
3973 if test -s conftest.err; then
3974 ac_cpp_err=$ac_c_preproc_warn_flag
3975 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3982 if test -z "$ac_cpp_err"; then
3983 ac_header_preproc=yes
3985 echo "$as_me: failed program was:" >&5
3986 sed 's/^/| /' conftest.$ac_ext >&5
3988 ac_header_preproc=no
3990 rm -f conftest.err conftest.$ac_ext
3991 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3992 echo "${ECHO_T}$ac_header_preproc" >&6
3994 # So? What about this header?
3995 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3997 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3998 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3999 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4000 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4001 ac_header_preproc=yes
4004 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4005 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4006 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4007 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4008 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4009 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4010 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4011 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4012 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4013 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4014 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4015 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4018 ## ------------------------------------------ ##
4019 ## Report this to the AC_PACKAGE_NAME lists. ##
4020 ## ------------------------------------------ ##
4023 sed "s/^/$as_me: WARNING: /" >&2
4026 echo "$as_me:$LINENO: checking for $ac_header" >&5
4027 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4028 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4029 echo $ECHO_N "(cached) $ECHO_C" >&6
4031 eval "$as_ac_Header=\$ac_header_preproc"
4033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4034 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4037 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4038 cat >>confdefs.h <<_ACEOF
4039 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4046 if test "${H323_VICH263}z" != "z" ; then
4047 echo "$as_me:$LINENO: checking for /usr/local/lib/libvich263.so" >&5
4048 echo $ECHO_N "checking for /usr/local/lib/libvich263.so... $ECHO_C" >&6
4049 if test "${ac_cv_file__usr_local_lib_libvich263_so+set}" = set; then
4050 echo $ECHO_N "(cached) $ECHO_C" >&6
4052 test "$cross_compiling" = yes &&
4053 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
4054 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
4055 { (exit 1); exit 1; }; }
4056 if test -r "/usr/local/lib/libvich263.so"; then
4057 ac_cv_file__usr_local_lib_libvich263_so=yes
4059 ac_cv_file__usr_local_lib_libvich263_so=no
4062 echo "$as_me:$LINENO: result: $ac_cv_file__usr_local_lib_libvich263_so" >&5
4063 echo "${ECHO_T}$ac_cv_file__usr_local_lib_libvich263_so" >&6
4064 if test $ac_cv_file__usr_local_lib_libvich263_so = yes; then
4072 if test "${H323_VICH263}z" != "z" ; then
4073 echo "$as_me:$LINENO: checking for /usr/local/include/vich263/encoder-h263.h" >&5
4074 echo $ECHO_N "checking for /usr/local/include/vich263/encoder-h263.h... $ECHO_C" >&6
4075 if test "${ac_cv_file__usr_local_include_vich263_encoder_h263_h+set}" = set; then
4076 echo $ECHO_N "(cached) $ECHO_C" >&6
4078 test "$cross_compiling" = yes &&
4079 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
4080 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
4081 { (exit 1); exit 1; }; }
4082 if test -r "/usr/local/include/vich263/encoder-h263.h"; then
4083 ac_cv_file__usr_local_include_vich263_encoder_h263_h=yes
4085 ac_cv_file__usr_local_include_vich263_encoder_h263_h=no
4088 echo "$as_me:$LINENO: result: $ac_cv_file__usr_local_include_vich263_encoder_h263_h" >&5
4089 echo "${ECHO_T}$ac_cv_file__usr_local_include_vich263_encoder_h263_h" >&6
4090 if test $ac_cv_file__usr_local_include_vich263_encoder_h263_h = yes; then
4096 if test "${H323_VICH263}z" = "z" ; then
4097 { echo "$as_me:$LINENO: Unable to find H.263 using VIC" >&5
4098 echo "$as_me: Unable to find H.263 using VIC" >&6;}
4102 cat >>confdefs.h <<\_ACEOF
4103 #define H323_VICH263 1
4106 VICH263INCLUDEDIR=/usr/local/include/vich263
4107 VICH263LIBDIR=/usr/local/lib
4108 STDCCFLAGS="$STDCCFLAGS -I${VICH263INCLUDEDIR}"
4109 { echo "$as_me:$LINENO: Enabled H.263 using VIC" >&5
4110 echo "$as_me: Enabled H.263 using VIC" >&6;}
4123 # Check whether --enable-transnexusosp or --disable-transnexusosp was given.
4124 if test "${enable_transnexusosp+set}" = set; then
4125 enableval="$enable_transnexusosp"
4129 if test "${enable_transnexusosp}z" = "z" ; then
4130 enable_transnexusosp=$default_transnexusosp
4133 OLD_LDFLAGS=$LDFLAGS
4135 if test "$enable_transnexusosp" = "no" ; then
4136 { echo "$as_me:$LINENO: Disabling support for the Transnexus OSP toolkit" >&5
4137 echo "$as_me: Disabling support for the Transnexus OSP toolkit" >&6;}
4140 for ac_header in osp/osp.h
4142 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4143 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4144 echo "$as_me:$LINENO: checking for $ac_header" >&5
4145 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4146 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4147 echo $ECHO_N "(cached) $ECHO_C" >&6
4149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4150 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4152 # Is the header compilable?
4153 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4154 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4155 cat >conftest.$ac_ext <<_ACEOF
4158 cat confdefs.h >>conftest.$ac_ext
4159 cat >>conftest.$ac_ext <<_ACEOF
4160 /* end confdefs.h. */
4161 $ac_includes_default
4162 #include <$ac_header>
4164 rm -f conftest.$ac_objext
4165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4166 (eval $ac_compile) 2>conftest.er1
4168 grep -v '^ *+' conftest.er1 >conftest.err
4170 cat conftest.err >&5
4171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4172 (exit $ac_status); } &&
4173 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4178 (exit $ac_status); }; } &&
4179 { ac_try='test -s conftest.$ac_objext'
4180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4184 (exit $ac_status); }; }; then
4185 ac_header_compiler=yes
4187 echo "$as_me: failed program was:" >&5
4188 sed 's/^/| /' conftest.$ac_ext >&5
4190 ac_header_compiler=no
4192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4193 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4194 echo "${ECHO_T}$ac_header_compiler" >&6
4196 # Is the header present?
4197 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4198 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4199 cat >conftest.$ac_ext <<_ACEOF
4202 cat confdefs.h >>conftest.$ac_ext
4203 cat >>conftest.$ac_ext <<_ACEOF
4204 /* end confdefs.h. */
4205 #include <$ac_header>
4207 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4208 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4210 grep -v '^ *+' conftest.er1 >conftest.err
4212 cat conftest.err >&5
4213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4214 (exit $ac_status); } >/dev/null; then
4215 if test -s conftest.err; then
4216 ac_cpp_err=$ac_c_preproc_warn_flag
4217 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4224 if test -z "$ac_cpp_err"; then
4225 ac_header_preproc=yes
4227 echo "$as_me: failed program was:" >&5
4228 sed 's/^/| /' conftest.$ac_ext >&5
4230 ac_header_preproc=no
4232 rm -f conftest.err conftest.$ac_ext
4233 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4234 echo "${ECHO_T}$ac_header_preproc" >&6
4236 # So? What about this header?
4237 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4239 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4240 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4241 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4242 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4243 ac_header_preproc=yes
4246 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4247 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4248 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4249 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4250 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4251 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4252 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4253 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4254 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4255 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4256 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4257 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4260 ## ------------------------------------------ ##
4261 ## Report this to the AC_PACKAGE_NAME lists. ##
4262 ## ------------------------------------------ ##
4265 sed "s/^/$as_me: WARNING: /" >&2
4268 echo "$as_me:$LINENO: checking for $ac_header" >&5
4269 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4270 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4271 echo $ECHO_N "(cached) $ECHO_C" >&6
4273 eval "$as_ac_Header=\$ac_header_preproc"
4275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4276 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4279 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4280 cat >>confdefs.h <<_ACEOF
4281 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4283 HAS_TRANSNEXUS_OSP=1
4288 if test "${HAS_TRANSNEXUS_OSP}x" = "1x" ; then
4289 echo "$as_me:$LINENO: checking for OSPPInit in -losp" >&5
4290 echo $ECHO_N "checking for OSPPInit in -losp... $ECHO_C" >&6
4291 if test "${ac_cv_lib_osp_OSPPInit+set}" = set; then
4292 echo $ECHO_N "(cached) $ECHO_C" >&6
4294 ac_check_lib_save_LIBS=$LIBS
4295 LIBS="-losp -lssl $LIBS"
4296 cat >conftest.$ac_ext <<_ACEOF
4299 cat confdefs.h >>conftest.$ac_ext
4300 cat >>conftest.$ac_ext <<_ACEOF
4301 /* end confdefs.h. */
4303 /* Override any gcc2 internal prototype to avoid an error. */
4307 /* We use char because int might match the return type of a gcc2
4308 builtin and then its argument prototype would still apply. */
4318 rm -f conftest.$ac_objext conftest$ac_exeext
4319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4320 (eval $ac_link) 2>conftest.er1
4322 grep -v '^ *+' conftest.er1 >conftest.err
4324 cat conftest.err >&5
4325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4326 (exit $ac_status); } &&
4327 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4332 (exit $ac_status); }; } &&
4333 { ac_try='test -s conftest$ac_exeext'
4334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4338 (exit $ac_status); }; }; then
4339 ac_cv_lib_osp_OSPPInit=yes
4341 echo "$as_me: failed program was:" >&5
4342 sed 's/^/| /' conftest.$ac_ext >&5
4344 ac_cv_lib_osp_OSPPInit=no
4346 rm -f conftest.err conftest.$ac_objext \
4347 conftest$ac_exeext conftest.$ac_ext
4348 LIBS=$ac_check_lib_save_LIBS
4350 echo "$as_me:$LINENO: result: $ac_cv_lib_osp_OSPPInit" >&5
4351 echo "${ECHO_T}$ac_cv_lib_osp_OSPPInit" >&6
4352 if test $ac_cv_lib_osp_OSPPInit = yes; then
4353 HAS_TRANSNEXUS_OSP=1
4358 if test "${HAS_TRANSNEXUS_OSP}x" = "1x" ; then
4359 H323_TRANSNEXUS_OSP=1
4360 cat >>confdefs.h <<\_ACEOF
4361 #define H323_TRANSNEXUS_OSP 1
4364 LDLIBS="${LDLIBS} -losp"
4365 OSP_INCLUDE="#include <osp/osp.h>"
4367 unset ac_cv_lib_osp_OSPPInit
4368 LDFLAGS="-L/usr/local/lib $OLD_LDFLAGS"
4369 echo "$as_me:$LINENO: checking for OSPPInit in -losp" >&5
4370 echo $ECHO_N "checking for OSPPInit in -losp... $ECHO_C" >&6
4371 if test "${ac_cv_lib_osp_OSPPInit+set}" = set; then
4372 echo $ECHO_N "(cached) $ECHO_C" >&6
4374 ac_check_lib_save_LIBS=$LIBS
4375 LIBS="-losp -lssl $LIBS"
4376 cat >conftest.$ac_ext <<_ACEOF
4379 cat confdefs.h >>conftest.$ac_ext
4380 cat >>conftest.$ac_ext <<_ACEOF
4381 /* end confdefs.h. */
4383 /* Override any gcc2 internal prototype to avoid an error. */
4387 /* We use char because int might match the return type of a gcc2
4388 builtin and then its argument prototype would still apply. */
4398 rm -f conftest.$ac_objext conftest$ac_exeext
4399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4400 (eval $ac_link) 2>conftest.er1
4402 grep -v '^ *+' conftest.er1 >conftest.err
4404 cat conftest.err >&5
4405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4406 (exit $ac_status); } &&
4407 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4412 (exit $ac_status); }; } &&
4413 { ac_try='test -s conftest$ac_exeext'
4414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4418 (exit $ac_status); }; }; then
4419 ac_cv_lib_osp_OSPPInit=yes
4421 echo "$as_me: failed program was:" >&5
4422 sed 's/^/| /' conftest.$ac_ext >&5
4424 ac_cv_lib_osp_OSPPInit=no
4426 rm -f conftest.err conftest.$ac_objext \
4427 conftest$ac_exeext conftest.$ac_ext
4428 LIBS=$ac_check_lib_save_LIBS
4430 echo "$as_me:$LINENO: result: $ac_cv_lib_osp_OSPPInit" >&5
4431 echo "${ECHO_T}$ac_cv_lib_osp_OSPPInit" >&6
4432 if test $ac_cv_lib_osp_OSPPInit = yes; then
4433 HAS_TRANSNEXUS_OSP=1
4438 if test "${HAS_TRANSNEXUS_OSP}x" = "1x" ; then
4439 H323_TRANSNEXUS_OSP=1
4440 cat >>confdefs.h <<\_ACEOF
4441 #define H323_TRANSNEXUS_OSP 1
4444 STDCCFLAGS="$STDCCFLAGS -I/usr/local/include"
4445 LDLIBS="${LDLIBS} -losp"
4446 OSP_INCLUDE='#include "/usr/local/include/osp/osp.h"'
4448 unset ac_cv_lib_osp_OSPPInit
4449 LDFLAGS="$OLD_LDFLAGS"
4450 echo "$as_me:$LINENO: checking for OSPPInit in -losptk" >&5
4451 echo $ECHO_N "checking for OSPPInit in -losptk... $ECHO_C" >&6
4452 if test "${ac_cv_lib_osptk_OSPPInit+set}" = set; then
4453 echo $ECHO_N "(cached) $ECHO_C" >&6
4455 ac_check_lib_save_LIBS=$LIBS
4456 LIBS="-losptk -lssl $LIBS"
4457 cat >conftest.$ac_ext <<_ACEOF
4460 cat confdefs.h >>conftest.$ac_ext
4461 cat >>conftest.$ac_ext <<_ACEOF
4462 /* end confdefs.h. */
4464 /* Override any gcc2 internal prototype to avoid an error. */
4468 /* We use char because int might match the return type of a gcc2
4469 builtin and then its argument prototype would still apply. */
4479 rm -f conftest.$ac_objext conftest$ac_exeext
4480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4481 (eval $ac_link) 2>conftest.er1
4483 grep -v '^ *+' conftest.er1 >conftest.err
4485 cat conftest.err >&5
4486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4487 (exit $ac_status); } &&
4488 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4493 (exit $ac_status); }; } &&
4494 { ac_try='test -s conftest$ac_exeext'
4495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4499 (exit $ac_status); }; }; then
4500 ac_cv_lib_osptk_OSPPInit=yes
4502 echo "$as_me: failed program was:" >&5
4503 sed 's/^/| /' conftest.$ac_ext >&5
4505 ac_cv_lib_osptk_OSPPInit=no
4507 rm -f conftest.err conftest.$ac_objext \
4508 conftest$ac_exeext conftest.$ac_ext
4509 LIBS=$ac_check_lib_save_LIBS
4511 echo "$as_me:$LINENO: result: $ac_cv_lib_osptk_OSPPInit" >&5
4512 echo "${ECHO_T}$ac_cv_lib_osptk_OSPPInit" >&6
4513 if test $ac_cv_lib_osptk_OSPPInit = yes; then
4514 HAS_TRANSNEXUS_OSP=1
4519 if test "${HAS_TRANSNEXUS_OSP}x" = "1x" ; then
4520 H323_TRANSNEXUS_OSP=1
4521 cat >>confdefs.h <<\_ACEOF
4522 #define H323_TRANSNEXUS_OSP 1
4525 LDLIBS="${LDLIBS} -losptk"
4526 OSP_INCLUDE="#include <osp/osp.h>"
4528 unset ac_cv_lib_osp_OSPPInit
4529 LDFLAGS="-L/usr/local/lib $OLD_LDFLAGS"
4530 echo "$as_me:$LINENO: checking for OSPPInit in -losptk" >&5
4531 echo $ECHO_N "checking for OSPPInit in -losptk... $ECHO_C" >&6
4532 if test "${ac_cv_lib_osptk_OSPPInit+set}" = set; then
4533 echo $ECHO_N "(cached) $ECHO_C" >&6
4535 ac_check_lib_save_LIBS=$LIBS
4536 LIBS="-losptk -lssl $LIBS"
4537 cat >conftest.$ac_ext <<_ACEOF
4540 cat confdefs.h >>conftest.$ac_ext
4541 cat >>conftest.$ac_ext <<_ACEOF
4542 /* end confdefs.h. */
4544 /* Override any gcc2 internal prototype to avoid an error. */
4548 /* We use char because int might match the return type of a gcc2
4549 builtin and then its argument prototype would still apply. */
4559 rm -f conftest.$ac_objext conftest$ac_exeext
4560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4561 (eval $ac_link) 2>conftest.er1
4563 grep -v '^ *+' conftest.er1 >conftest.err
4565 cat conftest.err >&5
4566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4567 (exit $ac_status); } &&
4568 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4573 (exit $ac_status); }; } &&
4574 { ac_try='test -s conftest$ac_exeext'
4575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4579 (exit $ac_status); }; }; then
4580 ac_cv_lib_osptk_OSPPInit=yes
4582 echo "$as_me: failed program was:" >&5
4583 sed 's/^/| /' conftest.$ac_ext >&5
4585 ac_cv_lib_osptk_OSPPInit=no
4587 rm -f conftest.err conftest.$ac_objext \
4588 conftest$ac_exeext conftest.$ac_ext
4589 LIBS=$ac_check_lib_save_LIBS
4591 echo "$as_me:$LINENO: result: $ac_cv_lib_osptk_OSPPInit" >&5
4592 echo "${ECHO_T}$ac_cv_lib_osptk_OSPPInit" >&6
4593 if test $ac_cv_lib_osptk_OSPPInit = yes; then
4594 HAS_TRANSNEXUS_OSP=1
4599 if test "${HAS_TRANSNEXUS_OSP}x" = "1x" ; then
4600 H323_TRANSNEXUS_OSP=1
4601 cat >>confdefs.h <<\_ACEOF
4602 #define H323_TRANSNEXUS_OSP 1
4605 STDCCFLAGS="$STDCCFLAGS -I/usr/local/include"
4606 LDLIBS="${LDLIBS} -losptk"
4607 OSP_INCLUDE='#include "/usr/local/include/osp/osp.h"'
4615 LDFLAGS=$OLD_LDFLAGS
4617 if test "${H323_TRANSNEXUS_OSP}x" != "x" ; then
4618 if test "${OSP_INCLUDE}x" != "x" ; then
4619 echo "$as_me:$LINENO: checking for new OSP toolkit API" >&5
4620 echo $ECHO_N "checking for new OSP toolkit API... $ECHO_C" >&6
4621 cat >conftest.$ac_ext <<_ACEOF
4624 cat confdefs.h >>conftest.$ac_ext
4625 cat >>conftest.$ac_ext <<_ACEOF
4626 /* end confdefs.h. */
4631 int main(int ac,char **av) { OSPTTRANHANDLE h; OSPTTIME t; OSPPTransactionReportUsage(h, 0, t, 0, 0, 0, 0, NULL, NULL); return 0; }
4636 rm -f conftest.$ac_objext
4637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4638 (eval $ac_compile) 2>conftest.er1
4640 grep -v '^ *+' conftest.er1 >conftest.err
4642 cat conftest.err >&5
4643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4644 (exit $ac_status); } &&
4645 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4650 (exit $ac_status); }; } &&
4651 { ac_try='test -s conftest.$ac_objext'
4652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4656 (exit $ac_status); }; }; then
4659 echo "$as_me: failed program was:" >&5
4660 sed 's/^/| /' conftest.$ac_ext >&5
4664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4665 if test "${H323_NEW_OSP_API}x" != "x" ; then
4666 echo "$as_me:$LINENO: result: yes" >&5
4667 echo "${ECHO_T}yes" >&6
4668 cat >>confdefs.h <<\_ACEOF
4669 #define H323_NEW_OSP_API 1
4673 echo "$as_me:$LINENO: result: no" >&5
4674 echo "${ECHO_T}no" >&6
4683 # Check whether --enable-t38 or --disable-t38 was given.
4684 if test "${enable_t38+set}" = set; then
4685 enableval="$enable_t38"
4688 if test "${enable_t38}x" = "x" ; then
4689 enable_t38=$default_t38
4691 if test "$enable_t38" = "yes" ; then
4692 { echo "$as_me:$LINENO: Enabling T.38" >&5
4693 echo "$as_me: Enabling T.38" >&6;}
4695 cat >>confdefs.h <<\_ACEOF
4701 { echo "$as_me:$LINENO: Disabling T.38" >&5
4702 echo "$as_me: Disabling T.38" >&6;}
4708 # Check whether --enable-h248 or --disable-h248 was given.
4709 if test "${enable_h248+set}" = set; then
4710 enableval="$enable_h248"
4713 if test "${enable_h248}x" = "x" ; then
4714 enable_h248=$default_h248
4716 if test "$enable_h248" = "yes" ; then
4718 cat >>confdefs.h <<\_ACEOF
4724 { echo "$as_me:$LINENO: Disabling H.248" >&5
4725 echo "$as_me: Disabling H.248" >&6;}
4731 # Check whether --enable-h450 or --disable-h450 was given.
4732 if test "${enable_h450+set}" = set; then
4733 enableval="$enable_h450"
4736 if test "${enable_h450}x" = "x" ; then
4737 enable_h450=$default_h450
4739 if test "$enable_h450" = "yes" ; then
4741 cat >>confdefs.h <<\_ACEOF
4747 { echo "$as_me:$LINENO: Disabling H.450" >&5
4748 echo "$as_me: Disabling H.450" >&6;}
4754 # Check whether --enable-h460 or --disable-h460 was given.
4755 if test "${enable_h460+set}" = set; then
4756 enableval="$enable_h460"
4759 if test "${enable_h460}x" = "x" ; then
4760 enable_h460=$default_h460
4762 if test "$enable_h460" = "yes" ; then
4764 cat >>confdefs.h <<\_ACEOF
4770 { echo "$as_me:$LINENO: Disabling H.460" >&5
4771 echo "$as_me: Disabling H.460" >&6;}
4777 # Check whether --enable-h501 or --disable-h501 was given.
4778 if test "${enable_h501+set}" = set; then
4779 enableval="$enable_h501"
4782 if test "${enable_h501}x" = "x" ; then
4783 enable_h501=$default_h501
4785 if test "$enable_h501" = "yes" ; then
4787 cat >>confdefs.h <<\_ACEOF
4793 { echo "$as_me:$LINENO: Disabling H.501" >&5
4794 echo "$as_me: Disabling H.501" >&6;}
4800 # Check whether --enable-t120 or --disable-t120 was given.
4801 if test "${enable_t120+set}" = set; then
4802 enableval="$enable_t120"
4805 if test "${enable_t120}x" = "x" ; then
4806 enable_t120=$default_t120
4808 if test "$enable_t120" = "no" ; then
4810 { echo "$as_me:$LINENO: Disabling T.120" >&5
4811 echo "$as_me: Disabling T.120" >&6;}
4814 cat >>confdefs.h <<\_ACEOF
4823 # Check whether --enable-ixj or --disable-ixj was given.
4824 if test "${enable_ixj+set}" = set; then
4825 enableval="$enable_ixj"
4828 if test "${enable_ixj}x" = "x" ; then
4829 enable_ixj=$default_ixj
4834 if test "$enable_ixj" = "no" ; then
4835 { echo "$as_me:$LINENO: Disabling IXJ support" >&5
4836 echo "$as_me: Disabling IXJ support" >&6;}
4841 for ac_header in linux/telephony.h sys/telephony.h /usr/local/include/sys/telephony.h
4843 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4844 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4845 echo "$as_me:$LINENO: checking for $ac_header" >&5
4846 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4847 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4848 echo $ECHO_N "(cached) $ECHO_C" >&6
4850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4851 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4853 # Is the header compilable?
4854 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4855 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4856 cat >conftest.$ac_ext <<_ACEOF
4859 cat confdefs.h >>conftest.$ac_ext
4860 cat >>conftest.$ac_ext <<_ACEOF
4861 /* end confdefs.h. */
4862 $ac_includes_default
4863 #include <$ac_header>
4865 rm -f conftest.$ac_objext
4866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4867 (eval $ac_compile) 2>conftest.er1
4869 grep -v '^ *+' conftest.er1 >conftest.err
4871 cat conftest.err >&5
4872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4873 (exit $ac_status); } &&
4874 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4879 (exit $ac_status); }; } &&
4880 { ac_try='test -s conftest.$ac_objext'
4881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4885 (exit $ac_status); }; }; then
4886 ac_header_compiler=yes
4888 echo "$as_me: failed program was:" >&5
4889 sed 's/^/| /' conftest.$ac_ext >&5
4891 ac_header_compiler=no
4893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4894 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4895 echo "${ECHO_T}$ac_header_compiler" >&6
4897 # Is the header present?
4898 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4899 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4900 cat >conftest.$ac_ext <<_ACEOF
4903 cat confdefs.h >>conftest.$ac_ext
4904 cat >>conftest.$ac_ext <<_ACEOF
4905 /* end confdefs.h. */
4906 #include <$ac_header>
4908 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4909 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4911 grep -v '^ *+' conftest.er1 >conftest.err
4913 cat conftest.err >&5
4914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4915 (exit $ac_status); } >/dev/null; then
4916 if test -s conftest.err; then
4917 ac_cpp_err=$ac_c_preproc_warn_flag
4918 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4925 if test -z "$ac_cpp_err"; then
4926 ac_header_preproc=yes
4928 echo "$as_me: failed program was:" >&5
4929 sed 's/^/| /' conftest.$ac_ext >&5
4931 ac_header_preproc=no
4933 rm -f conftest.err conftest.$ac_ext
4934 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4935 echo "${ECHO_T}$ac_header_preproc" >&6
4937 # So? What about this header?
4938 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4940 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4941 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4942 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4943 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4944 ac_header_preproc=yes
4947 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4948 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4949 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4950 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4951 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4952 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4953 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4954 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4955 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4956 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4957 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4958 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4961 ## ------------------------------------------ ##
4962 ## Report this to the AC_PACKAGE_NAME lists. ##
4963 ## ------------------------------------------ ##
4966 sed "s/^/$as_me: WARNING: /" >&2
4969 echo "$as_me:$LINENO: checking for $ac_header" >&5
4970 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4971 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4972 echo $ECHO_N "(cached) $ECHO_C" >&6
4974 eval "$as_ac_Header=\$ac_header_preproc"
4976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4977 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4980 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4981 cat >>confdefs.h <<_ACEOF
4982 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4989 if test "${HAS_IXJ}z" != "z" ; then
4990 echo "$as_me:$LINENO: checking if ixjuser.h actually compiles" >&5
4991 echo $ECHO_N "checking if ixjuser.h actually compiles... $ECHO_C" >&6
4992 cat >conftest.$ac_ext <<_ACEOF
4995 cat confdefs.h >>conftest.$ac_ext
4996 cat >>conftest.$ac_ext <<_ACEOF
4997 /* end confdefs.h. */
4998 #include <linux/ixjuser.h>
5002 int main(int ac,char **av) { return 0; }
5007 rm -f conftest.$ac_objext
5008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5009 (eval $ac_compile) 2>conftest.er1
5011 grep -v '^ *+' conftest.er1 >conftest.err
5013 cat conftest.err >&5
5014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5015 (exit $ac_status); } &&
5016 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5021 (exit $ac_status); }; } &&
5022 { ac_try='test -s conftest.$ac_objext'
5023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5027 (exit $ac_status); }; }; then
5030 echo "$as_me: failed program was:" >&5
5031 sed 's/^/| /' conftest.$ac_ext >&5
5035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5036 if test "x$HAS_IXJ" != "x" ; then
5038 cat >>confdefs.h <<\_ACEOF
5042 echo "$as_me:$LINENO: result: yes" >&5
5043 echo "${ECHO_T}yes" >&6
5045 echo "$as_me:$LINENO: result: no" >&5
5046 echo "${ECHO_T}no" >&6
5058 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
5059 if test -f $ac_dir/install-sh; then
5061 ac_install_sh="$ac_aux_dir/install-sh -c"
5063 elif test -f $ac_dir/install.sh; then
5065 ac_install_sh="$ac_aux_dir/install.sh -c"
5067 elif test -f $ac_dir/shtool; then
5069 ac_install_sh="$ac_aux_dir/shtool install -c"
5073 if test -z "$ac_aux_dir"; then
5074 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
5075 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
5076 { (exit 1); exit 1; }; }
5078 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
5079 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
5080 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
5082 # Find a good install program. We prefer a C program (faster),
5083 # so one script is as good as another. But avoid the broken or
5084 # incompatible versions:
5085 # SysV /etc/install, /usr/sbin/install
5086 # SunOS /usr/etc/install
5087 # IRIX /sbin/install
5089 # AmigaOS /C/install, which installs bootblocks on floppy discs
5090 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5091 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5092 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5093 # OS/2's system install, which has a completely different semantic
5094 # ./install, which can be erroneously created by make from ./install.sh.
5095 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5096 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5097 if test -z "$INSTALL"; then
5098 if test "${ac_cv_path_install+set}" = set; then
5099 echo $ECHO_N "(cached) $ECHO_C" >&6
5101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5105 test -z "$as_dir" && as_dir=.
5106 # Account for people who put trailing slashes in PATH elements.
5108 ./ | .// | /cC/* | \
5109 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5110 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5113 # OSF1 and SCO ODT 3.0 have their own names for install.
5114 # Don't use installbsd from OSF since it installs stuff as root
5116 for ac_prog in ginstall scoinst install; do
5117 for ac_exec_ext in '' $ac_executable_extensions; do
5118 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5119 if test $ac_prog = install &&
5120 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5121 # AIX install. It has an incompatible calling convention.
5123 elif test $ac_prog = install &&
5124 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5125 # program-specific install script used by HP pwplus--don't use.
5128 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5140 if test "${ac_cv_path_install+set}" = set; then
5141 INSTALL=$ac_cv_path_install
5143 # As a last resort, use the slow shell script. We don't cache a
5144 # path for INSTALL within a source directory, because that will
5145 # break other packages using the cache if that directory is
5146 # removed, or if the path is relative.
5147 INSTALL=$ac_install_sh
5150 echo "$as_me:$LINENO: result: $INSTALL" >&5
5151 echo "${ECHO_T}$INSTALL" >&6
5153 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5154 # It thinks the first close brace ends the variable substitution.
5155 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5157 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5159 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5162 ac_config_files="$ac_config_files openh323u.mak"
5164 ac_config_files="$ac_config_files Makefile"
5169 ac_config_headers="$ac_config_headers include/openh323buildopts.h"
5176 subdirs="$subdirs plugins"
5179 cat >confcache <<\_ACEOF
5180 # This file is a shell script that caches the results of configure
5181 # tests run on this system so they can be shared between configure
5182 # scripts and configure runs, see configure's option --config-cache.
5183 # It is not useful on other systems. If it contains results you don't
5184 # want to keep, you may remove or edit it.
5186 # config.status only pays attention to the cache file if you give it
5187 # the --recheck option to rerun configure.
5189 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5190 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5195 # The following way of writing the cache mishandles newlines in values,
5196 # but we know of no workaround that is simple, portable, and efficient.
5197 # So, don't put newlines in cache variables' values.
5198 # Ultrix sh set writes to stderr and can't be redirected directly,
5199 # and sets the high bit in the cache file unless we assign to the vars.
5202 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5204 # `set' does not quote correctly, so add quotes (double-quote
5205 # substitution turns \\\\ into \\, and sed turns \\ into \).
5208 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5211 # `set' quotes correctly as required by POSIX, so do not add quotes.
5213 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5220 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5222 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5224 if diff $cache_file confcache >/dev/null 2>&1; then :; else
5225 if test -w $cache_file; then
5226 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5227 cat confcache >$cache_file
5229 echo "not updating unwritable cache $cache_file"
5234 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5235 # Let make expand exec_prefix.
5236 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5238 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5239 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5240 # trailing colons and then remove the whole line if VPATH becomes empty
5241 # (actually we leave an empty line to preserve line numbers).
5242 if test "x$srcdir" = x.; then
5243 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5244 s/:*\$(srcdir):*/:/;
5245 s/:*\${srcdir}:*/:/;
5247 s/^\([^=]*=[ ]*\):*/\1/;
5253 DEFS=-DHAVE_CONFIG_H
5257 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5258 # 1. Remove the extension, and $U if already installed.
5259 ac_i=`echo "$ac_i" |
5260 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5262 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5263 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5267 LTLIBOBJS=$ac_ltlibobjs
5271 : ${CONFIG_STATUS=./config.status}
5272 ac_clean_files_save=$ac_clean_files
5273 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5274 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5275 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5276 cat >$CONFIG_STATUS <<_ACEOF
5278 # Generated by $as_me.
5279 # Run this file to recreate the current configuration.
5280 # Compiler output produced by configure, useful for debugging
5281 # configure, is in config.log if it exists.
5286 SHELL=\${CONFIG_SHELL-$SHELL}
5289 cat >>$CONFIG_STATUS <<\_ACEOF
5290 ## --------------------- ##
5291 ## M4sh Initialization. ##
5292 ## --------------------- ##
5294 # Be Bourne compatible
5295 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5298 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5299 # is contrary to our usage. Disable this feature.
5300 alias -g '${1+"$@"}'='"$@"'
5301 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5304 DUALCASE=1; export DUALCASE # for MKS sh
5306 # Support unset when possible.
5307 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5314 # Work around bugs in pre-3.0 UWIN ksh.
5315 $as_unset ENV MAIL MAILPATH
5322 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5323 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5324 LC_TELEPHONE LC_TIME
5326 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5327 eval $as_var=C; export $as_var
5333 # Required to use basename.
5334 if expr a : '\(a\)' >/dev/null 2>&1; then
5340 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5341 as_basename=basename
5347 # Name of the executable.
5348 as_me=`$as_basename "$0" ||
5349 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5350 X"$0" : 'X\(//\)$' \| \
5351 X"$0" : 'X\(/\)$' \| \
5352 . : '\(.\)' 2>/dev/null ||
5354 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5355 /^X\/\(\/\/\)$/{ s//\1/; q; }
5356 /^X\/\(\/\).*/{ s//\1/; q; }
5360 # PATH needs CR, and LINENO needs CR and PATH.
5361 # Avoid depending upon Character Ranges.
5362 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5363 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5364 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5365 as_cr_digits='0123456789'
5366 as_cr_alnum=$as_cr_Letters$as_cr_digits
5368 # The user is always right.
5369 if test "${PATH_SEPARATOR+set}" != set; then
5370 echo "#! /bin/sh" >conf$$.sh
5371 echo "exit 0" >>conf$$.sh
5373 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5384 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5385 test "x$as_lineno_1" != "x$as_lineno_2" &&
5386 test "x$as_lineno_3" = "x$as_lineno_2" || {
5387 # Find who we are. Look in the path if we contain no path at all
5390 *[\\/]* ) as_myself=$0 ;;
5391 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5395 test -z "$as_dir" && as_dir=.
5396 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5401 # We did not find ourselves, most probably we were run as `sh COMMAND'
5402 # in which case we are not to be found in the path.
5403 if test "x$as_myself" = x; then
5406 if test ! -f "$as_myself"; then
5407 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5408 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5409 { (exit 1); exit 1; }; }
5411 case $CONFIG_SHELL in
5413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5414 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5417 test -z "$as_dir" && as_dir=.
5418 for as_base in sh bash ksh sh5; do
5421 if ("$as_dir/$as_base" -c '
5424 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5425 test "x$as_lineno_1" != "x$as_lineno_2" &&
5426 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5427 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5428 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5429 CONFIG_SHELL=$as_dir/$as_base
5431 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5439 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5440 # uniformly replaced by the line number. The first 'sed' inserts a
5441 # line-number line before each line; the second 'sed' does the real
5442 # work. The second script uses 'N' to pair each line-number line
5443 # with the numbered line, and appends trailing '-' during
5444 # substitution so that $LINENO is not a special case at line end.
5445 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5446 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5447 sed '=' <$as_myself |
5452 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5455 s,^['$as_cr_digits']*\n,,
5457 chmod +x $as_me.lineno ||
5458 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5459 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5460 { (exit 1); exit 1; }; }
5462 # Don't try to exec as it changes $[0], causing all sort of problems
5463 # (the dirname of $[0] is not the place where we might find the
5464 # original and so on. Autoconf is especially sensible to this).
5466 # Exit status is that of the last command.
5471 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5472 *c*,-n*) ECHO_N= ECHO_C='
5474 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5475 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5478 if expr a : '\(a\)' >/dev/null 2>&1; then
5484 rm -f conf$$ conf$$.exe conf$$.file
5486 if ln -s conf$$.file conf$$ 2>/dev/null; then
5487 # We could just check for DJGPP; but this test a) works b) is more generic
5488 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5489 if test -f conf$$.exe; then
5490 # Don't use ln at all; we don't have any links
5495 elif ln conf$$.file conf$$ 2>/dev/null; then
5500 rm -f conf$$ conf$$.exe conf$$.file
5502 if mkdir -p . 2>/dev/null; then
5505 test -d ./-p && rmdir ./-p
5509 as_executable_p="test -f"
5511 # Sed expression to map a string onto a valid CPP name.
5512 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5514 # Sed expression to map a string onto a valid variable name.
5515 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5519 # We need space, tab and new line, in precisely that order.
5529 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5530 # report actual input values of CONFIG_FILES etc. instead of their
5531 # values after options handling. Logging --version etc. is OK.
5535 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5536 ## Running $as_me. ##
5541 This file was extended by $as_me, which was
5542 generated by GNU Autoconf 2.59. Invocation command line was
5544 CONFIG_FILES = $CONFIG_FILES
5545 CONFIG_HEADERS = $CONFIG_HEADERS
5546 CONFIG_LINKS = $CONFIG_LINKS
5547 CONFIG_COMMANDS = $CONFIG_COMMANDS
5551 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5555 # Files that config.status was made for.
5556 if test -n "$ac_config_files"; then
5557 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5560 if test -n "$ac_config_headers"; then
5561 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5564 if test -n "$ac_config_links"; then
5565 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5568 if test -n "$ac_config_commands"; then
5569 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5572 cat >>$CONFIG_STATUS <<\_ACEOF
5575 \`$as_me' instantiates files from templates according to the
5576 current configuration.
5578 Usage: $0 [OPTIONS] [FILE]...
5580 -h, --help print this help, then exit
5581 -V, --version print version number, then exit
5582 -q, --quiet do not print progress messages
5583 -d, --debug don't remove temporary files
5584 --recheck update $as_me by reconfiguring in the same conditions
5585 --file=FILE[:TEMPLATE]
5586 instantiate the configuration file FILE
5587 --header=FILE[:TEMPLATE]
5588 instantiate the configuration header FILE
5590 Configuration files:
5593 Configuration headers:
5596 Report bugs to <bug-autoconf@gnu.org>."
5599 cat >>$CONFIG_STATUS <<_ACEOF
5602 configured by $0, generated by GNU Autoconf 2.59,
5603 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5605 Copyright (C) 2003 Free Software Foundation, Inc.
5606 This config.status script is free software; the Free Software Foundation
5607 gives unlimited permission to copy, distribute and modify it."
5612 cat >>$CONFIG_STATUS <<\_ACEOF
5613 # If no file are specified by the user, then we need to provide default
5614 # value. By we need to know if files were specified by the user.
5620 ac_option=`expr "x$1" : 'x\([^=]*\)='`
5621 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5629 *) # This is not an option, so the user has probably given explicit
5632 ac_need_defaults=false;;
5636 # Handling of the options.
5638 cat >>$CONFIG_STATUS <<\_ACEOF
5639 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5641 --version | --vers* | -V )
5642 echo "$ac_cs_version"; exit 0 ;;
5644 # Conflict between --help and --header
5645 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5646 Try \`$0 --help' for more information." >&5
5647 echo "$as_me: error: ambiguous option: $1
5648 Try \`$0 --help' for more information." >&2;}
5649 { (exit 1); exit 1; }; };;
5650 --help | --hel | -h )
5651 echo "$ac_cs_usage"; exit 0 ;;
5652 --debug | --d* | -d )
5654 --file | --fil | --fi | --f )
5656 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5657 ac_need_defaults=false;;
5658 --header | --heade | --head | --hea )
5660 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5661 ac_need_defaults=false;;
5662 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5663 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5667 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5668 Try \`$0 --help' for more information." >&5
5669 echo "$as_me: error: unrecognized option: $1
5670 Try \`$0 --help' for more information." >&2;}
5671 { (exit 1); exit 1; }; } ;;
5673 *) ac_config_targets="$ac_config_targets $1" ;;
5679 ac_configure_extra_args=
5681 if $ac_cs_silent; then
5683 ac_configure_extra_args="$ac_configure_extra_args --silent"
5687 cat >>$CONFIG_STATUS <<_ACEOF
5688 if \$ac_cs_recheck; then
5689 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5690 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5699 cat >>$CONFIG_STATUS <<\_ACEOF
5700 for ac_config_target in $ac_config_targets
5702 case "$ac_config_target" in
5703 # Handling of arguments.
5704 "openh323u.mak" ) CONFIG_FILES="$CONFIG_FILES openh323u.mak" ;;
5705 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5706 "include/openh323buildopts.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/openh323buildopts.h" ;;
5707 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5708 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5709 { (exit 1); exit 1; }; };;
5713 # If the user did not use the arguments to specify the items to instantiate,
5714 # then the envvar interface is used. Set only those that are not.
5715 # We use the long form for the default assignment because of an extremely
5716 # bizarre bug on SunOS 4.1.3.
5717 if $ac_need_defaults; then
5718 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5719 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5722 # Have a temporary directory for convenience. Make it in the build tree
5723 # simply because there is no reason to put it here, and in addition,
5724 # creating and moving files from /tmp can sometimes cause problems.
5725 # Create a temporary directory, and hook for its removal unless debugging.
5728 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5729 trap '{ (exit 1); exit 1; }' 1 2 13 15
5732 # Create a (secure) tmp directory for tmp files.
5735 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5736 test -n "$tmp" && test -d "$tmp"
5739 tmp=./confstat$$-$RANDOM
5740 (umask 077 && mkdir $tmp)
5743 echo "$me: cannot create a temporary directory in ." >&2
5744 { (exit 1); exit 1; }
5749 cat >>$CONFIG_STATUS <<_ACEOF
5752 # CONFIG_FILES section.
5755 # No need to generate the scripts if there are no CONFIG_FILES.
5756 # This happens for instance when ./config.status config.h
5757 if test -n "\$CONFIG_FILES"; then
5758 # Protect against being on the right side of a sed subst in config.status.
5759 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5760 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5761 s,@SHELL@,$SHELL,;t t
5762 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5763 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5764 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5765 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5766 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5767 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5768 s,@exec_prefix@,$exec_prefix,;t t
5769 s,@prefix@,$prefix,;t t
5770 s,@program_transform_name@,$program_transform_name,;t t
5771 s,@bindir@,$bindir,;t t
5772 s,@sbindir@,$sbindir,;t t
5773 s,@libexecdir@,$libexecdir,;t t
5774 s,@datadir@,$datadir,;t t
5775 s,@sysconfdir@,$sysconfdir,;t t
5776 s,@sharedstatedir@,$sharedstatedir,;t t
5777 s,@localstatedir@,$localstatedir,;t t
5778 s,@libdir@,$libdir,;t t
5779 s,@includedir@,$includedir,;t t
5780 s,@oldincludedir@,$oldincludedir,;t t
5781 s,@infodir@,$infodir,;t t
5782 s,@mandir@,$mandir,;t t
5783 s,@build_alias@,$build_alias,;t t
5784 s,@host_alias@,$host_alias,;t t
5785 s,@target_alias@,$target_alias,;t t
5787 s,@ECHO_C@,$ECHO_C,;t t
5788 s,@ECHO_N@,$ECHO_N,;t t
5789 s,@ECHO_T@,$ECHO_T,;t t
5792 s,@CXXFLAGS@,$CXXFLAGS,;t t
5793 s,@LDFLAGS@,$LDFLAGS,;t t
5794 s,@CPPFLAGS@,$CPPFLAGS,;t t
5795 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
5796 s,@EXEEXT@,$EXEEXT,;t t
5797 s,@OBJEXT@,$OBJEXT,;t t
5799 s,@CFLAGS@,$CFLAGS,;t t
5800 s,@ac_ct_CC@,$ac_ct_CC,;t t
5802 s,@EGREP@,$EGREP,;t t
5803 s,@OPENH323DIR@,$OPENH323DIR,;t t
5804 s,@INSTALLPREFIX@,$INSTALLPREFIX,;t t
5805 s,@LIBDIR@,$LIBDIR,;t t
5806 s,@MAJOR_VERSION@,$MAJOR_VERSION,;t t
5807 s,@MINOR_VERSION@,$MINOR_VERSION,;t t
5808 s,@BUILD_NUMBER@,$BUILD_NUMBER,;t t
5809 s,@OPENH323_VERSION@,$OPENH323_VERSION,;t t
5810 s,@PWLIBDIR@,$PWLIBDIR,;t t
5811 s,@NOTRACE@,$NOTRACE,;t t
5812 s,@NOAUDIOCODECS@,$NOAUDIOCODECS,;t t
5813 s,@NOVIDEO@,$NOVIDEO,;t t
5814 s,@H323_RFC2190_AVCODEC@,$H323_RFC2190_AVCODEC,;t t
5815 s,@H323_RFC2190_AVCODEC_DIR@,$H323_RFC2190_AVCODEC_DIR,;t t
5816 s,@H323_AVCODEC@,$H323_AVCODEC,;t t
5817 s,@H323_VICH263@,$H323_VICH263,;t t
5818 s,@H323_TRANSNEXUS_OSP@,$H323_TRANSNEXUS_OSP,;t t
5819 s,@H323_T38@,$H323_T38,;t t
5820 s,@H323_H248@,$H323_H248,;t t
5821 s,@H323_H450@,$H323_H450,;t t
5822 s,@H323_H460@,$H323_H460,;t t
5823 s,@H323_H501@,$H323_H501,;t t
5824 s,@H323_T120@,$H323_T120,;t t
5825 s,@H323_IXJ@,$H323_IXJ,;t t
5826 s,@STDCCFLAGS@,$STDCCFLAGS,;t t
5827 s,@LDLIBS@,$LDLIBS,;t t
5828 s,@ENDLDLIBS@,$ENDLDLIBS,;t t
5829 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5830 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5831 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5832 s,@subdirs@,$subdirs,;t t
5833 s,@LIBOBJS@,$LIBOBJS,;t t
5834 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5839 cat >>$CONFIG_STATUS <<\_ACEOF
5840 # Split the substitutions into bite-sized pieces for seds with
5841 # small command number limits, like on Digital OSF/1 and HP-UX.
5843 ac_sed_frag=1 # Number of current file.
5844 ac_beg=1 # First line for current file.
5845 ac_end=$ac_max_sed_lines # Line after last line for current file.
5848 while $ac_more_lines; do
5849 if test $ac_beg -gt 1; then
5850 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5852 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5854 if test ! -s $tmp/subs.frag; then
5857 # The purpose of the label and of the branching condition is to
5858 # speed up the sed processing (if there are no `@' at all, there
5859 # is no need to browse any of the substitutions).
5860 # These are the two extra sed commands mentioned above.
5862 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5863 if test -z "$ac_sed_cmds"; then
5864 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5866 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5868 ac_sed_frag=`expr $ac_sed_frag + 1`
5870 ac_end=`expr $ac_end + $ac_max_sed_lines`
5873 if test -z "$ac_sed_cmds"; then
5876 fi # test -n "$CONFIG_FILES"
5879 cat >>$CONFIG_STATUS <<\_ACEOF
5880 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5881 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5883 - | *:- | *:-:* ) # input from stdin
5885 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5886 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5887 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5888 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5889 * ) ac_file_in=$ac_file.in ;;
5892 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5893 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5894 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5895 X"$ac_file" : 'X\(//\)[^/]' \| \
5896 X"$ac_file" : 'X\(//\)$' \| \
5897 X"$ac_file" : 'X\(/\)' \| \
5898 . : '\(.\)' 2>/dev/null ||
5900 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5901 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5902 /^X\(\/\/\)$/{ s//\1/; q; }
5903 /^X\(\/\).*/{ s//\1/; q; }
5905 { if $as_mkdir_p; then
5910 while test ! -d "$as_dir"; do
5911 as_dirs="$as_dir $as_dirs"
5912 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5913 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5914 X"$as_dir" : 'X\(//\)[^/]' \| \
5915 X"$as_dir" : 'X\(//\)$' \| \
5916 X"$as_dir" : 'X\(/\)' \| \
5917 . : '\(.\)' 2>/dev/null ||
5919 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5920 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5921 /^X\(\/\/\)$/{ s//\1/; q; }
5922 /^X\(\/\).*/{ s//\1/; q; }
5925 test ! -n "$as_dirs" || mkdir $as_dirs
5926 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5927 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5928 { (exit 1); exit 1; }; }; }
5932 if test "$ac_dir" != .; then
5933 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5934 # A "../" for each directory in $ac_dir_suffix.
5935 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5937 ac_dir_suffix= ac_top_builddir=
5941 .) # No --srcdir option. We are building in place.
5943 if test -z "$ac_top_builddir"; then
5946 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5948 [\\/]* | ?:[\\/]* ) # Absolute path.
5949 ac_srcdir=$srcdir$ac_dir_suffix;
5950 ac_top_srcdir=$srcdir ;;
5952 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5953 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5956 # Do not use `cd foo && pwd` to compute absolute paths, because
5957 # the directories may not exist.
5959 .) ac_abs_builddir="$ac_dir";;
5962 .) ac_abs_builddir=`pwd`;;
5963 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5964 *) ac_abs_builddir=`pwd`/"$ac_dir";;
5967 case $ac_abs_builddir in
5968 .) ac_abs_top_builddir=${ac_top_builddir}.;;
5970 case ${ac_top_builddir}. in
5971 .) ac_abs_top_builddir=$ac_abs_builddir;;
5972 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5973 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5976 case $ac_abs_builddir in
5977 .) ac_abs_srcdir=$ac_srcdir;;
5980 .) ac_abs_srcdir=$ac_abs_builddir;;
5981 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5982 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5985 case $ac_abs_builddir in
5986 .) ac_abs_top_srcdir=$ac_top_srcdir;;
5988 case $ac_top_srcdir in
5989 .) ac_abs_top_srcdir=$ac_abs_builddir;;
5990 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5991 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5997 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5998 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6001 # Let's still pretend it is `configure' which instantiates (i.e., don't
6002 # use $as_me), people would be surprised to read:
6003 # /* config.h. Generated by config.status. */
6004 if test x"$ac_file" = x-; then
6007 configure_input="$ac_file. "
6009 configure_input=$configure_input"Generated from `echo $ac_file_in |
6010 sed 's,.*/,,'` by configure."
6012 # First look for the input files in the build tree, otherwise in the
6014 ac_file_inputs=`IFS=:
6015 for f in $ac_file_in; do
6017 -) echo $tmp/stdin ;;
6019 # Absolute (can't be DOS-style, as IFS=:)
6020 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6021 echo "$as_me: error: cannot find input file: $f" >&2;}
6022 { (exit 1); exit 1; }; }
6025 if test -f "$f"; then
6028 elif test -f "$srcdir/$f"; then
6033 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6034 echo "$as_me: error: cannot find input file: $f" >&2;}
6035 { (exit 1); exit 1; }; }
6038 done` || { (exit 1); exit 1; }
6040 if test x"$ac_file" != x-; then
6041 { echo "$as_me:$LINENO: creating $ac_file" >&5
6042 echo "$as_me: creating $ac_file" >&6;}
6046 cat >>$CONFIG_STATUS <<_ACEOF
6050 cat >>$CONFIG_STATUS <<\_ACEOF
6052 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6053 s,@configure_input@,$configure_input,;t t
6054 s,@srcdir@,$ac_srcdir,;t t
6055 s,@abs_srcdir@,$ac_abs_srcdir,;t t
6056 s,@top_srcdir@,$ac_top_srcdir,;t t
6057 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6058 s,@builddir@,$ac_builddir,;t t
6059 s,@abs_builddir@,$ac_abs_builddir,;t t
6060 s,@top_builddir@,$ac_top_builddir,;t t
6061 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6062 s,@INSTALL@,$ac_INSTALL,;t t
6063 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6065 if test x"$ac_file" != x-; then
6066 mv $tmp/out $ac_file
6074 cat >>$CONFIG_STATUS <<\_ACEOF
6077 # CONFIG_HEADER section.
6080 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6081 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6083 # ac_d sets the value in "#define NAME VALUE" lines.
6084 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6085 ac_dB='[ ].*$,\1#\2'
6088 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6089 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6090 ac_uB='$,\1#\2define\3'
6094 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
6095 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6097 - | *:- | *:-:* ) # input from stdin
6099 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6100 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6101 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6102 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6103 * ) ac_file_in=$ac_file.in ;;
6106 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6107 echo "$as_me: creating $ac_file" >&6;}
6109 # First look for the input files in the build tree, otherwise in the
6111 ac_file_inputs=`IFS=:
6112 for f in $ac_file_in; do
6114 -) echo $tmp/stdin ;;
6116 # Absolute (can't be DOS-style, as IFS=:)
6117 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6118 echo "$as_me: error: cannot find input file: $f" >&2;}
6119 { (exit 1); exit 1; }; }
6120 # Do quote $f, to prevent DOS paths from being IFS'd.
6123 if test -f "$f"; then
6126 elif test -f "$srcdir/$f"; then
6131 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6132 echo "$as_me: error: cannot find input file: $f" >&2;}
6133 { (exit 1); exit 1; }; }
6136 done` || { (exit 1); exit 1; }
6137 # Remove the trailing spaces.
6138 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6142 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6143 # `conftest.undefs', that substitutes the proper values into
6144 # config.h.in to produce config.h. The first handles `#define'
6145 # templates, and the second `#undef' templates.
6146 # And first: Protect against being on the right side of a sed subst in
6147 # config.status. Protect against being in an unquoted here document
6149 rm -f conftest.defines conftest.undefs
6150 # Using a here document instead of a string reduces the quoting nightmare.
6151 # Putting comments in sed scripts is not portable.
6153 # `end' is used to avoid that the second main sed command (meant for
6154 # 0-ary CPP macros) applies to n-ary macro definitions.
6155 # See the Autoconf documentation for `clear'.
6156 cat >confdef2sed.sed <<\_ACEOF
6161 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6163 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6166 # If some macros were called several times there might be several times
6167 # the same #defines, which is useless. Nevertheless, we may not want to
6168 # sort them, since we want the *last* AC-DEFINE to be honored.
6169 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6170 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6171 rm -f confdef2sed.sed
6173 # This sed command replaces #undef with comments. This is necessary, for
6174 # example, in the case of _POSIX_SOURCE, which is predefined and required
6175 # on some systems where configure will not decide to define it.
6176 cat >>conftest.undefs <<\_ACEOF
6177 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6180 # Break up conftest.defines because some shells have a limit on the size
6181 # of here documents, and old seds have small limits too (100 cmds).
6182 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6183 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6184 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6185 echo ' :' >>$CONFIG_STATUS
6187 while grep . conftest.defines >/dev/null
6189 # Write a limited-size here document to $tmp/defines.sed.
6190 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6191 # Speed up: don't consider the non `#define' lines.
6192 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6193 # Work around the forget-to-reset-the-flag bug.
6194 echo 't clr' >>$CONFIG_STATUS
6195 echo ': clr' >>$CONFIG_STATUS
6196 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
6198 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6202 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
6203 rm -f conftest.defines
6204 mv conftest.tail conftest.defines
6206 rm -f conftest.defines
6207 echo ' fi # grep' >>$CONFIG_STATUS
6208 echo >>$CONFIG_STATUS
6210 # Break up conftest.undefs because some shells have a limit on the size
6211 # of here documents, and old seds have small limits too (100 cmds).
6212 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6214 while grep . conftest.undefs >/dev/null
6216 # Write a limited-size here document to $tmp/undefs.sed.
6217 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6218 # Speed up: don't consider the non `#undef'
6219 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6220 # Work around the forget-to-reset-the-flag bug.
6221 echo 't clr' >>$CONFIG_STATUS
6222 echo ': clr' >>$CONFIG_STATUS
6223 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6225 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6229 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6230 rm -f conftest.undefs
6231 mv conftest.tail conftest.undefs
6233 rm -f conftest.undefs
6235 cat >>$CONFIG_STATUS <<\_ACEOF
6236 # Let's still pretend it is `configure' which instantiates (i.e., don't
6237 # use $as_me), people would be surprised to read:
6238 # /* config.h. Generated by config.status. */
6239 if test x"$ac_file" = x-; then
6240 echo "/* Generated by configure. */" >$tmp/config.h
6242 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6244 cat $tmp/in >>$tmp/config.h
6246 if test x"$ac_file" != x-; then
6247 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
6248 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6249 echo "$as_me: $ac_file is unchanged" >&6;}
6251 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6252 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6253 X"$ac_file" : 'X\(//\)[^/]' \| \
6254 X"$ac_file" : 'X\(//\)$' \| \
6255 X"$ac_file" : 'X\(/\)' \| \
6256 . : '\(.\)' 2>/dev/null ||
6258 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6259 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6260 /^X\(\/\/\)$/{ s//\1/; q; }
6261 /^X\(\/\).*/{ s//\1/; q; }
6263 { if $as_mkdir_p; then
6268 while test ! -d "$as_dir"; do
6269 as_dirs="$as_dir $as_dirs"
6270 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6271 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6272 X"$as_dir" : 'X\(//\)[^/]' \| \
6273 X"$as_dir" : 'X\(//\)$' \| \
6274 X"$as_dir" : 'X\(/\)' \| \
6275 . : '\(.\)' 2>/dev/null ||
6277 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6278 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6279 /^X\(\/\/\)$/{ s//\1/; q; }
6280 /^X\(\/\).*/{ s//\1/; q; }
6283 test ! -n "$as_dirs" || mkdir $as_dirs
6284 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6285 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6286 { (exit 1); exit 1; }; }; }
6289 mv $tmp/config.h $ac_file
6298 cat >>$CONFIG_STATUS <<\_ACEOF
6300 { (exit 0); exit 0; }
6302 chmod +x $CONFIG_STATUS
6303 ac_clean_files=$ac_clean_files_save
6306 # configure is writing to config.log, and then calls config.status.
6307 # config.status does its own redirection, appending to config.log.
6308 # Unfortunately, on DOS this fails, as config.log is still kept open
6309 # by configure, so config.status won't be able to write to it; its
6310 # output is simply discarded. So we exec the FD to /dev/null,
6311 # effectively closing config.log, so it can be properly (re)opened and
6312 # appended to by config.status. When coming back to configure, we
6313 # need to make the FD available again.
6314 if test "$no_create" != yes; then
6316 ac_config_status_args=
6317 test "$silent" = yes &&
6318 ac_config_status_args="$ac_config_status_args --quiet"
6320 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6322 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6323 # would make configure fail if this is the last instruction.
6324 $ac_cs_success || { (exit 1); exit 1; }
6328 # CONFIG_SUBDIRS section.
6330 if test "$no_recursion" != yes; then
6332 # Remove --cache-file and --srcdir arguments so they do not pile up.
6333 ac_sub_configure_args=
6335 for ac_arg in $ac_configure_args; do
6336 if test -n "$ac_prev"; then
6341 -cache-file | --cache-file | --cache-fil | --cache-fi \
6342 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
6343 ac_prev=cache_file ;;
6344 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
6345 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
6348 --config-cache | -C)
6350 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
6352 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
6354 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
6356 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
6358 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
6362 # Always prepend --prefix to ensure using the same prefix
6363 # in subdir configurations.
6364 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
6367 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
6369 # Do not complain, so a configure script can configure whichever
6370 # parts of a large source tree are present.
6371 test -d $srcdir/$ac_dir || continue
6373 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
6374 echo "$as_me: configuring in $ac_dir" >&6;}
6375 { if $as_mkdir_p; then
6380 while test ! -d "$as_dir"; do
6381 as_dirs="$as_dir $as_dirs"
6382 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6383 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6384 X"$as_dir" : 'X\(//\)[^/]' \| \
6385 X"$as_dir" : 'X\(//\)$' \| \
6386 X"$as_dir" : 'X\(/\)' \| \
6387 . : '\(.\)' 2>/dev/null ||
6389 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6390 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6391 /^X\(\/\/\)$/{ s//\1/; q; }
6392 /^X\(\/\).*/{ s//\1/; q; }
6395 test ! -n "$as_dirs" || mkdir $as_dirs
6396 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6397 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6398 { (exit 1); exit 1; }; }; }
6402 if test "$ac_dir" != .; then
6403 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6404 # A "../" for each directory in $ac_dir_suffix.
6405 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6407 ac_dir_suffix= ac_top_builddir=
6411 .) # No --srcdir option. We are building in place.
6413 if test -z "$ac_top_builddir"; then
6416 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6418 [\\/]* | ?:[\\/]* ) # Absolute path.
6419 ac_srcdir=$srcdir$ac_dir_suffix;
6420 ac_top_srcdir=$srcdir ;;
6422 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6423 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6426 # Do not use `cd foo && pwd` to compute absolute paths, because
6427 # the directories may not exist.
6429 .) ac_abs_builddir="$ac_dir";;
6432 .) ac_abs_builddir=`pwd`;;
6433 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6434 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6437 case $ac_abs_builddir in
6438 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6440 case ${ac_top_builddir}. in
6441 .) ac_abs_top_builddir=$ac_abs_builddir;;
6442 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6443 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6446 case $ac_abs_builddir in
6447 .) ac_abs_srcdir=$ac_srcdir;;
6450 .) ac_abs_srcdir=$ac_abs_builddir;;
6451 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6452 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6455 case $ac_abs_builddir in
6456 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6458 case $ac_top_srcdir in
6459 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6460 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6461 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6468 # Check for guested configure; otherwise get Cygnus style configure.
6469 if test -f $ac_srcdir/configure.gnu; then
6470 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
6471 elif test -f $ac_srcdir/configure; then
6472 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
6473 elif test -f $ac_srcdir/configure.in; then
6474 ac_sub_configure=$ac_configure
6476 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
6477 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
6481 # The recursion is here.
6482 if test -n "$ac_sub_configure"; then
6483 # Make the cache file name correct relative to the subdirectory.
6485 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
6487 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
6490 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
6491 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
6492 # The eval makes quoting arguments work.
6493 eval $ac_sub_configure $ac_sub_configure_args \
6494 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
6495 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
6496 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
6497 { (exit 1); exit 1; }; }
6507 if test "${OSTYPE:-unknown}" = "solaris"; then
6508 echo "$as_me:$LINENO: checking for upad128_t" >&5
6509 echo $ECHO_N "checking for upad128_t... $ECHO_C" >&6
6510 cat >conftest.$ac_ext <<_ACEOF
6513 cat confdefs.h >>conftest.$ac_ext
6514 cat >>conftest.$ac_ext <<_ACEOF
6515 /* end confdefs.h. */
6516 #include <sys/types.h>
6520 upad128_t upad; upad._q = 0.0;
6525 rm -f conftest.$ac_objext
6526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6527 (eval $ac_compile) 2>conftest.er1
6529 grep -v '^ *+' conftest.er1 >conftest.err
6531 cat conftest.err >&5
6532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6533 (exit $ac_status); } &&
6534 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6539 (exit $ac_status); }; } &&
6540 { ac_try='test -s conftest.$ac_objext'
6541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6545 (exit $ac_status); }; }; then
6548 echo "$as_me: failed program was:" >&5
6549 sed 's/^/| /' conftest.$ac_ext >&5
6552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6553 if test ${has_upad128_t} == "y"; then
6554 echo "$as_me:$LINENO: result: yes" >&5
6555 echo "${ECHO_T}yes" >&6
6556 cat >>confdefs.h <<\_ACEOF
6557 #define P_HAS_UPAD128_T 1
6561 echo "$as_me:$LINENO: result: no" >&5
6562 echo "${ECHO_T}no" >&6