2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 if test "x$CONFIG_SHELL" = x; then
138 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 # is contrary to our usage. Disable this feature.
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 case \`(set -o) 2>/dev/null\` in #(
154 as_required="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168 exitcode=1; echo positional parameters were not saved.
170 test x\$exitcode = x0 || exit 1"
171 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175 test \$(( 1 + 1 )) = 2 || exit 1"
176 if (eval "$as_required") 2>/dev/null; then :
181 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
186 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
189 test -z "$as_dir" && as_dir=.
193 for as_base in sh bash ksh sh5; do
194 # Try only shells that exist, to save several forks.
195 as_shell=$as_dir/$as_base
196 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
197 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
198 CONFIG_SHELL=$as_shell as_have_required=yes
199 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
207 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
208 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
209 CONFIG_SHELL=$SHELL as_have_required=yes
214 if test "x$CONFIG_SHELL" != x; then :
215 # We cannot yet assume a decent shell, so we have to provide a
216 # neutralization value for shells without unset; and this also
217 # works around shells that cannot unset nonexistent variables.
218 # Preserve -v and -x to the replacement shell.
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
224 *v*x* | *x*v* ) as_opts=-vx ;;
229 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
232 if test x$as_have_required = xno; then :
233 $as_echo "$0: This script requires a shell more modern than all"
234 $as_echo "$0: the shells that I found on your system."
235 if test x${ZSH_VERSION+set} = xset ; then
236 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
237 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
239 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
240 $0: including any error possibly output before this
241 $0: message. Then install a modern shell, or manually run
242 $0: the script under such a shell if you do have one."
248 SHELL=${CONFIG_SHELL-/bin/sh}
250 # Unset more variables known to interfere with behavior of common tools.
251 CLICOLOR_FORCE= GREP_OPTIONS=
252 unset CLICOLOR_FORCE GREP_OPTIONS
254 ## --------------------- ##
255 ## M4sh Shell Functions. ##
256 ## --------------------- ##
259 # Portably unset VAR.
262 { eval $1=; unset $1;}
266 # as_fn_set_status STATUS
267 # -----------------------
268 # Set $? to STATUS, without forking.
276 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
286 # Create "$as_dir" as a directory, including parents if necessary.
291 -*) as_dir=./$as_dir;;
293 test -d "$as_dir" || eval $as_mkdir_p || {
297 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
300 as_dirs="'$as_qdir' $as_dirs"
301 as_dir=`$as_dirname -- "$as_dir" ||
302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
303 X"$as_dir" : 'X\(//\)[^/]' \| \
304 X"$as_dir" : 'X\(//\)$' \| \
305 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
306 $as_echo X"$as_dir" |
307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
324 test -d "$as_dir" && break
326 test -z "$as_dirs" || eval "mkdir $as_dirs"
327 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
331 # as_fn_append VAR VALUE
332 # ----------------------
333 # Append the text in VALUE to the end of the definition contained in VAR. Take
334 # advantage of any shell optimizations that allow amortized linear growth over
335 # repeated appends, instead of the typical quadratic growth present in naive
337 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
338 eval 'as_fn_append ()
351 # Perform arithmetic evaluation on the ARGs, and store the result in the
352 # global $as_val. Take advantage of shells that can avoid forks. The arguments
353 # must be portable across $(()) and expr.
354 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
362 as_val=`expr "$@" || test $? -eq 1`
367 # as_fn_error STATUS ERROR [LINENO LOG_FD]
368 # ----------------------------------------
369 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
370 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
371 # script with STATUS, using 1 if that was 0.
374 as_status=$1; test $as_status -eq 0 && as_status=1
376 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
377 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
379 $as_echo "$as_me: error: $2" >&2
380 as_fn_exit $as_status
383 if expr a : '\(a\)' >/dev/null 2>&1 &&
384 test "X`expr 00001 : '.*\(...\)'`" = X001; then
390 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
396 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
402 as_me=`$as_basename -- "$0" ||
403 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
404 X"$0" : 'X\(//\)$' \| \
405 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
407 sed '/^.*\/\([^/][^/]*\)\/*$/{
421 # Avoid depending upon Character Ranges.
422 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
423 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
424 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
425 as_cr_digits='0123456789'
426 as_cr_alnum=$as_cr_Letters$as_cr_digits
429 as_lineno_1=$LINENO as_lineno_1a=$LINENO
430 as_lineno_2=$LINENO as_lineno_2a=$LINENO
431 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
432 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
433 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449 chmod +x "$as_me.lineno" ||
450 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
452 # Don't try to exec as it changes $[0], causing all sort of problems
453 # (the dirname of $[0] is not the place where we might find the
454 # original and so on. Autoconf is especially sensitive to this).
456 # Exit status is that of the last command.
460 ECHO_C= ECHO_N= ECHO_T=
461 case `echo -n x` in #(((((
463 case `echo 'xy\c'` in
464 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
466 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
473 rm -f conf$$ conf$$.exe conf$$.file
474 if test -d conf$$.dir; then
475 rm -f conf$$.dir/conf$$.file
478 mkdir conf$$.dir 2>/dev/null
480 if (echo >conf$$.file) 2>/dev/null; then
481 if ln -s conf$$.file conf$$ 2>/dev/null; then
483 # ... but there are two gotchas:
484 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
485 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
486 # In both cases, we have to default to `cp -p'.
487 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
489 elif ln conf$$.file conf$$ 2>/dev/null; then
497 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
498 rmdir conf$$.dir 2>/dev/null
500 if mkdir -p . 2>/dev/null; then
501 as_mkdir_p='mkdir -p "$as_dir"'
503 test -d ./-p && rmdir ./-p
507 if test -x / >/dev/null 2>&1; then
510 if ls -dL / >/dev/null 2>&1; then
517 if test -d "$1"; then
523 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
524 ???[sx]*):;;*)false;;esac;fi
528 as_executable_p=$as_test_x
530 # Sed expression to map a string onto a valid CPP name.
531 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
533 # Sed expression to map a string onto a valid variable name.
534 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
537 test -n "$DJDIR" || exec 7<&0 </dev/null
541 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
542 # so uname gets run too.
543 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
548 ac_default_prefix=/usr/local
550 ac_config_libobj_dir=.
557 # Identity of this package.
565 ac_unique_file="configure.in"
566 # Factoring default headers for most tests.
567 ac_includes_default="\
569 #ifdef HAVE_SYS_TYPES_H
570 # include <sys/types.h>
572 #ifdef HAVE_SYS_STAT_H
573 # include <sys/stat.h>
579 # ifdef HAVE_STDLIB_H
584 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
589 #ifdef HAVE_STRINGS_H
590 # include <strings.h>
592 #ifdef HAVE_INTTYPES_H
593 # include <inttypes.h>
602 ac_subst_vars='am__EXEEXT_FALSE
659 MAINTAINER_MODE_FALSE
669 INSTALL_STRIP_PROGRAM
711 program_transform_name
724 enable_option_checking
725 enable_maintainer_mode
726 enable_dependency_tracking
728 ac_precious_vars='build_alias
744 # Initialize some variables set by options.
746 ac_init_version=false
747 ac_unrecognized_opts=
749 # The variables have the same names as the options, with
750 # dashes changed to underlines.
758 program_transform_name=s,x,x,
766 # Installation directory options.
767 # These are left unexpanded so users can "make install exec_prefix=/foo"
768 # and all the variables that are supposed to be based on exec_prefix
769 # by default will actually change.
770 # Use braces instead of parens because sh, perl, etc. also accept them.
771 # (The list follows the same order as the GNU Coding Standards.)
772 bindir='${exec_prefix}/bin'
773 sbindir='${exec_prefix}/sbin'
774 libexecdir='${exec_prefix}/libexec'
775 datarootdir='${prefix}/share'
776 datadir='${datarootdir}'
777 sysconfdir='${prefix}/etc'
778 sharedstatedir='${prefix}/com'
779 localstatedir='${prefix}/var'
780 includedir='${prefix}/include'
781 oldincludedir='/usr/include'
782 docdir='${datarootdir}/doc/${PACKAGE}'
783 infodir='${datarootdir}/info'
788 libdir='${exec_prefix}/lib'
789 localedir='${datarootdir}/locale'
790 mandir='${datarootdir}/man'
796 # If the previous option needs an argument, assign it.
797 if test -n "$ac_prev"; then
798 eval $ac_prev=\$ac_option
804 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
809 # Accept the important Cygnus configure options, so we can diagnose typos.
811 case $ac_dashdash$ac_option in
815 -bindir | --bindir | --bindi | --bind | --bin | --bi)
817 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
820 -build | --build | --buil | --bui | --bu)
821 ac_prev=build_alias ;;
822 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
823 build_alias=$ac_optarg ;;
825 -cache-file | --cache-file | --cache-fil | --cache-fi \
826 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
827 ac_prev=cache_file ;;
828 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
829 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
830 cache_file=$ac_optarg ;;
833 cache_file=config.cache ;;
835 -datadir | --datadir | --datadi | --datad)
837 -datadir=* | --datadir=* | --datadi=* | --datad=*)
838 datadir=$ac_optarg ;;
840 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
841 | --dataroo | --dataro | --datar)
842 ac_prev=datarootdir ;;
843 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
844 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
845 datarootdir=$ac_optarg ;;
847 -disable-* | --disable-*)
848 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
849 # Reject names that are not valid shell variable names.
850 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
851 as_fn_error $? "invalid feature name: $ac_useropt"
852 ac_useropt_orig=$ac_useropt
853 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
854 case $ac_user_opts in
858 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
859 ac_unrecognized_sep=', ';;
861 eval enable_$ac_useropt=no ;;
863 -docdir | --docdir | --docdi | --doc | --do)
865 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
868 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
870 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
873 -enable-* | --enable-*)
874 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
875 # Reject names that are not valid shell variable names.
876 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
877 as_fn_error $? "invalid feature name: $ac_useropt"
878 ac_useropt_orig=$ac_useropt
879 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
880 case $ac_user_opts in
884 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
885 ac_unrecognized_sep=', ';;
887 eval enable_$ac_useropt=\$ac_optarg ;;
889 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
890 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
891 | --exec | --exe | --ex)
892 ac_prev=exec_prefix ;;
893 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
894 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
895 | --exec=* | --exe=* | --ex=*)
896 exec_prefix=$ac_optarg ;;
898 -gas | --gas | --ga | --g)
899 # Obsolete; use --with-gas.
902 -help | --help | --hel | --he | -h)
904 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
905 ac_init_help=recursive ;;
906 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
907 ac_init_help=short ;;
909 -host | --host | --hos | --ho)
910 ac_prev=host_alias ;;
911 -host=* | --host=* | --hos=* | --ho=*)
912 host_alias=$ac_optarg ;;
914 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
916 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
918 htmldir=$ac_optarg ;;
920 -includedir | --includedir | --includedi | --included | --include \
921 | --includ | --inclu | --incl | --inc)
922 ac_prev=includedir ;;
923 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
924 | --includ=* | --inclu=* | --incl=* | --inc=*)
925 includedir=$ac_optarg ;;
927 -infodir | --infodir | --infodi | --infod | --info | --inf)
929 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
930 infodir=$ac_optarg ;;
932 -libdir | --libdir | --libdi | --libd)
934 -libdir=* | --libdir=* | --libdi=* | --libd=*)
937 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
938 | --libexe | --libex | --libe)
939 ac_prev=libexecdir ;;
940 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
941 | --libexe=* | --libex=* | --libe=*)
942 libexecdir=$ac_optarg ;;
944 -localedir | --localedir | --localedi | --localed | --locale)
946 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
947 localedir=$ac_optarg ;;
949 -localstatedir | --localstatedir | --localstatedi | --localstated \
950 | --localstate | --localstat | --localsta | --localst | --locals)
951 ac_prev=localstatedir ;;
952 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
953 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
954 localstatedir=$ac_optarg ;;
956 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
958 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
962 # Obsolete; use --without-fp.
965 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
966 | --no-cr | --no-c | -n)
969 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
970 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
973 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
974 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
975 | --oldin | --oldi | --old | --ol | --o)
976 ac_prev=oldincludedir ;;
977 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
978 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
979 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
980 oldincludedir=$ac_optarg ;;
982 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
984 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
987 -program-prefix | --program-prefix | --program-prefi | --program-pref \
988 | --program-pre | --program-pr | --program-p)
989 ac_prev=program_prefix ;;
990 -program-prefix=* | --program-prefix=* | --program-prefi=* \
991 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
992 program_prefix=$ac_optarg ;;
994 -program-suffix | --program-suffix | --program-suffi | --program-suff \
995 | --program-suf | --program-su | --program-s)
996 ac_prev=program_suffix ;;
997 -program-suffix=* | --program-suffix=* | --program-suffi=* \
998 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
999 program_suffix=$ac_optarg ;;
1001 -program-transform-name | --program-transform-name \
1002 | --program-transform-nam | --program-transform-na \
1003 | --program-transform-n | --program-transform- \
1004 | --program-transform | --program-transfor \
1005 | --program-transfo | --program-transf \
1006 | --program-trans | --program-tran \
1007 | --progr-tra | --program-tr | --program-t)
1008 ac_prev=program_transform_name ;;
1009 -program-transform-name=* | --program-transform-name=* \
1010 | --program-transform-nam=* | --program-transform-na=* \
1011 | --program-transform-n=* | --program-transform-=* \
1012 | --program-transform=* | --program-transfor=* \
1013 | --program-transfo=* | --program-transf=* \
1014 | --program-trans=* | --program-tran=* \
1015 | --progr-tra=* | --program-tr=* | --program-t=*)
1016 program_transform_name=$ac_optarg ;;
1018 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1020 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1021 pdfdir=$ac_optarg ;;
1023 -psdir | --psdir | --psdi | --psd | --ps)
1025 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1028 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1029 | -silent | --silent | --silen | --sile | --sil)
1032 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1034 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1036 sbindir=$ac_optarg ;;
1038 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1039 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1040 | --sharedst | --shareds | --shared | --share | --shar \
1042 ac_prev=sharedstatedir ;;
1043 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1044 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1045 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1047 sharedstatedir=$ac_optarg ;;
1049 -site | --site | --sit)
1051 -site=* | --site=* | --sit=*)
1054 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1056 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1057 srcdir=$ac_optarg ;;
1059 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1060 | --syscon | --sysco | --sysc | --sys | --sy)
1061 ac_prev=sysconfdir ;;
1062 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1063 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1064 sysconfdir=$ac_optarg ;;
1066 -target | --target | --targe | --targ | --tar | --ta | --t)
1067 ac_prev=target_alias ;;
1068 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1069 target_alias=$ac_optarg ;;
1071 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1074 -version | --version | --versio | --versi | --vers | -V)
1075 ac_init_version=: ;;
1078 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1079 # Reject names that are not valid shell variable names.
1080 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1081 as_fn_error $? "invalid package name: $ac_useropt"
1082 ac_useropt_orig=$ac_useropt
1083 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1084 case $ac_user_opts in
1088 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1089 ac_unrecognized_sep=', ';;
1091 eval with_$ac_useropt=\$ac_optarg ;;
1093 -without-* | --without-*)
1094 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1095 # Reject names that are not valid shell variable names.
1096 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1097 as_fn_error $? "invalid package name: $ac_useropt"
1098 ac_useropt_orig=$ac_useropt
1099 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1100 case $ac_user_opts in
1104 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1105 ac_unrecognized_sep=', ';;
1107 eval with_$ac_useropt=no ;;
1110 # Obsolete; use --with-x.
1113 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1114 | --x-incl | --x-inc | --x-in | --x-i)
1115 ac_prev=x_includes ;;
1116 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1117 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1118 x_includes=$ac_optarg ;;
1120 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1121 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1122 ac_prev=x_libraries ;;
1123 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1124 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1125 x_libraries=$ac_optarg ;;
1127 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1128 Try \`$0 --help' for more information"
1132 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1133 # Reject names that are not valid shell variable names.
1134 case $ac_envvar in #(
1135 '' | [0-9]* | *[!_$as_cr_alnum]* )
1136 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1138 eval $ac_envvar=\$ac_optarg
1139 export $ac_envvar ;;
1142 # FIXME: should be removed in autoconf 3.0.
1143 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1144 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1145 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1146 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1152 if test -n "$ac_prev"; then
1153 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1154 as_fn_error $? "missing argument to $ac_option"
1157 if test -n "$ac_unrecognized_opts"; then
1158 case $enable_option_checking in
1160 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1161 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1165 # Check all directory arguments for consistency.
1166 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1167 datadir sysconfdir sharedstatedir localstatedir includedir \
1168 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1169 libdir localedir mandir
1171 eval ac_val=\$$ac_var
1172 # Remove trailing slashes.
1175 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1176 eval $ac_var=\$ac_val;;
1178 # Be sure to have absolute directory names.
1180 [\\/$]* | ?:[\\/]* ) continue;;
1181 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1183 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1186 # There might be people who depend on the old broken behavior: `$host'
1187 # used to hold the argument of --host etc.
1188 # FIXME: To remove some day.
1191 target=$target_alias
1193 # FIXME: To remove some day.
1194 if test "x$host_alias" != x; then
1195 if test "x$build_alias" = x; then
1196 cross_compiling=maybe
1197 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1198 If a cross compiler is detected then cross compile mode will be used" >&2
1199 elif test "x$build_alias" != "x$host_alias"; then
1205 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1207 test "$silent" = yes && exec 6>/dev/null
1210 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1211 ac_ls_di=`ls -di .` &&
1212 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1213 as_fn_error $? "working directory cannot be determined"
1214 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1215 as_fn_error $? "pwd does not report name of working directory"
1218 # Find the source files, if location was not specified.
1219 if test -z "$srcdir"; then
1220 ac_srcdir_defaulted=yes
1221 # Try the directory containing this script, then the parent directory.
1222 ac_confdir=`$as_dirname -- "$as_myself" ||
1223 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1224 X"$as_myself" : 'X\(//\)[^/]' \| \
1225 X"$as_myself" : 'X\(//\)$' \| \
1226 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1227 $as_echo X"$as_myself" |
1228 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1246 if test ! -r "$srcdir/$ac_unique_file"; then
1250 ac_srcdir_defaulted=no
1252 if test ! -r "$srcdir/$ac_unique_file"; then
1253 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1254 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1256 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1258 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1260 # When building in place, set srcdir=.
1261 if test "$ac_abs_confdir" = "$ac_pwd"; then
1264 # Remove unnecessary trailing slashes from srcdir.
1265 # Double slashes in file names in object file debugging info
1266 # mess up M-x gdb in Emacs.
1268 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1270 for ac_var in $ac_precious_vars; do
1271 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1272 eval ac_env_${ac_var}_value=\$${ac_var}
1273 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1274 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1278 # Report the --help message.
1280 if test "$ac_init_help" = "long"; then
1281 # Omit some internal or obsolete options to make the list less imposing.
1282 # This message is too long to be a string in the A/UX 3.1 sh.
1284 \`configure' configures this package to adapt to many kinds of systems.
1286 Usage: $0 [OPTION]... [VAR=VALUE]...
1288 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1289 VAR=VALUE. See below for descriptions of some of the useful variables.
1291 Defaults for the options are specified in brackets.
1294 -h, --help display this help and exit
1295 --help=short display options specific to this package
1296 --help=recursive display the short help of all the included packages
1297 -V, --version display version information and exit
1298 -q, --quiet, --silent do not print \`checking ...' messages
1299 --cache-file=FILE cache test results in FILE [disabled]
1300 -C, --config-cache alias for \`--cache-file=config.cache'
1301 -n, --no-create do not create output files
1302 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1304 Installation directories:
1305 --prefix=PREFIX install architecture-independent files in PREFIX
1306 [$ac_default_prefix]
1307 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1310 By default, \`make install' will install all the files in
1311 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1312 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1313 for instance \`--prefix=\$HOME'.
1315 For better control, use the options below.
1317 Fine tuning of the installation directories:
1318 --bindir=DIR user executables [EPREFIX/bin]
1319 --sbindir=DIR system admin executables [EPREFIX/sbin]
1320 --libexecdir=DIR program executables [EPREFIX/libexec]
1321 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1322 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1323 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1324 --libdir=DIR object code libraries [EPREFIX/lib]
1325 --includedir=DIR C header files [PREFIX/include]
1326 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1327 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1328 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1329 --infodir=DIR info documentation [DATAROOTDIR/info]
1330 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1331 --mandir=DIR man documentation [DATAROOTDIR/man]
1332 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1333 --htmldir=DIR html documentation [DOCDIR]
1334 --dvidir=DIR dvi documentation [DOCDIR]
1335 --pdfdir=DIR pdf documentation [DOCDIR]
1336 --psdir=DIR ps documentation [DOCDIR]
1342 --program-prefix=PREFIX prepend PREFIX to installed program names
1343 --program-suffix=SUFFIX append SUFFIX to installed program names
1344 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1347 --build=BUILD configure for building on BUILD [guessed]
1348 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1352 if test -n "$ac_init_help"; then
1357 --disable-option-checking ignore unrecognized --enable/--with options
1358 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1359 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1360 --enable-maintainer-mode enable make rules and dependencies not useful
1361 (and sometimes confusing) to the casual installer
1362 --disable-dependency-tracking speeds up one-time build
1363 --enable-dependency-tracking do not reject slow dependency extractors
1365 Some influential environment variables:
1366 CC C compiler command
1367 CFLAGS C compiler flags
1368 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1369 nonstandard directory <lib dir>
1370 LIBS libraries to pass to the linker, e.g. -l<library>
1371 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1372 you have headers in a nonstandard directory <include dir>
1374 PKG_CONFIG path to pkg-config utility
1376 directories to add to pkg-config's search path
1378 path overriding pkg-config's built-in search path
1380 C compiler flags for PACKAGE, overriding pkg-config
1382 linker flags for PACKAGE, overriding pkg-config
1384 Use these variables to override the choices made by `configure' or to help
1385 it to find libraries and programs with nonstandard names/locations.
1387 Report bugs to the package provider.
1392 if test "$ac_init_help" = "recursive"; then
1393 # If there are subdirs, report their specific --help.
1394 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1395 test -d "$ac_dir" ||
1396 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1401 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1403 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1404 # A ".." for each directory in $ac_dir_suffix.
1405 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1406 case $ac_top_builddir_sub in
1407 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1408 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1411 ac_abs_top_builddir=$ac_pwd
1412 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1413 # for backward compatibility:
1414 ac_top_builddir=$ac_top_build_prefix
1417 .) # We are building in place.
1419 ac_top_srcdir=$ac_top_builddir_sub
1420 ac_abs_top_srcdir=$ac_pwd ;;
1421 [\\/]* | ?:[\\/]* ) # Absolute name.
1422 ac_srcdir=$srcdir$ac_dir_suffix;
1423 ac_top_srcdir=$srcdir
1424 ac_abs_top_srcdir=$srcdir ;;
1426 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1427 ac_top_srcdir=$ac_top_build_prefix$srcdir
1428 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1430 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1432 cd "$ac_dir" || { ac_status=$?; continue; }
1433 # Check for guested configure.
1434 if test -f "$ac_srcdir/configure.gnu"; then
1436 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1437 elif test -f "$ac_srcdir/configure"; then
1439 $SHELL "$ac_srcdir/configure" --help=recursive
1441 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1443 cd "$ac_pwd" || { ac_status=$?; break; }
1447 test -n "$ac_init_help" && exit $ac_status
1448 if $ac_init_version; then
1451 generated by GNU Autoconf 2.68
1453 Copyright (C) 2010 Free Software Foundation, Inc.
1454 This configure script is free software; the Free Software Foundation
1455 gives unlimited permission to copy, distribute and modify it.
1460 ## ------------------------ ##
1461 ## Autoconf initialization. ##
1462 ## ------------------------ ##
1464 # ac_fn_c_try_compile LINENO
1465 # --------------------------
1466 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1467 ac_fn_c_try_compile ()
1469 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1470 rm -f conftest.$ac_objext
1471 if { { ac_try="$ac_compile"
1473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1474 *) ac_try_echo=$ac_try;;
1476 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1477 $as_echo "$ac_try_echo"; } >&5
1478 (eval "$ac_compile") 2>conftest.err
1480 if test -s conftest.err; then
1481 grep -v '^ *+' conftest.err >conftest.er1
1482 cat conftest.er1 >&5
1483 mv -f conftest.er1 conftest.err
1485 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1486 test $ac_status = 0; } && {
1487 test -z "$ac_c_werror_flag" ||
1488 test ! -s conftest.err
1489 } && test -s conftest.$ac_objext; then :
1492 $as_echo "$as_me: failed program was:" >&5
1493 sed 's/^/| /' conftest.$ac_ext >&5
1497 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1498 as_fn_set_status $ac_retval
1500 } # ac_fn_c_try_compile
1502 # ac_fn_c_try_link LINENO
1503 # -----------------------
1504 # Try to link conftest.$ac_ext, and return whether this succeeded.
1507 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1508 rm -f conftest.$ac_objext conftest$ac_exeext
1509 if { { ac_try="$ac_link"
1511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1512 *) ac_try_echo=$ac_try;;
1514 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1515 $as_echo "$ac_try_echo"; } >&5
1516 (eval "$ac_link") 2>conftest.err
1518 if test -s conftest.err; then
1519 grep -v '^ *+' conftest.err >conftest.er1
1520 cat conftest.er1 >&5
1521 mv -f conftest.er1 conftest.err
1523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1524 test $ac_status = 0; } && {
1525 test -z "$ac_c_werror_flag" ||
1526 test ! -s conftest.err
1527 } && test -s conftest$ac_exeext && {
1528 test "$cross_compiling" = yes ||
1529 $as_test_x conftest$ac_exeext
1533 $as_echo "$as_me: failed program was:" >&5
1534 sed 's/^/| /' conftest.$ac_ext >&5
1538 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1539 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1540 # interfere with the next link command; also delete a directory that is
1541 # left behind by Apple's compiler. We do this before executing the actions.
1542 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1543 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1544 as_fn_set_status $ac_retval
1546 } # ac_fn_c_try_link
1548 # ac_fn_c_try_cpp LINENO
1549 # ----------------------
1550 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1553 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1554 if { { ac_try="$ac_cpp conftest.$ac_ext"
1556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1557 *) ac_try_echo=$ac_try;;
1559 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1560 $as_echo "$ac_try_echo"; } >&5
1561 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1563 if test -s conftest.err; then
1564 grep -v '^ *+' conftest.err >conftest.er1
1565 cat conftest.er1 >&5
1566 mv -f conftest.er1 conftest.err
1568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1569 test $ac_status = 0; } > conftest.i && {
1570 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1571 test ! -s conftest.err
1575 $as_echo "$as_me: failed program was:" >&5
1576 sed 's/^/| /' conftest.$ac_ext >&5
1580 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1581 as_fn_set_status $ac_retval
1585 # ac_fn_c_try_run LINENO
1586 # ----------------------
1587 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1588 # that executables *can* be run.
1591 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1592 if { { ac_try="$ac_link"
1594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1595 *) ac_try_echo=$ac_try;;
1597 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1598 $as_echo "$ac_try_echo"; } >&5
1599 (eval "$ac_link") 2>&5
1601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1602 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1603 { { case "(($ac_try" in
1604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1605 *) ac_try_echo=$ac_try;;
1607 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1608 $as_echo "$ac_try_echo"; } >&5
1609 (eval "$ac_try") 2>&5
1611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1612 test $ac_status = 0; }; }; then :
1615 $as_echo "$as_me: program exited with status $ac_status" >&5
1616 $as_echo "$as_me: failed program was:" >&5
1617 sed 's/^/| /' conftest.$ac_ext >&5
1619 ac_retval=$ac_status
1621 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1622 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1623 as_fn_set_status $ac_retval
1627 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1628 # -------------------------------------------------------
1629 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1630 # the include files in INCLUDES and setting the cache variable VAR
1632 ac_fn_c_check_header_mongrel ()
1634 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1635 if eval \${$3+:} false; then :
1636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1637 $as_echo_n "checking for $2... " >&6; }
1638 if eval \${$3+:} false; then :
1639 $as_echo_n "(cached) " >&6
1642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1643 $as_echo "$ac_res" >&6; }
1645 # Is the header compilable?
1646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1647 $as_echo_n "checking $2 usability... " >&6; }
1648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1649 /* end confdefs.h. */
1653 if ac_fn_c_try_compile "$LINENO"; then :
1654 ac_header_compiler=yes
1656 ac_header_compiler=no
1658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1660 $as_echo "$ac_header_compiler" >&6; }
1662 # Is the header present?
1663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1664 $as_echo_n "checking $2 presence... " >&6; }
1665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1666 /* end confdefs.h. */
1669 if ac_fn_c_try_cpp "$LINENO"; then :
1670 ac_header_preproc=yes
1672 ac_header_preproc=no
1674 rm -f conftest.err conftest.i conftest.$ac_ext
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1676 $as_echo "$ac_header_preproc" >&6; }
1678 # So? What about this header?
1679 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1682 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1684 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1688 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1690 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1692 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1694 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1696 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1700 $as_echo_n "checking for $2... " >&6; }
1701 if eval \${$3+:} false; then :
1702 $as_echo_n "(cached) " >&6
1704 eval "$3=\$ac_header_compiler"
1707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1708 $as_echo "$ac_res" >&6; }
1710 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1712 } # ac_fn_c_check_header_mongrel
1714 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1715 # -------------------------------------------------------
1716 # Tests whether HEADER exists and can be compiled using the include files in
1717 # INCLUDES, setting the cache variable VAR accordingly.
1718 ac_fn_c_check_header_compile ()
1720 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1722 $as_echo_n "checking for $2... " >&6; }
1723 if eval \${$3+:} false; then :
1724 $as_echo_n "(cached) " >&6
1726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1727 /* end confdefs.h. */
1731 if ac_fn_c_try_compile "$LINENO"; then :
1736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1740 $as_echo "$ac_res" >&6; }
1741 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1743 } # ac_fn_c_check_header_compile
1745 # ac_fn_c_check_func LINENO FUNC VAR
1746 # ----------------------------------
1747 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1748 ac_fn_c_check_func ()
1750 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1752 $as_echo_n "checking for $2... " >&6; }
1753 if eval \${$3+:} false; then :
1754 $as_echo_n "(cached) " >&6
1756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1757 /* end confdefs.h. */
1758 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1760 #define $2 innocuous_$2
1762 /* System header to define __stub macros and hopefully few prototypes,
1763 which can conflict with char $2 (); below.
1764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1765 <limits.h> exists even on freestanding compilers. */
1768 # include <limits.h>
1770 # include <assert.h>
1775 /* Override any GCC internal prototype to avoid an error.
1776 Use char because int might match the return type of a GCC
1777 builtin and then its argument prototype would still apply. */
1782 /* The GNU C library defines this for functions which it implements
1783 to always fail with ENOSYS. Some functions are actually named
1784 something starting with __ and the normal name is an alias. */
1785 #if defined __stub_$2 || defined __stub___$2
1797 if ac_fn_c_try_link "$LINENO"; then :
1802 rm -f core conftest.err conftest.$ac_objext \
1803 conftest$ac_exeext conftest.$ac_ext
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1807 $as_echo "$ac_res" >&6; }
1808 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1810 } # ac_fn_c_check_func
1811 cat >config.log <<_ACEOF
1812 This file contains any messages produced by compilers while
1813 running configure, to aid debugging if configure makes a mistake.
1815 It was created by $as_me, which was
1816 generated by GNU Autoconf 2.68. Invocation command line was
1828 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1829 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1830 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1831 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1832 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1834 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1835 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1837 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1838 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1839 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1840 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1841 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1842 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1843 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1851 test -z "$as_dir" && as_dir=.
1852 $as_echo "PATH: $as_dir"
1868 # Keep a trace of the command line.
1869 # Strip out --no-create and --no-recursion so they do not pile up.
1870 # Strip out --silent because we don't want to record it for future runs.
1871 # Also quote any args containing shell meta-characters.
1872 # Make two passes to allow for proper duplicate-argument suppression.
1876 ac_must_keep_next=false
1882 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1883 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1884 | -silent | --silent | --silen | --sile | --sil)
1887 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1890 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1892 as_fn_append ac_configure_args1 " '$ac_arg'"
1893 if test $ac_must_keep_next = true; then
1894 ac_must_keep_next=false # Got value, back to normal.
1897 *=* | --config-cache | -C | -disable-* | --disable-* \
1898 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1899 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1900 | -with-* | --with-* | -without-* | --without-* | --x)
1901 case "$ac_configure_args0 " in
1902 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1905 -* ) ac_must_keep_next=true ;;
1908 as_fn_append ac_configure_args " '$ac_arg'"
1913 { ac_configure_args0=; unset ac_configure_args0;}
1914 { ac_configure_args1=; unset ac_configure_args1;}
1916 # When interrupted or exit'd, cleanup temporary files, and complete
1917 # config.log. We remove comments because anyway the quotes in there
1918 # would cause problems or look ugly.
1919 # WARNING: Use '\'' to represent an apostrophe within the trap.
1920 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1921 trap 'exit_status=$?
1922 # Save into config.log some information that might help in debugging.
1926 $as_echo "## ---------------- ##
1927 ## Cache variables. ##
1928 ## ---------------- ##"
1930 # The following way of writing the cache mishandles newlines in values,
1932 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1933 eval ac_val=\$$ac_var
1937 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1938 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1941 _ | IFS | as_nl) ;; #(
1942 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1943 *) { eval $ac_var=; unset $ac_var;} ;;
1948 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1949 *${as_nl}ac_space=\ *)
1951 "s/'\''/'\''\\\\'\'''\''/g;
1952 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1955 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1962 $as_echo "## ----------------- ##
1963 ## Output variables. ##
1964 ## ----------------- ##"
1966 for ac_var in $ac_subst_vars
1968 eval ac_val=\$$ac_var
1970 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1972 $as_echo "$ac_var='\''$ac_val'\''"
1976 if test -n "$ac_subst_files"; then
1977 $as_echo "## ------------------- ##
1978 ## File substitutions. ##
1979 ## ------------------- ##"
1981 for ac_var in $ac_subst_files
1983 eval ac_val=\$$ac_var
1985 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1987 $as_echo "$ac_var='\''$ac_val'\''"
1992 if test -s confdefs.h; then
1993 $as_echo "## ----------- ##
2000 test "$ac_signal" != 0 &&
2001 $as_echo "$as_me: caught signal $ac_signal"
2002 $as_echo "$as_me: exit $exit_status"
2004 rm -f core *.core core.conftest.* &&
2005 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2008 for ac_signal in 1 2 13 15; do
2009 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2013 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2014 rm -f -r conftest* confdefs.h
2016 $as_echo "/* confdefs.h */" > confdefs.h
2018 # Predefined preprocessor variables.
2020 cat >>confdefs.h <<_ACEOF
2021 #define PACKAGE_NAME "$PACKAGE_NAME"
2024 cat >>confdefs.h <<_ACEOF
2025 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2028 cat >>confdefs.h <<_ACEOF
2029 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2032 cat >>confdefs.h <<_ACEOF
2033 #define PACKAGE_STRING "$PACKAGE_STRING"
2036 cat >>confdefs.h <<_ACEOF
2037 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2040 cat >>confdefs.h <<_ACEOF
2041 #define PACKAGE_URL "$PACKAGE_URL"
2045 # Let the site file select an alternate cache file if it wants to.
2046 # Prefer an explicitly selected file to automatically selected ones.
2049 if test -n "$CONFIG_SITE"; then
2050 # We do not want a PATH search for config.site.
2051 case $CONFIG_SITE in #((
2052 -*) ac_site_file1=./$CONFIG_SITE;;
2053 */*) ac_site_file1=$CONFIG_SITE;;
2054 *) ac_site_file1=./$CONFIG_SITE;;
2056 elif test "x$prefix" != xNONE; then
2057 ac_site_file1=$prefix/share/config.site
2058 ac_site_file2=$prefix/etc/config.site
2060 ac_site_file1=$ac_default_prefix/share/config.site
2061 ac_site_file2=$ac_default_prefix/etc/config.site
2063 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2065 test "x$ac_site_file" = xNONE && continue
2066 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2068 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2069 sed 's/^/| /' "$ac_site_file" >&5
2071 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2072 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2073 as_fn_error $? "failed to load site script $ac_site_file
2074 See \`config.log' for more details" "$LINENO" 5; }
2078 if test -r "$cache_file"; then
2079 # Some versions of bash will fail to source /dev/null (special files
2080 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2081 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2083 $as_echo "$as_me: loading cache $cache_file" >&6;}
2085 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2086 *) . "./$cache_file";;
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2091 $as_echo "$as_me: creating cache $cache_file" >&6;}
2095 # Check that the precious variables saved in the cache have kept the same
2097 ac_cache_corrupted=false
2098 for ac_var in $ac_precious_vars; do
2099 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2100 eval ac_new_set=\$ac_env_${ac_var}_set
2101 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2102 eval ac_new_val=\$ac_env_${ac_var}_value
2103 case $ac_old_set,$ac_new_set in
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2106 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2107 ac_cache_corrupted=: ;;
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2110 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2111 ac_cache_corrupted=: ;;
2114 if test "x$ac_old_val" != "x$ac_new_val"; then
2115 # differences in whitespace do not lead to failure.
2116 ac_old_val_w=`echo x $ac_old_val`
2117 ac_new_val_w=`echo x $ac_new_val`
2118 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2120 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2121 ac_cache_corrupted=:
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2124 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2125 eval $ac_var=\$ac_old_val
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2128 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2130 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2133 # Pass precious variables to config.status.
2134 if test "$ac_new_set" = set; then
2136 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2137 *) ac_arg=$ac_var=$ac_new_val ;;
2139 case " $ac_configure_args " in
2140 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2141 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2145 if $ac_cache_corrupted; then
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2147 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2149 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2150 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2152 ## -------------------- ##
2153 ## Main body of script. ##
2154 ## -------------------- ##
2157 ac_cpp='$CPP $CPPFLAGS'
2158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2163 am__api_version='1.11'
2166 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2167 if test -f "$ac_dir/install-sh"; then
2169 ac_install_sh="$ac_aux_dir/install-sh -c"
2171 elif test -f "$ac_dir/install.sh"; then
2173 ac_install_sh="$ac_aux_dir/install.sh -c"
2175 elif test -f "$ac_dir/shtool"; then
2177 ac_install_sh="$ac_aux_dir/shtool install -c"
2181 if test -z "$ac_aux_dir"; then
2182 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2185 # These three variables are undocumented and unsupported,
2186 # and are intended to be withdrawn in a future Autoconf release.
2187 # They can cause serious problems if a builder's source tree is in a directory
2188 # whose full name contains unusual characters.
2189 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2190 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2191 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2194 # Find a good install program. We prefer a C program (faster),
2195 # so one script is as good as another. But avoid the broken or
2196 # incompatible versions:
2197 # SysV /etc/install, /usr/sbin/install
2198 # SunOS /usr/etc/install
2199 # IRIX /sbin/install
2201 # AmigaOS /C/install, which installs bootblocks on floppy discs
2202 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2203 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2204 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2205 # OS/2's system install, which has a completely different semantic
2206 # ./install, which can be erroneously created by make from ./install.sh.
2207 # Reject install programs that cannot install multiple files.
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2209 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2210 if test -z "$INSTALL"; then
2211 if ${ac_cv_path_install+:} false; then :
2212 $as_echo_n "(cached) " >&6
2214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2218 test -z "$as_dir" && as_dir=.
2219 # Account for people who put trailing slashes in PATH elements.
2220 case $as_dir/ in #((
2221 ./ | .// | /[cC]/* | \
2222 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2223 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2226 # OSF1 and SCO ODT 3.0 have their own names for install.
2227 # Don't use installbsd from OSF since it installs stuff as root
2229 for ac_prog in ginstall scoinst install; do
2230 for ac_exec_ext in '' $ac_executable_extensions; do
2231 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2232 if test $ac_prog = install &&
2233 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2234 # AIX install. It has an incompatible calling convention.
2236 elif test $ac_prog = install &&
2237 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2238 # program-specific install script used by HP pwplus--don't use.
2241 rm -rf conftest.one conftest.two conftest.dir
2242 echo one > conftest.one
2243 echo two > conftest.two
2245 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2246 test -s conftest.one && test -s conftest.two &&
2247 test -s conftest.dir/conftest.one &&
2248 test -s conftest.dir/conftest.two
2250 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2263 rm -rf conftest.one conftest.two conftest.dir
2266 if test "${ac_cv_path_install+set}" = set; then
2267 INSTALL=$ac_cv_path_install
2269 # As a last resort, use the slow shell script. Don't cache a
2270 # value for INSTALL within a source directory, because that will
2271 # break other packages using the cache if that directory is
2272 # removed, or if the value is a relative name.
2273 INSTALL=$ac_install_sh
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2277 $as_echo "$INSTALL" >&6; }
2279 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2280 # It thinks the first close brace ends the variable substitution.
2281 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2283 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2285 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2288 $as_echo_n "checking whether build environment is sane... " >&6; }
2291 echo timestamp > conftest.file
2292 # Reject unsafe characters in $srcdir or the absolute working directory
2293 # name. Accept space and tab only in the latter.
2297 *[\\\"\#\$\&\'\`$am_lf]*)
2298 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2301 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2302 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2305 # Do `set' in a subshell so we don't clobber the current shell's
2306 # arguments. Must try -L first in case configure is actually a
2307 # symlink; some systems play weird games with the mod time of symlinks
2308 # (eg FreeBSD returns the mod time of the symlink's containing
2311 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2312 if test "$*" = "X"; then
2314 set X `ls -t "$srcdir/configure" conftest.file`
2317 if test "$*" != "X $srcdir/configure conftest.file" \
2318 && test "$*" != "X conftest.file $srcdir/configure"; then
2320 # If neither matched, then we have a broken ls. This can happen
2321 # if, for instance, CONFIG_SHELL is bash and it inherits a
2322 # broken ls alias from the environment. This has actually
2323 # happened. Such a system could not be considered "sane".
2324 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2325 alias in your environment" "$LINENO" 5
2328 test "$2" = conftest.file
2334 as_fn_error $? "newly created file is older than distributed files!
2335 Check your system clock" "$LINENO" 5
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2338 $as_echo "yes" >&6; }
2339 test "$program_prefix" != NONE &&
2340 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2341 # Use a double $ so make ignores it.
2342 test "$program_suffix" != NONE &&
2343 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2344 # Double any \ or $.
2345 # By default was `s,x,x', remove it if useless.
2346 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2347 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2349 # expand $ac_aux_dir to an absolute path
2350 am_aux_dir=`cd $ac_aux_dir && pwd`
2352 if test x"${MISSING+set}" != xset; then
2355 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2357 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2360 # Use eval to expand $SHELL
2361 if eval "$MISSING --run true"; then
2362 am_missing_run="$MISSING --run "
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2366 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2369 if test x"${install_sh}" != xset; then
2372 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2374 install_sh="\${SHELL} $am_aux_dir/install-sh"
2378 # Installed binaries are usually stripped using `strip' when the user
2379 # run `make install-strip'. However `strip' might not be the right
2380 # tool to use in cross-compilation environments, therefore Automake
2381 # will honor the `STRIP' environment variable to overrule this program.
2382 if test "$cross_compiling" != no; then
2383 if test -n "$ac_tool_prefix"; then
2384 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2385 set dummy ${ac_tool_prefix}strip; ac_word=$2
2386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2387 $as_echo_n "checking for $ac_word... " >&6; }
2388 if ${ac_cv_prog_STRIP+:} false; then :
2389 $as_echo_n "(cached) " >&6
2391 if test -n "$STRIP"; then
2392 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2398 test -z "$as_dir" && as_dir=.
2399 for ac_exec_ext in '' $ac_executable_extensions; do
2400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2401 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2411 STRIP=$ac_cv_prog_STRIP
2412 if test -n "$STRIP"; then
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2414 $as_echo "$STRIP" >&6; }
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2417 $as_echo "no" >&6; }
2422 if test -z "$ac_cv_prog_STRIP"; then
2424 # Extract the first word of "strip", so it can be a program name with args.
2425 set dummy strip; ac_word=$2
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2427 $as_echo_n "checking for $ac_word... " >&6; }
2428 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2429 $as_echo_n "(cached) " >&6
2431 if test -n "$ac_ct_STRIP"; then
2432 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2438 test -z "$as_dir" && as_dir=.
2439 for ac_exec_ext in '' $ac_executable_extensions; do
2440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2441 ac_cv_prog_ac_ct_STRIP="strip"
2442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2451 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2452 if test -n "$ac_ct_STRIP"; then
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2454 $as_echo "$ac_ct_STRIP" >&6; }
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2457 $as_echo "no" >&6; }
2460 if test "x$ac_ct_STRIP" = x; then
2463 case $cross_compiling:$ac_tool_warned in
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2466 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2467 ac_tool_warned=yes ;;
2472 STRIP="$ac_cv_prog_STRIP"
2476 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2479 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2480 if test -z "$MKDIR_P"; then
2481 if ${ac_cv_path_mkdir+:} false; then :
2482 $as_echo_n "(cached) " >&6
2484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2485 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2488 test -z "$as_dir" && as_dir=.
2489 for ac_prog in mkdir gmkdir; do
2490 for ac_exec_ext in '' $ac_executable_extensions; do
2491 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2492 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2493 'mkdir (GNU coreutils) '* | \
2494 'mkdir (coreutils) '* | \
2495 'mkdir (fileutils) '4.1*)
2496 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2506 test -d ./--version && rmdir ./--version
2507 if test "${ac_cv_path_mkdir+set}" = set; then
2508 MKDIR_P="$ac_cv_path_mkdir -p"
2510 # As a last resort, use the slow shell script. Don't cache a
2511 # value for MKDIR_P within a source directory, because that will
2512 # break other packages using the cache if that directory is
2513 # removed, or if the value is a relative name.
2514 MKDIR_P="$ac_install_sh -d"
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2518 $as_echo "$MKDIR_P" >&6; }
2522 [\\/$]* | ?:[\\/]*) ;;
2523 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2526 for ac_prog in gawk mawk nawk awk
2528 # Extract the first word of "$ac_prog", so it can be a program name with args.
2529 set dummy $ac_prog; ac_word=$2
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2531 $as_echo_n "checking for $ac_word... " >&6; }
2532 if ${ac_cv_prog_AWK+:} false; then :
2533 $as_echo_n "(cached) " >&6
2535 if test -n "$AWK"; then
2536 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2542 test -z "$as_dir" && as_dir=.
2543 for ac_exec_ext in '' $ac_executable_extensions; do
2544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2545 ac_cv_prog_AWK="$ac_prog"
2546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2556 if test -n "$AWK"; then
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2558 $as_echo "$AWK" >&6; }
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2561 $as_echo "no" >&6; }
2565 test -n "$AWK" && break
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2569 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2571 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2572 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2573 $as_echo_n "(cached) " >&6
2575 cat >conftest.make <<\_ACEOF
2578 @echo '@@@%%%=$(MAKE)=@@@%%%'
2580 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2581 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2583 eval ac_cv_prog_make_${ac_make}_set=yes;;
2585 eval ac_cv_prog_make_${ac_make}_set=no;;
2589 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2591 $as_echo "yes" >&6; }
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2595 $as_echo "no" >&6; }
2596 SET_MAKE="MAKE=${MAKE-make}"
2599 rm -rf .tst 2>/dev/null
2600 mkdir .tst 2>/dev/null
2601 if test -d .tst; then
2606 rmdir .tst 2>/dev/null
2608 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2609 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2610 # is not polluted with repeated "-I."
2611 am__isrc=' -I$(srcdir)'
2612 # test to see if srcdir already configured
2613 if test -f $srcdir/config.status; then
2614 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2618 # test whether we have cygpath
2619 if test -z "$CYGPATH_W"; then
2620 if (cygpath --version) >/dev/null 2>/dev/null; then
2621 CYGPATH_W='cygpath -w'
2628 # Define the identity of the package.
2633 cat >>confdefs.h <<_ACEOF
2634 #define PACKAGE "$PACKAGE"
2638 cat >>confdefs.h <<_ACEOF
2639 #define VERSION "$VERSION"
2642 # Some tools Automake needs.
2644 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2647 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2650 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2653 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2656 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2658 # We need awk for the "check" target. The system "awk" is bad on
2660 # Always define AMTAR for backward compatibility.
2662 AMTAR=${AMTAR-"${am_missing_run}tar"}
2664 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2670 ac_config_headers="$ac_config_headers config.h"
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2674 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2675 # Check whether --enable-maintainer-mode was given.
2676 if test "${enable_maintainer_mode+set}" = set; then :
2677 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2679 USE_MAINTAINER_MODE=no
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2683 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2684 if test $USE_MAINTAINER_MODE = yes; then
2685 MAINTAINER_MODE_TRUE=
2686 MAINTAINER_MODE_FALSE='#'
2688 MAINTAINER_MODE_TRUE='#'
2689 MAINTAINER_MODE_FALSE=
2692 MAINT=$MAINTAINER_MODE_TRUE
2696 DEPDIR="${am__leading_dot}deps"
2698 ac_config_commands="$ac_config_commands depfiles"
2701 am_make=${MAKE-make}
2702 cat > confinc << 'END'
2704 @echo this is the am__doit target
2707 # If we don't find an include directive, just comment out the code.
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2709 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2713 # First try GNU make style include.
2714 echo "include confinc" > confmf
2715 # Ignore all kinds of additional output from `make'.
2716 case `$am_make -s -f confmf 2> /dev/null` in #(
2717 *the\ am__doit\ target*)
2723 # Now try BSD make style include.
2724 if test "$am__include" = "#"; then
2725 echo '.include "confinc"' > confmf
2726 case `$am_make -s -f confmf 2> /dev/null` in #(
2727 *the\ am__doit\ target*)
2728 am__include=.include
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2737 $as_echo "$_am_result" >&6; }
2738 rm -f confinc confmf
2740 # Check whether --enable-dependency-tracking was given.
2741 if test "${enable_dependency_tracking+set}" = set; then :
2742 enableval=$enable_dependency_tracking;
2745 if test "x$enable_dependency_tracking" != xno; then
2746 am_depcomp="$ac_aux_dir/depcomp"
2749 if test "x$enable_dependency_tracking" != xno; then
2759 ac_cpp='$CPP $CPPFLAGS'
2760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2763 if test -n "$ac_tool_prefix"; then
2764 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2765 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2767 $as_echo_n "checking for $ac_word... " >&6; }
2768 if ${ac_cv_prog_CC+:} false; then :
2769 $as_echo_n "(cached) " >&6
2771 if test -n "$CC"; then
2772 ac_cv_prog_CC="$CC" # Let the user override the test.
2774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2778 test -z "$as_dir" && as_dir=.
2779 for ac_exec_ext in '' $ac_executable_extensions; do
2780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2781 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2792 if test -n "$CC"; then
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2794 $as_echo "$CC" >&6; }
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2797 $as_echo "no" >&6; }
2802 if test -z "$ac_cv_prog_CC"; then
2804 # Extract the first word of "gcc", so it can be a program name with args.
2805 set dummy gcc; ac_word=$2
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2807 $as_echo_n "checking for $ac_word... " >&6; }
2808 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2809 $as_echo_n "(cached) " >&6
2811 if test -n "$ac_ct_CC"; then
2812 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2818 test -z "$as_dir" && as_dir=.
2819 for ac_exec_ext in '' $ac_executable_extensions; do
2820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2821 ac_cv_prog_ac_ct_CC="gcc"
2822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2831 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2832 if test -n "$ac_ct_CC"; then
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2834 $as_echo "$ac_ct_CC" >&6; }
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2837 $as_echo "no" >&6; }
2840 if test "x$ac_ct_CC" = x; then
2843 case $cross_compiling:$ac_tool_warned in
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2846 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2847 ac_tool_warned=yes ;;
2855 if test -z "$CC"; then
2856 if test -n "$ac_tool_prefix"; then
2857 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2858 set dummy ${ac_tool_prefix}cc; ac_word=$2
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2860 $as_echo_n "checking for $ac_word... " >&6; }
2861 if ${ac_cv_prog_CC+:} false; then :
2862 $as_echo_n "(cached) " >&6
2864 if test -n "$CC"; then
2865 ac_cv_prog_CC="$CC" # Let the user override the test.
2867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2871 test -z "$as_dir" && as_dir=.
2872 for ac_exec_ext in '' $ac_executable_extensions; do
2873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2874 ac_cv_prog_CC="${ac_tool_prefix}cc"
2875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2885 if test -n "$CC"; then
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2887 $as_echo "$CC" >&6; }
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2890 $as_echo "no" >&6; }
2896 if test -z "$CC"; then
2897 # Extract the first word of "cc", so it can be a program name with args.
2898 set dummy cc; ac_word=$2
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2900 $as_echo_n "checking for $ac_word... " >&6; }
2901 if ${ac_cv_prog_CC+:} false; then :
2902 $as_echo_n "(cached) " >&6
2904 if test -n "$CC"; then
2905 ac_cv_prog_CC="$CC" # Let the user override the test.
2908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2912 test -z "$as_dir" && as_dir=.
2913 for ac_exec_ext in '' $ac_executable_extensions; do
2914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2915 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2916 ac_prog_rejected=yes
2920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2927 if test $ac_prog_rejected = yes; then
2928 # We found a bogon in the path, so make sure we never use it.
2929 set dummy $ac_cv_prog_CC
2931 if test $# != 0; then
2932 # We chose a different compiler from the bogus one.
2933 # However, it has the same basename, so the bogon will be chosen
2934 # first if we set CC to just the basename; use the full file name.
2936 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2942 if test -n "$CC"; then
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2944 $as_echo "$CC" >&6; }
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2947 $as_echo "no" >&6; }
2952 if test -z "$CC"; then
2953 if test -n "$ac_tool_prefix"; then
2954 for ac_prog in cl.exe
2956 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2957 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2959 $as_echo_n "checking for $ac_word... " >&6; }
2960 if ${ac_cv_prog_CC+:} false; then :
2961 $as_echo_n "(cached) " >&6
2963 if test -n "$CC"; then
2964 ac_cv_prog_CC="$CC" # Let the user override the test.
2966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2970 test -z "$as_dir" && as_dir=.
2971 for ac_exec_ext in '' $ac_executable_extensions; do
2972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2973 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2984 if test -n "$CC"; then
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2986 $as_echo "$CC" >&6; }
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2989 $as_echo "no" >&6; }
2993 test -n "$CC" && break
2996 if test -z "$CC"; then
2998 for ac_prog in cl.exe
3000 # Extract the first word of "$ac_prog", so it can be a program name with args.
3001 set dummy $ac_prog; ac_word=$2
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3003 $as_echo_n "checking for $ac_word... " >&6; }
3004 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3005 $as_echo_n "(cached) " >&6
3007 if test -n "$ac_ct_CC"; then
3008 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3014 test -z "$as_dir" && as_dir=.
3015 for ac_exec_ext in '' $ac_executable_extensions; do
3016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3017 ac_cv_prog_ac_ct_CC="$ac_prog"
3018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3027 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3028 if test -n "$ac_ct_CC"; then
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3030 $as_echo "$ac_ct_CC" >&6; }
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3033 $as_echo "no" >&6; }
3037 test -n "$ac_ct_CC" && break
3040 if test "x$ac_ct_CC" = x; then
3043 case $cross_compiling:$ac_tool_warned in
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3046 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3047 ac_tool_warned=yes ;;
3056 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3057 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3058 as_fn_error $? "no acceptable C compiler found in \$PATH
3059 See \`config.log' for more details" "$LINENO" 5; }
3061 # Provide some information about the compiler.
3062 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3065 for ac_option in --version -v -V -qversion; do
3066 { { ac_try="$ac_compiler $ac_option >&5"
3068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3069 *) ac_try_echo=$ac_try;;
3071 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3072 $as_echo "$ac_try_echo"; } >&5
3073 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3075 if test -s conftest.err; then
3077 ... rest of stderr output deleted ...
3078 10q' conftest.err >conftest.er1
3079 cat conftest.er1 >&5
3081 rm -f conftest.er1 conftest.err
3082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3083 test $ac_status = 0; }
3086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3087 /* end confdefs.h. */
3097 ac_clean_files_save=$ac_clean_files
3098 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3099 # Try to create an executable without -o first, disregard a.out.
3100 # It will help us diagnose broken compilers, and finding out an intuition
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3103 $as_echo_n "checking whether the C compiler works... " >&6; }
3104 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3106 # The possible output files:
3107 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3110 for ac_file in $ac_files
3113 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3114 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3119 if { { ac_try="$ac_link_default"
3121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3122 *) ac_try_echo=$ac_try;;
3124 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3125 $as_echo "$ac_try_echo"; } >&5
3126 (eval "$ac_link_default") 2>&5
3128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3129 test $ac_status = 0; }; then :
3130 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3131 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3132 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3133 # so that the user can short-circuit this test for compilers unknown to
3135 for ac_file in $ac_files ''
3137 test -f "$ac_file" || continue
3139 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3142 # We found the default executable, but exeext='' is most
3146 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3148 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3150 # We set ac_cv_exeext here because the later test for it is not
3151 # safe: cross compilers may not add the suffix if given an `-o'
3152 # argument, so we may need to know it at that point already.
3153 # Even if this section looks crufty: it has the advantage of
3160 test "$ac_cv_exeext" = no && ac_cv_exeext=
3165 if test -z "$ac_file"; then :
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3167 $as_echo "no" >&6; }
3168 $as_echo "$as_me: failed program was:" >&5
3169 sed 's/^/| /' conftest.$ac_ext >&5
3171 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3172 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3173 as_fn_error 77 "C compiler cannot create executables
3174 See \`config.log' for more details" "$LINENO" 5; }
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3177 $as_echo "yes" >&6; }
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3180 $as_echo_n "checking for C compiler default output file name... " >&6; }
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3182 $as_echo "$ac_file" >&6; }
3183 ac_exeext=$ac_cv_exeext
3185 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3186 ac_clean_files=$ac_clean_files_save
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3188 $as_echo_n "checking for suffix of executables... " >&6; }
3189 if { { ac_try="$ac_link"
3191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3192 *) ac_try_echo=$ac_try;;
3194 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3195 $as_echo "$ac_try_echo"; } >&5
3196 (eval "$ac_link") 2>&5
3198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3199 test $ac_status = 0; }; then :
3200 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3201 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3202 # work properly (i.e., refer to `conftest.exe'), while it won't with
3204 for ac_file in conftest.exe conftest conftest.*; do
3205 test -f "$ac_file" || continue
3207 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3208 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3214 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3215 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3216 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3217 See \`config.log' for more details" "$LINENO" 5; }
3219 rm -f conftest conftest$ac_cv_exeext
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3221 $as_echo "$ac_cv_exeext" >&6; }
3223 rm -f conftest.$ac_ext
3224 EXEEXT=$ac_cv_exeext
3226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3227 /* end confdefs.h. */
3232 FILE *f = fopen ("conftest.out", "w");
3233 return ferror (f) || fclose (f) != 0;
3239 ac_clean_files="$ac_clean_files conftest.out"
3240 # Check that the compiler produces executables we can run. If not, either
3241 # the compiler is broken, or we cross compile.
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3243 $as_echo_n "checking whether we are cross compiling... " >&6; }
3244 if test "$cross_compiling" != yes; then
3245 { { ac_try="$ac_link"
3247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3248 *) ac_try_echo=$ac_try;;
3250 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3251 $as_echo "$ac_try_echo"; } >&5
3252 (eval "$ac_link") 2>&5
3254 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3255 test $ac_status = 0; }
3256 if { ac_try='./conftest$ac_cv_exeext'
3257 { { case "(($ac_try" in
3258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3259 *) ac_try_echo=$ac_try;;
3261 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3262 $as_echo "$ac_try_echo"; } >&5
3263 (eval "$ac_try") 2>&5
3265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3266 test $ac_status = 0; }; }; then
3269 if test "$cross_compiling" = maybe; then
3272 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3273 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3274 as_fn_error $? "cannot run C compiled programs.
3275 If you meant to cross compile, use \`--host'.
3276 See \`config.log' for more details" "$LINENO" 5; }
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3281 $as_echo "$cross_compiling" >&6; }
3283 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3284 ac_clean_files=$ac_clean_files_save
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3286 $as_echo_n "checking for suffix of object files... " >&6; }
3287 if ${ac_cv_objext+:} false; then :
3288 $as_echo_n "(cached) " >&6
3290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3291 /* end confdefs.h. */
3301 rm -f conftest.o conftest.obj
3302 if { { ac_try="$ac_compile"
3304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3305 *) ac_try_echo=$ac_try;;
3307 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3308 $as_echo "$ac_try_echo"; } >&5
3309 (eval "$ac_compile") 2>&5
3311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3312 test $ac_status = 0; }; then :
3313 for ac_file in conftest.o conftest.obj conftest.*; do
3314 test -f "$ac_file" || continue;
3316 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3317 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3322 $as_echo "$as_me: failed program was:" >&5
3323 sed 's/^/| /' conftest.$ac_ext >&5
3325 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3326 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3327 as_fn_error $? "cannot compute suffix of object files: cannot compile
3328 See \`config.log' for more details" "$LINENO" 5; }
3330 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3333 $as_echo "$ac_cv_objext" >&6; }
3334 OBJEXT=$ac_cv_objext
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3337 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3338 if ${ac_cv_c_compiler_gnu+:} false; then :
3339 $as_echo_n "(cached) " >&6
3341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3342 /* end confdefs.h. */
3355 if ac_fn_c_try_compile "$LINENO"; then :
3360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3361 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3365 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3366 if test $ac_compiler_gnu = yes; then
3371 ac_test_CFLAGS=${CFLAGS+set}
3372 ac_save_CFLAGS=$CFLAGS
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3374 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3375 if ${ac_cv_prog_cc_g+:} false; then :
3376 $as_echo_n "(cached) " >&6
3378 ac_save_c_werror_flag=$ac_c_werror_flag
3379 ac_c_werror_flag=yes
3382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3383 /* end confdefs.h. */
3393 if ac_fn_c_try_compile "$LINENO"; then :
3397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3398 /* end confdefs.h. */
3408 if ac_fn_c_try_compile "$LINENO"; then :
3411 ac_c_werror_flag=$ac_save_c_werror_flag
3413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3414 /* end confdefs.h. */
3424 if ac_fn_c_try_compile "$LINENO"; then :
3427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3432 ac_c_werror_flag=$ac_save_c_werror_flag
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3435 $as_echo "$ac_cv_prog_cc_g" >&6; }
3436 if test "$ac_test_CFLAGS" = set; then
3437 CFLAGS=$ac_save_CFLAGS
3438 elif test $ac_cv_prog_cc_g = yes; then
3439 if test "$GCC" = yes; then
3445 if test "$GCC" = yes; then
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3452 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3453 if ${ac_cv_prog_cc_c89+:} false; then :
3454 $as_echo_n "(cached) " >&6
3456 ac_cv_prog_cc_c89=no
3458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3459 /* end confdefs.h. */
3462 #include <sys/types.h>
3463 #include <sys/stat.h>
3464 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3465 struct buf { int x; };
3466 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3467 static char *e (p, i)
3473 static char *f (char * (*g) (char **, int), char **p, ...)
3478 s = g (p, va_arg (v,int));
3483 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3484 function prototypes and stuff, but not '\xHH' hex character constants.
3485 These don't provoke an error unfortunately, instead are silently treated
3486 as 'x'. The following induces an error, until -std is added to get
3487 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3488 array size at least. It's necessary to write '\x00'==0 to get something
3489 that's true only with -std. */
3490 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3492 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3493 inside strings and character constants. */
3495 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3497 int test (int i, double x);
3498 struct s1 {int (*f) (int a);};
3499 struct s2 {int (*f) (double a);};
3500 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3506 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3511 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3512 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3514 CC="$ac_save_CC $ac_arg"
3515 if ac_fn_c_try_compile "$LINENO"; then :
3516 ac_cv_prog_cc_c89=$ac_arg
3518 rm -f core conftest.err conftest.$ac_objext
3519 test "x$ac_cv_prog_cc_c89" != "xno" && break
3521 rm -f conftest.$ac_ext
3526 case "x$ac_cv_prog_cc_c89" in
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3529 $as_echo "none needed" >&6; } ;;
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3532 $as_echo "unsupported" >&6; } ;;
3534 CC="$CC $ac_cv_prog_cc_c89"
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3536 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3538 if test "x$ac_cv_prog_cc_c89" != xno; then :
3543 ac_cpp='$CPP $CPPFLAGS'
3544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3548 depcc="$CC" am_compiler_list=
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3551 $as_echo_n "checking dependency style of $depcc... " >&6; }
3552 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3553 $as_echo_n "(cached) " >&6
3555 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3556 # We make a subdir and do the tests there. Otherwise we can end up
3557 # making bogus files that we don't know about and never remove. For
3558 # instance it was reported that on HP-UX the gcc test will end up
3559 # making a dummy file named `D' -- because `-MD' means `put the output
3562 # Copy depcomp to subdir because otherwise we won't find it if we're
3563 # using a relative directory.
3564 cp "$am_depcomp" conftest.dir
3566 # We will build objects and dependencies in a subdirectory because
3567 # it helps to detect inapplicable dependency modes. For instance
3568 # both Tru64's cc and ICC support -MD to output dependencies as a
3569 # side effect of compilation, but ICC will put the dependencies in
3570 # the current directory while Tru64 will put them in the object
3574 am_cv_CC_dependencies_compiler_type=none
3575 if test "$am_compiler_list" = ""; then
3576 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3579 case " $depcc " in #(
3580 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3583 for depmode in $am_compiler_list; do
3584 # Setup a source with many dependencies, because some compilers
3585 # like to wrap large dependency lists on column 80 (with \), and
3586 # we should not choose a depcomp mode which is confused by this.
3588 # We need to recreate these files for each test, as the compiler may
3589 # overwrite some of them when testing with obscure command lines.
3590 # This happens at least with the AIX C compiler.
3592 for i in 1 2 3 4 5 6; do
3593 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3594 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3595 # Solaris 8's {/usr,}/bin/sh.
3596 touch sub/conftst$i.h
3598 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3600 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3601 # mode. It turns out that the SunPro C++ compiler does not properly
3602 # handle `-M -o', and we need to detect this. Also, some Intel
3603 # versions had trouble with output in subdirs
3604 am__obj=sub/conftest.${OBJEXT-o}
3605 am__minus_obj="-o $am__obj"
3608 # This depmode causes a compiler race in universal mode.
3609 test "$am__universal" = false || continue
3612 # after this tag, mechanisms are not by side-effect, so they'll
3613 # only be used when explicitly requested
3614 if test "x$enable_dependency_tracking" = xyes; then
3620 msvisualcpp | msvcmsys)
3621 # This compiler won't grok `-c -o', but also, the minuso test has
3622 # not run yet. These depmodes are late enough in the game, and
3623 # so weak that their functioning should not be impacted.
3624 am__obj=conftest.${OBJEXT-o}
3629 if depmode=$depmode \
3630 source=sub/conftest.c object=$am__obj \
3631 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3632 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3633 >/dev/null 2>conftest.err &&
3634 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3635 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3636 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3637 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3638 # icc doesn't choke on unknown options, it will just issue warnings
3639 # or remarks (even with -Werror). So we grep stderr for any message
3640 # that says an option was ignored or not supported.
3641 # When given -MP, icc 7.0 and 7.1 complain thusly:
3642 # icc: Command line warning: ignoring option '-M'; no argument required
3643 # The diagnosis changed in icc 8.0:
3644 # icc: Command line remark: option '-MP' not supported
3645 if (grep 'ignoring option' conftest.err ||
3646 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3647 am_cv_CC_dependencies_compiler_type=$depmode
3656 am_cv_CC_dependencies_compiler_type=none
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3661 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3662 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3665 test "x$enable_dependency_tracking" != xno \
3666 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3668 am__fastdepCC_FALSE='#'
3670 am__fastdepCC_TRUE='#'
3671 am__fastdepCC_FALSE=
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3677 $as_echo_n "checking for library containing strerror... " >&6; }
3678 if ${ac_cv_search_strerror+:} false; then :
3679 $as_echo_n "(cached) " >&6
3681 ac_func_search_save_LIBS=$LIBS
3682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3683 /* end confdefs.h. */
3685 /* Override any GCC internal prototype to avoid an error.
3686 Use char because int might match the return type of a GCC
3687 builtin and then its argument prototype would still apply. */
3700 for ac_lib in '' cposix; do
3701 if test -z "$ac_lib"; then
3702 ac_res="none required"
3705 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3707 if ac_fn_c_try_link "$LINENO"; then :
3708 ac_cv_search_strerror=$ac_res
3710 rm -f core conftest.err conftest.$ac_objext \
3712 if ${ac_cv_search_strerror+:} false; then :
3716 if ${ac_cv_search_strerror+:} false; then :
3719 ac_cv_search_strerror=no
3722 LIBS=$ac_func_search_save_LIBS
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3725 $as_echo "$ac_cv_search_strerror" >&6; }
3726 ac_res=$ac_cv_search_strerror
3727 if test "$ac_res" != no; then :
3728 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3733 ac_cpp='$CPP $CPPFLAGS'
3734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3737 if test -n "$ac_tool_prefix"; then
3738 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3739 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3741 $as_echo_n "checking for $ac_word... " >&6; }
3742 if ${ac_cv_prog_CC+:} false; then :
3743 $as_echo_n "(cached) " >&6
3745 if test -n "$CC"; then
3746 ac_cv_prog_CC="$CC" # Let the user override the test.
3748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3752 test -z "$as_dir" && as_dir=.
3753 for ac_exec_ext in '' $ac_executable_extensions; do
3754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3755 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3766 if test -n "$CC"; then
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3768 $as_echo "$CC" >&6; }
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3771 $as_echo "no" >&6; }
3776 if test -z "$ac_cv_prog_CC"; then
3778 # Extract the first word of "gcc", so it can be a program name with args.
3779 set dummy gcc; ac_word=$2
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3781 $as_echo_n "checking for $ac_word... " >&6; }
3782 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3783 $as_echo_n "(cached) " >&6
3785 if test -n "$ac_ct_CC"; then
3786 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3792 test -z "$as_dir" && as_dir=.
3793 for ac_exec_ext in '' $ac_executable_extensions; do
3794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3795 ac_cv_prog_ac_ct_CC="gcc"
3796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3805 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3806 if test -n "$ac_ct_CC"; then
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3808 $as_echo "$ac_ct_CC" >&6; }
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3811 $as_echo "no" >&6; }
3814 if test "x$ac_ct_CC" = x; then
3817 case $cross_compiling:$ac_tool_warned in
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3820 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3821 ac_tool_warned=yes ;;
3829 if test -z "$CC"; then
3830 if test -n "$ac_tool_prefix"; then
3831 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3832 set dummy ${ac_tool_prefix}cc; ac_word=$2
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3834 $as_echo_n "checking for $ac_word... " >&6; }
3835 if ${ac_cv_prog_CC+:} false; then :
3836 $as_echo_n "(cached) " >&6
3838 if test -n "$CC"; then
3839 ac_cv_prog_CC="$CC" # Let the user override the test.
3841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3845 test -z "$as_dir" && as_dir=.
3846 for ac_exec_ext in '' $ac_executable_extensions; do
3847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3848 ac_cv_prog_CC="${ac_tool_prefix}cc"
3849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3859 if test -n "$CC"; then
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3861 $as_echo "$CC" >&6; }
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3864 $as_echo "no" >&6; }
3870 if test -z "$CC"; then
3871 # Extract the first word of "cc", so it can be a program name with args.
3872 set dummy cc; ac_word=$2
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3874 $as_echo_n "checking for $ac_word... " >&6; }
3875 if ${ac_cv_prog_CC+:} false; then :
3876 $as_echo_n "(cached) " >&6
3878 if test -n "$CC"; then
3879 ac_cv_prog_CC="$CC" # Let the user override the test.
3882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3886 test -z "$as_dir" && as_dir=.
3887 for ac_exec_ext in '' $ac_executable_extensions; do
3888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3889 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3890 ac_prog_rejected=yes
3894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3901 if test $ac_prog_rejected = yes; then
3902 # We found a bogon in the path, so make sure we never use it.
3903 set dummy $ac_cv_prog_CC
3905 if test $# != 0; then
3906 # We chose a different compiler from the bogus one.
3907 # However, it has the same basename, so the bogon will be chosen
3908 # first if we set CC to just the basename; use the full file name.
3910 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3916 if test -n "$CC"; then
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3918 $as_echo "$CC" >&6; }
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3921 $as_echo "no" >&6; }
3926 if test -z "$CC"; then
3927 if test -n "$ac_tool_prefix"; then
3928 for ac_prog in cl.exe
3930 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3931 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3933 $as_echo_n "checking for $ac_word... " >&6; }
3934 if ${ac_cv_prog_CC+:} false; then :
3935 $as_echo_n "(cached) " >&6
3937 if test -n "$CC"; then
3938 ac_cv_prog_CC="$CC" # Let the user override the test.
3940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3944 test -z "$as_dir" && as_dir=.
3945 for ac_exec_ext in '' $ac_executable_extensions; do
3946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3947 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3958 if test -n "$CC"; then
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3960 $as_echo "$CC" >&6; }
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3963 $as_echo "no" >&6; }
3967 test -n "$CC" && break
3970 if test -z "$CC"; then
3972 for ac_prog in cl.exe
3974 # Extract the first word of "$ac_prog", so it can be a program name with args.
3975 set dummy $ac_prog; ac_word=$2
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3977 $as_echo_n "checking for $ac_word... " >&6; }
3978 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3979 $as_echo_n "(cached) " >&6
3981 if test -n "$ac_ct_CC"; then
3982 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3988 test -z "$as_dir" && as_dir=.
3989 for ac_exec_ext in '' $ac_executable_extensions; do
3990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3991 ac_cv_prog_ac_ct_CC="$ac_prog"
3992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4001 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4002 if test -n "$ac_ct_CC"; then
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4004 $as_echo "$ac_ct_CC" >&6; }
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4007 $as_echo "no" >&6; }
4011 test -n "$ac_ct_CC" && break
4014 if test "x$ac_ct_CC" = x; then
4017 case $cross_compiling:$ac_tool_warned in
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4020 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4021 ac_tool_warned=yes ;;
4030 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4031 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4032 as_fn_error $? "no acceptable C compiler found in \$PATH
4033 See \`config.log' for more details" "$LINENO" 5; }
4035 # Provide some information about the compiler.
4036 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4039 for ac_option in --version -v -V -qversion; do
4040 { { ac_try="$ac_compiler $ac_option >&5"
4042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4043 *) ac_try_echo=$ac_try;;
4045 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4046 $as_echo "$ac_try_echo"; } >&5
4047 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4049 if test -s conftest.err; then
4051 ... rest of stderr output deleted ...
4052 10q' conftest.err >conftest.er1
4053 cat conftest.er1 >&5
4055 rm -f conftest.er1 conftest.err
4056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4057 test $ac_status = 0; }
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4061 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4062 if ${ac_cv_c_compiler_gnu+:} false; then :
4063 $as_echo_n "(cached) " >&6
4065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4066 /* end confdefs.h. */
4079 if ac_fn_c_try_compile "$LINENO"; then :
4084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4085 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4089 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4090 if test $ac_compiler_gnu = yes; then
4095 ac_test_CFLAGS=${CFLAGS+set}
4096 ac_save_CFLAGS=$CFLAGS
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4098 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4099 if ${ac_cv_prog_cc_g+:} false; then :
4100 $as_echo_n "(cached) " >&6
4102 ac_save_c_werror_flag=$ac_c_werror_flag
4103 ac_c_werror_flag=yes
4106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4107 /* end confdefs.h. */
4117 if ac_fn_c_try_compile "$LINENO"; then :
4121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4122 /* end confdefs.h. */
4132 if ac_fn_c_try_compile "$LINENO"; then :
4135 ac_c_werror_flag=$ac_save_c_werror_flag
4137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4138 /* end confdefs.h. */
4148 if ac_fn_c_try_compile "$LINENO"; then :
4151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4156 ac_c_werror_flag=$ac_save_c_werror_flag
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4159 $as_echo "$ac_cv_prog_cc_g" >&6; }
4160 if test "$ac_test_CFLAGS" = set; then
4161 CFLAGS=$ac_save_CFLAGS
4162 elif test $ac_cv_prog_cc_g = yes; then
4163 if test "$GCC" = yes; then
4169 if test "$GCC" = yes; then
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4176 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4177 if ${ac_cv_prog_cc_c89+:} false; then :
4178 $as_echo_n "(cached) " >&6
4180 ac_cv_prog_cc_c89=no
4182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4183 /* end confdefs.h. */
4186 #include <sys/types.h>
4187 #include <sys/stat.h>
4188 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4189 struct buf { int x; };
4190 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4191 static char *e (p, i)
4197 static char *f (char * (*g) (char **, int), char **p, ...)
4202 s = g (p, va_arg (v,int));
4207 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4208 function prototypes and stuff, but not '\xHH' hex character constants.
4209 These don't provoke an error unfortunately, instead are silently treated
4210 as 'x'. The following induces an error, until -std is added to get
4211 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4212 array size at least. It's necessary to write '\x00'==0 to get something
4213 that's true only with -std. */
4214 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4216 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4217 inside strings and character constants. */
4219 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4221 int test (int i, double x);
4222 struct s1 {int (*f) (int a);};
4223 struct s2 {int (*f) (double a);};
4224 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4230 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4235 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4236 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4238 CC="$ac_save_CC $ac_arg"
4239 if ac_fn_c_try_compile "$LINENO"; then :
4240 ac_cv_prog_cc_c89=$ac_arg
4242 rm -f core conftest.err conftest.$ac_objext
4243 test "x$ac_cv_prog_cc_c89" != "xno" && break
4245 rm -f conftest.$ac_ext
4250 case "x$ac_cv_prog_cc_c89" in
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4253 $as_echo "none needed" >&6; } ;;
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4256 $as_echo "unsupported" >&6; } ;;
4258 CC="$CC $ac_cv_prog_cc_c89"
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4260 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4262 if test "x$ac_cv_prog_cc_c89" != xno; then :
4267 ac_cpp='$CPP $CPPFLAGS'
4268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4272 depcc="$CC" am_compiler_list=
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4275 $as_echo_n "checking dependency style of $depcc... " >&6; }
4276 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4277 $as_echo_n "(cached) " >&6
4279 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4280 # We make a subdir and do the tests there. Otherwise we can end up
4281 # making bogus files that we don't know about and never remove. For
4282 # instance it was reported that on HP-UX the gcc test will end up
4283 # making a dummy file named `D' -- because `-MD' means `put the output
4286 # Copy depcomp to subdir because otherwise we won't find it if we're
4287 # using a relative directory.
4288 cp "$am_depcomp" conftest.dir
4290 # We will build objects and dependencies in a subdirectory because
4291 # it helps to detect inapplicable dependency modes. For instance
4292 # both Tru64's cc and ICC support -MD to output dependencies as a
4293 # side effect of compilation, but ICC will put the dependencies in
4294 # the current directory while Tru64 will put them in the object
4298 am_cv_CC_dependencies_compiler_type=none
4299 if test "$am_compiler_list" = ""; then
4300 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4303 case " $depcc " in #(
4304 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4307 for depmode in $am_compiler_list; do
4308 # Setup a source with many dependencies, because some compilers
4309 # like to wrap large dependency lists on column 80 (with \), and
4310 # we should not choose a depcomp mode which is confused by this.
4312 # We need to recreate these files for each test, as the compiler may
4313 # overwrite some of them when testing with obscure command lines.
4314 # This happens at least with the AIX C compiler.
4316 for i in 1 2 3 4 5 6; do
4317 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4318 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4319 # Solaris 8's {/usr,}/bin/sh.
4320 touch sub/conftst$i.h
4322 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4324 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4325 # mode. It turns out that the SunPro C++ compiler does not properly
4326 # handle `-M -o', and we need to detect this. Also, some Intel
4327 # versions had trouble with output in subdirs
4328 am__obj=sub/conftest.${OBJEXT-o}
4329 am__minus_obj="-o $am__obj"
4332 # This depmode causes a compiler race in universal mode.
4333 test "$am__universal" = false || continue
4336 # after this tag, mechanisms are not by side-effect, so they'll
4337 # only be used when explicitly requested
4338 if test "x$enable_dependency_tracking" = xyes; then
4344 msvisualcpp | msvcmsys)
4345 # This compiler won't grok `-c -o', but also, the minuso test has
4346 # not run yet. These depmodes are late enough in the game, and
4347 # so weak that their functioning should not be impacted.
4348 am__obj=conftest.${OBJEXT-o}
4353 if depmode=$depmode \
4354 source=sub/conftest.c object=$am__obj \
4355 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4356 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4357 >/dev/null 2>conftest.err &&
4358 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4359 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4360 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4361 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4362 # icc doesn't choke on unknown options, it will just issue warnings
4363 # or remarks (even with -Werror). So we grep stderr for any message
4364 # that says an option was ignored or not supported.
4365 # When given -MP, icc 7.0 and 7.1 complain thusly:
4366 # icc: Command line warning: ignoring option '-M'; no argument required
4367 # The diagnosis changed in icc 8.0:
4368 # icc: Command line remark: option '-MP' not supported
4369 if (grep 'ignoring option' conftest.err ||
4370 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4371 am_cv_CC_dependencies_compiler_type=$depmode
4380 am_cv_CC_dependencies_compiler_type=none
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4385 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4386 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4389 test "x$enable_dependency_tracking" != xno \
4390 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4392 am__fastdepCC_FALSE='#'
4394 am__fastdepCC_TRUE='#'
4395 am__fastdepCC_FALSE=
4400 ac_cpp='$CPP $CPPFLAGS'
4401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4404 if test -n "$ac_tool_prefix"; then
4405 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4406 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4408 $as_echo_n "checking for $ac_word... " >&6; }
4409 if ${ac_cv_prog_CC+:} false; then :
4410 $as_echo_n "(cached) " >&6
4412 if test -n "$CC"; then
4413 ac_cv_prog_CC="$CC" # Let the user override the test.
4415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4419 test -z "$as_dir" && as_dir=.
4420 for ac_exec_ext in '' $ac_executable_extensions; do
4421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4422 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4433 if test -n "$CC"; then
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4435 $as_echo "$CC" >&6; }
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4438 $as_echo "no" >&6; }
4443 if test -z "$ac_cv_prog_CC"; then
4445 # Extract the first word of "gcc", so it can be a program name with args.
4446 set dummy gcc; ac_word=$2
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4448 $as_echo_n "checking for $ac_word... " >&6; }
4449 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4450 $as_echo_n "(cached) " >&6
4452 if test -n "$ac_ct_CC"; then
4453 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4459 test -z "$as_dir" && as_dir=.
4460 for ac_exec_ext in '' $ac_executable_extensions; do
4461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4462 ac_cv_prog_ac_ct_CC="gcc"
4463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4472 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4473 if test -n "$ac_ct_CC"; then
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4475 $as_echo "$ac_ct_CC" >&6; }
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4478 $as_echo "no" >&6; }
4481 if test "x$ac_ct_CC" = x; then
4484 case $cross_compiling:$ac_tool_warned in
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4487 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4488 ac_tool_warned=yes ;;
4496 if test -z "$CC"; then
4497 if test -n "$ac_tool_prefix"; then
4498 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4499 set dummy ${ac_tool_prefix}cc; ac_word=$2
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4501 $as_echo_n "checking for $ac_word... " >&6; }
4502 if ${ac_cv_prog_CC+:} false; then :
4503 $as_echo_n "(cached) " >&6
4505 if test -n "$CC"; then
4506 ac_cv_prog_CC="$CC" # Let the user override the test.
4508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4512 test -z "$as_dir" && as_dir=.
4513 for ac_exec_ext in '' $ac_executable_extensions; do
4514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4515 ac_cv_prog_CC="${ac_tool_prefix}cc"
4516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4526 if test -n "$CC"; then
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4528 $as_echo "$CC" >&6; }
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4531 $as_echo "no" >&6; }
4537 if test -z "$CC"; then
4538 # Extract the first word of "cc", so it can be a program name with args.
4539 set dummy cc; ac_word=$2
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4541 $as_echo_n "checking for $ac_word... " >&6; }
4542 if ${ac_cv_prog_CC+:} false; then :
4543 $as_echo_n "(cached) " >&6
4545 if test -n "$CC"; then
4546 ac_cv_prog_CC="$CC" # Let the user override the test.
4549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4553 test -z "$as_dir" && as_dir=.
4554 for ac_exec_ext in '' $ac_executable_extensions; do
4555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4556 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4557 ac_prog_rejected=yes
4561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4568 if test $ac_prog_rejected = yes; then
4569 # We found a bogon in the path, so make sure we never use it.
4570 set dummy $ac_cv_prog_CC
4572 if test $# != 0; then
4573 # We chose a different compiler from the bogus one.
4574 # However, it has the same basename, so the bogon will be chosen
4575 # first if we set CC to just the basename; use the full file name.
4577 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4583 if test -n "$CC"; then
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4585 $as_echo "$CC" >&6; }
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4588 $as_echo "no" >&6; }
4593 if test -z "$CC"; then
4594 if test -n "$ac_tool_prefix"; then
4595 for ac_prog in cl.exe
4597 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4598 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4600 $as_echo_n "checking for $ac_word... " >&6; }
4601 if ${ac_cv_prog_CC+:} false; then :
4602 $as_echo_n "(cached) " >&6
4604 if test -n "$CC"; then
4605 ac_cv_prog_CC="$CC" # Let the user override the test.
4607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4611 test -z "$as_dir" && as_dir=.
4612 for ac_exec_ext in '' $ac_executable_extensions; do
4613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4614 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4625 if test -n "$CC"; then
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4627 $as_echo "$CC" >&6; }
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4630 $as_echo "no" >&6; }
4634 test -n "$CC" && break
4637 if test -z "$CC"; then
4639 for ac_prog in cl.exe
4641 # Extract the first word of "$ac_prog", so it can be a program name with args.
4642 set dummy $ac_prog; ac_word=$2
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4644 $as_echo_n "checking for $ac_word... " >&6; }
4645 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4646 $as_echo_n "(cached) " >&6
4648 if test -n "$ac_ct_CC"; then
4649 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4655 test -z "$as_dir" && as_dir=.
4656 for ac_exec_ext in '' $ac_executable_extensions; do
4657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4658 ac_cv_prog_ac_ct_CC="$ac_prog"
4659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4668 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4669 if test -n "$ac_ct_CC"; then
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4671 $as_echo "$ac_ct_CC" >&6; }
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4674 $as_echo "no" >&6; }
4678 test -n "$ac_ct_CC" && break
4681 if test "x$ac_ct_CC" = x; then
4684 case $cross_compiling:$ac_tool_warned in
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4687 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4688 ac_tool_warned=yes ;;
4697 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4698 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4699 as_fn_error $? "no acceptable C compiler found in \$PATH
4700 See \`config.log' for more details" "$LINENO" 5; }
4702 # Provide some information about the compiler.
4703 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4706 for ac_option in --version -v -V -qversion; do
4707 { { ac_try="$ac_compiler $ac_option >&5"
4709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4710 *) ac_try_echo=$ac_try;;
4712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4713 $as_echo "$ac_try_echo"; } >&5
4714 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4716 if test -s conftest.err; then
4718 ... rest of stderr output deleted ...
4719 10q' conftest.err >conftest.er1
4720 cat conftest.er1 >&5
4722 rm -f conftest.er1 conftest.err
4723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4724 test $ac_status = 0; }
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4728 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4729 if ${ac_cv_c_compiler_gnu+:} false; then :
4730 $as_echo_n "(cached) " >&6
4732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4733 /* end confdefs.h. */
4746 if ac_fn_c_try_compile "$LINENO"; then :
4751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4752 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4756 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4757 if test $ac_compiler_gnu = yes; then
4762 ac_test_CFLAGS=${CFLAGS+set}
4763 ac_save_CFLAGS=$CFLAGS
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4765 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4766 if ${ac_cv_prog_cc_g+:} false; then :
4767 $as_echo_n "(cached) " >&6
4769 ac_save_c_werror_flag=$ac_c_werror_flag
4770 ac_c_werror_flag=yes
4773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4774 /* end confdefs.h. */
4784 if ac_fn_c_try_compile "$LINENO"; then :
4788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4789 /* end confdefs.h. */
4799 if ac_fn_c_try_compile "$LINENO"; then :
4802 ac_c_werror_flag=$ac_save_c_werror_flag
4804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4805 /* end confdefs.h. */
4815 if ac_fn_c_try_compile "$LINENO"; then :
4818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4823 ac_c_werror_flag=$ac_save_c_werror_flag
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4826 $as_echo "$ac_cv_prog_cc_g" >&6; }
4827 if test "$ac_test_CFLAGS" = set; then
4828 CFLAGS=$ac_save_CFLAGS
4829 elif test $ac_cv_prog_cc_g = yes; then
4830 if test "$GCC" = yes; then
4836 if test "$GCC" = yes; then
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4843 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4844 if ${ac_cv_prog_cc_c89+:} false; then :
4845 $as_echo_n "(cached) " >&6
4847 ac_cv_prog_cc_c89=no
4849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4850 /* end confdefs.h. */
4853 #include <sys/types.h>
4854 #include <sys/stat.h>
4855 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4856 struct buf { int x; };
4857 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4858 static char *e (p, i)
4864 static char *f (char * (*g) (char **, int), char **p, ...)
4869 s = g (p, va_arg (v,int));
4874 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4875 function prototypes and stuff, but not '\xHH' hex character constants.
4876 These don't provoke an error unfortunately, instead are silently treated
4877 as 'x'. The following induces an error, until -std is added to get
4878 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4879 array size at least. It's necessary to write '\x00'==0 to get something
4880 that's true only with -std. */
4881 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4883 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4884 inside strings and character constants. */
4886 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4888 int test (int i, double x);
4889 struct s1 {int (*f) (int a);};
4890 struct s2 {int (*f) (double a);};
4891 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4897 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4902 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4903 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4905 CC="$ac_save_CC $ac_arg"
4906 if ac_fn_c_try_compile "$LINENO"; then :
4907 ac_cv_prog_cc_c89=$ac_arg
4909 rm -f core conftest.err conftest.$ac_objext
4910 test "x$ac_cv_prog_cc_c89" != "xno" && break
4912 rm -f conftest.$ac_ext
4917 case "x$ac_cv_prog_cc_c89" in
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4920 $as_echo "none needed" >&6; } ;;
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4923 $as_echo "unsupported" >&6; } ;;
4925 CC="$CC $ac_cv_prog_cc_c89"
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4927 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4929 if test "x$ac_cv_prog_cc_c89" != xno; then :
4934 ac_cpp='$CPP $CPPFLAGS'
4935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4939 depcc="$CC" am_compiler_list=
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4942 $as_echo_n "checking dependency style of $depcc... " >&6; }
4943 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4944 $as_echo_n "(cached) " >&6
4946 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4947 # We make a subdir and do the tests there. Otherwise we can end up
4948 # making bogus files that we don't know about and never remove. For
4949 # instance it was reported that on HP-UX the gcc test will end up
4950 # making a dummy file named `D' -- because `-MD' means `put the output
4953 # Copy depcomp to subdir because otherwise we won't find it if we're
4954 # using a relative directory.
4955 cp "$am_depcomp" conftest.dir
4957 # We will build objects and dependencies in a subdirectory because
4958 # it helps to detect inapplicable dependency modes. For instance
4959 # both Tru64's cc and ICC support -MD to output dependencies as a
4960 # side effect of compilation, but ICC will put the dependencies in
4961 # the current directory while Tru64 will put them in the object
4965 am_cv_CC_dependencies_compiler_type=none
4966 if test "$am_compiler_list" = ""; then
4967 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4970 case " $depcc " in #(
4971 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4974 for depmode in $am_compiler_list; do
4975 # Setup a source with many dependencies, because some compilers
4976 # like to wrap large dependency lists on column 80 (with \), and
4977 # we should not choose a depcomp mode which is confused by this.
4979 # We need to recreate these files for each test, as the compiler may
4980 # overwrite some of them when testing with obscure command lines.
4981 # This happens at least with the AIX C compiler.
4983 for i in 1 2 3 4 5 6; do
4984 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4985 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4986 # Solaris 8's {/usr,}/bin/sh.
4987 touch sub/conftst$i.h
4989 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4991 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4992 # mode. It turns out that the SunPro C++ compiler does not properly
4993 # handle `-M -o', and we need to detect this. Also, some Intel
4994 # versions had trouble with output in subdirs
4995 am__obj=sub/conftest.${OBJEXT-o}
4996 am__minus_obj="-o $am__obj"
4999 # This depmode causes a compiler race in universal mode.
5000 test "$am__universal" = false || continue
5003 # after this tag, mechanisms are not by side-effect, so they'll
5004 # only be used when explicitly requested
5005 if test "x$enable_dependency_tracking" = xyes; then
5011 msvisualcpp | msvcmsys)
5012 # This compiler won't grok `-c -o', but also, the minuso test has
5013 # not run yet. These depmodes are late enough in the game, and
5014 # so weak that their functioning should not be impacted.
5015 am__obj=conftest.${OBJEXT-o}
5020 if depmode=$depmode \
5021 source=sub/conftest.c object=$am__obj \
5022 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5023 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5024 >/dev/null 2>conftest.err &&
5025 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5026 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5027 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5028 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5029 # icc doesn't choke on unknown options, it will just issue warnings
5030 # or remarks (even with -Werror). So we grep stderr for any message
5031 # that says an option was ignored or not supported.
5032 # When given -MP, icc 7.0 and 7.1 complain thusly:
5033 # icc: Command line warning: ignoring option '-M'; no argument required
5034 # The diagnosis changed in icc 8.0:
5035 # icc: Command line remark: option '-MP' not supported
5036 if (grep 'ignoring option' conftest.err ||
5037 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5038 am_cv_CC_dependencies_compiler_type=$depmode
5047 am_cv_CC_dependencies_compiler_type=none
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5052 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5053 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5056 test "x$enable_dependency_tracking" != xno \
5057 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5059 am__fastdepCC_FALSE='#'
5061 am__fastdepCC_TRUE='#'
5062 am__fastdepCC_FALSE=
5067 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
5069 if test -n "$ac_tool_prefix"; then
5070 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5071 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5073 $as_echo_n "checking for $ac_word... " >&6; }
5074 if ${ac_cv_prog_RANLIB+:} false; then :
5075 $as_echo_n "(cached) " >&6
5077 if test -n "$RANLIB"; then
5078 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5084 test -z "$as_dir" && as_dir=.
5085 for ac_exec_ext in '' $ac_executable_extensions; do
5086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5087 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5097 RANLIB=$ac_cv_prog_RANLIB
5098 if test -n "$RANLIB"; then
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5100 $as_echo "$RANLIB" >&6; }
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5103 $as_echo "no" >&6; }
5108 if test -z "$ac_cv_prog_RANLIB"; then
5109 ac_ct_RANLIB=$RANLIB
5110 # Extract the first word of "ranlib", so it can be a program name with args.
5111 set dummy ranlib; ac_word=$2
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5113 $as_echo_n "checking for $ac_word... " >&6; }
5114 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5115 $as_echo_n "(cached) " >&6
5117 if test -n "$ac_ct_RANLIB"; then
5118 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5124 test -z "$as_dir" && as_dir=.
5125 for ac_exec_ext in '' $ac_executable_extensions; do
5126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5127 ac_cv_prog_ac_ct_RANLIB="ranlib"
5128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5137 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5138 if test -n "$ac_ct_RANLIB"; then
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5140 $as_echo "$ac_ct_RANLIB" >&6; }
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5143 $as_echo "no" >&6; }
5146 if test "x$ac_ct_RANLIB" = x; then
5149 case $cross_compiling:$ac_tool_warned in
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5152 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5153 ac_tool_warned=yes ;;
5155 RANLIB=$ac_ct_RANLIB
5158 RANLIB="$ac_cv_prog_RANLIB"
5162 ac_cpp='$CPP $CPPFLAGS'
5163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5167 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5168 # On Suns, sometimes $CPP names a directory.
5169 if test -n "$CPP" && test -d "$CPP"; then
5172 if test -z "$CPP"; then
5173 if ${ac_cv_prog_CPP+:} false; then :
5174 $as_echo_n "(cached) " >&6
5176 # Double quotes because CPP needs to be expanded
5177 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5180 for ac_c_preproc_warn_flag in '' yes
5182 # Use a header file that comes with gcc, so configuring glibc
5183 # with a fresh cross-compiler works.
5184 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5185 # <limits.h> exists even on freestanding compilers.
5186 # On the NeXT, cc -E runs the code through the compiler's parser,
5187 # not just through cpp. "Syntax error" is here to catch this case.
5188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5189 /* end confdefs.h. */
5191 # include <limits.h>
5193 # include <assert.h>
5197 if ac_fn_c_try_cpp "$LINENO"; then :
5200 # Broken: fails on valid input.
5203 rm -f conftest.err conftest.i conftest.$ac_ext
5205 # OK, works on sane cases. Now check whether nonexistent headers
5206 # can be detected and how.
5207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5208 /* end confdefs.h. */
5209 #include <ac_nonexistent.h>
5211 if ac_fn_c_try_cpp "$LINENO"; then :
5212 # Broken: success on invalid input.
5215 # Passes both tests.
5219 rm -f conftest.err conftest.i conftest.$ac_ext
5222 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5223 rm -f conftest.i conftest.err conftest.$ac_ext
5224 if $ac_preproc_ok; then :
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5237 $as_echo "$CPP" >&6; }
5239 for ac_c_preproc_warn_flag in '' yes
5241 # Use a header file that comes with gcc, so configuring glibc
5242 # with a fresh cross-compiler works.
5243 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5244 # <limits.h> exists even on freestanding compilers.
5245 # On the NeXT, cc -E runs the code through the compiler's parser,
5246 # not just through cpp. "Syntax error" is here to catch this case.
5247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5248 /* end confdefs.h. */
5250 # include <limits.h>
5252 # include <assert.h>
5256 if ac_fn_c_try_cpp "$LINENO"; then :
5259 # Broken: fails on valid input.
5262 rm -f conftest.err conftest.i conftest.$ac_ext
5264 # OK, works on sane cases. Now check whether nonexistent headers
5265 # can be detected and how.
5266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5267 /* end confdefs.h. */
5268 #include <ac_nonexistent.h>
5270 if ac_fn_c_try_cpp "$LINENO"; then :
5271 # Broken: success on invalid input.
5274 # Passes both tests.
5278 rm -f conftest.err conftest.i conftest.$ac_ext
5281 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5282 rm -f conftest.i conftest.err conftest.$ac_ext
5283 if $ac_preproc_ok; then :
5286 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5287 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5288 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5289 See \`config.log' for more details" "$LINENO" 5; }
5293 ac_cpp='$CPP $CPPFLAGS'
5294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5300 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5301 if ${ac_cv_path_GREP+:} false; then :
5302 $as_echo_n "(cached) " >&6
5304 if test -z "$GREP"; then
5305 ac_path_GREP_found=false
5306 # Loop through the user's path and test for each of PROGNAME-LIST
5307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5308 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5311 test -z "$as_dir" && as_dir=.
5312 for ac_prog in grep ggrep; do
5313 for ac_exec_ext in '' $ac_executable_extensions; do
5314 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5315 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5316 # Check for GNU ac_path_GREP and select it if it is found.
5317 # Check for GNU $ac_path_GREP
5318 case `"$ac_path_GREP" --version 2>&1` in
5320 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5323 $as_echo_n 0123456789 >"conftest.in"
5326 cat "conftest.in" "conftest.in" >"conftest.tmp"
5327 mv "conftest.tmp" "conftest.in"
5328 cp "conftest.in" "conftest.nl"
5329 $as_echo 'GREP' >> "conftest.nl"
5330 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5331 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5332 as_fn_arith $ac_count + 1 && ac_count=$as_val
5333 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5334 # Best one so far, save it but keep looking for a better one
5335 ac_cv_path_GREP="$ac_path_GREP"
5336 ac_path_GREP_max=$ac_count
5338 # 10*(2^10) chars as input seems more than enough
5339 test $ac_count -gt 10 && break
5341 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5344 $ac_path_GREP_found && break 3
5349 if test -z "$ac_cv_path_GREP"; then
5350 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5353 ac_cv_path_GREP=$GREP
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5358 $as_echo "$ac_cv_path_GREP" >&6; }
5359 GREP="$ac_cv_path_GREP"
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5363 $as_echo_n "checking for egrep... " >&6; }
5364 if ${ac_cv_path_EGREP+:} false; then :
5365 $as_echo_n "(cached) " >&6
5367 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5368 then ac_cv_path_EGREP="$GREP -E"
5370 if test -z "$EGREP"; then
5371 ac_path_EGREP_found=false
5372 # Loop through the user's path and test for each of PROGNAME-LIST
5373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5374 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5377 test -z "$as_dir" && as_dir=.
5378 for ac_prog in egrep; do
5379 for ac_exec_ext in '' $ac_executable_extensions; do
5380 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5381 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5382 # Check for GNU ac_path_EGREP and select it if it is found.
5383 # Check for GNU $ac_path_EGREP
5384 case `"$ac_path_EGREP" --version 2>&1` in
5386 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5389 $as_echo_n 0123456789 >"conftest.in"
5392 cat "conftest.in" "conftest.in" >"conftest.tmp"
5393 mv "conftest.tmp" "conftest.in"
5394 cp "conftest.in" "conftest.nl"
5395 $as_echo 'EGREP' >> "conftest.nl"
5396 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5397 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5398 as_fn_arith $ac_count + 1 && ac_count=$as_val
5399 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5400 # Best one so far, save it but keep looking for a better one
5401 ac_cv_path_EGREP="$ac_path_EGREP"
5402 ac_path_EGREP_max=$ac_count
5404 # 10*(2^10) chars as input seems more than enough
5405 test $ac_count -gt 10 && break
5407 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5410 $ac_path_EGREP_found && break 3
5415 if test -z "$ac_cv_path_EGREP"; then
5416 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5419 ac_cv_path_EGREP=$EGREP
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5425 $as_echo "$ac_cv_path_EGREP" >&6; }
5426 EGREP="$ac_cv_path_EGREP"
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5430 $as_echo_n "checking for ANSI C header files... " >&6; }
5431 if ${ac_cv_header_stdc+:} false; then :
5432 $as_echo_n "(cached) " >&6
5434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5435 /* end confdefs.h. */
5449 if ac_fn_c_try_compile "$LINENO"; then :
5450 ac_cv_header_stdc=yes
5452 ac_cv_header_stdc=no
5454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5456 if test $ac_cv_header_stdc = yes; then
5457 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5459 /* end confdefs.h. */
5463 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5464 $EGREP "memchr" >/dev/null 2>&1; then :
5467 ac_cv_header_stdc=no
5473 if test $ac_cv_header_stdc = yes; then
5474 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5476 /* end confdefs.h. */
5480 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5481 $EGREP "free" >/dev/null 2>&1; then :
5484 ac_cv_header_stdc=no
5490 if test $ac_cv_header_stdc = yes; then
5491 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5492 if test "$cross_compiling" = yes; then :
5495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5496 /* end confdefs.h. */
5499 #if ((' ' & 0x0FF) == 0x020)
5500 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5501 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5503 # define ISLOWER(c) \
5504 (('a' <= (c) && (c) <= 'i') \
5505 || ('j' <= (c) && (c) <= 'r') \
5506 || ('s' <= (c) && (c) <= 'z'))
5507 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5510 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5515 for (i = 0; i < 256; i++)
5516 if (XOR (islower (i), ISLOWER (i))
5517 || toupper (i) != TOUPPER (i))
5522 if ac_fn_c_try_run "$LINENO"; then :
5525 ac_cv_header_stdc=no
5527 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5528 conftest.$ac_objext conftest.beam conftest.$ac_ext
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5534 $as_echo "$ac_cv_header_stdc" >&6; }
5535 if test $ac_cv_header_stdc = yes; then
5537 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5542 LDFLAGS="$LDFLAGS -lz -lm"
5544 pkg_modules="gtk+-2.0 >= 2.10.0 libgnomecanvas-2.0 >= 2.4.0 poppler-glib >= 0.5.4 pangoft2 >= 1.0 x11"
5551 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5552 if test -n "$ac_tool_prefix"; then
5553 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5554 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5556 $as_echo_n "checking for $ac_word... " >&6; }
5557 if ${ac_cv_path_PKG_CONFIG+:} false; then :
5558 $as_echo_n "(cached) " >&6
5562 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5569 test -z "$as_dir" && as_dir=.
5570 for ac_exec_ext in '' $ac_executable_extensions; do
5571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5572 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5583 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5584 if test -n "$PKG_CONFIG"; then
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5586 $as_echo "$PKG_CONFIG" >&6; }
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5589 $as_echo "no" >&6; }
5594 if test -z "$ac_cv_path_PKG_CONFIG"; then
5595 ac_pt_PKG_CONFIG=$PKG_CONFIG
5596 # Extract the first word of "pkg-config", so it can be a program name with args.
5597 set dummy pkg-config; ac_word=$2
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5599 $as_echo_n "checking for $ac_word... " >&6; }
5600 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
5601 $as_echo_n "(cached) " >&6
5603 case $ac_pt_PKG_CONFIG in
5605 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5612 test -z "$as_dir" && as_dir=.
5613 for ac_exec_ext in '' $ac_executable_extensions; do
5614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5615 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5626 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
5627 if test -n "$ac_pt_PKG_CONFIG"; then
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
5629 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5632 $as_echo "no" >&6; }
5635 if test "x$ac_pt_PKG_CONFIG" = x; then
5638 case $cross_compiling:$ac_tool_warned in
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5641 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5642 ac_tool_warned=yes ;;
5644 PKG_CONFIG=$ac_pt_PKG_CONFIG
5647 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
5651 if test -n "$PKG_CONFIG"; then
5652 _pkg_min_version=0.9.0
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
5654 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5655 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5657 $as_echo "yes" >&6; }
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5660 $as_echo "no" >&6; }
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PACKAGE" >&5
5667 $as_echo_n "checking for PACKAGE... " >&6; }
5669 if test -n "$PACKAGE_CFLAGS"; then
5670 pkg_cv_PACKAGE_CFLAGS="$PACKAGE_CFLAGS"
5671 elif test -n "$PKG_CONFIG"; then
5672 if test -n "$PKG_CONFIG" && \
5673 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\""; } >&5
5674 ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5
5676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5677 test $ac_status = 0; }; then
5678 pkg_cv_PACKAGE_CFLAGS=`$PKG_CONFIG --cflags "$pkg_modules" 2>/dev/null`
5685 if test -n "$PACKAGE_LIBS"; then
5686 pkg_cv_PACKAGE_LIBS="$PACKAGE_LIBS"
5687 elif test -n "$PKG_CONFIG"; then
5688 if test -n "$PKG_CONFIG" && \
5689 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\""; } >&5
5690 ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5
5692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5693 test $ac_status = 0; }; then
5694 pkg_cv_PACKAGE_LIBS=`$PKG_CONFIG --libs "$pkg_modules" 2>/dev/null`
5704 if test $pkg_failed = yes; then
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5706 $as_echo "no" >&6; }
5708 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5709 _pkg_short_errors_supported=yes
5711 _pkg_short_errors_supported=no
5713 if test $_pkg_short_errors_supported = yes; then
5714 PACKAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$pkg_modules" 2>&1`
5716 PACKAGE_PKG_ERRORS=`$PKG_CONFIG --print-errors "$pkg_modules" 2>&1`
5718 # Put the nasty error message in config.log where it belongs
5719 echo "$PACKAGE_PKG_ERRORS" >&5
5721 as_fn_error $? "Package requirements ($pkg_modules) were not met:
5725 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5726 installed software in a non-standard prefix.
5728 Alternatively, you may set the environment variables PACKAGE_CFLAGS
5729 and PACKAGE_LIBS to avoid the need to call pkg-config.
5730 See the pkg-config man page for more details." "$LINENO" 5
5732 elif test $pkg_failed = untried; then
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5734 $as_echo "no" >&6; }
5735 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5736 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5737 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
5738 is in your PATH or set the PKG_CONFIG environment variable to the full
5741 Alternatively, you may set the environment variables PACKAGE_CFLAGS
5742 and PACKAGE_LIBS to avoid the need to call pkg-config.
5743 See the pkg-config man page for more details.
5745 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5746 See \`config.log' for more details" "$LINENO" 5; }
5749 PACKAGE_CFLAGS=$pkg_cv_PACKAGE_CFLAGS
5750 PACKAGE_LIBS=$pkg_cv_PACKAGE_LIBS
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5752 $as_echo "yes" >&6; }
5758 # Make sure we can run config.sub.
5759 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5760 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5763 $as_echo_n "checking build system type... " >&6; }
5764 if ${ac_cv_build+:} false; then :
5765 $as_echo_n "(cached) " >&6
5767 ac_build_alias=$build_alias
5768 test "x$ac_build_alias" = x &&
5769 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5770 test "x$ac_build_alias" = x &&
5771 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5772 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5773 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5777 $as_echo "$ac_cv_build" >&6; }
5778 case $ac_cv_build in
5780 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5783 ac_save_IFS=$IFS; IFS='-'
5789 # Remember, the first character of IFS is used to create $*,
5790 # except with old shells:
5793 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5797 $as_echo_n "checking host system type... " >&6; }
5798 if ${ac_cv_host+:} false; then :
5799 $as_echo_n "(cached) " >&6
5801 if test "x$host_alias" = x; then
5802 ac_cv_host=$ac_cv_build
5804 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5805 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5810 $as_echo "$ac_cv_host" >&6; }
5813 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5816 ac_save_IFS=$IFS; IFS='-'
5822 # Remember, the first character of IFS is used to create $*,
5823 # except with old shells:
5826 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows environment" >&5
5830 $as_echo_n "checking for Windows environment... " >&6; }
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $os_win32" >&5
5838 $as_echo "$os_win32" >&6; }
5839 if test "$os_win32" = "yes"; then
5848 GETTEXT_PACKAGE=xournal
5851 cat >>confdefs.h <<_ACEOF
5852 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
5856 ALL_LINGUAS="`grep -v '^#' "$srcdir/po/LINGUAS" | tr '\n' ' '`"
5857 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5858 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5859 inttypes.h stdint.h unistd.h
5861 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5862 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5864 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5865 cat >>confdefs.h <<_ACEOF
5866 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5875 for ac_header in locale.h
5877 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
5878 if test "x$ac_cv_header_locale_h" = xyes; then :
5879 cat >>confdefs.h <<_ACEOF
5880 #define HAVE_LOCALE_H 1
5887 if test $ac_cv_header_locale_h = yes; then
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
5889 $as_echo_n "checking for LC_MESSAGES... " >&6; }
5890 if ${am_cv_val_LC_MESSAGES+:} false; then :
5891 $as_echo_n "(cached) " >&6
5893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5894 /* end confdefs.h. */
5904 if ac_fn_c_try_link "$LINENO"; then :
5905 am_cv_val_LC_MESSAGES=yes
5907 am_cv_val_LC_MESSAGES=no
5909 rm -f core conftest.err conftest.$ac_objext \
5910 conftest$ac_exeext conftest.$ac_ext
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
5913 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
5914 if test $am_cv_val_LC_MESSAGES = yes; then
5916 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
5923 gt_cv_have_gettext=no
5929 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
5930 if test "x$ac_cv_header_libintl_h" = xyes; then :
5931 gt_cv_func_dgettext_libintl="no"
5932 libintl_extra_libs=""
5935 # First check in libc
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
5938 $as_echo_n "checking for ngettext in libc... " >&6; }
5939 if ${gt_cv_func_ngettext_libc+:} false; then :
5940 $as_echo_n "(cached) " >&6
5942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5943 /* end confdefs.h. */
5945 #include <libintl.h>
5950 return !ngettext ("","", 1)
5955 if ac_fn_c_try_link "$LINENO"; then :
5956 gt_cv_func_ngettext_libc=yes
5958 gt_cv_func_ngettext_libc=no
5960 rm -f core conftest.err conftest.$ac_objext \
5961 conftest$ac_exeext conftest.$ac_ext
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
5965 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
5967 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
5969 $as_echo_n "checking for dgettext in libc... " >&6; }
5970 if ${gt_cv_func_dgettext_libc+:} false; then :
5971 $as_echo_n "(cached) " >&6
5973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5974 /* end confdefs.h. */
5976 #include <libintl.h>
5981 return !dgettext ("","")
5986 if ac_fn_c_try_link "$LINENO"; then :
5987 gt_cv_func_dgettext_libc=yes
5989 gt_cv_func_dgettext_libc=no
5991 rm -f core conftest.err conftest.$ac_objext \
5992 conftest$ac_exeext conftest.$ac_ext
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
5996 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
5999 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
6000 for ac_func in bind_textdomain_codeset
6002 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
6003 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
6004 cat >>confdefs.h <<_ACEOF
6005 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
6014 # If we don't have everything we want, check in libintl
6016 if test "$gt_cv_func_dgettext_libc" != "yes" \
6017 || test "$gt_cv_func_ngettext_libc" != "yes" \
6018 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
6021 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
6022 if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
6023 $as_echo_n "(cached) " >&6
6025 ac_check_lib_save_LIBS=$LIBS
6027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6028 /* end confdefs.h. */
6030 /* Override any GCC internal prototype to avoid an error.
6031 Use char because int might match the return type of a GCC
6032 builtin and then its argument prototype would still apply. */
6036 char bindtextdomain ();
6040 return bindtextdomain ();
6045 if ac_fn_c_try_link "$LINENO"; then :
6046 ac_cv_lib_intl_bindtextdomain=yes
6048 ac_cv_lib_intl_bindtextdomain=no
6050 rm -f core conftest.err conftest.$ac_objext \
6051 conftest$ac_exeext conftest.$ac_ext
6052 LIBS=$ac_check_lib_save_LIBS
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
6055 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
6056 if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
6058 $as_echo_n "checking for ngettext in -lintl... " >&6; }
6059 if ${ac_cv_lib_intl_ngettext+:} false; then :
6060 $as_echo_n "(cached) " >&6
6062 ac_check_lib_save_LIBS=$LIBS
6064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6065 /* end confdefs.h. */
6067 /* Override any GCC internal prototype to avoid an error.
6068 Use char because int might match the return type of a GCC
6069 builtin and then its argument prototype would still apply. */
6082 if ac_fn_c_try_link "$LINENO"; then :
6083 ac_cv_lib_intl_ngettext=yes
6085 ac_cv_lib_intl_ngettext=no
6087 rm -f core conftest.err conftest.$ac_objext \
6088 conftest$ac_exeext conftest.$ac_ext
6089 LIBS=$ac_check_lib_save_LIBS
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
6092 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
6093 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
6095 $as_echo_n "checking for dgettext in -lintl... " >&6; }
6096 if ${ac_cv_lib_intl_dgettext+:} false; then :
6097 $as_echo_n "(cached) " >&6
6099 ac_check_lib_save_LIBS=$LIBS
6101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6102 /* end confdefs.h. */
6104 /* Override any GCC internal prototype to avoid an error.
6105 Use char because int might match the return type of a GCC
6106 builtin and then its argument prototype would still apply. */
6119 if ac_fn_c_try_link "$LINENO"; then :
6120 ac_cv_lib_intl_dgettext=yes
6122 ac_cv_lib_intl_dgettext=no
6124 rm -f core conftest.err conftest.$ac_objext \
6125 conftest$ac_exeext conftest.$ac_ext
6126 LIBS=$ac_check_lib_save_LIBS
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
6129 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
6130 if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
6131 gt_cv_func_dgettext_libintl=yes
6139 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
6141 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
6145 $as_echo_n "checking for ngettext in -lintl... " >&6; }
6146 if ${ac_cv_lib_intl_ngettext+:} false; then :
6147 $as_echo_n "(cached) " >&6
6149 ac_check_lib_save_LIBS=$LIBS
6150 LIBS="-lintl -liconv $LIBS"
6151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6152 /* end confdefs.h. */
6154 /* Override any GCC internal prototype to avoid an error.
6155 Use char because int might match the return type of a GCC
6156 builtin and then its argument prototype would still apply. */
6169 if ac_fn_c_try_link "$LINENO"; then :
6170 ac_cv_lib_intl_ngettext=yes
6172 ac_cv_lib_intl_ngettext=no
6174 rm -f core conftest.err conftest.$ac_objext \
6175 conftest$ac_exeext conftest.$ac_ext
6176 LIBS=$ac_check_lib_save_LIBS
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
6179 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
6180 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
6182 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
6183 if ${ac_cv_lib_intl_dcgettext+:} false; then :
6184 $as_echo_n "(cached) " >&6
6186 ac_check_lib_save_LIBS=$LIBS
6187 LIBS="-lintl -liconv $LIBS"
6188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6189 /* end confdefs.h. */
6191 /* Override any GCC internal prototype to avoid an error.
6192 Use char because int might match the return type of a GCC
6193 builtin and then its argument prototype would still apply. */
6201 return dcgettext ();
6206 if ac_fn_c_try_link "$LINENO"; then :
6207 ac_cv_lib_intl_dcgettext=yes
6209 ac_cv_lib_intl_dcgettext=no
6211 rm -f core conftest.err conftest.$ac_objext \
6212 conftest$ac_exeext conftest.$ac_ext
6213 LIBS=$ac_check_lib_save_LIBS
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
6216 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
6217 if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
6218 gt_cv_func_dgettext_libintl=yes
6219 libintl_extra_libs=-liconv
6231 # If we found libintl, then check in it for bind_textdomain_codeset();
6232 # we'll prefer libc if neither have bind_textdomain_codeset(),
6233 # and both have dgettext and ngettext
6235 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
6236 glib_save_LIBS="$LIBS"
6237 LIBS="$LIBS -lintl $libintl_extra_libs"
6238 unset ac_cv_func_bind_textdomain_codeset
6239 for ac_func in bind_textdomain_codeset
6241 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
6242 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
6243 cat >>confdefs.h <<_ACEOF
6244 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
6250 LIBS="$glib_save_LIBS"
6252 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
6253 gt_cv_func_dgettext_libc=no
6255 if test "$gt_cv_func_dgettext_libc" = "yes" \
6256 && test "$gt_cv_func_ngettext_libc" = "yes"; then
6257 gt_cv_func_dgettext_libintl=no
6263 if test "$gt_cv_func_dgettext_libc" = "yes" \
6264 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
6265 gt_cv_have_gettext=yes
6268 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
6269 INTLLIBS="-lintl $libintl_extra_libs"
6272 if test "$gt_cv_have_gettext" = "yes"; then
6274 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
6276 # Extract the first word of "msgfmt", so it can be a program name with args.
6277 set dummy msgfmt; ac_word=$2
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6279 $as_echo_n "checking for $ac_word... " >&6; }
6280 if ${ac_cv_path_MSGFMT+:} false; then :
6281 $as_echo_n "(cached) " >&6
6285 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
6288 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
6289 for ac_dir in $PATH; do
6290 test -z "$ac_dir" && ac_dir=.
6291 if test -f $ac_dir/$ac_word; then
6292 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
6293 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
6299 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
6303 MSGFMT="$ac_cv_path_MSGFMT"
6304 if test "$MSGFMT" != "no"; then
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6306 $as_echo "$MSGFMT" >&6; }
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6309 $as_echo "no" >&6; }
6311 if test "$MSGFMT" != "no"; then
6312 glib_save_LIBS="$LIBS"
6313 LIBS="$LIBS $INTLLIBS"
6314 for ac_func in dcgettext
6316 ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
6317 if test "x$ac_cv_func_dcgettext" = xyes; then :
6318 cat >>confdefs.h <<_ACEOF
6319 #define HAVE_DCGETTEXT 1
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
6327 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
6328 cat >conftest.foo <<_ACEOF
6332 "Content-Type: text/plain; charset=UTF-8\n"
6333 "Project-Id-Version: test 1.0\n"
6334 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
6335 "Last-Translator: test <foo@bar.xx>\n"
6336 "Language-Team: C <LL@li.org>\n"
6337 "MIME-Version: 1.0\n"
6338 "Content-Transfer-Encoding: 8bit\n"
6341 if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
6342 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
6344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6345 test $ac_status = 0; }; then
6346 MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6347 $as_echo "yes" >&6; }
6348 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6349 $as_echo "no" >&6; }
6350 echo "$as_me: failed input was:" >&5
6351 sed 's/^/| /' conftest.foo >&5
6354 # Extract the first word of "gmsgfmt", so it can be a program name with args.
6355 set dummy gmsgfmt; ac_word=$2
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6357 $as_echo_n "checking for $ac_word... " >&6; }
6358 if ${ac_cv_path_GMSGFMT+:} false; then :
6359 $as_echo_n "(cached) " >&6
6363 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
6366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6370 test -z "$as_dir" && as_dir=.
6371 for ac_exec_ext in '' $ac_executable_extensions; do
6372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6373 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
6374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6381 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
6385 GMSGFMT=$ac_cv_path_GMSGFMT
6386 if test -n "$GMSGFMT"; then
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
6388 $as_echo "$GMSGFMT" >&6; }
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6391 $as_echo "no" >&6; }
6395 # Extract the first word of "xgettext", so it can be a program name with args.
6396 set dummy xgettext; ac_word=$2
6397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6398 $as_echo_n "checking for $ac_word... " >&6; }
6399 if ${ac_cv_path_XGETTEXT+:} false; then :
6400 $as_echo_n "(cached) " >&6
6404 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
6407 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
6408 for ac_dir in $PATH; do
6409 test -z "$ac_dir" && ac_dir=.
6410 if test -f $ac_dir/$ac_word; then
6411 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
6412 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
6418 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
6422 XGETTEXT="$ac_cv_path_XGETTEXT"
6423 if test "$XGETTEXT" != ":"; then
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
6425 $as_echo "$XGETTEXT" >&6; }
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6428 $as_echo "no" >&6; }
6431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6432 /* end confdefs.h. */
6437 extern int _nl_msg_cat_cntr;
6438 return _nl_msg_cat_cntr
6443 if ac_fn_c_try_link "$LINENO"; then :
6449 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
6450 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
6469 rm -f core conftest.err conftest.$ac_objext \
6470 conftest$ac_exeext conftest.$ac_ext
6471 LIBS="$glib_save_LIBS"
6474 gt_cv_have_gettext=no
6482 if test "$gt_cv_have_gettext" = "yes" ; then
6484 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
6488 if test "$XGETTEXT" != ":"; then
6489 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
6493 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
6498 # We need to process the po/ directory.
6501 ac_config_commands="$ac_config_commands default-1"
6504 for lang in $ALL_LINGUAS; do
6505 GMOFILES="$GMOFILES $lang.gmo"
6506 POFILES="$POFILES $lang.po"
6521 if test "$gt_cv_have_gettext" = "yes"; then
6522 if test "x$ALL_LINGUAS" = "x"; then
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
6526 $as_echo_n "checking for catalogs to be installed... " >&6; }
6528 for presentlang in $ALL_LINGUAS; do
6530 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
6531 desiredlanguages="$LINGUAS"
6533 desiredlanguages="$ALL_LINGUAS"
6535 for desiredlang in $desiredlanguages; do
6536 # Use the presentlang catalog if desiredlang is
6537 # a. equal to presentlang, or
6538 # b. a variant of presentlang (because in this case,
6539 # presentlang can be used as a fallback for messages
6540 # which are not translated in the desiredlang catalog).
6541 case "$desiredlang" in
6542 "$presentlang"*) useit=yes;;
6545 if test $useit = yes; then
6546 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
6549 LINGUAS=$NEW_LINGUAS
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
6551 $as_echo "$LINGUAS" >&6; }
6554 if test -n "$LINGUAS"; then
6555 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
6560 if test -n "$ac_aux_dir"; then
6561 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
6563 if test -z "$MKINSTALLDIRS"; then
6564 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
6568 test -d po || mkdir po
6569 if test "x$srcdir" != "x."; then
6570 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
6571 posrcprefix="$srcdir/"
6573 posrcprefix="../$srcdir/"
6579 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
6580 < $srcdir/po/POTFILES.in > po/POTFILES
6583 ac_config_files="$ac_config_files Makefile src/Makefile src/ttsubset/Makefile po/Makefile.in"
6585 cat >confcache <<\_ACEOF
6586 # This file is a shell script that caches the results of configure
6587 # tests run on this system so they can be shared between configure
6588 # scripts and configure runs, see configure's option --config-cache.
6589 # It is not useful on other systems. If it contains results you don't
6590 # want to keep, you may remove or edit it.
6592 # config.status only pays attention to the cache file if you give it
6593 # the --recheck option to rerun configure.
6595 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6596 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6601 # The following way of writing the cache mishandles newlines in values,
6602 # but we know of no workaround that is simple, portable, and efficient.
6603 # So, we kill variables containing newlines.
6604 # Ultrix sh set writes to stderr and can't be redirected directly,
6605 # and sets the high bit in the cache file unless we assign to the vars.
6607 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6608 eval ac_val=\$$ac_var
6612 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6613 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6616 _ | IFS | as_nl) ;; #(
6617 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6618 *) { eval $ac_var=; unset $ac_var;} ;;
6624 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6625 *${as_nl}ac_space=\ *)
6626 # `set' does not quote correctly, so add quotes: double-quote
6627 # substitution turns \\\\ into \\, and sed turns \\ into \.
6630 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6633 # `set' quotes correctly as required by POSIX, so do not add quotes.
6634 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6643 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6645 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6647 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6648 if test -w "$cache_file"; then
6649 if test "x$cache_file" != "x/dev/null"; then
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6651 $as_echo "$as_me: updating cache $cache_file" >&6;}
6652 if test ! -f "$cache_file" || test -h "$cache_file"; then
6653 cat confcache >"$cache_file"
6655 case $cache_file in #(
6657 mv -f confcache "$cache_file"$$ &&
6658 mv -f "$cache_file"$$ "$cache_file" ;; #(
6660 mv -f confcache "$cache_file" ;;
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6666 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6671 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6672 # Let make expand exec_prefix.
6673 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6675 DEFS=-DHAVE_CONFIG_H
6680 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6681 # 1. Remove the extension, and $U if already installed.
6682 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6683 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6684 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6685 # will be set to the directory where LIBOBJS objects are built.
6686 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6687 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6691 LTLIBOBJS=$ac_ltlibobjs
6694 if test -n "$EXEEXT"; then
6696 am__EXEEXT_FALSE='#'
6702 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6703 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
6704 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6706 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6707 as_fn_error $? "conditional \"AMDEP\" was never defined.
6708 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6710 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6711 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
6712 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6714 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6715 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
6716 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6718 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6719 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
6720 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6722 if test -z "${WIN32_TRUE}" && test -z "${WIN32_FALSE}"; then
6723 as_fn_error $? "conditional \"WIN32\" was never defined.
6724 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6727 : "${CONFIG_STATUS=./config.status}"
6729 ac_clean_files_save=$ac_clean_files
6730 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6732 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6734 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6736 # Generated by $as_me.
6737 # Run this file to recreate the current configuration.
6738 # Compiler output produced by configure, useful for debugging
6739 # configure, is in config.log if it exists.
6745 SHELL=\${CONFIG_SHELL-$SHELL}
6748 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6749 ## -------------------- ##
6750 ## M4sh Initialization. ##
6751 ## -------------------- ##
6753 # Be more Bourne compatible
6754 DUALCASE=1; export DUALCASE # for MKS sh
6755 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6758 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6759 # is contrary to our usage. Disable this feature.
6760 alias -g '${1+"$@"}'='"$@"'
6761 setopt NO_GLOB_SUBST
6763 case `(set -o) 2>/dev/null` in #(
6775 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6776 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6777 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6778 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6779 # Prefer a ksh shell builtin over an external printf program on Solaris,
6780 # but without wasting forks for bash or zsh.
6781 if test -z "$BASH_VERSION$ZSH_VERSION" \
6782 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6783 as_echo='print -r --'
6784 as_echo_n='print -rn --'
6785 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6786 as_echo='printf %s\n'
6787 as_echo_n='printf %s'
6789 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6790 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6791 as_echo_n='/usr/ucb/echo -n'
6793 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6794 as_echo_n_body='eval
6798 expr "X$arg" : "X\\(.*\\)$as_nl";
6799 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6801 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6803 export as_echo_n_body
6804 as_echo_n='sh -c $as_echo_n_body as_echo'
6807 as_echo='sh -c $as_echo_body as_echo'
6810 # The user is always right.
6811 if test "${PATH_SEPARATOR+set}" != set; then
6813 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6814 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6821 # We need space, tab and new line, in precisely that order. Quoting is
6822 # there to prevent editors from complaining about space-tab.
6823 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6824 # splitting by setting IFS to empty value.)
6827 # Find who we are. Look in the path if we contain no directory separator.
6830 *[\\/]* ) as_myself=$0 ;;
6831 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6835 test -z "$as_dir" && as_dir=.
6836 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6842 # We did not find ourselves, most probably we were run as `sh COMMAND'
6843 # in which case we are not to be found in the path.
6844 if test "x$as_myself" = x; then
6847 if test ! -f "$as_myself"; then
6848 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6852 # Unset variables that we do not need and which cause bugs (e.g. in
6853 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6854 # suppresses any "Segmentation fault" message there. '((' could
6855 # trigger a bug in pdksh 5.2.14.
6856 for as_var in BASH_ENV ENV MAIL MAILPATH
6857 do eval test x\${$as_var+set} = xset \
6858 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6871 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6874 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6875 # ----------------------------------------
6876 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6877 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6878 # script with STATUS, using 1 if that was 0.
6881 as_status=$1; test $as_status -eq 0 && as_status=1
6883 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6884 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6886 $as_echo "$as_me: error: $2" >&2
6887 as_fn_exit $as_status
6891 # as_fn_set_status STATUS
6892 # -----------------------
6893 # Set $? to STATUS, without forking.
6897 } # as_fn_set_status
6901 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6911 # Portably unset VAR.
6914 { eval $1=; unset $1;}
6916 as_unset=as_fn_unset
6917 # as_fn_append VAR VALUE
6918 # ----------------------
6919 # Append the text in VALUE to the end of the definition contained in VAR. Take
6920 # advantage of any shell optimizations that allow amortized linear growth over
6921 # repeated appends, instead of the typical quadratic growth present in naive
6923 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6924 eval 'as_fn_append ()
6935 # as_fn_arith ARG...
6936 # ------------------
6937 # Perform arithmetic evaluation on the ARGs, and store the result in the
6938 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6939 # must be portable across $(()) and expr.
6940 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6941 eval 'as_fn_arith ()
6948 as_val=`expr "$@" || test $? -eq 1`
6953 if expr a : '\(a\)' >/dev/null 2>&1 &&
6954 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6960 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6961 as_basename=basename
6966 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6972 as_me=`$as_basename -- "$0" ||
6973 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6974 X"$0" : 'X\(//\)$' \| \
6975 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6977 sed '/^.*\/\([^/][^/]*\)\/*$/{
6991 # Avoid depending upon Character Ranges.
6992 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6993 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6994 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6995 as_cr_digits='0123456789'
6996 as_cr_alnum=$as_cr_Letters$as_cr_digits
6998 ECHO_C= ECHO_N= ECHO_T=
6999 case `echo -n x` in #(((((
7001 case `echo 'xy\c'` in
7002 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
7004 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
7011 rm -f conf$$ conf$$.exe conf$$.file
7012 if test -d conf$$.dir; then
7013 rm -f conf$$.dir/conf$$.file
7016 mkdir conf$$.dir 2>/dev/null
7018 if (echo >conf$$.file) 2>/dev/null; then
7019 if ln -s conf$$.file conf$$ 2>/dev/null; then
7021 # ... but there are two gotchas:
7022 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7023 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7024 # In both cases, we have to default to `cp -p'.
7025 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7027 elif ln conf$$.file conf$$ 2>/dev/null; then
7035 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7036 rmdir conf$$.dir 2>/dev/null
7041 # Create "$as_dir" as a directory, including parents if necessary.
7046 -*) as_dir=./$as_dir;;
7048 test -d "$as_dir" || eval $as_mkdir_p || {
7052 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7053 *) as_qdir=$as_dir;;
7055 as_dirs="'$as_qdir' $as_dirs"
7056 as_dir=`$as_dirname -- "$as_dir" ||
7057 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7058 X"$as_dir" : 'X\(//\)[^/]' \| \
7059 X"$as_dir" : 'X\(//\)$' \| \
7060 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7061 $as_echo X"$as_dir" |
7062 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7079 test -d "$as_dir" && break
7081 test -z "$as_dirs" || eval "mkdir $as_dirs"
7082 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
7086 if mkdir -p . 2>/dev/null; then
7087 as_mkdir_p='mkdir -p "$as_dir"'
7089 test -d ./-p && rmdir ./-p
7093 if test -x / >/dev/null 2>&1; then
7096 if ls -dL / >/dev/null 2>&1; then
7103 if test -d "$1"; then
7109 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
7110 ???[sx]*):;;*)false;;esac;fi
7114 as_executable_p=$as_test_x
7116 # Sed expression to map a string onto a valid CPP name.
7117 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7119 # Sed expression to map a string onto a valid variable name.
7120 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7124 ## ----------------------------------- ##
7125 ## Main body of $CONFIG_STATUS script. ##
7126 ## ----------------------------------- ##
7128 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
7130 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7131 # Save the log message, to keep $0 and so on meaningful, and to
7132 # report actual input values of CONFIG_FILES etc. instead of their
7133 # values after options handling.
7135 This file was extended by $as_me, which was
7136 generated by GNU Autoconf 2.68. Invocation command line was
7138 CONFIG_FILES = $CONFIG_FILES
7139 CONFIG_HEADERS = $CONFIG_HEADERS
7140 CONFIG_LINKS = $CONFIG_LINKS
7141 CONFIG_COMMANDS = $CONFIG_COMMANDS
7144 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7149 case $ac_config_files in *"
7150 "*) set x $ac_config_files; shift; ac_config_files=$*;;
7153 case $ac_config_headers in *"
7154 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
7158 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7159 # Files that config.status was made for.
7160 config_files="$ac_config_files"
7161 config_headers="$ac_config_headers"
7162 config_commands="$ac_config_commands"
7166 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7168 \`$as_me' instantiates files and other configuration actions
7169 from templates according to the current configuration. Unless the files
7170 and actions are specified as TAGs, all are instantiated by default.
7172 Usage: $0 [OPTION]... [TAG]...
7174 -h, --help print this help, then exit
7175 -V, --version print version number and configuration settings, then exit
7176 --config print configuration, then exit
7177 -q, --quiet, --silent
7178 do not print progress messages
7179 -d, --debug don't remove temporary files
7180 --recheck update $as_me by reconfiguring in the same conditions
7181 --file=FILE[:TEMPLATE]
7182 instantiate the configuration file FILE
7183 --header=FILE[:TEMPLATE]
7184 instantiate the configuration header FILE
7186 Configuration files:
7189 Configuration headers:
7192 Configuration commands:
7195 Report bugs to the package provider."
7198 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7199 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7202 configured by $0, generated by GNU Autoconf 2.68,
7203 with options \\"\$ac_cs_config\\"
7205 Copyright (C) 2010 Free Software Foundation, Inc.
7206 This config.status script is free software; the Free Software Foundation
7207 gives unlimited permission to copy, distribute and modify it."
7214 test -n "\$AWK" || AWK=awk
7217 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7218 # The default lists apply if the user does not specify any file.
7224 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7225 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7229 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7241 # Handling of the options.
7242 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7244 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7245 $as_echo "$ac_cs_version"; exit ;;
7246 --config | --confi | --conf | --con | --co | --c )
7247 $as_echo "$ac_cs_config"; exit ;;
7248 --debug | --debu | --deb | --de | --d | -d )
7250 --file | --fil | --fi | --f )
7253 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7254 '') as_fn_error $? "missing file argument" ;;
7256 as_fn_append CONFIG_FILES " '$ac_optarg'"
7257 ac_need_defaults=false;;
7258 --header | --heade | --head | --hea )
7261 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7263 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
7264 ac_need_defaults=false;;
7266 # Conflict between --help and --header
7267 as_fn_error $? "ambiguous option: \`$1'
7268 Try \`$0 --help' for more information.";;
7269 --help | --hel | -h )
7270 $as_echo "$ac_cs_usage"; exit ;;
7271 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7272 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7276 -*) as_fn_error $? "unrecognized option: \`$1'
7277 Try \`$0 --help' for more information." ;;
7279 *) as_fn_append ac_config_targets " $1"
7280 ac_need_defaults=false ;;
7286 ac_configure_extra_args=
7288 if $ac_cs_silent; then
7290 ac_configure_extra_args="$ac_configure_extra_args --silent"
7294 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7295 if \$ac_cs_recheck; then
7296 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7298 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7299 CONFIG_SHELL='$SHELL'
7305 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7309 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7310 ## Running $as_me. ##
7316 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7320 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7325 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7327 # Handling of arguments.
7328 for ac_config_target in $ac_config_targets
7330 case $ac_config_target in
7331 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7332 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7333 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
7334 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7335 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
7336 "src/ttsubset/Makefile") CONFIG_FILES="$CONFIG_FILES src/ttsubset/Makefile" ;;
7337 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
7339 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7344 # If the user did not use the arguments to specify the items to instantiate,
7345 # then the envvar interface is used. Set only those that are not.
7346 # We use the long form for the default assignment because of an extremely
7347 # bizarre bug on SunOS 4.1.3.
7348 if $ac_need_defaults; then
7349 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7350 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7351 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7354 # Have a temporary directory for convenience. Make it in the build tree
7355 # simply because there is no reason against having it here, and in addition,
7356 # creating and moving files from /tmp can sometimes cause problems.
7357 # Hook for its removal unless debugging.
7358 # Note that there is a small window in which the directory will not be cleaned:
7359 # after its creation but before its name has been assigned to `$tmp'.
7363 trap 'exit_status=$?
7365 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7367 trap 'as_fn_exit 1' 1 2 13 15
7369 # Create a (secure) tmp directory for tmp files.
7372 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7376 tmp=./conf$$-$RANDOM
7377 (umask 077 && mkdir "$tmp")
7378 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7381 # Set up the scripts for CONFIG_FILES section.
7382 # No need to generate them if there are no CONFIG_FILES.
7383 # This happens for instance with `./config.status config.h'.
7384 if test -n "$CONFIG_FILES"; then
7387 ac_cr=`echo X | tr X '\015'`
7388 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7389 # But we know of no other shell where ac_cr would be empty at this
7390 # point, so we can use a bashism as a fallback.
7391 if test "x$ac_cr" = x; then
7392 eval ac_cr=\$\'\\r\'
7394 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7395 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7401 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7406 echo "cat >conf$$subs.awk <<_ACEOF" &&
7407 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7410 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7411 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7413 for ac_last_try in false false false false false :; do
7414 . ./conf$$subs.sh ||
7415 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7417 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7418 if test $ac_delim_n = $ac_delim_num; then
7420 elif $ac_last_try; then
7421 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7423 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7428 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7429 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
7433 s/^/S["/; s/!.*/"]=/
7443 s/\(.\{148\}\)..*/\1/
7445 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7450 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7457 s/\(.\{148\}\)..*/\1/
7459 s/["\\]/\\&/g; s/^/"/; s/$/"/
7463 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7468 ' <conf$$subs.awk | sed '
7473 ' >>$CONFIG_STATUS || ac_write_fail=1
7474 rm -f conf$$subs.awk
7475 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7477 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
7478 for (key in S) S_is_set[key] = 1
7484 nfields = split(line, field, "@")
7486 len = length(field[1])
7487 for (i = 2; i < nfields; i++) {
7489 keylen = length(key)
7490 if (S_is_set[key]) {
7492 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7493 len += length(value) + length(field[++i])
7504 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7505 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7506 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7509 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
7510 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
7513 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7514 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
7515 # trailing colons and then remove the whole line if VPATH becomes empty
7516 # (actually we leave an empty line to preserve line numbers).
7517 if test "x$srcdir" = x.; then
7518 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7536 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7537 fi # test -n "$CONFIG_FILES"
7539 # Set up the scripts for CONFIG_HEADERS section.
7540 # No need to generate them if there are no CONFIG_HEADERS.
7541 # This happens for instance with `./config.status Makefile'.
7542 if test -n "$CONFIG_HEADERS"; then
7543 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
7547 # Transform confdefs.h into an awk script `defines.awk', embedded as
7548 # here-document in config.status, that substitutes the proper values into
7549 # config.h.in to produce config.h.
7551 # Create a delimiter string that does not exist in confdefs.h, to ease
7552 # handling of long lines.
7554 for ac_last_try in false false :; do
7555 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
7556 if test -z "$ac_tt"; then
7558 elif $ac_last_try; then
7559 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
7561 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7565 # For the awk script, D is an array of macro values keyed by name,
7566 # likewise P contains macro parameters if any. Preserve backslash
7567 # newline sequences.
7569 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7571 s/.\{148\}/&'"$ac_delim"'/g
7574 s/^[ ]*#[ ]*define[ ][ ]*/ /
7581 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7583 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
7587 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7588 D["\1"]=" \3\\\\\\n"\\/p
7590 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
7595 s/.\{148\}/&'"$ac_delim"'/g
7600 s/["\\]/\\&/g; s/^/"/; s/$/"/p
7603 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
7605 ' <confdefs.h | sed '
7606 s/'"$ac_delim"'/"\\\
7607 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7609 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7610 for (key in D) D_is_set[key] = 1
7613 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7615 split(line, arg, " ")
7616 if (arg[1] == "#") {
7620 defundef = substr(arg[1], 2)
7623 split(mac1, mac2, "(") #)
7625 prefix = substr(line, 1, index(line, defundef) - 1)
7626 if (D_is_set[macro]) {
7627 # Preserve the white space surrounding the "#".
7628 print prefix "define", macro P[macro] D[macro]
7631 # Replace #undef with comments. This is necessary, for example,
7632 # in the case of _POSIX_SOURCE, which is predefined and required
7633 # on some systems where configure will not decide to define it.
7634 if (defundef == "undef") {
7635 print "/*", prefix defundef, macro, "*/"
7643 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7644 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
7645 fi # test -n "$CONFIG_HEADERS"
7648 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7653 :[FHLC]) ac_mode=$ac_tag; continue;;
7655 case $ac_mode$ac_tag in
7657 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
7658 :[FH]-) ac_tag=-:-;;
7659 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7676 -) ac_f="$ac_tmp/stdin";;
7677 *) # Look for the file first in the build tree, then in the source tree
7678 # (if the path is not absolute). The absolute path cannot be DOS-style,
7679 # because $ac_f cannot contain `:'.
7683 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7685 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7687 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7688 as_fn_append ac_file_inputs " '$ac_f'"
7691 # Let's still pretend it is `configure' which instantiates (i.e., don't
7692 # use $as_me), people would be surprised to read:
7693 # /* config.h. Generated by config.status. */
7694 configure_input='Generated from '`
7695 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7697 if test x"$ac_file" != x-; then
7698 configure_input="$ac_file. $configure_input"
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7700 $as_echo "$as_me: creating $ac_file" >&6;}
7702 # Neutralize special characters interpreted by sed in replacement strings.
7703 case $configure_input in #(
7704 *\&* | *\|* | *\\* )
7705 ac_sed_conf_input=`$as_echo "$configure_input" |
7706 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7707 *) ac_sed_conf_input=$configure_input;;
7711 *:-:* | *:-) cat >"$ac_tmp/stdin" \
7712 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7717 ac_dir=`$as_dirname -- "$ac_file" ||
7718 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7719 X"$ac_file" : 'X\(//\)[^/]' \| \
7720 X"$ac_file" : 'X\(//\)$' \| \
7721 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7722 $as_echo X"$ac_file" |
7723 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7740 as_dir="$ac_dir"; as_fn_mkdir_p
7744 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7746 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7747 # A ".." for each directory in $ac_dir_suffix.
7748 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7749 case $ac_top_builddir_sub in
7750 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7751 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7754 ac_abs_top_builddir=$ac_pwd
7755 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7756 # for backward compatibility:
7757 ac_top_builddir=$ac_top_build_prefix
7760 .) # We are building in place.
7762 ac_top_srcdir=$ac_top_builddir_sub
7763 ac_abs_top_srcdir=$ac_pwd ;;
7764 [\\/]* | ?:[\\/]* ) # Absolute name.
7765 ac_srcdir=$srcdir$ac_dir_suffix;
7766 ac_top_srcdir=$srcdir
7767 ac_abs_top_srcdir=$srcdir ;;
7769 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7770 ac_top_srcdir=$ac_top_build_prefix$srcdir
7771 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7773 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7783 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7784 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7788 [\\/$]* | ?:[\\/]* ) ;;
7789 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
7793 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7794 # If the template does not know about datarootdir, expand it.
7795 # FIXME: This hack should be removed a few years after 2.60.
7796 ac_datarootdir_hack=; ac_datarootdir_seen=
7807 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7808 *datarootdir*) ac_datarootdir_seen=yes;;
7809 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7811 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7813 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7814 ac_datarootdir_hack='
7815 s&@datadir@&$datadir&g
7816 s&@docdir@&$docdir&g
7817 s&@infodir@&$infodir&g
7818 s&@localedir@&$localedir&g
7819 s&@mandir@&$mandir&g
7820 s&\\\${datarootdir}&$datarootdir&g' ;;
7824 # Neutralize VPATH when `$srcdir' = `.'.
7825 # Shell code in configure.ac might set extrasub.
7826 # FIXME: do we really want to maintain this feature?
7827 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7828 ac_sed_extra="$ac_vpsub
7831 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7833 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7834 s|@configure_input@|$ac_sed_conf_input|;t t
7835 s&@top_builddir@&$ac_top_builddir_sub&;t t
7836 s&@top_build_prefix@&$ac_top_build_prefix&;t t
7837 s&@srcdir@&$ac_srcdir&;t t
7838 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7839 s&@top_srcdir@&$ac_top_srcdir&;t t
7840 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7841 s&@builddir@&$ac_builddir&;t t
7842 s&@abs_builddir@&$ac_abs_builddir&;t t
7843 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7844 s&@INSTALL@&$ac_INSTALL&;t t
7845 s&@MKDIR_P@&$ac_MKDIR_P&;t t
7846 $ac_datarootdir_hack
7848 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7849 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7851 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7852 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7853 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7854 "$ac_tmp/out"`; test -z "$ac_out"; } &&
7855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7856 which seems to be undefined. Please make sure it is defined" >&5
7857 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7858 which seems to be undefined. Please make sure it is defined" >&2;}
7860 rm -f "$ac_tmp/stdin"
7862 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7863 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7865 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7871 if test x"$ac_file" != x-; then
7873 $as_echo "/* $configure_input */" \
7874 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
7875 } >"$ac_tmp/config.h" \
7876 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7877 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7879 $as_echo "$as_me: $ac_file is unchanged" >&6;}
7882 mv "$ac_tmp/config.h" "$ac_file" \
7883 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7886 $as_echo "/* $configure_input */" \
7887 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
7888 || as_fn_error $? "could not create -" "$LINENO" 5
7890 # Compute "$ac_file"'s index in $config_headers.
7893 for _am_header in $config_headers :; do
7895 $_am_arg | $_am_arg:* )
7898 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7901 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
7902 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7903 X"$_am_arg" : 'X\(//\)[^/]' \| \
7904 X"$_am_arg" : 'X\(//\)$' \| \
7905 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
7906 $as_echo X"$_am_arg" |
7907 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7923 s/.*/./; q'`/stamp-h$_am_stamp_count
7926 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7927 $as_echo "$as_me: executing $ac_file commands" >&6;}
7932 case $ac_file$ac_mode in
7933 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
7934 # Autoconf 2.62 quotes --file arguments for eval, but not when files
7935 # are listed without --file. Let's play safe and only enable the eval
7936 # if we detect the quoting.
7937 case $CONFIG_FILES in
7938 *\'*) eval set x "$CONFIG_FILES" ;;
7939 *) set x $CONFIG_FILES ;;
7944 # Strip MF so we end up with the name of the file.
7945 mf=`echo "$mf" | sed -e 's/:.*$//'`
7946 # Check whether this is an Automake generated Makefile or not.
7947 # We used to match only the files named `Makefile.in', but
7948 # some people rename them; so instead we look at the file content.
7949 # Grep'ing the first line is not enough: some people post-process
7950 # each Makefile.in and add a new line on top of each file to say so.
7951 # Grep'ing the whole file is not good either: AIX grep has a line
7952 # limit of 2048, but all sed's we know have understand at least 4000.
7953 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
7954 dirpart=`$as_dirname -- "$mf" ||
7955 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7956 X"$mf" : 'X\(//\)[^/]' \| \
7957 X"$mf" : 'X\(//\)$' \| \
7958 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7960 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7980 # Extract the definition of DEPDIR, am__include, and am__quote
7981 # from the Makefile without running `make'.
7982 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7983 test -z "$DEPDIR" && continue
7984 am__include=`sed -n 's/^am__include = //p' < "$mf"`
7985 test -z "am__include" && continue
7986 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7987 # When using ansi2knr, U may be empty or an underscore; expand it
7988 U=`sed -n 's/^U = //p' < "$mf"`
7989 # Find all dependency output files, they are included files with
7990 # $(DEPDIR) in their names. We invoke sed twice because it is the
7991 # simplest approach to changing $(DEPDIR) to its actual value in the
7993 for file in `sed -n "
7994 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7995 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7996 # Make sure the directory exists.
7997 test -f "$dirpart/$file" && continue
7998 fdir=`$as_dirname -- "$file" ||
7999 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8000 X"$file" : 'X\(//\)[^/]' \| \
8001 X"$file" : 'X\(//\)$' \| \
8002 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8004 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8021 as_dir=$dirpart/$fdir; as_fn_mkdir_p
8022 # echo "creating $dirpart/$file"
8023 echo '# dummy' > "$dirpart/$file"
8028 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
8029 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
8038 ac_clean_files=$ac_clean_files_save
8040 test $ac_write_fail = 0 ||
8041 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
8044 # configure is writing to config.log, and then calls config.status.
8045 # config.status does its own redirection, appending to config.log.
8046 # Unfortunately, on DOS this fails, as config.log is still kept open
8047 # by configure, so config.status won't be able to write to it; its
8048 # output is simply discarded. So we exec the FD to /dev/null,
8049 # effectively closing config.log, so it can be properly (re)opened and
8050 # appended to by config.status. When coming back to configure, we
8051 # need to make the FD available again.
8052 if test "$no_create" != yes; then
8054 ac_config_status_args=
8055 test "$silent" = yes &&
8056 ac_config_status_args="$ac_config_status_args --quiet"
8058 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8060 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8061 # would make configure fail if this is the last instruction.
8062 $ac_cs_success || as_fn_exit 1
8064 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8066 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}