2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for xkeyboard-config 2.6.
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.
558 PACKAGE_NAME='xkeyboard-config'
559 PACKAGE_TARNAME='xkeyboard-config'
560 PACKAGE_VERSION='2.6'
561 PACKAGE_STRING='xkeyboard-config 2.6'
565 ac_unique_file="rules/base.xml.in"
567 ac_subst_vars='am__EXEEXT_FALSE
584 XGETTEXT_EXTRA_OPTIONS
588 GETTEXT_MACRO_VERSION
613 INTLTOOL_SERVICE_RULE
615 INTLTOOL_SCHEMAS_RULE
617 INTLTOOL_XML_NOMERGE_RULE
622 INTLTOOL_SOUNDLIST_RULE
629 INTLTOOL_DIRECTORY_RULE
630 INTLTOOL_DESKTOP_RULE
635 USE_COMPAT_RULES_FALSE
636 USE_COMPAT_RULES_TRUE
637 CREATE_RULES_SYMLINK_FALSE
638 CREATE_RULES_SYMLINK_TRUE
672 MAINTAINER_MODE_FALSE
682 INSTALL_STRIP_PROGRAM
724 program_transform_name
737 enable_option_checking
738 enable_maintainer_mode
741 with_xkb_rules_symlink
745 enable_dependency_tracking
751 ac_precious_vars='build_alias
768 # Initialize some variables set by options.
770 ac_init_version=false
771 ac_unrecognized_opts=
773 # The variables have the same names as the options, with
774 # dashes changed to underlines.
782 program_transform_name=s,x,x,
790 # Installation directory options.
791 # These are left unexpanded so users can "make install exec_prefix=/foo"
792 # and all the variables that are supposed to be based on exec_prefix
793 # by default will actually change.
794 # Use braces instead of parens because sh, perl, etc. also accept them.
795 # (The list follows the same order as the GNU Coding Standards.)
796 bindir='${exec_prefix}/bin'
797 sbindir='${exec_prefix}/sbin'
798 libexecdir='${exec_prefix}/libexec'
799 datarootdir='${prefix}/share'
800 datadir='${datarootdir}'
801 sysconfdir='${prefix}/etc'
802 sharedstatedir='${prefix}/com'
803 localstatedir='${prefix}/var'
804 includedir='${prefix}/include'
805 oldincludedir='/usr/include'
806 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
807 infodir='${datarootdir}/info'
812 libdir='${exec_prefix}/lib'
813 localedir='${datarootdir}/locale'
814 mandir='${datarootdir}/man'
820 # If the previous option needs an argument, assign it.
821 if test -n "$ac_prev"; then
822 eval $ac_prev=\$ac_option
828 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
833 # Accept the important Cygnus configure options, so we can diagnose typos.
835 case $ac_dashdash$ac_option in
839 -bindir | --bindir | --bindi | --bind | --bin | --bi)
841 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
844 -build | --build | --buil | --bui | --bu)
845 ac_prev=build_alias ;;
846 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
847 build_alias=$ac_optarg ;;
849 -cache-file | --cache-file | --cache-fil | --cache-fi \
850 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
851 ac_prev=cache_file ;;
852 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
853 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
854 cache_file=$ac_optarg ;;
857 cache_file=config.cache ;;
859 -datadir | --datadir | --datadi | --datad)
861 -datadir=* | --datadir=* | --datadi=* | --datad=*)
862 datadir=$ac_optarg ;;
864 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
865 | --dataroo | --dataro | --datar)
866 ac_prev=datarootdir ;;
867 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
868 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
869 datarootdir=$ac_optarg ;;
871 -disable-* | --disable-*)
872 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
873 # Reject names that are not valid shell variable names.
874 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
875 as_fn_error $? "invalid feature name: $ac_useropt"
876 ac_useropt_orig=$ac_useropt
877 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
878 case $ac_user_opts in
882 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
883 ac_unrecognized_sep=', ';;
885 eval enable_$ac_useropt=no ;;
887 -docdir | --docdir | --docdi | --doc | --do)
889 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
892 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
894 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
897 -enable-* | --enable-*)
898 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
899 # Reject names that are not valid shell variable names.
900 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
901 as_fn_error $? "invalid feature name: $ac_useropt"
902 ac_useropt_orig=$ac_useropt
903 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
904 case $ac_user_opts in
908 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
909 ac_unrecognized_sep=', ';;
911 eval enable_$ac_useropt=\$ac_optarg ;;
913 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
914 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
915 | --exec | --exe | --ex)
916 ac_prev=exec_prefix ;;
917 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
918 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
919 | --exec=* | --exe=* | --ex=*)
920 exec_prefix=$ac_optarg ;;
922 -gas | --gas | --ga | --g)
923 # Obsolete; use --with-gas.
926 -help | --help | --hel | --he | -h)
928 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
929 ac_init_help=recursive ;;
930 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
931 ac_init_help=short ;;
933 -host | --host | --hos | --ho)
934 ac_prev=host_alias ;;
935 -host=* | --host=* | --hos=* | --ho=*)
936 host_alias=$ac_optarg ;;
938 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
940 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
942 htmldir=$ac_optarg ;;
944 -includedir | --includedir | --includedi | --included | --include \
945 | --includ | --inclu | --incl | --inc)
946 ac_prev=includedir ;;
947 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
948 | --includ=* | --inclu=* | --incl=* | --inc=*)
949 includedir=$ac_optarg ;;
951 -infodir | --infodir | --infodi | --infod | --info | --inf)
953 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
954 infodir=$ac_optarg ;;
956 -libdir | --libdir | --libdi | --libd)
958 -libdir=* | --libdir=* | --libdi=* | --libd=*)
961 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
962 | --libexe | --libex | --libe)
963 ac_prev=libexecdir ;;
964 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
965 | --libexe=* | --libex=* | --libe=*)
966 libexecdir=$ac_optarg ;;
968 -localedir | --localedir | --localedi | --localed | --locale)
970 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
971 localedir=$ac_optarg ;;
973 -localstatedir | --localstatedir | --localstatedi | --localstated \
974 | --localstate | --localstat | --localsta | --localst | --locals)
975 ac_prev=localstatedir ;;
976 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
977 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
978 localstatedir=$ac_optarg ;;
980 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
982 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
986 # Obsolete; use --without-fp.
989 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
990 | --no-cr | --no-c | -n)
993 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
994 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
997 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
998 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
999 | --oldin | --oldi | --old | --ol | --o)
1000 ac_prev=oldincludedir ;;
1001 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1002 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1003 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1004 oldincludedir=$ac_optarg ;;
1006 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1008 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1009 prefix=$ac_optarg ;;
1011 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1012 | --program-pre | --program-pr | --program-p)
1013 ac_prev=program_prefix ;;
1014 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1015 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1016 program_prefix=$ac_optarg ;;
1018 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1019 | --program-suf | --program-su | --program-s)
1020 ac_prev=program_suffix ;;
1021 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1022 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1023 program_suffix=$ac_optarg ;;
1025 -program-transform-name | --program-transform-name \
1026 | --program-transform-nam | --program-transform-na \
1027 | --program-transform-n | --program-transform- \
1028 | --program-transform | --program-transfor \
1029 | --program-transfo | --program-transf \
1030 | --program-trans | --program-tran \
1031 | --progr-tra | --program-tr | --program-t)
1032 ac_prev=program_transform_name ;;
1033 -program-transform-name=* | --program-transform-name=* \
1034 | --program-transform-nam=* | --program-transform-na=* \
1035 | --program-transform-n=* | --program-transform-=* \
1036 | --program-transform=* | --program-transfor=* \
1037 | --program-transfo=* | --program-transf=* \
1038 | --program-trans=* | --program-tran=* \
1039 | --progr-tra=* | --program-tr=* | --program-t=*)
1040 program_transform_name=$ac_optarg ;;
1042 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1044 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1045 pdfdir=$ac_optarg ;;
1047 -psdir | --psdir | --psdi | --psd | --ps)
1049 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1052 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1053 | -silent | --silent | --silen | --sile | --sil)
1056 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1058 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1060 sbindir=$ac_optarg ;;
1062 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1063 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1064 | --sharedst | --shareds | --shared | --share | --shar \
1066 ac_prev=sharedstatedir ;;
1067 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1068 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1069 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1071 sharedstatedir=$ac_optarg ;;
1073 -site | --site | --sit)
1075 -site=* | --site=* | --sit=*)
1078 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1080 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1081 srcdir=$ac_optarg ;;
1083 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1084 | --syscon | --sysco | --sysc | --sys | --sy)
1085 ac_prev=sysconfdir ;;
1086 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1087 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1088 sysconfdir=$ac_optarg ;;
1090 -target | --target | --targe | --targ | --tar | --ta | --t)
1091 ac_prev=target_alias ;;
1092 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1093 target_alias=$ac_optarg ;;
1095 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1098 -version | --version | --versio | --versi | --vers | -V)
1099 ac_init_version=: ;;
1102 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1103 # Reject names that are not valid shell variable names.
1104 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1105 as_fn_error $? "invalid package name: $ac_useropt"
1106 ac_useropt_orig=$ac_useropt
1107 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1108 case $ac_user_opts in
1112 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1113 ac_unrecognized_sep=', ';;
1115 eval with_$ac_useropt=\$ac_optarg ;;
1117 -without-* | --without-*)
1118 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1119 # Reject names that are not valid shell variable names.
1120 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1121 as_fn_error $? "invalid package name: $ac_useropt"
1122 ac_useropt_orig=$ac_useropt
1123 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1124 case $ac_user_opts in
1128 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1129 ac_unrecognized_sep=', ';;
1131 eval with_$ac_useropt=no ;;
1134 # Obsolete; use --with-x.
1137 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1138 | --x-incl | --x-inc | --x-in | --x-i)
1139 ac_prev=x_includes ;;
1140 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1141 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1142 x_includes=$ac_optarg ;;
1144 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1145 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1146 ac_prev=x_libraries ;;
1147 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1148 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1149 x_libraries=$ac_optarg ;;
1151 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1152 Try \`$0 --help' for more information"
1156 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1157 # Reject names that are not valid shell variable names.
1158 case $ac_envvar in #(
1159 '' | [0-9]* | *[!_$as_cr_alnum]* )
1160 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1162 eval $ac_envvar=\$ac_optarg
1163 export $ac_envvar ;;
1166 # FIXME: should be removed in autoconf 3.0.
1167 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1168 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1169 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1170 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1176 if test -n "$ac_prev"; then
1177 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1178 as_fn_error $? "missing argument to $ac_option"
1181 if test -n "$ac_unrecognized_opts"; then
1182 case $enable_option_checking in
1184 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1185 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1189 # Check all directory arguments for consistency.
1190 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1191 datadir sysconfdir sharedstatedir localstatedir includedir \
1192 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1193 libdir localedir mandir
1195 eval ac_val=\$$ac_var
1196 # Remove trailing slashes.
1199 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1200 eval $ac_var=\$ac_val;;
1202 # Be sure to have absolute directory names.
1204 [\\/$]* | ?:[\\/]* ) continue;;
1205 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1207 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1210 # There might be people who depend on the old broken behavior: `$host'
1211 # used to hold the argument of --host etc.
1212 # FIXME: To remove some day.
1215 target=$target_alias
1217 # FIXME: To remove some day.
1218 if test "x$host_alias" != x; then
1219 if test "x$build_alias" = x; then
1220 cross_compiling=maybe
1221 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1222 If a cross compiler is detected then cross compile mode will be used" >&2
1223 elif test "x$build_alias" != "x$host_alias"; then
1229 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1231 test "$silent" = yes && exec 6>/dev/null
1234 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1235 ac_ls_di=`ls -di .` &&
1236 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1237 as_fn_error $? "working directory cannot be determined"
1238 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1239 as_fn_error $? "pwd does not report name of working directory"
1242 # Find the source files, if location was not specified.
1243 if test -z "$srcdir"; then
1244 ac_srcdir_defaulted=yes
1245 # Try the directory containing this script, then the parent directory.
1246 ac_confdir=`$as_dirname -- "$as_myself" ||
1247 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1248 X"$as_myself" : 'X\(//\)[^/]' \| \
1249 X"$as_myself" : 'X\(//\)$' \| \
1250 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1251 $as_echo X"$as_myself" |
1252 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1270 if test ! -r "$srcdir/$ac_unique_file"; then
1274 ac_srcdir_defaulted=no
1276 if test ! -r "$srcdir/$ac_unique_file"; then
1277 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1278 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1280 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1282 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1284 # When building in place, set srcdir=.
1285 if test "$ac_abs_confdir" = "$ac_pwd"; then
1288 # Remove unnecessary trailing slashes from srcdir.
1289 # Double slashes in file names in object file debugging info
1290 # mess up M-x gdb in Emacs.
1292 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1294 for ac_var in $ac_precious_vars; do
1295 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1296 eval ac_env_${ac_var}_value=\$${ac_var}
1297 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1298 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1302 # Report the --help message.
1304 if test "$ac_init_help" = "long"; then
1305 # Omit some internal or obsolete options to make the list less imposing.
1306 # This message is too long to be a string in the A/UX 3.1 sh.
1308 \`configure' configures xkeyboard-config 2.6 to adapt to many kinds of systems.
1310 Usage: $0 [OPTION]... [VAR=VALUE]...
1312 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1313 VAR=VALUE. See below for descriptions of some of the useful variables.
1315 Defaults for the options are specified in brackets.
1318 -h, --help display this help and exit
1319 --help=short display options specific to this package
1320 --help=recursive display the short help of all the included packages
1321 -V, --version display version information and exit
1322 -q, --quiet, --silent do not print \`checking ...' messages
1323 --cache-file=FILE cache test results in FILE [disabled]
1324 -C, --config-cache alias for \`--cache-file=config.cache'
1325 -n, --no-create do not create output files
1326 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1328 Installation directories:
1329 --prefix=PREFIX install architecture-independent files in PREFIX
1330 [$ac_default_prefix]
1331 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1334 By default, \`make install' will install all the files in
1335 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1336 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1337 for instance \`--prefix=\$HOME'.
1339 For better control, use the options below.
1341 Fine tuning of the installation directories:
1342 --bindir=DIR user executables [EPREFIX/bin]
1343 --sbindir=DIR system admin executables [EPREFIX/sbin]
1344 --libexecdir=DIR program executables [EPREFIX/libexec]
1345 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1346 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1347 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1348 --libdir=DIR object code libraries [EPREFIX/lib]
1349 --includedir=DIR C header files [PREFIX/include]
1350 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1351 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1352 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1353 --infodir=DIR info documentation [DATAROOTDIR/info]
1354 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1355 --mandir=DIR man documentation [DATAROOTDIR/man]
1356 --docdir=DIR documentation root
1357 [DATAROOTDIR/doc/xkeyboard-config]
1358 --htmldir=DIR html documentation [DOCDIR]
1359 --dvidir=DIR dvi documentation [DOCDIR]
1360 --pdfdir=DIR pdf documentation [DOCDIR]
1361 --psdir=DIR ps documentation [DOCDIR]
1367 --program-prefix=PREFIX prepend PREFIX to installed program names
1368 --program-suffix=SUFFIX append SUFFIX to installed program names
1369 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1372 --build=BUILD configure for building on BUILD [guessed]
1373 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1377 if test -n "$ac_init_help"; then
1378 case $ac_init_help in
1379 short | recursive ) echo "Configuration of xkeyboard-config 2.6:";;
1384 --disable-option-checking ignore unrecognized --enable/--with options
1385 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1386 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1387 --enable-maintainer-mode enable make rules and dependencies not useful
1388 (and sometimes confusing) to the casual installer
1389 --enable-compat-rules create compatibility rules
1390 --enable-runtime-deps use run-time dependencies as build-time dependencies
1391 --disable-nls do not use Native Language Support
1392 --disable-dependency-tracking speeds up one-time build
1393 --enable-dependency-tracking do not reject slow dependency extractors
1394 --disable-rpath do not hardcode runtime library paths
1397 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1398 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1399 --with-xsltproc Use xsltproc for the transformation of XML documents
1401 --with-xkb-base=DIR XKB base path [DATADIR/X11/xkb]
1402 --with-xkb-rules-symlink=NAME1(,NAME2)* create symlink(s) to "old style" rules files (xfree86 and/or xorg)
1403 --with-gnu-ld assume the C compiler uses GNU ld default=no
1404 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1405 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1406 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1407 --without-libintl-prefix don't search for libintl in includedir and libdir
1409 Some influential environment variables:
1410 XSLTPROC Path to xsltproc command
1411 PKG_CONFIG path to pkg-config utility
1413 directories to add to pkg-config's search path
1415 path overriding pkg-config's built-in search path
1416 DEPS_CFLAGS C compiler flags for DEPS, overriding pkg-config
1417 DEPS_LIBS linker flags for DEPS, overriding pkg-config
1418 CC C compiler command
1419 CFLAGS C compiler flags
1420 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1421 nonstandard directory <lib dir>
1422 LIBS libraries to pass to the linker, e.g. -l<library>
1423 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1424 you have headers in a nonstandard directory <include dir>
1427 Use these variables to override the choices made by `configure' or to help
1428 it to find libraries and programs with nonstandard names/locations.
1430 Report bugs to the package provider.
1435 if test "$ac_init_help" = "recursive"; then
1436 # If there are subdirs, report their specific --help.
1437 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1438 test -d "$ac_dir" ||
1439 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1444 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1446 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1447 # A ".." for each directory in $ac_dir_suffix.
1448 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1449 case $ac_top_builddir_sub in
1450 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1451 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1454 ac_abs_top_builddir=$ac_pwd
1455 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1456 # for backward compatibility:
1457 ac_top_builddir=$ac_top_build_prefix
1460 .) # We are building in place.
1462 ac_top_srcdir=$ac_top_builddir_sub
1463 ac_abs_top_srcdir=$ac_pwd ;;
1464 [\\/]* | ?:[\\/]* ) # Absolute name.
1465 ac_srcdir=$srcdir$ac_dir_suffix;
1466 ac_top_srcdir=$srcdir
1467 ac_abs_top_srcdir=$srcdir ;;
1469 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1470 ac_top_srcdir=$ac_top_build_prefix$srcdir
1471 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1473 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1475 cd "$ac_dir" || { ac_status=$?; continue; }
1476 # Check for guested configure.
1477 if test -f "$ac_srcdir/configure.gnu"; then
1479 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1480 elif test -f "$ac_srcdir/configure"; then
1482 $SHELL "$ac_srcdir/configure" --help=recursive
1484 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1486 cd "$ac_pwd" || { ac_status=$?; break; }
1490 test -n "$ac_init_help" && exit $ac_status
1491 if $ac_init_version; then
1493 xkeyboard-config configure 2.6
1494 generated by GNU Autoconf 2.68
1496 Copyright (C) 2010 Free Software Foundation, Inc.
1497 This configure script is free software; the Free Software Foundation
1498 gives unlimited permission to copy, distribute and modify it.
1503 ## ------------------------ ##
1504 ## Autoconf initialization. ##
1505 ## ------------------------ ##
1507 # ac_fn_c_try_compile LINENO
1508 # --------------------------
1509 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1510 ac_fn_c_try_compile ()
1512 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1513 rm -f conftest.$ac_objext
1514 if { { ac_try="$ac_compile"
1516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1517 *) ac_try_echo=$ac_try;;
1519 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1520 $as_echo "$ac_try_echo"; } >&5
1521 (eval "$ac_compile") 2>conftest.err
1523 if test -s conftest.err; then
1524 grep -v '^ *+' conftest.err >conftest.er1
1525 cat conftest.er1 >&5
1526 mv -f conftest.er1 conftest.err
1528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1529 test $ac_status = 0; } && {
1530 test -z "$ac_c_werror_flag" ||
1531 test ! -s conftest.err
1532 } && test -s conftest.$ac_objext; then :
1535 $as_echo "$as_me: failed program was:" >&5
1536 sed 's/^/| /' conftest.$ac_ext >&5
1540 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1541 as_fn_set_status $ac_retval
1543 } # ac_fn_c_try_compile
1545 # ac_fn_c_try_link LINENO
1546 # -----------------------
1547 # Try to link conftest.$ac_ext, and return whether this succeeded.
1550 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1551 rm -f conftest.$ac_objext conftest$ac_exeext
1552 if { { ac_try="$ac_link"
1554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1555 *) ac_try_echo=$ac_try;;
1557 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1558 $as_echo "$ac_try_echo"; } >&5
1559 (eval "$ac_link") 2>conftest.err
1561 if test -s conftest.err; then
1562 grep -v '^ *+' conftest.err >conftest.er1
1563 cat conftest.er1 >&5
1564 mv -f conftest.er1 conftest.err
1566 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1567 test $ac_status = 0; } && {
1568 test -z "$ac_c_werror_flag" ||
1569 test ! -s conftest.err
1570 } && test -s conftest$ac_exeext && {
1571 test "$cross_compiling" = yes ||
1572 $as_test_x conftest$ac_exeext
1576 $as_echo "$as_me: failed program was:" >&5
1577 sed 's/^/| /' conftest.$ac_ext >&5
1581 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1582 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1583 # interfere with the next link command; also delete a directory that is
1584 # left behind by Apple's compiler. We do this before executing the actions.
1585 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1586 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1587 as_fn_set_status $ac_retval
1589 } # ac_fn_c_try_link
1591 # ac_fn_c_check_func LINENO FUNC VAR
1592 # ----------------------------------
1593 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1594 ac_fn_c_check_func ()
1596 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1598 $as_echo_n "checking for $2... " >&6; }
1599 if eval \${$3+:} false; then :
1600 $as_echo_n "(cached) " >&6
1602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1603 /* end confdefs.h. */
1604 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1606 #define $2 innocuous_$2
1608 /* System header to define __stub macros and hopefully few prototypes,
1609 which can conflict with char $2 (); below.
1610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1611 <limits.h> exists even on freestanding compilers. */
1614 # include <limits.h>
1616 # include <assert.h>
1621 /* Override any GCC internal prototype to avoid an error.
1622 Use char because int might match the return type of a GCC
1623 builtin and then its argument prototype would still apply. */
1628 /* The GNU C library defines this for functions which it implements
1629 to always fail with ENOSYS. Some functions are actually named
1630 something starting with __ and the normal name is an alias. */
1631 #if defined __stub_$2 || defined __stub___$2
1643 if ac_fn_c_try_link "$LINENO"; then :
1648 rm -f core conftest.err conftest.$ac_objext \
1649 conftest$ac_exeext conftest.$ac_ext
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1653 $as_echo "$ac_res" >&6; }
1654 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1656 } # ac_fn_c_check_func
1658 # ac_fn_c_try_cpp LINENO
1659 # ----------------------
1660 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1663 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1664 if { { ac_try="$ac_cpp conftest.$ac_ext"
1666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1667 *) ac_try_echo=$ac_try;;
1669 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1670 $as_echo "$ac_try_echo"; } >&5
1671 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1673 if test -s conftest.err; then
1674 grep -v '^ *+' conftest.err >conftest.er1
1675 cat conftest.er1 >&5
1676 mv -f conftest.er1 conftest.err
1678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1679 test $ac_status = 0; } > conftest.i && {
1680 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1681 test ! -s conftest.err
1685 $as_echo "$as_me: failed program was:" >&5
1686 sed 's/^/| /' conftest.$ac_ext >&5
1690 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1691 as_fn_set_status $ac_retval
1695 # ac_fn_c_try_run LINENO
1696 # ----------------------
1697 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1698 # that executables *can* be run.
1701 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1702 if { { ac_try="$ac_link"
1704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1705 *) ac_try_echo=$ac_try;;
1707 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1708 $as_echo "$ac_try_echo"; } >&5
1709 (eval "$ac_link") 2>&5
1711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1712 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1713 { { case "(($ac_try" in
1714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1715 *) ac_try_echo=$ac_try;;
1717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1718 $as_echo "$ac_try_echo"; } >&5
1719 (eval "$ac_try") 2>&5
1721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1722 test $ac_status = 0; }; }; then :
1725 $as_echo "$as_me: program exited with status $ac_status" >&5
1726 $as_echo "$as_me: failed program was:" >&5
1727 sed 's/^/| /' conftest.$ac_ext >&5
1729 ac_retval=$ac_status
1731 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1732 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1733 as_fn_set_status $ac_retval
1736 cat >config.log <<_ACEOF
1737 This file contains any messages produced by compilers while
1738 running configure, to aid debugging if configure makes a mistake.
1740 It was created by xkeyboard-config $as_me 2.6, which was
1741 generated by GNU Autoconf 2.68. Invocation command line was
1753 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1754 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1755 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1756 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1757 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1759 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1760 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1762 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1763 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1764 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1765 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1766 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1767 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1768 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1776 test -z "$as_dir" && as_dir=.
1777 $as_echo "PATH: $as_dir"
1793 # Keep a trace of the command line.
1794 # Strip out --no-create and --no-recursion so they do not pile up.
1795 # Strip out --silent because we don't want to record it for future runs.
1796 # Also quote any args containing shell meta-characters.
1797 # Make two passes to allow for proper duplicate-argument suppression.
1801 ac_must_keep_next=false
1807 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1808 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1809 | -silent | --silent | --silen | --sile | --sil)
1812 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1815 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1817 as_fn_append ac_configure_args1 " '$ac_arg'"
1818 if test $ac_must_keep_next = true; then
1819 ac_must_keep_next=false # Got value, back to normal.
1822 *=* | --config-cache | -C | -disable-* | --disable-* \
1823 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1824 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1825 | -with-* | --with-* | -without-* | --without-* | --x)
1826 case "$ac_configure_args0 " in
1827 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1830 -* ) ac_must_keep_next=true ;;
1833 as_fn_append ac_configure_args " '$ac_arg'"
1838 { ac_configure_args0=; unset ac_configure_args0;}
1839 { ac_configure_args1=; unset ac_configure_args1;}
1841 # When interrupted or exit'd, cleanup temporary files, and complete
1842 # config.log. We remove comments because anyway the quotes in there
1843 # would cause problems or look ugly.
1844 # WARNING: Use '\'' to represent an apostrophe within the trap.
1845 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1846 trap 'exit_status=$?
1847 # Save into config.log some information that might help in debugging.
1851 $as_echo "## ---------------- ##
1852 ## Cache variables. ##
1853 ## ---------------- ##"
1855 # The following way of writing the cache mishandles newlines in values,
1857 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1858 eval ac_val=\$$ac_var
1862 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1863 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1866 _ | IFS | as_nl) ;; #(
1867 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1868 *) { eval $ac_var=; unset $ac_var;} ;;
1873 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1874 *${as_nl}ac_space=\ *)
1876 "s/'\''/'\''\\\\'\'''\''/g;
1877 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1880 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1887 $as_echo "## ----------------- ##
1888 ## Output variables. ##
1889 ## ----------------- ##"
1891 for ac_var in $ac_subst_vars
1893 eval ac_val=\$$ac_var
1895 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1897 $as_echo "$ac_var='\''$ac_val'\''"
1901 if test -n "$ac_subst_files"; then
1902 $as_echo "## ------------------- ##
1903 ## File substitutions. ##
1904 ## ------------------- ##"
1906 for ac_var in $ac_subst_files
1908 eval ac_val=\$$ac_var
1910 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1912 $as_echo "$ac_var='\''$ac_val'\''"
1917 if test -s confdefs.h; then
1918 $as_echo "## ----------- ##
1925 test "$ac_signal" != 0 &&
1926 $as_echo "$as_me: caught signal $ac_signal"
1927 $as_echo "$as_me: exit $exit_status"
1929 rm -f core *.core core.conftest.* &&
1930 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1933 for ac_signal in 1 2 13 15; do
1934 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1938 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1939 rm -f -r conftest* confdefs.h
1941 $as_echo "/* confdefs.h */" > confdefs.h
1943 # Predefined preprocessor variables.
1945 cat >>confdefs.h <<_ACEOF
1946 #define PACKAGE_NAME "$PACKAGE_NAME"
1949 cat >>confdefs.h <<_ACEOF
1950 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1953 cat >>confdefs.h <<_ACEOF
1954 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1957 cat >>confdefs.h <<_ACEOF
1958 #define PACKAGE_STRING "$PACKAGE_STRING"
1961 cat >>confdefs.h <<_ACEOF
1962 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1965 cat >>confdefs.h <<_ACEOF
1966 #define PACKAGE_URL "$PACKAGE_URL"
1970 # Let the site file select an alternate cache file if it wants to.
1971 # Prefer an explicitly selected file to automatically selected ones.
1974 if test -n "$CONFIG_SITE"; then
1975 # We do not want a PATH search for config.site.
1976 case $CONFIG_SITE in #((
1977 -*) ac_site_file1=./$CONFIG_SITE;;
1978 */*) ac_site_file1=$CONFIG_SITE;;
1979 *) ac_site_file1=./$CONFIG_SITE;;
1981 elif test "x$prefix" != xNONE; then
1982 ac_site_file1=$prefix/share/config.site
1983 ac_site_file2=$prefix/etc/config.site
1985 ac_site_file1=$ac_default_prefix/share/config.site
1986 ac_site_file2=$ac_default_prefix/etc/config.site
1988 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1990 test "x$ac_site_file" = xNONE && continue
1991 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1993 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1994 sed 's/^/| /' "$ac_site_file" >&5
1996 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1997 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1998 as_fn_error $? "failed to load site script $ac_site_file
1999 See \`config.log' for more details" "$LINENO" 5; }
2003 if test -r "$cache_file"; then
2004 # Some versions of bash will fail to source /dev/null (special files
2005 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2006 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2008 $as_echo "$as_me: loading cache $cache_file" >&6;}
2010 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2011 *) . "./$cache_file";;
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2016 $as_echo "$as_me: creating cache $cache_file" >&6;}
2020 gt_needs="$gt_needs "
2021 # Check that the precious variables saved in the cache have kept the same
2023 ac_cache_corrupted=false
2024 for ac_var in $ac_precious_vars; do
2025 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2026 eval ac_new_set=\$ac_env_${ac_var}_set
2027 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2028 eval ac_new_val=\$ac_env_${ac_var}_value
2029 case $ac_old_set,$ac_new_set in
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2032 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2033 ac_cache_corrupted=: ;;
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2036 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2037 ac_cache_corrupted=: ;;
2040 if test "x$ac_old_val" != "x$ac_new_val"; then
2041 # differences in whitespace do not lead to failure.
2042 ac_old_val_w=`echo x $ac_old_val`
2043 ac_new_val_w=`echo x $ac_new_val`
2044 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2046 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2047 ac_cache_corrupted=:
2049 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2050 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2051 eval $ac_var=\$ac_old_val
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2054 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2056 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2059 # Pass precious variables to config.status.
2060 if test "$ac_new_set" = set; then
2062 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2063 *) ac_arg=$ac_var=$ac_new_val ;;
2065 case " $ac_configure_args " in
2066 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2067 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2071 if $ac_cache_corrupted; then
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2073 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2075 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2076 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2078 ## -------------------- ##
2079 ## Main body of script. ##
2080 ## -------------------- ##
2083 ac_cpp='$CPP $CPPFLAGS'
2084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2090 am__api_version='1.11'
2093 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2094 if test -f "$ac_dir/install-sh"; then
2096 ac_install_sh="$ac_aux_dir/install-sh -c"
2098 elif test -f "$ac_dir/install.sh"; then
2100 ac_install_sh="$ac_aux_dir/install.sh -c"
2102 elif test -f "$ac_dir/shtool"; then
2104 ac_install_sh="$ac_aux_dir/shtool install -c"
2108 if test -z "$ac_aux_dir"; then
2109 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2112 # These three variables are undocumented and unsupported,
2113 # and are intended to be withdrawn in a future Autoconf release.
2114 # They can cause serious problems if a builder's source tree is in a directory
2115 # whose full name contains unusual characters.
2116 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2117 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2118 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2121 # Find a good install program. We prefer a C program (faster),
2122 # so one script is as good as another. But avoid the broken or
2123 # incompatible versions:
2124 # SysV /etc/install, /usr/sbin/install
2125 # SunOS /usr/etc/install
2126 # IRIX /sbin/install
2128 # AmigaOS /C/install, which installs bootblocks on floppy discs
2129 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2130 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2131 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2132 # OS/2's system install, which has a completely different semantic
2133 # ./install, which can be erroneously created by make from ./install.sh.
2134 # Reject install programs that cannot install multiple files.
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2136 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2137 if test -z "$INSTALL"; then
2138 if ${ac_cv_path_install+:} false; then :
2139 $as_echo_n "(cached) " >&6
2141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2145 test -z "$as_dir" && as_dir=.
2146 # Account for people who put trailing slashes in PATH elements.
2147 case $as_dir/ in #((
2148 ./ | .// | /[cC]/* | \
2149 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2150 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2153 # OSF1 and SCO ODT 3.0 have their own names for install.
2154 # Don't use installbsd from OSF since it installs stuff as root
2156 for ac_prog in ginstall scoinst install; do
2157 for ac_exec_ext in '' $ac_executable_extensions; do
2158 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2159 if test $ac_prog = install &&
2160 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2161 # AIX install. It has an incompatible calling convention.
2163 elif test $ac_prog = install &&
2164 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2165 # program-specific install script used by HP pwplus--don't use.
2168 rm -rf conftest.one conftest.two conftest.dir
2169 echo one > conftest.one
2170 echo two > conftest.two
2172 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2173 test -s conftest.one && test -s conftest.two &&
2174 test -s conftest.dir/conftest.one &&
2175 test -s conftest.dir/conftest.two
2177 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2190 rm -rf conftest.one conftest.two conftest.dir
2193 if test "${ac_cv_path_install+set}" = set; then
2194 INSTALL=$ac_cv_path_install
2196 # As a last resort, use the slow shell script. Don't cache a
2197 # value for INSTALL within a source directory, because that will
2198 # break other packages using the cache if that directory is
2199 # removed, or if the value is a relative name.
2200 INSTALL=$ac_install_sh
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2204 $as_echo "$INSTALL" >&6; }
2206 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2207 # It thinks the first close brace ends the variable substitution.
2208 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2210 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2212 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2215 $as_echo_n "checking whether build environment is sane... " >&6; }
2218 echo timestamp > conftest.file
2219 # Reject unsafe characters in $srcdir or the absolute working directory
2220 # name. Accept space and tab only in the latter.
2224 *[\\\"\#\$\&\'\`$am_lf]*)
2225 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2228 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2229 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2232 # Do `set' in a subshell so we don't clobber the current shell's
2233 # arguments. Must try -L first in case configure is actually a
2234 # symlink; some systems play weird games with the mod time of symlinks
2235 # (eg FreeBSD returns the mod time of the symlink's containing
2238 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2239 if test "$*" = "X"; then
2241 set X `ls -t "$srcdir/configure" conftest.file`
2244 if test "$*" != "X $srcdir/configure conftest.file" \
2245 && test "$*" != "X conftest.file $srcdir/configure"; then
2247 # If neither matched, then we have a broken ls. This can happen
2248 # if, for instance, CONFIG_SHELL is bash and it inherits a
2249 # broken ls alias from the environment. This has actually
2250 # happened. Such a system could not be considered "sane".
2251 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2252 alias in your environment" "$LINENO" 5
2255 test "$2" = conftest.file
2261 as_fn_error $? "newly created file is older than distributed files!
2262 Check your system clock" "$LINENO" 5
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2265 $as_echo "yes" >&6; }
2266 test "$program_prefix" != NONE &&
2267 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2268 # Use a double $ so make ignores it.
2269 test "$program_suffix" != NONE &&
2270 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2271 # Double any \ or $.
2272 # By default was `s,x,x', remove it if useless.
2273 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2274 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2276 # expand $ac_aux_dir to an absolute path
2277 am_aux_dir=`cd $ac_aux_dir && pwd`
2279 if test x"${MISSING+set}" != xset; then
2282 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2284 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2287 # Use eval to expand $SHELL
2288 if eval "$MISSING --run true"; then
2289 am_missing_run="$MISSING --run "
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2293 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2296 if test x"${install_sh}" != xset; then
2299 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2301 install_sh="\${SHELL} $am_aux_dir/install-sh"
2305 # Installed binaries are usually stripped using `strip' when the user
2306 # run `make install-strip'. However `strip' might not be the right
2307 # tool to use in cross-compilation environments, therefore Automake
2308 # will honor the `STRIP' environment variable to overrule this program.
2309 if test "$cross_compiling" != no; then
2310 if test -n "$ac_tool_prefix"; then
2311 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2312 set dummy ${ac_tool_prefix}strip; ac_word=$2
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2314 $as_echo_n "checking for $ac_word... " >&6; }
2315 if ${ac_cv_prog_STRIP+:} false; then :
2316 $as_echo_n "(cached) " >&6
2318 if test -n "$STRIP"; then
2319 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2325 test -z "$as_dir" && as_dir=.
2326 for ac_exec_ext in '' $ac_executable_extensions; do
2327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2328 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2338 STRIP=$ac_cv_prog_STRIP
2339 if test -n "$STRIP"; then
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2341 $as_echo "$STRIP" >&6; }
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2344 $as_echo "no" >&6; }
2349 if test -z "$ac_cv_prog_STRIP"; then
2351 # Extract the first word of "strip", so it can be a program name with args.
2352 set dummy strip; ac_word=$2
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2354 $as_echo_n "checking for $ac_word... " >&6; }
2355 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2356 $as_echo_n "(cached) " >&6
2358 if test -n "$ac_ct_STRIP"; then
2359 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2365 test -z "$as_dir" && as_dir=.
2366 for ac_exec_ext in '' $ac_executable_extensions; do
2367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2368 ac_cv_prog_ac_ct_STRIP="strip"
2369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2378 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2379 if test -n "$ac_ct_STRIP"; then
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2381 $as_echo "$ac_ct_STRIP" >&6; }
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2384 $as_echo "no" >&6; }
2387 if test "x$ac_ct_STRIP" = x; then
2390 case $cross_compiling:$ac_tool_warned in
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2393 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2394 ac_tool_warned=yes ;;
2399 STRIP="$ac_cv_prog_STRIP"
2403 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2406 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2407 if test -z "$MKDIR_P"; then
2408 if ${ac_cv_path_mkdir+:} false; then :
2409 $as_echo_n "(cached) " >&6
2411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2412 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2415 test -z "$as_dir" && as_dir=.
2416 for ac_prog in mkdir gmkdir; do
2417 for ac_exec_ext in '' $ac_executable_extensions; do
2418 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2419 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2420 'mkdir (GNU coreutils) '* | \
2421 'mkdir (coreutils) '* | \
2422 'mkdir (fileutils) '4.1*)
2423 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2433 test -d ./--version && rmdir ./--version
2434 if test "${ac_cv_path_mkdir+set}" = set; then
2435 MKDIR_P="$ac_cv_path_mkdir -p"
2437 # As a last resort, use the slow shell script. Don't cache a
2438 # value for MKDIR_P within a source directory, because that will
2439 # break other packages using the cache if that directory is
2440 # removed, or if the value is a relative name.
2441 MKDIR_P="$ac_install_sh -d"
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2445 $as_echo "$MKDIR_P" >&6; }
2449 [\\/$]* | ?:[\\/]*) ;;
2450 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2453 for ac_prog in gawk mawk nawk awk
2455 # Extract the first word of "$ac_prog", so it can be a program name with args.
2456 set dummy $ac_prog; ac_word=$2
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2458 $as_echo_n "checking for $ac_word... " >&6; }
2459 if ${ac_cv_prog_AWK+:} false; then :
2460 $as_echo_n "(cached) " >&6
2462 if test -n "$AWK"; then
2463 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2469 test -z "$as_dir" && as_dir=.
2470 for ac_exec_ext in '' $ac_executable_extensions; do
2471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2472 ac_cv_prog_AWK="$ac_prog"
2473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2483 if test -n "$AWK"; then
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2485 $as_echo "$AWK" >&6; }
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2488 $as_echo "no" >&6; }
2492 test -n "$AWK" && break
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2496 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2498 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2499 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2500 $as_echo_n "(cached) " >&6
2502 cat >conftest.make <<\_ACEOF
2505 @echo '@@@%%%=$(MAKE)=@@@%%%'
2507 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2508 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2510 eval ac_cv_prog_make_${ac_make}_set=yes;;
2512 eval ac_cv_prog_make_${ac_make}_set=no;;
2516 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2518 $as_echo "yes" >&6; }
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2522 $as_echo "no" >&6; }
2523 SET_MAKE="MAKE=${MAKE-make}"
2526 rm -rf .tst 2>/dev/null
2527 mkdir .tst 2>/dev/null
2528 if test -d .tst; then
2533 rmdir .tst 2>/dev/null
2535 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2536 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2537 # is not polluted with repeated "-I."
2538 am__isrc=' -I$(srcdir)'
2539 # test to see if srcdir already configured
2540 if test -f $srcdir/config.status; then
2541 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2545 # test whether we have cygpath
2546 if test -z "$CYGPATH_W"; then
2547 if (cygpath --version) >/dev/null 2>/dev/null; then
2548 CYGPATH_W='cygpath -w'
2555 # Define the identity of the package.
2556 PACKAGE='xkeyboard-config'
2560 cat >>confdefs.h <<_ACEOF
2561 #define PACKAGE "$PACKAGE"
2565 cat >>confdefs.h <<_ACEOF
2566 #define VERSION "$VERSION"
2569 # Some tools Automake needs.
2571 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2574 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2577 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2580 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2583 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2585 # We need awk for the "check" target. The system "awk" is bad on
2587 # Always define AMTAR for backward compatibility.
2589 AMTAR=${AMTAR-"${am_missing_run}tar"}
2591 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2599 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2600 # Check whether --enable-maintainer-mode was given.
2601 if test "${enable_maintainer_mode+set}" = set; then :
2602 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2604 USE_MAINTAINER_MODE=no
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2608 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2609 if test $USE_MAINTAINER_MODE = yes; then
2610 MAINTAINER_MODE_TRUE=
2611 MAINTAINER_MODE_FALSE='#'
2613 MAINTAINER_MODE_TRUE='#'
2614 MAINTAINER_MODE_FALSE=
2617 MAINT=$MAINTAINER_MODE_TRUE
2621 # Require X.Org macros 1.12 or later for XORG_WITH_XSLTPROC
2633 # Make sure we can run config.sub.
2634 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2635 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2638 $as_echo_n "checking build system type... " >&6; }
2639 if ${ac_cv_build+:} false; then :
2640 $as_echo_n "(cached) " >&6
2642 ac_build_alias=$build_alias
2643 test "x$ac_build_alias" = x &&
2644 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2645 test "x$ac_build_alias" = x &&
2646 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2647 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2648 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2652 $as_echo "$ac_cv_build" >&6; }
2653 case $ac_cv_build in
2655 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2658 ac_save_IFS=$IFS; IFS='-'
2664 # Remember, the first character of IFS is used to create $*,
2665 # except with old shells:
2668 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2672 $as_echo_n "checking host system type... " >&6; }
2673 if ${ac_cv_host+:} false; then :
2674 $as_echo_n "(cached) " >&6
2676 if test "x$host_alias" = x; then
2677 ac_cv_host=$ac_cv_build
2679 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2680 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2685 $as_echo "$ac_cv_host" >&6; }
2688 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2691 ac_save_IFS=$IFS; IFS='-'
2697 # Remember, the first character of IFS is used to create $*,
2698 # except with old shells:
2701 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2705 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2706 if ${ac_cv_path_SED+:} false; then :
2707 $as_echo_n "(cached) " >&6
2709 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2710 for ac_i in 1 2 3 4 5 6 7; do
2711 ac_script="$ac_script$as_nl$ac_script"
2713 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
2714 { ac_script=; unset ac_script;}
2715 if test -z "$SED"; then
2716 ac_path_SED_found=false
2717 # Loop through the user's path and test for each of PROGNAME-LIST
2718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2722 test -z "$as_dir" && as_dir=.
2723 for ac_prog in sed gsed; do
2724 for ac_exec_ext in '' $ac_executable_extensions; do
2725 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2726 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
2727 # Check for GNU ac_path_SED and select it if it is found.
2728 # Check for GNU $ac_path_SED
2729 case `"$ac_path_SED" --version 2>&1` in
2731 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2734 $as_echo_n 0123456789 >"conftest.in"
2737 cat "conftest.in" "conftest.in" >"conftest.tmp"
2738 mv "conftest.tmp" "conftest.in"
2739 cp "conftest.in" "conftest.nl"
2740 $as_echo '' >> "conftest.nl"
2741 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
2742 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2743 as_fn_arith $ac_count + 1 && ac_count=$as_val
2744 if test $ac_count -gt ${ac_path_SED_max-0}; then
2745 # Best one so far, save it but keep looking for a better one
2746 ac_cv_path_SED="$ac_path_SED"
2747 ac_path_SED_max=$ac_count
2749 # 10*(2^10) chars as input seems more than enough
2750 test $ac_count -gt 10 && break
2752 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2755 $ac_path_SED_found && break 3
2760 if test -z "$ac_cv_path_SED"; then
2761 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2769 $as_echo "$ac_cv_path_SED" >&6; }
2770 SED="$ac_cv_path_SED"
2777 if test x$APP_MAN_SUFFIX = x ; then
2780 if test x$APP_MAN_DIR = x ; then
2781 APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
2784 if test x$LIB_MAN_SUFFIX = x ; then
2787 if test x$LIB_MAN_DIR = x ; then
2788 LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
2791 if test x$FILE_MAN_SUFFIX = x ; then
2793 solaris*) FILE_MAN_SUFFIX=4 ;;
2794 *) FILE_MAN_SUFFIX=5 ;;
2797 if test x$FILE_MAN_DIR = x ; then
2798 FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
2801 if test x$MISC_MAN_SUFFIX = x ; then
2803 solaris*) MISC_MAN_SUFFIX=5 ;;
2804 *) MISC_MAN_SUFFIX=7 ;;
2807 if test x$MISC_MAN_DIR = x ; then
2808 MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
2811 if test x$DRIVER_MAN_SUFFIX = x ; then
2813 solaris*) DRIVER_MAN_SUFFIX=7 ;;
2814 *) DRIVER_MAN_SUFFIX=4 ;;
2817 if test x$DRIVER_MAN_DIR = x ; then
2818 DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
2821 if test x$ADMIN_MAN_SUFFIX = x ; then
2823 solaris*) ADMIN_MAN_SUFFIX=1m ;;
2824 *) ADMIN_MAN_SUFFIX=8 ;;
2827 if test x$ADMIN_MAN_DIR = x ; then
2828 ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
2845 XORG_MAN_PAGE="X Version 11"
2848 -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
2849 -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
2850 -e 's|__xservername__|Xorg|g' \
2851 -e 's|__xconfigfile__|xorg.conf|g' \
2852 -e 's|__projectroot__|\$(prefix)|g' \
2853 -e 's|__apploaddir__|\$(appdefaultdir)|g' \
2854 -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
2855 -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
2856 -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
2857 -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
2858 -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
2859 -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
2865 # Preserves the interface, should it be implemented later
2869 # Check whether --with-xsltproc was given.
2870 if test "${with_xsltproc+set}" = set; then :
2871 withval=$with_xsltproc; use_xsltproc=$withval
2878 if test "x$use_xsltproc" = x"auto"; then
2879 # Extract the first word of "xsltproc", so it can be a program name with args.
2880 set dummy xsltproc; ac_word=$2
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2882 $as_echo_n "checking for $ac_word... " >&6; }
2883 if ${ac_cv_path_XSLTPROC+:} false; then :
2884 $as_echo_n "(cached) " >&6
2888 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
2891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2895 test -z "$as_dir" && as_dir=.
2896 for ac_exec_ext in '' $ac_executable_extensions; do
2897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2898 ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
2899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2909 XSLTPROC=$ac_cv_path_XSLTPROC
2910 if test -n "$XSLTPROC"; then
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
2912 $as_echo "$XSLTPROC" >&6; }
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2915 $as_echo "no" >&6; }
2919 if test "x$XSLTPROC" = "x"; then
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xsltproc not found - cannot transform XML documents" >&5
2921 $as_echo "$as_me: WARNING: xsltproc not found - cannot transform XML documents" >&2;}
2926 elif test "x$use_xsltproc" = x"yes" ; then
2927 # Extract the first word of "xsltproc", so it can be a program name with args.
2928 set dummy xsltproc; ac_word=$2
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2930 $as_echo_n "checking for $ac_word... " >&6; }
2931 if ${ac_cv_path_XSLTPROC+:} false; then :
2932 $as_echo_n "(cached) " >&6
2936 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
2939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2943 test -z "$as_dir" && as_dir=.
2944 for ac_exec_ext in '' $ac_executable_extensions; do
2945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2946 ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
2947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2957 XSLTPROC=$ac_cv_path_XSLTPROC
2958 if test -n "$XSLTPROC"; then
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
2960 $as_echo "$XSLTPROC" >&6; }
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2963 $as_echo "no" >&6; }
2967 if test "x$XSLTPROC" = "x"; then
2968 as_fn_error $? "--with-xsltproc=yes specified but xsltproc not found in PATH" "$LINENO" 5
2971 elif test "x$use_xsltproc" = x"no" ; then
2972 if test "x$XSLTPROC" != "x"; then
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&5
2974 $as_echo "$as_me: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&2;}
2978 as_fn_error $? "--with-xsltproc expects 'yes' or 'no'" "$LINENO" 5
2981 if test "$have_xsltproc" = yes; then
2983 HAVE_XSLTPROC_FALSE='#'
2985 HAVE_XSLTPROC_TRUE='#'
2986 HAVE_XSLTPROC_FALSE=
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2991 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2992 if ${ac_cv_path_SED+:} false; then :
2993 $as_echo_n "(cached) " >&6
2995 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2996 for ac_i in 1 2 3 4 5 6 7; do
2997 ac_script="$ac_script$as_nl$ac_script"
2999 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3000 { ac_script=; unset ac_script;}
3001 if test -z "$SED"; then
3002 ac_path_SED_found=false
3003 # Loop through the user's path and test for each of PROGNAME-LIST
3004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3008 test -z "$as_dir" && as_dir=.
3009 for ac_prog in sed gsed; do
3010 for ac_exec_ext in '' $ac_executable_extensions; do
3011 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3012 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3013 # Check for GNU ac_path_SED and select it if it is found.
3014 # Check for GNU $ac_path_SED
3015 case `"$ac_path_SED" --version 2>&1` in
3017 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3020 $as_echo_n 0123456789 >"conftest.in"
3023 cat "conftest.in" "conftest.in" >"conftest.tmp"
3024 mv "conftest.tmp" "conftest.in"
3025 cp "conftest.in" "conftest.nl"
3026 $as_echo '' >> "conftest.nl"
3027 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3028 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3029 as_fn_arith $ac_count + 1 && ac_count=$as_val
3030 if test $ac_count -gt ${ac_path_SED_max-0}; then
3031 # Best one so far, save it but keep looking for a better one
3032 ac_cv_path_SED="$ac_path_SED"
3033 ac_path_SED_max=$ac_count
3035 # 10*(2^10) chars as input seems more than enough
3036 test $ac_count -gt 10 && break
3038 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3041 $ac_path_SED_found && break 3
3046 if test -z "$ac_cv_path_SED"; then
3047 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3055 $as_echo "$ac_cv_path_SED" >&6; }
3056 SED="$ac_cv_path_SED"
3062 # Extract the first word of "xkbcomp", so it can be a program name with args.
3063 set dummy xkbcomp; ac_word=$2
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3065 $as_echo_n "checking for $ac_word... " >&6; }
3066 if ${ac_cv_path_XKBCOMP+:} false; then :
3067 $as_echo_n "(cached) " >&6
3071 ac_cv_path_XKBCOMP="$XKBCOMP" # Let the user override the test with a path.
3074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3078 test -z "$as_dir" && as_dir=.
3079 for ac_exec_ext in '' $ac_executable_extensions; do
3080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3081 ac_cv_path_XKBCOMP="$as_dir/$ac_word$ac_exec_ext"
3082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3089 test -z "$ac_cv_path_XKBCOMP" && ac_cv_path_XKBCOMP="not_found"
3093 XKBCOMP=$ac_cv_path_XKBCOMP
3094 if test -n "$XKBCOMP"; then
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XKBCOMP" >&5
3096 $as_echo "$XKBCOMP" >&6; }
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3099 $as_echo "no" >&6; }
3103 if test x$XKBCOMP = xnot_found ; then
3104 as_fn_error $? "xkbcomp is required to install the xkb data files" "$LINENO" 5
3108 # Check whether --with-xkb_base was given.
3109 if test "${with_xkb_base+set}" = set; then :
3110 withval=$with_xkb_base; xkb_base="$withval"
3112 xkb_base="${datadir}/X11/xkb"
3117 # Check whether --with-xkb_rules_symlink was given.
3118 if test "${with_xkb_rules_symlink+set}" = set; then :
3119 withval=$with_xkb_rules_symlink; xkb_rules_symlink="$withval"
3123 # Check whether --enable-compat_rules was given.
3124 if test "${enable_compat_rules+set}" = set; then :
3125 enableval=$enable_compat_rules; enable_compat_rules="$enableval"
3127 enable_compat_rules="yes"
3131 # xkeyboard-config does not have build-time dependencies. However, it does
3132 # have run-time dependencies and keyboard layouts may not work without the
3133 # right libX11 or xproto installed.
3134 # By default, we enable these run-time dependencies as build-time
3135 # dependencies so that those building on their local machines are warned
3136 # that the resulting build may not work.
3137 # Check whether --enable-runtime-deps was given.
3138 if test "${enable_runtime_deps+set}" = set; then :
3139 enableval=$enable_runtime_deps; enable_runtime_deps="$enableval"
3141 enable_runtime_deps="yes"
3145 if test "x$enable_runtime_deps" = "xyes"; then
3152 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3153 if test -n "$ac_tool_prefix"; then
3154 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3155 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3157 $as_echo_n "checking for $ac_word... " >&6; }
3158 if ${ac_cv_path_PKG_CONFIG+:} false; then :
3159 $as_echo_n "(cached) " >&6
3163 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3170 test -z "$as_dir" && as_dir=.
3171 for ac_exec_ext in '' $ac_executable_extensions; do
3172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3173 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3184 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3185 if test -n "$PKG_CONFIG"; then
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
3187 $as_echo "$PKG_CONFIG" >&6; }
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3190 $as_echo "no" >&6; }
3195 if test -z "$ac_cv_path_PKG_CONFIG"; then
3196 ac_pt_PKG_CONFIG=$PKG_CONFIG
3197 # Extract the first word of "pkg-config", so it can be a program name with args.
3198 set dummy pkg-config; ac_word=$2
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3200 $as_echo_n "checking for $ac_word... " >&6; }
3201 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
3202 $as_echo_n "(cached) " >&6
3204 case $ac_pt_PKG_CONFIG in
3206 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3213 test -z "$as_dir" && as_dir=.
3214 for ac_exec_ext in '' $ac_executable_extensions; do
3215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3216 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3227 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3228 if test -n "$ac_pt_PKG_CONFIG"; then
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
3230 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3233 $as_echo "no" >&6; }
3236 if test "x$ac_pt_PKG_CONFIG" = x; then
3239 case $cross_compiling:$ac_tool_warned in
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3242 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3243 ac_tool_warned=yes ;;
3245 PKG_CONFIG=$ac_pt_PKG_CONFIG
3248 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3252 if test -n "$PKG_CONFIG"; then
3253 _pkg_min_version=0.9.0
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
3255 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
3256 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3258 $as_echo "yes" >&6; }
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3261 $as_echo "no" >&6; }
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DEPS" >&5
3268 $as_echo_n "checking for DEPS... " >&6; }
3270 if test -n "$DEPS_CFLAGS"; then
3271 pkg_cv_DEPS_CFLAGS="$DEPS_CFLAGS"
3272 elif test -n "$PKG_CONFIG"; then
3273 if test -n "$PKG_CONFIG" && \
3274 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.20 x11 >= 1.4.3\""; } >&5
3275 ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.20 x11 >= 1.4.3") 2>&5
3277 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3278 test $ac_status = 0; }; then
3279 pkg_cv_DEPS_CFLAGS=`$PKG_CONFIG --cflags "xproto >= 7.0.20 x11 >= 1.4.3" 2>/dev/null`
3286 if test -n "$DEPS_LIBS"; then
3287 pkg_cv_DEPS_LIBS="$DEPS_LIBS"
3288 elif test -n "$PKG_CONFIG"; then
3289 if test -n "$PKG_CONFIG" && \
3290 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.20 x11 >= 1.4.3\""; } >&5
3291 ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.20 x11 >= 1.4.3") 2>&5
3293 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3294 test $ac_status = 0; }; then
3295 pkg_cv_DEPS_LIBS=`$PKG_CONFIG --libs "xproto >= 7.0.20 x11 >= 1.4.3" 2>/dev/null`
3305 if test $pkg_failed = yes; then
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3307 $as_echo "no" >&6; }
3309 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3310 _pkg_short_errors_supported=yes
3312 _pkg_short_errors_supported=no
3314 if test $_pkg_short_errors_supported = yes; then
3315 DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto >= 7.0.20 x11 >= 1.4.3" 2>&1`
3317 DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto >= 7.0.20 x11 >= 1.4.3" 2>&1`
3319 # Put the nasty error message in config.log where it belongs
3320 echo "$DEPS_PKG_ERRORS" >&5
3323 elif test $pkg_failed = untried; then
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3325 $as_echo "no" >&6; }
3328 DEPS_CFLAGS=$pkg_cv_DEPS_CFLAGS
3329 DEPS_LIBS=$pkg_cv_DEPS_LIBS
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3331 $as_echo "yes" >&6; }
3334 if test "x$have_deps" = "xno" ; then
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
3336 Required dependencies not found. These dependencies are
3337 run-time dependencies only and not required for building.
3338 Skip this check with --disable-runtime-deps.
3340 Installing this version of xkeyboard-config on a host
3341 without the required dependencies may result in unusable
3344 $as_echo "$as_me: WARNING:
3345 Required dependencies not found. These dependencies are
3346 run-time dependencies only and not required for building.
3347 Skip this check with --disable-runtime-deps.
3349 Installing this version of xkeyboard-config on a host
3350 without the required dependencies may result in unusable
3354 as_fn_error $? "$DEPS_PKG_ERRORS" "$LINENO" 5
3358 if test "x$xkb_rules_symlink" != "x"; then
3359 CREATE_RULES_SYMLINK_TRUE=
3360 CREATE_RULES_SYMLINK_FALSE='#'
3362 CREATE_RULES_SYMLINK_TRUE='#'
3363 CREATE_RULES_SYMLINK_FALSE=
3367 if test "x$enable_compat_rules" = "xyes"; then
3368 USE_COMPAT_RULES_TRUE=
3369 USE_COMPAT_RULES_FALSE='#'
3371 USE_COMPAT_RULES_TRUE='#'
3372 USE_COMPAT_RULES_FALSE=
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
3381 $as_echo_n "checking whether NLS is requested... " >&6; }
3382 # Check whether --enable-nls was given.
3383 if test "${enable_nls+set}" = set; then :
3384 enableval=$enable_nls; USE_NLS=$enableval
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
3390 $as_echo "$USE_NLS" >&6; }
3393 DEPDIR="${am__leading_dot}deps"
3395 ac_config_commands="$ac_config_commands depfiles"
3398 am_make=${MAKE-make}
3399 cat > confinc << 'END'
3401 @echo this is the am__doit target
3404 # If we don't find an include directive, just comment out the code.
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3406 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3410 # First try GNU make style include.
3411 echo "include confinc" > confmf
3412 # Ignore all kinds of additional output from `make'.
3413 case `$am_make -s -f confmf 2> /dev/null` in #(
3414 *the\ am__doit\ target*)
3420 # Now try BSD make style include.
3421 if test "$am__include" = "#"; then
3422 echo '.include "confinc"' > confmf
3423 case `$am_make -s -f confmf 2> /dev/null` in #(
3424 *the\ am__doit\ target*)
3425 am__include=.include
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3434 $as_echo "$_am_result" >&6; }
3435 rm -f confinc confmf
3437 # Check whether --enable-dependency-tracking was given.
3438 if test "${enable_dependency_tracking+set}" = set; then :
3439 enableval=$enable_dependency_tracking;
3442 if test "x$enable_dependency_tracking" != xno; then
3443 am_depcomp="$ac_aux_dir/depcomp"
3446 if test "x$enable_dependency_tracking" != xno; then
3456 ac_cpp='$CPP $CPPFLAGS'
3457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3460 if test -n "$ac_tool_prefix"; then
3461 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3462 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3464 $as_echo_n "checking for $ac_word... " >&6; }
3465 if ${ac_cv_prog_CC+:} false; then :
3466 $as_echo_n "(cached) " >&6
3468 if test -n "$CC"; then
3469 ac_cv_prog_CC="$CC" # Let the user override the test.
3471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3475 test -z "$as_dir" && as_dir=.
3476 for ac_exec_ext in '' $ac_executable_extensions; do
3477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3478 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3489 if test -n "$CC"; then
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3491 $as_echo "$CC" >&6; }
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3494 $as_echo "no" >&6; }
3499 if test -z "$ac_cv_prog_CC"; then
3501 # Extract the first word of "gcc", so it can be a program name with args.
3502 set dummy gcc; ac_word=$2
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3504 $as_echo_n "checking for $ac_word... " >&6; }
3505 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3506 $as_echo_n "(cached) " >&6
3508 if test -n "$ac_ct_CC"; then
3509 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3515 test -z "$as_dir" && as_dir=.
3516 for ac_exec_ext in '' $ac_executable_extensions; do
3517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3518 ac_cv_prog_ac_ct_CC="gcc"
3519 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3528 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3529 if test -n "$ac_ct_CC"; then
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3531 $as_echo "$ac_ct_CC" >&6; }
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3534 $as_echo "no" >&6; }
3537 if test "x$ac_ct_CC" = x; then
3540 case $cross_compiling:$ac_tool_warned in
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3543 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3544 ac_tool_warned=yes ;;
3552 if test -z "$CC"; then
3553 if test -n "$ac_tool_prefix"; then
3554 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3555 set dummy ${ac_tool_prefix}cc; ac_word=$2
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3557 $as_echo_n "checking for $ac_word... " >&6; }
3558 if ${ac_cv_prog_CC+:} false; then :
3559 $as_echo_n "(cached) " >&6
3561 if test -n "$CC"; then
3562 ac_cv_prog_CC="$CC" # Let the user override the test.
3564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3568 test -z "$as_dir" && as_dir=.
3569 for ac_exec_ext in '' $ac_executable_extensions; do
3570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3571 ac_cv_prog_CC="${ac_tool_prefix}cc"
3572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3582 if test -n "$CC"; then
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3584 $as_echo "$CC" >&6; }
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3587 $as_echo "no" >&6; }
3593 if test -z "$CC"; then
3594 # Extract the first word of "cc", so it can be a program name with args.
3595 set dummy cc; ac_word=$2
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3597 $as_echo_n "checking for $ac_word... " >&6; }
3598 if ${ac_cv_prog_CC+:} false; then :
3599 $as_echo_n "(cached) " >&6
3601 if test -n "$CC"; then
3602 ac_cv_prog_CC="$CC" # Let the user override the test.
3605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3609 test -z "$as_dir" && as_dir=.
3610 for ac_exec_ext in '' $ac_executable_extensions; do
3611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3612 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3613 ac_prog_rejected=yes
3617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3624 if test $ac_prog_rejected = yes; then
3625 # We found a bogon in the path, so make sure we never use it.
3626 set dummy $ac_cv_prog_CC
3628 if test $# != 0; then
3629 # We chose a different compiler from the bogus one.
3630 # However, it has the same basename, so the bogon will be chosen
3631 # first if we set CC to just the basename; use the full file name.
3633 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3639 if test -n "$CC"; then
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3641 $as_echo "$CC" >&6; }
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3644 $as_echo "no" >&6; }
3649 if test -z "$CC"; then
3650 if test -n "$ac_tool_prefix"; then
3651 for ac_prog in cl.exe
3653 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3654 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3656 $as_echo_n "checking for $ac_word... " >&6; }
3657 if ${ac_cv_prog_CC+:} false; then :
3658 $as_echo_n "(cached) " >&6
3660 if test -n "$CC"; then
3661 ac_cv_prog_CC="$CC" # Let the user override the test.
3663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3667 test -z "$as_dir" && as_dir=.
3668 for ac_exec_ext in '' $ac_executable_extensions; do
3669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3670 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3681 if test -n "$CC"; then
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3683 $as_echo "$CC" >&6; }
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3686 $as_echo "no" >&6; }
3690 test -n "$CC" && break
3693 if test -z "$CC"; then
3695 for ac_prog in cl.exe
3697 # Extract the first word of "$ac_prog", so it can be a program name with args.
3698 set dummy $ac_prog; ac_word=$2
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3700 $as_echo_n "checking for $ac_word... " >&6; }
3701 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3702 $as_echo_n "(cached) " >&6
3704 if test -n "$ac_ct_CC"; then
3705 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3711 test -z "$as_dir" && as_dir=.
3712 for ac_exec_ext in '' $ac_executable_extensions; do
3713 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3714 ac_cv_prog_ac_ct_CC="$ac_prog"
3715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3724 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3725 if test -n "$ac_ct_CC"; then
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3727 $as_echo "$ac_ct_CC" >&6; }
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3730 $as_echo "no" >&6; }
3734 test -n "$ac_ct_CC" && break
3737 if test "x$ac_ct_CC" = x; then
3740 case $cross_compiling:$ac_tool_warned in
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3743 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3744 ac_tool_warned=yes ;;
3753 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3754 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3755 as_fn_error $? "no acceptable C compiler found in \$PATH
3756 See \`config.log' for more details" "$LINENO" 5; }
3758 # Provide some information about the compiler.
3759 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3762 for ac_option in --version -v -V -qversion; do
3763 { { ac_try="$ac_compiler $ac_option >&5"
3765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3766 *) ac_try_echo=$ac_try;;
3768 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3769 $as_echo "$ac_try_echo"; } >&5
3770 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3772 if test -s conftest.err; then
3774 ... rest of stderr output deleted ...
3775 10q' conftest.err >conftest.er1
3776 cat conftest.er1 >&5
3778 rm -f conftest.er1 conftest.err
3779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3780 test $ac_status = 0; }
3783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3784 /* end confdefs.h. */
3794 ac_clean_files_save=$ac_clean_files
3795 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3796 # Try to create an executable without -o first, disregard a.out.
3797 # It will help us diagnose broken compilers, and finding out an intuition
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3800 $as_echo_n "checking whether the C compiler works... " >&6; }
3801 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3803 # The possible output files:
3804 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3807 for ac_file in $ac_files
3810 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3811 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3816 if { { ac_try="$ac_link_default"
3818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3819 *) ac_try_echo=$ac_try;;
3821 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3822 $as_echo "$ac_try_echo"; } >&5
3823 (eval "$ac_link_default") 2>&5
3825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3826 test $ac_status = 0; }; then :
3827 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3828 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3829 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3830 # so that the user can short-circuit this test for compilers unknown to
3832 for ac_file in $ac_files ''
3834 test -f "$ac_file" || continue
3836 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3839 # We found the default executable, but exeext='' is most
3843 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3845 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3847 # We set ac_cv_exeext here because the later test for it is not
3848 # safe: cross compilers may not add the suffix if given an `-o'
3849 # argument, so we may need to know it at that point already.
3850 # Even if this section looks crufty: it has the advantage of
3857 test "$ac_cv_exeext" = no && ac_cv_exeext=
3862 if test -z "$ac_file"; then :
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3864 $as_echo "no" >&6; }
3865 $as_echo "$as_me: failed program was:" >&5
3866 sed 's/^/| /' conftest.$ac_ext >&5
3868 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3869 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3870 as_fn_error 77 "C compiler cannot create executables
3871 See \`config.log' for more details" "$LINENO" 5; }
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3874 $as_echo "yes" >&6; }
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3877 $as_echo_n "checking for C compiler default output file name... " >&6; }
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3879 $as_echo "$ac_file" >&6; }
3880 ac_exeext=$ac_cv_exeext
3882 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3883 ac_clean_files=$ac_clean_files_save
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3885 $as_echo_n "checking for suffix of executables... " >&6; }
3886 if { { ac_try="$ac_link"
3888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3889 *) ac_try_echo=$ac_try;;
3891 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3892 $as_echo "$ac_try_echo"; } >&5
3893 (eval "$ac_link") 2>&5
3895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3896 test $ac_status = 0; }; then :
3897 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3898 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3899 # work properly (i.e., refer to `conftest.exe'), while it won't with
3901 for ac_file in conftest.exe conftest conftest.*; do
3902 test -f "$ac_file" || continue
3904 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3905 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3911 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3912 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3913 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3914 See \`config.log' for more details" "$LINENO" 5; }
3916 rm -f conftest conftest$ac_cv_exeext
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3918 $as_echo "$ac_cv_exeext" >&6; }
3920 rm -f conftest.$ac_ext
3921 EXEEXT=$ac_cv_exeext
3923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3924 /* end confdefs.h. */
3929 FILE *f = fopen ("conftest.out", "w");
3930 return ferror (f) || fclose (f) != 0;
3936 ac_clean_files="$ac_clean_files conftest.out"
3937 # Check that the compiler produces executables we can run. If not, either
3938 # the compiler is broken, or we cross compile.
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3940 $as_echo_n "checking whether we are cross compiling... " >&6; }
3941 if test "$cross_compiling" != yes; then
3942 { { ac_try="$ac_link"
3944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3945 *) ac_try_echo=$ac_try;;
3947 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3948 $as_echo "$ac_try_echo"; } >&5
3949 (eval "$ac_link") 2>&5
3951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3952 test $ac_status = 0; }
3953 if { ac_try='./conftest$ac_cv_exeext'
3954 { { case "(($ac_try" in
3955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3956 *) ac_try_echo=$ac_try;;
3958 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3959 $as_echo "$ac_try_echo"; } >&5
3960 (eval "$ac_try") 2>&5
3962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3963 test $ac_status = 0; }; }; then
3966 if test "$cross_compiling" = maybe; then
3969 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3970 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3971 as_fn_error $? "cannot run C compiled programs.
3972 If you meant to cross compile, use \`--host'.
3973 See \`config.log' for more details" "$LINENO" 5; }
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3978 $as_echo "$cross_compiling" >&6; }
3980 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3981 ac_clean_files=$ac_clean_files_save
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3983 $as_echo_n "checking for suffix of object files... " >&6; }
3984 if ${ac_cv_objext+:} false; then :
3985 $as_echo_n "(cached) " >&6
3987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3988 /* end confdefs.h. */
3998 rm -f conftest.o conftest.obj
3999 if { { ac_try="$ac_compile"
4001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4002 *) ac_try_echo=$ac_try;;
4004 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4005 $as_echo "$ac_try_echo"; } >&5
4006 (eval "$ac_compile") 2>&5
4008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4009 test $ac_status = 0; }; then :
4010 for ac_file in conftest.o conftest.obj conftest.*; do
4011 test -f "$ac_file" || continue;
4013 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4014 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4019 $as_echo "$as_me: failed program was:" >&5
4020 sed 's/^/| /' conftest.$ac_ext >&5
4022 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4023 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4024 as_fn_error $? "cannot compute suffix of object files: cannot compile
4025 See \`config.log' for more details" "$LINENO" 5; }
4027 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4030 $as_echo "$ac_cv_objext" >&6; }
4031 OBJEXT=$ac_cv_objext
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4034 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4035 if ${ac_cv_c_compiler_gnu+:} false; then :
4036 $as_echo_n "(cached) " >&6
4038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4039 /* end confdefs.h. */
4052 if ac_fn_c_try_compile "$LINENO"; then :
4057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4058 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4062 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4063 if test $ac_compiler_gnu = yes; then
4068 ac_test_CFLAGS=${CFLAGS+set}
4069 ac_save_CFLAGS=$CFLAGS
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4071 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4072 if ${ac_cv_prog_cc_g+:} false; then :
4073 $as_echo_n "(cached) " >&6
4075 ac_save_c_werror_flag=$ac_c_werror_flag
4076 ac_c_werror_flag=yes
4079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4080 /* end confdefs.h. */
4090 if ac_fn_c_try_compile "$LINENO"; then :
4094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4095 /* end confdefs.h. */
4105 if ac_fn_c_try_compile "$LINENO"; then :
4108 ac_c_werror_flag=$ac_save_c_werror_flag
4110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4111 /* end confdefs.h. */
4121 if ac_fn_c_try_compile "$LINENO"; then :
4124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4129 ac_c_werror_flag=$ac_save_c_werror_flag
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4132 $as_echo "$ac_cv_prog_cc_g" >&6; }
4133 if test "$ac_test_CFLAGS" = set; then
4134 CFLAGS=$ac_save_CFLAGS
4135 elif test $ac_cv_prog_cc_g = yes; then
4136 if test "$GCC" = yes; then
4142 if test "$GCC" = yes; then
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4149 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4150 if ${ac_cv_prog_cc_c89+:} false; then :
4151 $as_echo_n "(cached) " >&6
4153 ac_cv_prog_cc_c89=no
4155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4156 /* end confdefs.h. */
4159 #include <sys/types.h>
4160 #include <sys/stat.h>
4161 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4162 struct buf { int x; };
4163 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4164 static char *e (p, i)
4170 static char *f (char * (*g) (char **, int), char **p, ...)
4175 s = g (p, va_arg (v,int));
4180 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4181 function prototypes and stuff, but not '\xHH' hex character constants.
4182 These don't provoke an error unfortunately, instead are silently treated
4183 as 'x'. The following induces an error, until -std is added to get
4184 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4185 array size at least. It's necessary to write '\x00'==0 to get something
4186 that's true only with -std. */
4187 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4189 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4190 inside strings and character constants. */
4192 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4194 int test (int i, double x);
4195 struct s1 {int (*f) (int a);};
4196 struct s2 {int (*f) (double a);};
4197 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4203 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4208 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4209 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4211 CC="$ac_save_CC $ac_arg"
4212 if ac_fn_c_try_compile "$LINENO"; then :
4213 ac_cv_prog_cc_c89=$ac_arg
4215 rm -f core conftest.err conftest.$ac_objext
4216 test "x$ac_cv_prog_cc_c89" != "xno" && break
4218 rm -f conftest.$ac_ext
4223 case "x$ac_cv_prog_cc_c89" in
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4226 $as_echo "none needed" >&6; } ;;
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4229 $as_echo "unsupported" >&6; } ;;
4231 CC="$CC $ac_cv_prog_cc_c89"
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4233 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4235 if test "x$ac_cv_prog_cc_c89" != xno; then :
4240 ac_cpp='$CPP $CPPFLAGS'
4241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4245 depcc="$CC" am_compiler_list=
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4248 $as_echo_n "checking dependency style of $depcc... " >&6; }
4249 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4250 $as_echo_n "(cached) " >&6
4252 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4253 # We make a subdir and do the tests there. Otherwise we can end up
4254 # making bogus files that we don't know about and never remove. For
4255 # instance it was reported that on HP-UX the gcc test will end up
4256 # making a dummy file named `D' -- because `-MD' means `put the output
4259 # Copy depcomp to subdir because otherwise we won't find it if we're
4260 # using a relative directory.
4261 cp "$am_depcomp" conftest.dir
4263 # We will build objects and dependencies in a subdirectory because
4264 # it helps to detect inapplicable dependency modes. For instance
4265 # both Tru64's cc and ICC support -MD to output dependencies as a
4266 # side effect of compilation, but ICC will put the dependencies in
4267 # the current directory while Tru64 will put them in the object
4271 am_cv_CC_dependencies_compiler_type=none
4272 if test "$am_compiler_list" = ""; then
4273 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4276 case " $depcc " in #(
4277 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4280 for depmode in $am_compiler_list; do
4281 # Setup a source with many dependencies, because some compilers
4282 # like to wrap large dependency lists on column 80 (with \), and
4283 # we should not choose a depcomp mode which is confused by this.
4285 # We need to recreate these files for each test, as the compiler may
4286 # overwrite some of them when testing with obscure command lines.
4287 # This happens at least with the AIX C compiler.
4289 for i in 1 2 3 4 5 6; do
4290 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4291 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4292 # Solaris 8's {/usr,}/bin/sh.
4293 touch sub/conftst$i.h
4295 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4297 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4298 # mode. It turns out that the SunPro C++ compiler does not properly
4299 # handle `-M -o', and we need to detect this. Also, some Intel
4300 # versions had trouble with output in subdirs
4301 am__obj=sub/conftest.${OBJEXT-o}
4302 am__minus_obj="-o $am__obj"
4305 # This depmode causes a compiler race in universal mode.
4306 test "$am__universal" = false || continue
4309 # after this tag, mechanisms are not by side-effect, so they'll
4310 # only be used when explicitly requested
4311 if test "x$enable_dependency_tracking" = xyes; then
4317 msvisualcpp | msvcmsys)
4318 # This compiler won't grok `-c -o', but also, the minuso test has
4319 # not run yet. These depmodes are late enough in the game, and
4320 # so weak that their functioning should not be impacted.
4321 am__obj=conftest.${OBJEXT-o}
4326 if depmode=$depmode \
4327 source=sub/conftest.c object=$am__obj \
4328 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4329 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4330 >/dev/null 2>conftest.err &&
4331 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4332 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4333 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4334 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4335 # icc doesn't choke on unknown options, it will just issue warnings
4336 # or remarks (even with -Werror). So we grep stderr for any message
4337 # that says an option was ignored or not supported.
4338 # When given -MP, icc 7.0 and 7.1 complain thusly:
4339 # icc: Command line warning: ignoring option '-M'; no argument required
4340 # The diagnosis changed in icc 8.0:
4341 # icc: Command line remark: option '-MP' not supported
4342 if (grep 'ignoring option' conftest.err ||
4343 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4344 am_cv_CC_dependencies_compiler_type=$depmode
4353 am_cv_CC_dependencies_compiler_type=none
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4358 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4359 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4362 test "x$enable_dependency_tracking" != xno \
4363 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4365 am__fastdepCC_FALSE='#'
4367 am__fastdepCC_TRUE='#'
4368 am__fastdepCC_FALSE=
4375 case "$am__api_version" in
4377 as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
4383 if test -n "0.30"; then
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.30" >&5
4385 $as_echo_n "checking for intltool >= 0.30... " >&6; }
4387 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.30 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
4388 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
4389 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
4392 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
4393 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
4394 as_fn_error $? "Your intltool is too old. You need intltool 0.30 or later." "$LINENO" 5
4397 # Extract the first word of "intltool-update", so it can be a program name with args.
4398 set dummy intltool-update; ac_word=$2
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4400 $as_echo_n "checking for $ac_word... " >&6; }
4401 if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
4402 $as_echo_n "(cached) " >&6
4404 case $INTLTOOL_UPDATE in
4406 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
4409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4413 test -z "$as_dir" && as_dir=.
4414 for ac_exec_ext in '' $ac_executable_extensions; do
4415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4416 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
4417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4427 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
4428 if test -n "$INTLTOOL_UPDATE"; then
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
4430 $as_echo "$INTLTOOL_UPDATE" >&6; }
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4433 $as_echo "no" >&6; }
4437 # Extract the first word of "intltool-merge", so it can be a program name with args.
4438 set dummy intltool-merge; ac_word=$2
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4440 $as_echo_n "checking for $ac_word... " >&6; }
4441 if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
4442 $as_echo_n "(cached) " >&6
4444 case $INTLTOOL_MERGE in
4446 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
4449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4453 test -z "$as_dir" && as_dir=.
4454 for ac_exec_ext in '' $ac_executable_extensions; do
4455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4456 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
4457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4467 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
4468 if test -n "$INTLTOOL_MERGE"; then
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
4470 $as_echo "$INTLTOOL_MERGE" >&6; }
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4473 $as_echo "no" >&6; }
4477 # Extract the first word of "intltool-extract", so it can be a program name with args.
4478 set dummy intltool-extract; ac_word=$2
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4480 $as_echo_n "checking for $ac_word... " >&6; }
4481 if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
4482 $as_echo_n "(cached) " >&6
4484 case $INTLTOOL_EXTRACT in
4486 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
4489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4493 test -z "$as_dir" && as_dir=.
4494 for ac_exec_ext in '' $ac_executable_extensions; do
4495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4496 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
4497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4507 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
4508 if test -n "$INTLTOOL_EXTRACT"; then
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
4510 $as_echo "$INTLTOOL_EXTRACT" >&6; }
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4513 $as_echo "no" >&6; }
4517 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
4518 as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
4521 INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4522 INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4523 INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4524 INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4525 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
4526 INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4527 INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4528 INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4529 INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4530 INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4531 INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4532 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
4533 INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4534 INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4535 INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4536 INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4537 INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4538 INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4539 INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4637 # Check the gettext tools to make sure they are GNU
4638 # Extract the first word of "xgettext", so it can be a program name with args.
4639 set dummy xgettext; ac_word=$2
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4641 $as_echo_n "checking for $ac_word... " >&6; }
4642 if ${ac_cv_path_XGETTEXT+:} false; then :
4643 $as_echo_n "(cached) " >&6
4647 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4654 test -z "$as_dir" && as_dir=.
4655 for ac_exec_ext in '' $ac_executable_extensions; do
4656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4657 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
4658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4668 XGETTEXT=$ac_cv_path_XGETTEXT
4669 if test -n "$XGETTEXT"; then
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4671 $as_echo "$XGETTEXT" >&6; }
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4674 $as_echo "no" >&6; }
4678 # Extract the first word of "msgmerge", so it can be a program name with args.
4679 set dummy msgmerge; ac_word=$2
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4681 $as_echo_n "checking for $ac_word... " >&6; }
4682 if ${ac_cv_path_MSGMERGE+:} false; then :
4683 $as_echo_n "(cached) " >&6
4687 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4694 test -z "$as_dir" && as_dir=.
4695 for ac_exec_ext in '' $ac_executable_extensions; do
4696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4697 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
4698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4708 MSGMERGE=$ac_cv_path_MSGMERGE
4709 if test -n "$MSGMERGE"; then
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4711 $as_echo "$MSGMERGE" >&6; }
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4714 $as_echo "no" >&6; }
4718 # Extract the first word of "msgfmt", so it can be a program name with args.
4719 set dummy msgfmt; ac_word=$2
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4721 $as_echo_n "checking for $ac_word... " >&6; }
4722 if ${ac_cv_path_MSGFMT+:} false; then :
4723 $as_echo_n "(cached) " >&6
4727 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4734 test -z "$as_dir" && as_dir=.
4735 for ac_exec_ext in '' $ac_executable_extensions; do
4736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4737 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
4738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4748 MSGFMT=$ac_cv_path_MSGFMT
4749 if test -n "$MSGFMT"; then
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4751 $as_echo "$MSGFMT" >&6; }
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4754 $as_echo "no" >&6; }
4758 # Extract the first word of "gmsgfmt", so it can be a program name with args.
4759 set dummy gmsgfmt; ac_word=$2
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4761 $as_echo_n "checking for $ac_word... " >&6; }
4762 if ${ac_cv_path_GMSGFMT+:} false; then :
4763 $as_echo_n "(cached) " >&6
4767 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4774 test -z "$as_dir" && as_dir=.
4775 for ac_exec_ext in '' $ac_executable_extensions; do
4776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4777 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4785 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4789 GMSGFMT=$ac_cv_path_GMSGFMT
4790 if test -n "$GMSGFMT"; then
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4792 $as_echo "$GMSGFMT" >&6; }
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4795 $as_echo "no" >&6; }
4799 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
4800 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
4802 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
4803 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
4804 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
4805 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
4806 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
4809 # Extract the first word of "perl", so it can be a program name with args.
4810 set dummy perl; ac_word=$2
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4812 $as_echo_n "checking for $ac_word... " >&6; }
4813 if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
4814 $as_echo_n "(cached) " >&6
4816 case $INTLTOOL_PERL in
4818 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
4821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4825 test -z "$as_dir" && as_dir=.
4826 for ac_exec_ext in '' $ac_executable_extensions; do
4827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4828 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
4829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4839 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
4840 if test -n "$INTLTOOL_PERL"; then
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
4842 $as_echo "$INTLTOOL_PERL" >&6; }
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4845 $as_echo "no" >&6; }
4849 if test -z "$INTLTOOL_PERL"; then
4850 as_fn_error $? "perl not found" "$LINENO" 5
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
4853 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
4854 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
4855 if test $? -ne 0; then
4856 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
4858 IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
4860 $as_echo "$IT_PERL_VERSION" >&6; }
4862 if test "x" != "xno-xml"; then
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
4864 $as_echo_n "checking for XML::Parser... " >&6; }
4865 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
4867 $as_echo "ok" >&6; }
4869 as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
4873 # Substitute ALL_LINGUAS so we can use it in po/Makefile
4876 # Set DATADIRNAME correctly if it is not set yet
4877 # (copied from glib-gettext.m4)
4878 if test -z "$DATADIRNAME"; then
4879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4880 /* end confdefs.h. */
4885 extern int _nl_msg_cat_cntr;
4886 return _nl_msg_cat_cntr
4891 if ac_fn_c_try_link "$LINENO"; then :
4896 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
4897 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
4909 rm -f core conftest.err conftest.$ac_objext \
4910 conftest$ac_exeext conftest.$ac_ext
4921 GETTEXT_MACRO_VERSION=0.18
4926 # Prepare PATH_SEPARATOR.
4927 # The user is always right.
4928 if test "${PATH_SEPARATOR+set}" != set; then
4929 echo "#! /bin/sh" >conf$$.sh
4930 echo "exit 0" >>conf$$.sh
4932 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4940 # Find out how to test for executable files. Don't use a zero-byte file,
4941 # as systems may use methods other than mode bits to determine executability.
4942 cat >conf$$.file <<_ASEOF
4946 chmod +x conf$$.file
4947 if test -x conf$$.file >/dev/null 2>&1; then
4948 ac_executable_p="test -x"
4950 ac_executable_p="test -f"
4954 # Extract the first word of "msgfmt", so it can be a program name with args.
4955 set dummy msgfmt; ac_word=$2
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4957 $as_echo_n "checking for $ac_word... " >&6; }
4958 if ${ac_cv_path_MSGFMT+:} false; then :
4959 $as_echo_n "(cached) " >&6
4963 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4966 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4967 for ac_dir in $PATH; do
4969 test -z "$ac_dir" && ac_dir=.
4970 for ac_exec_ext in '' $ac_executable_extensions; do
4971 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4972 echo "$as_me: trying $ac_dir/$ac_word..." >&5
4973 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
4974 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4975 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
4982 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
4986 MSGFMT="$ac_cv_path_MSGFMT"
4987 if test "$MSGFMT" != ":"; then
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4989 $as_echo "$MSGFMT" >&6; }
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4992 $as_echo "no" >&6; }
4995 # Extract the first word of "gmsgfmt", so it can be a program name with args.
4996 set dummy gmsgfmt; ac_word=$2
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4998 $as_echo_n "checking for $ac_word... " >&6; }
4999 if ${ac_cv_path_GMSGFMT+:} false; then :
5000 $as_echo_n "(cached) " >&6
5004 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
5007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5011 test -z "$as_dir" && as_dir=.
5012 for ac_exec_ext in '' $ac_executable_extensions; do
5013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5014 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5022 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5026 GMSGFMT=$ac_cv_path_GMSGFMT
5027 if test -n "$GMSGFMT"; then
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5029 $as_echo "$GMSGFMT" >&6; }
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5032 $as_echo "no" >&6; }
5037 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
5038 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
5039 *) MSGFMT_015=$MSGFMT ;;
5042 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
5043 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
5044 *) GMSGFMT_015=$GMSGFMT ;;
5049 # Prepare PATH_SEPARATOR.
5050 # The user is always right.
5051 if test "${PATH_SEPARATOR+set}" != set; then
5052 echo "#! /bin/sh" >conf$$.sh
5053 echo "exit 0" >>conf$$.sh
5055 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5063 # Find out how to test for executable files. Don't use a zero-byte file,
5064 # as systems may use methods other than mode bits to determine executability.
5065 cat >conf$$.file <<_ASEOF
5069 chmod +x conf$$.file
5070 if test -x conf$$.file >/dev/null 2>&1; then
5071 ac_executable_p="test -x"
5073 ac_executable_p="test -f"
5077 # Extract the first word of "xgettext", so it can be a program name with args.
5078 set dummy xgettext; ac_word=$2
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5080 $as_echo_n "checking for $ac_word... " >&6; }
5081 if ${ac_cv_path_XGETTEXT+:} false; then :
5082 $as_echo_n "(cached) " >&6
5086 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5089 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5090 for ac_dir in $PATH; do
5092 test -z "$ac_dir" && ac_dir=.
5093 for ac_exec_ext in '' $ac_executable_extensions; do
5094 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5095 echo "$as_me: trying $ac_dir/$ac_word..." >&5
5096 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
5097 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
5098 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
5105 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
5109 XGETTEXT="$ac_cv_path_XGETTEXT"
5110 if test "$XGETTEXT" != ":"; then
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5112 $as_echo "$XGETTEXT" >&6; }
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5115 $as_echo "no" >&6; }
5120 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
5121 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
5122 *) XGETTEXT_015=$XGETTEXT ;;
5127 # Prepare PATH_SEPARATOR.
5128 # The user is always right.
5129 if test "${PATH_SEPARATOR+set}" != set; then
5130 echo "#! /bin/sh" >conf$$.sh
5131 echo "exit 0" >>conf$$.sh
5133 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5141 # Find out how to test for executable files. Don't use a zero-byte file,
5142 # as systems may use methods other than mode bits to determine executability.
5143 cat >conf$$.file <<_ASEOF
5147 chmod +x conf$$.file
5148 if test -x conf$$.file >/dev/null 2>&1; then
5149 ac_executable_p="test -x"
5151 ac_executable_p="test -f"
5155 # Extract the first word of "msgmerge", so it can be a program name with args.
5156 set dummy msgmerge; ac_word=$2
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5158 $as_echo_n "checking for $ac_word... " >&6; }
5159 if ${ac_cv_path_MSGMERGE+:} false; then :
5160 $as_echo_n "(cached) " >&6
5164 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
5167 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5168 for ac_dir in $PATH; do
5170 test -z "$ac_dir" && ac_dir=.
5171 for ac_exec_ext in '' $ac_executable_extensions; do
5172 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5173 echo "$as_me: trying $ac_dir/$ac_word..." >&5
5174 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
5175 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
5182 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
5186 MSGMERGE="$ac_cv_path_MSGMERGE"
5187 if test "$MSGMERGE" != ":"; then
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
5189 $as_echo "$MSGMERGE" >&6; }
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5192 $as_echo "no" >&6; }
5196 test -n "$localedir" || localedir='${datadir}/locale'
5199 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
5202 ac_config_commands="$ac_config_commands po-directories"
5206 if test "X$prefix" = "XNONE"; then
5207 acl_final_prefix="$ac_default_prefix"
5209 acl_final_prefix="$prefix"
5211 if test "X$exec_prefix" = "XNONE"; then
5212 acl_final_exec_prefix='${prefix}'
5214 acl_final_exec_prefix="$exec_prefix"
5216 acl_save_prefix="$prefix"
5217 prefix="$acl_final_prefix"
5218 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
5219 prefix="$acl_save_prefix"
5222 # Check whether --with-gnu-ld was given.
5223 if test "${with_gnu_ld+set}" = set; then :
5224 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5229 # Prepare PATH_SEPARATOR.
5230 # The user is always right.
5231 if test "${PATH_SEPARATOR+set}" != set; then
5232 echo "#! /bin/sh" >conf$$.sh
5233 echo "exit 0" >>conf$$.sh
5235 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5243 if test "$GCC" = yes; then
5244 # Check if gcc -print-prog-name=ld gives a path.
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
5246 $as_echo_n "checking for ld used by GCC... " >&6; }
5249 # gcc leaves a trailing carriage return which upsets mingw
5250 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5252 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5255 # Accept absolute paths.
5256 [\\/]* | [A-Za-z]:[\\/]*)
5257 re_direlt='/[^/][^/]*/\.\./'
5258 # Canonicalize the path of ld
5259 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
5260 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
5261 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
5263 test -z "$LD" && LD="$ac_prog"
5266 # If it fails, then pretend we aren't using GCC.
5270 # If it is relative, then search for the first ld in PATH.
5274 elif test "$with_gnu_ld" = yes; then
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5276 $as_echo_n "checking for GNU ld... " >&6; }
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5279 $as_echo_n "checking for non-GNU ld... " >&6; }
5281 if ${acl_cv_path_LD+:} false; then :
5282 $as_echo_n "(cached) " >&6
5284 if test -z "$LD"; then
5285 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5286 for ac_dir in $PATH; do
5287 test -z "$ac_dir" && ac_dir=.
5288 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5289 acl_cv_path_LD="$ac_dir/$ac_prog"
5290 # Check to see if the program is GNU ld. I'd rather use --version,
5291 # but apparently some GNU ld's only accept -v.
5292 # Break only if it was the GNU/non-GNU ld that we prefer.
5293 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
5294 *GNU* | *'with BFD'*)
5295 test "$with_gnu_ld" != no && break ;;
5297 test "$with_gnu_ld" != yes && break ;;
5303 acl_cv_path_LD="$LD" # Let the user override the test with a path.
5307 LD="$acl_cv_path_LD"
5308 if test -n "$LD"; then
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5310 $as_echo "$LD" >&6; }
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5313 $as_echo "no" >&6; }
5315 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5317 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5318 if ${acl_cv_prog_gnu_ld+:} false; then :
5319 $as_echo_n "(cached) " >&6
5321 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5322 case `$LD -v 2>&1 </dev/null` in
5323 *GNU* | *'with BFD'*)
5324 acl_cv_prog_gnu_ld=yes ;;
5326 acl_cv_prog_gnu_ld=no ;;
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
5330 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
5331 with_gnu_ld=$acl_cv_prog_gnu_ld
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
5337 $as_echo_n "checking for shared library run path origin... " >&6; }
5338 if ${acl_cv_rpath+:} false; then :
5339 $as_echo_n "(cached) " >&6
5342 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
5343 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
5350 $as_echo "$acl_cv_rpath" >&6; }
5352 acl_libext="$acl_cv_libext"
5353 acl_shlibext="$acl_cv_shlibext"
5354 acl_libname_spec="$acl_cv_libname_spec"
5355 acl_library_names_spec="$acl_cv_library_names_spec"
5356 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
5357 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
5358 acl_hardcode_direct="$acl_cv_hardcode_direct"
5359 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
5360 # Check whether --enable-rpath was given.
5361 if test "${enable_rpath+set}" = set; then :
5362 enableval=$enable_rpath; :
5369 ac_cpp='$CPP $CPPFLAGS'
5370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5374 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5375 # On Suns, sometimes $CPP names a directory.
5376 if test -n "$CPP" && test -d "$CPP"; then
5379 if test -z "$CPP"; then
5380 if ${ac_cv_prog_CPP+:} false; then :
5381 $as_echo_n "(cached) " >&6
5383 # Double quotes because CPP needs to be expanded
5384 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5387 for ac_c_preproc_warn_flag in '' yes
5389 # Use a header file that comes with gcc, so configuring glibc
5390 # with a fresh cross-compiler works.
5391 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5392 # <limits.h> exists even on freestanding compilers.
5393 # On the NeXT, cc -E runs the code through the compiler's parser,
5394 # not just through cpp. "Syntax error" is here to catch this case.
5395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5396 /* end confdefs.h. */
5398 # include <limits.h>
5400 # include <assert.h>
5404 if ac_fn_c_try_cpp "$LINENO"; then :
5407 # Broken: fails on valid input.
5410 rm -f conftest.err conftest.i conftest.$ac_ext
5412 # OK, works on sane cases. Now check whether nonexistent headers
5413 # can be detected and how.
5414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5415 /* end confdefs.h. */
5416 #include <ac_nonexistent.h>
5418 if ac_fn_c_try_cpp "$LINENO"; then :
5419 # Broken: success on invalid input.
5422 # Passes both tests.
5426 rm -f conftest.err conftest.i conftest.$ac_ext
5429 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5430 rm -f conftest.i conftest.err conftest.$ac_ext
5431 if $ac_preproc_ok; then :
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5444 $as_echo "$CPP" >&6; }
5446 for ac_c_preproc_warn_flag in '' yes
5448 # Use a header file that comes with gcc, so configuring glibc
5449 # with a fresh cross-compiler works.
5450 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5451 # <limits.h> exists even on freestanding compilers.
5452 # On the NeXT, cc -E runs the code through the compiler's parser,
5453 # not just through cpp. "Syntax error" is here to catch this case.
5454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5455 /* end confdefs.h. */
5457 # include <limits.h>
5459 # include <assert.h>
5463 if ac_fn_c_try_cpp "$LINENO"; then :
5466 # Broken: fails on valid input.
5469 rm -f conftest.err conftest.i conftest.$ac_ext
5471 # OK, works on sane cases. Now check whether nonexistent headers
5472 # can be detected and how.
5473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5474 /* end confdefs.h. */
5475 #include <ac_nonexistent.h>
5477 if ac_fn_c_try_cpp "$LINENO"; then :
5478 # Broken: success on invalid input.
5481 # Passes both tests.
5485 rm -f conftest.err conftest.i conftest.$ac_ext
5488 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5489 rm -f conftest.i conftest.err conftest.$ac_ext
5490 if $ac_preproc_ok; then :
5493 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5494 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5495 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5496 See \`config.log' for more details" "$LINENO" 5; }
5500 ac_cpp='$CPP $CPPFLAGS'
5501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5507 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5508 if ${ac_cv_path_GREP+:} false; then :
5509 $as_echo_n "(cached) " >&6
5511 if test -z "$GREP"; then
5512 ac_path_GREP_found=false
5513 # Loop through the user's path and test for each of PROGNAME-LIST
5514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5515 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5518 test -z "$as_dir" && as_dir=.
5519 for ac_prog in grep ggrep; do
5520 for ac_exec_ext in '' $ac_executable_extensions; do
5521 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5522 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5523 # Check for GNU ac_path_GREP and select it if it is found.
5524 # Check for GNU $ac_path_GREP
5525 case `"$ac_path_GREP" --version 2>&1` in
5527 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5530 $as_echo_n 0123456789 >"conftest.in"
5533 cat "conftest.in" "conftest.in" >"conftest.tmp"
5534 mv "conftest.tmp" "conftest.in"
5535 cp "conftest.in" "conftest.nl"
5536 $as_echo 'GREP' >> "conftest.nl"
5537 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5538 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5539 as_fn_arith $ac_count + 1 && ac_count=$as_val
5540 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5541 # Best one so far, save it but keep looking for a better one
5542 ac_cv_path_GREP="$ac_path_GREP"
5543 ac_path_GREP_max=$ac_count
5545 # 10*(2^10) chars as input seems more than enough
5546 test $ac_count -gt 10 && break
5548 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5551 $ac_path_GREP_found && break 3
5556 if test -z "$ac_cv_path_GREP"; then
5557 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5560 ac_cv_path_GREP=$GREP
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5565 $as_echo "$ac_cv_path_GREP" >&6; }
5566 GREP="$ac_cv_path_GREP"
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5570 $as_echo_n "checking for egrep... " >&6; }
5571 if ${ac_cv_path_EGREP+:} false; then :
5572 $as_echo_n "(cached) " >&6
5574 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5575 then ac_cv_path_EGREP="$GREP -E"
5577 if test -z "$EGREP"; then
5578 ac_path_EGREP_found=false
5579 # Loop through the user's path and test for each of PROGNAME-LIST
5580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5581 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5584 test -z "$as_dir" && as_dir=.
5585 for ac_prog in egrep; do
5586 for ac_exec_ext in '' $ac_executable_extensions; do
5587 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5588 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5589 # Check for GNU ac_path_EGREP and select it if it is found.
5590 # Check for GNU $ac_path_EGREP
5591 case `"$ac_path_EGREP" --version 2>&1` in
5593 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5596 $as_echo_n 0123456789 >"conftest.in"
5599 cat "conftest.in" "conftest.in" >"conftest.tmp"
5600 mv "conftest.tmp" "conftest.in"
5601 cp "conftest.in" "conftest.nl"
5602 $as_echo 'EGREP' >> "conftest.nl"
5603 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5604 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5605 as_fn_arith $ac_count + 1 && ac_count=$as_val
5606 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5607 # Best one so far, save it but keep looking for a better one
5608 ac_cv_path_EGREP="$ac_path_EGREP"
5609 ac_path_EGREP_max=$ac_count
5611 # 10*(2^10) chars as input seems more than enough
5612 test $ac_count -gt 10 && break
5614 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5617 $ac_path_EGREP_found && break 3
5622 if test -z "$ac_cv_path_EGREP"; then
5623 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5626 ac_cv_path_EGREP=$EGREP
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5632 $as_echo "$ac_cv_path_EGREP" >&6; }
5633 EGREP="$ac_cv_path_EGREP"
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
5643 $as_echo_n "checking for 64-bit host... " >&6; }
5644 if ${gl_cv_solaris_64bit+:} false; then :
5645 $as_echo_n "(cached) " >&6
5647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5648 /* end confdefs.h. */
5655 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5656 $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
5657 gl_cv_solaris_64bit=yes
5659 gl_cv_solaris_64bit=no
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
5666 $as_echo "$gl_cv_solaris_64bit" >&6; }
5667 if test $gl_cv_solaris_64bit = yes; then
5668 acl_libdirstem=lib/64
5670 sparc*) acl_libdirstem2=lib/sparcv9 ;;
5671 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
5676 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
5677 if test -n "$searchpath"; then
5678 acl_save_IFS="${IFS= }"; IFS=":"
5679 for searchdir in $searchpath; do
5680 if test -d "$searchdir"; then
5681 case "$searchdir" in
5682 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
5684 # Better ignore directories of this form. They are misleading.
5686 *) searchdir=`cd "$searchdir" && pwd`
5687 case "$searchdir" in
5688 */lib64 ) acl_libdirstem=lib64 ;;
5697 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
5712 acl_save_prefix="$prefix"
5713 prefix="$acl_final_prefix"
5714 acl_save_exec_prefix="$exec_prefix"
5715 exec_prefix="$acl_final_exec_prefix"
5717 eval additional_includedir=\"$includedir\"
5718 eval additional_libdir=\"$libdir\"
5720 exec_prefix="$acl_save_exec_prefix"
5721 prefix="$acl_save_prefix"
5724 # Check whether --with-libiconv-prefix was given.
5725 if test "${with_libiconv_prefix+set}" = set; then :
5726 withval=$with_libiconv_prefix;
5727 if test "X$withval" = "Xno"; then
5730 if test "X$withval" = "X"; then
5732 acl_save_prefix="$prefix"
5733 prefix="$acl_final_prefix"
5734 acl_save_exec_prefix="$exec_prefix"
5735 exec_prefix="$acl_final_exec_prefix"
5737 eval additional_includedir=\"$includedir\"
5738 eval additional_libdir=\"$libdir\"
5740 exec_prefix="$acl_save_exec_prefix"
5741 prefix="$acl_save_prefix"
5744 additional_includedir="$withval/include"
5745 additional_libdir="$withval/$acl_libdirstem"
5746 if test "$acl_libdirstem2" != "$acl_libdirstem" \
5747 && ! test -d "$withval/$acl_libdirstem"; then
5748 additional_libdir="$withval/$acl_libdirstem2"
5762 names_already_handled=
5763 names_next_round='iconv '
5764 while test -n "$names_next_round"; do
5765 names_this_round="$names_next_round"
5767 for name in $names_this_round; do
5769 for n in $names_already_handled; do
5770 if test "$n" = "$name"; then
5775 if test -z "$already_handled"; then
5776 names_already_handled="$names_already_handled $name"
5777 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
5778 eval value=\"\$HAVE_LIB$uppername\"
5779 if test -n "$value"; then
5780 if test "$value" = yes; then
5781 eval value=\"\$LIB$uppername\"
5782 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
5783 eval value=\"\$LTLIB$uppername\"
5784 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
5793 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
5794 if test -n "$acl_shlibext"; then
5795 shrext=".$acl_shlibext" # typically: shrext=.so
5799 if test $use_additional = yes; then
5800 dir="$additional_libdir"
5801 if test -n "$acl_shlibext"; then
5802 if test -f "$dir/$libname$shrext"; then
5804 found_so="$dir/$libname$shrext"
5806 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5807 ver=`(cd "$dir" && \
5808 for f in "$libname$shrext".*; do echo "$f"; done \
5809 | sed -e "s,^$libname$shrext\\\\.,," \
5810 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5811 | sed 1q ) 2>/dev/null`
5812 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5814 found_so="$dir/$libname$shrext.$ver"
5817 eval library_names=\"$acl_library_names_spec\"
5818 for f in $library_names; do
5819 if test -f "$dir/$f"; then
5828 if test "X$found_dir" = "X"; then
5829 if test -f "$dir/$libname.$acl_libext"; then
5831 found_a="$dir/$libname.$acl_libext"
5834 if test "X$found_dir" != "X"; then
5835 if test -f "$dir/$libname.la"; then
5836 found_la="$dir/$libname.la"
5840 if test "X$found_dir" = "X"; then
5841 for x in $LDFLAGS $LTLIBICONV; do
5843 acl_save_prefix="$prefix"
5844 prefix="$acl_final_prefix"
5845 acl_save_exec_prefix="$exec_prefix"
5846 exec_prefix="$acl_final_exec_prefix"
5848 exec_prefix="$acl_save_exec_prefix"
5849 prefix="$acl_save_prefix"
5853 dir=`echo "X$x" | sed -e 's/^X-L//'`
5854 if test -n "$acl_shlibext"; then
5855 if test -f "$dir/$libname$shrext"; then
5857 found_so="$dir/$libname$shrext"
5859 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5860 ver=`(cd "$dir" && \
5861 for f in "$libname$shrext".*; do echo "$f"; done \
5862 | sed -e "s,^$libname$shrext\\\\.,," \
5863 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5864 | sed 1q ) 2>/dev/null`
5865 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5867 found_so="$dir/$libname$shrext.$ver"
5870 eval library_names=\"$acl_library_names_spec\"
5871 for f in $library_names; do
5872 if test -f "$dir/$f"; then
5881 if test "X$found_dir" = "X"; then
5882 if test -f "$dir/$libname.$acl_libext"; then
5884 found_a="$dir/$libname.$acl_libext"
5887 if test "X$found_dir" != "X"; then
5888 if test -f "$dir/$libname.la"; then
5889 found_la="$dir/$libname.la"
5894 if test "X$found_dir" != "X"; then
5899 if test "X$found_dir" != "X"; then
5900 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
5901 if test "X$found_so" != "X"; then
5902 if test "$enable_rpath" = no \
5903 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
5904 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
5905 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5908 for x in $ltrpathdirs; do
5909 if test "X$x" = "X$found_dir"; then
5914 if test -z "$haveit"; then
5915 ltrpathdirs="$ltrpathdirs $found_dir"
5917 if test "$acl_hardcode_direct" = yes; then
5918 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5920 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
5921 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5923 for x in $rpathdirs; do
5924 if test "X$x" = "X$found_dir"; then
5929 if test -z "$haveit"; then
5930 rpathdirs="$rpathdirs $found_dir"
5934 for x in $LDFLAGS $LIBICONV; do
5936 acl_save_prefix="$prefix"
5937 prefix="$acl_final_prefix"
5938 acl_save_exec_prefix="$exec_prefix"
5939 exec_prefix="$acl_final_exec_prefix"
5941 exec_prefix="$acl_save_exec_prefix"
5942 prefix="$acl_save_prefix"
5944 if test "X$x" = "X-L$found_dir"; then
5949 if test -z "$haveit"; then
5950 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
5952 if test "$acl_hardcode_minus_L" != no; then
5953 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5955 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5961 if test "X$found_a" != "X"; then
5962 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
5964 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
5967 additional_includedir=
5968 case "$found_dir" in
5969 */$acl_libdirstem | */$acl_libdirstem/)
5970 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
5971 if test "$name" = 'iconv'; then
5972 LIBICONV_PREFIX="$basedir"
5974 additional_includedir="$basedir/include"
5976 */$acl_libdirstem2 | */$acl_libdirstem2/)
5977 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
5978 if test "$name" = 'iconv'; then
5979 LIBICONV_PREFIX="$basedir"
5981 additional_includedir="$basedir/include"
5984 if test "X$additional_includedir" != "X"; then
5985 if test "X$additional_includedir" != "X/usr/include"; then
5987 if test "X$additional_includedir" = "X/usr/local/include"; then
5988 if test -n "$GCC"; then
5990 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5994 if test -z "$haveit"; then
5995 for x in $CPPFLAGS $INCICONV; do
5997 acl_save_prefix="$prefix"
5998 prefix="$acl_final_prefix"
5999 acl_save_exec_prefix="$exec_prefix"
6000 exec_prefix="$acl_final_exec_prefix"
6002 exec_prefix="$acl_save_exec_prefix"
6003 prefix="$acl_save_prefix"
6005 if test "X$x" = "X-I$additional_includedir"; then
6010 if test -z "$haveit"; then
6011 if test -d "$additional_includedir"; then
6012 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
6018 if test -n "$found_la"; then
6019 save_libdir="$libdir"
6021 */* | *\\*) . "$found_la" ;;
6022 *) . "./$found_la" ;;
6024 libdir="$save_libdir"
6025 for dep in $dependency_libs; do
6028 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
6029 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
6030 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
6032 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
6033 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
6034 if test -n "$GCC"; then
6036 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
6040 if test -z "$haveit"; then
6042 for x in $LDFLAGS $LIBICONV; do
6044 acl_save_prefix="$prefix"
6045 prefix="$acl_final_prefix"
6046 acl_save_exec_prefix="$exec_prefix"
6047 exec_prefix="$acl_final_exec_prefix"
6049 exec_prefix="$acl_save_exec_prefix"
6050 prefix="$acl_save_prefix"
6052 if test "X$x" = "X-L$additional_libdir"; then
6057 if test -z "$haveit"; then
6058 if test -d "$additional_libdir"; then
6059 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
6063 for x in $LDFLAGS $LTLIBICONV; do
6065 acl_save_prefix="$prefix"
6066 prefix="$acl_final_prefix"
6067 acl_save_exec_prefix="$exec_prefix"
6068 exec_prefix="$acl_final_exec_prefix"
6070 exec_prefix="$acl_save_exec_prefix"
6071 prefix="$acl_save_prefix"
6073 if test "X$x" = "X-L$additional_libdir"; then
6078 if test -z "$haveit"; then
6079 if test -d "$additional_libdir"; then
6080 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
6087 dir=`echo "X$dep" | sed -e 's/^X-R//'`
6088 if test "$enable_rpath" != no; then
6090 for x in $rpathdirs; do
6091 if test "X$x" = "X$dir"; then
6096 if test -z "$haveit"; then
6097 rpathdirs="$rpathdirs $dir"
6100 for x in $ltrpathdirs; do
6101 if test "X$x" = "X$dir"; then
6106 if test -z "$haveit"; then
6107 ltrpathdirs="$ltrpathdirs $dir"
6112 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6115 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6118 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
6119 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
6125 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
6126 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
6132 if test "X$rpathdirs" != "X"; then
6133 if test -n "$acl_hardcode_libdir_separator"; then
6135 for found_dir in $rpathdirs; do
6136 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
6138 acl_save_libdir="$libdir"
6140 eval flag=\"$acl_hardcode_libdir_flag_spec\"
6141 libdir="$acl_save_libdir"
6142 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
6144 for found_dir in $rpathdirs; do
6145 acl_save_libdir="$libdir"
6147 eval flag=\"$acl_hardcode_libdir_flag_spec\"
6148 libdir="$acl_save_libdir"
6149 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
6153 if test "X$ltrpathdirs" != "X"; then
6154 for found_dir in $ltrpathdirs; do
6155 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
6190 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
6191 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
6192 $as_echo_n "(cached) " >&6
6194 gt_save_LIBS="$LIBS"
6195 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
6196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6197 /* end confdefs.h. */
6198 #include <CoreFoundation/CFPreferences.h>
6202 CFPreferencesCopyAppValue(NULL, NULL)
6207 if ac_fn_c_try_link "$LINENO"; then :
6208 gt_cv_func_CFPreferencesCopyAppValue=yes
6210 gt_cv_func_CFPreferencesCopyAppValue=no
6212 rm -f core conftest.err conftest.$ac_objext \
6213 conftest$ac_exeext conftest.$ac_ext
6214 LIBS="$gt_save_LIBS"
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
6217 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
6218 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
6220 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
6224 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
6225 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
6226 $as_echo_n "(cached) " >&6
6228 gt_save_LIBS="$LIBS"
6229 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
6230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6231 /* end confdefs.h. */
6232 #include <CoreFoundation/CFLocale.h>
6236 CFLocaleCopyCurrent();
6241 if ac_fn_c_try_link "$LINENO"; then :
6242 gt_cv_func_CFLocaleCopyCurrent=yes
6244 gt_cv_func_CFLocaleCopyCurrent=no
6246 rm -f core conftest.err conftest.$ac_objext \
6247 conftest$ac_exeext conftest.$ac_ext
6248 LIBS="$gt_save_LIBS"
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
6251 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
6252 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
6254 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
6258 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
6259 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
6271 case " $gt_needs " in
6272 *" need-formatstring-macros "*) gt_api_version=3 ;;
6273 *" need-ngettext "*) gt_api_version=2 ;;
6274 *) gt_api_version=1 ;;
6276 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
6277 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
6279 if test "$USE_NLS" = "yes"; then
6280 gt_use_preinstalled_gnugettext=no
6283 if test $gt_api_version -ge 3; then
6284 gt_revision_test_code='
6285 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
6286 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
6288 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
6291 gt_revision_test_code=
6293 if test $gt_api_version -ge 2; then
6294 gt_expression_test_code=' + * ngettext ("", "", 0)'
6296 gt_expression_test_code=
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
6300 $as_echo_n "checking for GNU gettext in libc... " >&6; }
6301 if eval \${$gt_func_gnugettext_libc+:} false; then :
6302 $as_echo_n "(cached) " >&6
6304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6305 /* end confdefs.h. */
6306 #include <libintl.h>
6307 $gt_revision_test_code
6308 extern int _nl_msg_cat_cntr;
6309 extern int *_nl_domain_bindings;
6313 bindtextdomain ("", "");
6314 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
6319 if ac_fn_c_try_link "$LINENO"; then :
6320 eval "$gt_func_gnugettext_libc=yes"
6322 eval "$gt_func_gnugettext_libc=no"
6324 rm -f core conftest.err conftest.$ac_objext \
6325 conftest$ac_exeext conftest.$ac_ext
6327 eval ac_res=\$$gt_func_gnugettext_libc
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6329 $as_echo "$ac_res" >&6; }
6331 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
6337 am_save_CPPFLAGS="$CPPFLAGS"
6339 for element in $INCICONV; do
6341 for x in $CPPFLAGS; do
6343 acl_save_prefix="$prefix"
6344 prefix="$acl_final_prefix"
6345 acl_save_exec_prefix="$exec_prefix"
6346 exec_prefix="$acl_final_exec_prefix"
6348 exec_prefix="$acl_save_exec_prefix"
6349 prefix="$acl_save_prefix"
6351 if test "X$x" = "X$element"; then
6356 if test -z "$haveit"; then
6357 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
6362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
6363 $as_echo_n "checking for iconv... " >&6; }
6364 if ${am_cv_func_iconv+:} false; then :
6365 $as_echo_n "(cached) " >&6
6368 am_cv_func_iconv="no, consider installing GNU libiconv"
6370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6371 /* end confdefs.h. */
6377 iconv_t cd = iconv_open("","");
6378 iconv(cd,NULL,NULL,NULL,NULL);
6384 if ac_fn_c_try_link "$LINENO"; then :
6385 am_cv_func_iconv=yes
6387 rm -f core conftest.err conftest.$ac_objext \
6388 conftest$ac_exeext conftest.$ac_ext
6389 if test "$am_cv_func_iconv" != yes; then
6390 am_save_LIBS="$LIBS"
6391 LIBS="$LIBS $LIBICONV"
6392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6393 /* end confdefs.h. */
6399 iconv_t cd = iconv_open("","");
6400 iconv(cd,NULL,NULL,NULL,NULL);
6406 if ac_fn_c_try_link "$LINENO"; then :
6408 am_cv_func_iconv=yes
6410 rm -f core conftest.err conftest.$ac_objext \
6411 conftest$ac_exeext conftest.$ac_ext
6412 LIBS="$am_save_LIBS"
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
6417 $as_echo "$am_cv_func_iconv" >&6; }
6418 if test "$am_cv_func_iconv" = yes; then
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
6420 $as_echo_n "checking for working iconv... " >&6; }
6421 if ${am_cv_func_iconv_works+:} false; then :
6422 $as_echo_n "(cached) " >&6
6425 am_save_LIBS="$LIBS"
6426 if test $am_cv_lib_iconv = yes; then
6427 LIBS="$LIBS $LIBICONV"
6429 if test "$cross_compiling" = yes; then :
6431 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
6432 *) am_cv_func_iconv_works="guessing yes" ;;
6435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6436 /* end confdefs.h. */
6442 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
6445 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
6446 if (cd_utf8_to_88591 != (iconv_t)(-1))
6448 static const char input[] = "\342\202\254"; /* EURO SIGN */
6450 const char *inptr = input;
6451 size_t inbytesleft = strlen (input);
6453 size_t outbytesleft = sizeof (buf);
6454 size_t res = iconv (cd_utf8_to_88591,
6455 (char **) &inptr, &inbytesleft,
6456 &outptr, &outbytesleft);
6461 /* Test against Solaris 10 bug: Failures are not distinguishable from
6462 successful returns. */
6464 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
6465 if (cd_ascii_to_88591 != (iconv_t)(-1))
6467 static const char input[] = "\263";
6469 const char *inptr = input;
6470 size_t inbytesleft = strlen (input);
6472 size_t outbytesleft = sizeof (buf);
6473 size_t res = iconv (cd_ascii_to_88591,
6474 (char **) &inptr, &inbytesleft,
6475 &outptr, &outbytesleft);
6480 #if 0 /* This bug could be worked around by the caller. */
6481 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
6483 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
6484 if (cd_88591_to_utf8 != (iconv_t)(-1))
6486 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
6488 const char *inptr = input;
6489 size_t inbytesleft = strlen (input);
6491 size_t outbytesleft = sizeof (buf);
6492 size_t res = iconv (cd_88591_to_utf8,
6493 (char **) &inptr, &inbytesleft,
6494 &outptr, &outbytesleft);
6500 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
6502 if (/* Try standardized names. */
6503 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
6504 /* Try IRIX, OSF/1 names. */
6505 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
6506 /* Try AIX names. */
6507 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
6508 /* Try HP-UX names. */
6509 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
6514 if ac_fn_c_try_run "$LINENO"; then :
6515 am_cv_func_iconv_works=yes
6517 am_cv_func_iconv_works=no
6519 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6520 conftest.$ac_objext conftest.beam conftest.$ac_ext
6523 LIBS="$am_save_LIBS"
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
6527 $as_echo "$am_cv_func_iconv_works" >&6; }
6528 case "$am_cv_func_iconv_works" in
6529 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
6530 *) am_func_iconv=yes ;;
6533 am_func_iconv=no am_cv_lib_iconv=no
6535 if test "$am_func_iconv" = yes; then
6537 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
6540 if test "$am_cv_lib_iconv" = yes; then
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
6542 $as_echo_n "checking how to link with libiconv... " >&6; }
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
6544 $as_echo "$LIBICONV" >&6; }
6546 CPPFLAGS="$am_save_CPPFLAGS"
6563 acl_save_prefix="$prefix"
6564 prefix="$acl_final_prefix"
6565 acl_save_exec_prefix="$exec_prefix"
6566 exec_prefix="$acl_final_exec_prefix"
6568 eval additional_includedir=\"$includedir\"
6569 eval additional_libdir=\"$libdir\"
6571 exec_prefix="$acl_save_exec_prefix"
6572 prefix="$acl_save_prefix"
6575 # Check whether --with-libintl-prefix was given.
6576 if test "${with_libintl_prefix+set}" = set; then :
6577 withval=$with_libintl_prefix;
6578 if test "X$withval" = "Xno"; then
6581 if test "X$withval" = "X"; then
6583 acl_save_prefix="$prefix"
6584 prefix="$acl_final_prefix"
6585 acl_save_exec_prefix="$exec_prefix"
6586 exec_prefix="$acl_final_exec_prefix"
6588 eval additional_includedir=\"$includedir\"
6589 eval additional_libdir=\"$libdir\"
6591 exec_prefix="$acl_save_exec_prefix"
6592 prefix="$acl_save_prefix"
6595 additional_includedir="$withval/include"
6596 additional_libdir="$withval/$acl_libdirstem"
6597 if test "$acl_libdirstem2" != "$acl_libdirstem" \
6598 && ! test -d "$withval/$acl_libdirstem"; then
6599 additional_libdir="$withval/$acl_libdirstem2"
6613 names_already_handled=
6614 names_next_round='intl '
6615 while test -n "$names_next_round"; do
6616 names_this_round="$names_next_round"
6618 for name in $names_this_round; do
6620 for n in $names_already_handled; do
6621 if test "$n" = "$name"; then
6626 if test -z "$already_handled"; then
6627 names_already_handled="$names_already_handled $name"
6628 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
6629 eval value=\"\$HAVE_LIB$uppername\"
6630 if test -n "$value"; then
6631 if test "$value" = yes; then
6632 eval value=\"\$LIB$uppername\"
6633 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
6634 eval value=\"\$LTLIB$uppername\"
6635 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
6644 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
6645 if test -n "$acl_shlibext"; then
6646 shrext=".$acl_shlibext" # typically: shrext=.so
6650 if test $use_additional = yes; then
6651 dir="$additional_libdir"
6652 if test -n "$acl_shlibext"; then
6653 if test -f "$dir/$libname$shrext"; then
6655 found_so="$dir/$libname$shrext"
6657 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
6658 ver=`(cd "$dir" && \
6659 for f in "$libname$shrext".*; do echo "$f"; done \
6660 | sed -e "s,^$libname$shrext\\\\.,," \
6661 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
6662 | sed 1q ) 2>/dev/null`
6663 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
6665 found_so="$dir/$libname$shrext.$ver"
6668 eval library_names=\"$acl_library_names_spec\"
6669 for f in $library_names; do
6670 if test -f "$dir/$f"; then
6679 if test "X$found_dir" = "X"; then
6680 if test -f "$dir/$libname.$acl_libext"; then
6682 found_a="$dir/$libname.$acl_libext"
6685 if test "X$found_dir" != "X"; then
6686 if test -f "$dir/$libname.la"; then
6687 found_la="$dir/$libname.la"
6691 if test "X$found_dir" = "X"; then
6692 for x in $LDFLAGS $LTLIBINTL; do
6694 acl_save_prefix="$prefix"
6695 prefix="$acl_final_prefix"
6696 acl_save_exec_prefix="$exec_prefix"
6697 exec_prefix="$acl_final_exec_prefix"
6699 exec_prefix="$acl_save_exec_prefix"
6700 prefix="$acl_save_prefix"
6704 dir=`echo "X$x" | sed -e 's/^X-L//'`
6705 if test -n "$acl_shlibext"; then
6706 if test -f "$dir/$libname$shrext"; then
6708 found_so="$dir/$libname$shrext"
6710 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
6711 ver=`(cd "$dir" && \
6712 for f in "$libname$shrext".*; do echo "$f"; done \
6713 | sed -e "s,^$libname$shrext\\\\.,," \
6714 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
6715 | sed 1q ) 2>/dev/null`
6716 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
6718 found_so="$dir/$libname$shrext.$ver"
6721 eval library_names=\"$acl_library_names_spec\"
6722 for f in $library_names; do
6723 if test -f "$dir/$f"; then
6732 if test "X$found_dir" = "X"; then
6733 if test -f "$dir/$libname.$acl_libext"; then
6735 found_a="$dir/$libname.$acl_libext"
6738 if test "X$found_dir" != "X"; then
6739 if test -f "$dir/$libname.la"; then
6740 found_la="$dir/$libname.la"
6745 if test "X$found_dir" != "X"; then
6750 if test "X$found_dir" != "X"; then
6751 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
6752 if test "X$found_so" != "X"; then
6753 if test "$enable_rpath" = no \
6754 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
6755 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
6756 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6759 for x in $ltrpathdirs; do
6760 if test "X$x" = "X$found_dir"; then
6765 if test -z "$haveit"; then
6766 ltrpathdirs="$ltrpathdirs $found_dir"
6768 if test "$acl_hardcode_direct" = yes; then
6769 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6771 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
6772 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6774 for x in $rpathdirs; do
6775 if test "X$x" = "X$found_dir"; then
6780 if test -z "$haveit"; then
6781 rpathdirs="$rpathdirs $found_dir"
6785 for x in $LDFLAGS $LIBINTL; do
6787 acl_save_prefix="$prefix"
6788 prefix="$acl_final_prefix"
6789 acl_save_exec_prefix="$exec_prefix"
6790 exec_prefix="$acl_final_exec_prefix"
6792 exec_prefix="$acl_save_exec_prefix"
6793 prefix="$acl_save_prefix"
6795 if test "X$x" = "X-L$found_dir"; then
6800 if test -z "$haveit"; then
6801 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
6803 if test "$acl_hardcode_minus_L" != no; then
6804 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6806 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
6812 if test "X$found_a" != "X"; then
6813 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
6815 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
6818 additional_includedir=
6819 case "$found_dir" in
6820 */$acl_libdirstem | */$acl_libdirstem/)
6821 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
6822 if test "$name" = 'intl'; then
6823 LIBINTL_PREFIX="$basedir"
6825 additional_includedir="$basedir/include"
6827 */$acl_libdirstem2 | */$acl_libdirstem2/)
6828 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
6829 if test "$name" = 'intl'; then
6830 LIBINTL_PREFIX="$basedir"
6832 additional_includedir="$basedir/include"
6835 if test "X$additional_includedir" != "X"; then
6836 if test "X$additional_includedir" != "X/usr/include"; then
6838 if test "X$additional_includedir" = "X/usr/local/include"; then
6839 if test -n "$GCC"; then
6841 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
6845 if test -z "$haveit"; then
6846 for x in $CPPFLAGS $INCINTL; do
6848 acl_save_prefix="$prefix"
6849 prefix="$acl_final_prefix"
6850 acl_save_exec_prefix="$exec_prefix"
6851 exec_prefix="$acl_final_exec_prefix"
6853 exec_prefix="$acl_save_exec_prefix"
6854 prefix="$acl_save_prefix"
6856 if test "X$x" = "X-I$additional_includedir"; then
6861 if test -z "$haveit"; then
6862 if test -d "$additional_includedir"; then
6863 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
6869 if test -n "$found_la"; then
6870 save_libdir="$libdir"
6872 */* | *\\*) . "$found_la" ;;
6873 *) . "./$found_la" ;;
6875 libdir="$save_libdir"
6876 for dep in $dependency_libs; do
6879 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
6880 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
6881 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
6883 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
6884 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
6885 if test -n "$GCC"; then
6887 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
6891 if test -z "$haveit"; then
6893 for x in $LDFLAGS $LIBINTL; do
6895 acl_save_prefix="$prefix"
6896 prefix="$acl_final_prefix"
6897 acl_save_exec_prefix="$exec_prefix"
6898 exec_prefix="$acl_final_exec_prefix"
6900 exec_prefix="$acl_save_exec_prefix"
6901 prefix="$acl_save_prefix"
6903 if test "X$x" = "X-L$additional_libdir"; then
6908 if test -z "$haveit"; then
6909 if test -d "$additional_libdir"; then
6910 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
6914 for x in $LDFLAGS $LTLIBINTL; do
6916 acl_save_prefix="$prefix"
6917 prefix="$acl_final_prefix"
6918 acl_save_exec_prefix="$exec_prefix"
6919 exec_prefix="$acl_final_exec_prefix"
6921 exec_prefix="$acl_save_exec_prefix"
6922 prefix="$acl_save_prefix"
6924 if test "X$x" = "X-L$additional_libdir"; then
6929 if test -z "$haveit"; then
6930 if test -d "$additional_libdir"; then
6931 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
6938 dir=`echo "X$dep" | sed -e 's/^X-R//'`
6939 if test "$enable_rpath" != no; then
6941 for x in $rpathdirs; do
6942 if test "X$x" = "X$dir"; then
6947 if test -z "$haveit"; then
6948 rpathdirs="$rpathdirs $dir"
6951 for x in $ltrpathdirs; do
6952 if test "X$x" = "X$dir"; then
6957 if test -z "$haveit"; then
6958 ltrpathdirs="$ltrpathdirs $dir"
6963 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6966 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6969 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
6970 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
6976 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
6977 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
6983 if test "X$rpathdirs" != "X"; then
6984 if test -n "$acl_hardcode_libdir_separator"; then
6986 for found_dir in $rpathdirs; do
6987 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
6989 acl_save_libdir="$libdir"
6991 eval flag=\"$acl_hardcode_libdir_flag_spec\"
6992 libdir="$acl_save_libdir"
6993 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
6995 for found_dir in $rpathdirs; do
6996 acl_save_libdir="$libdir"
6998 eval flag=\"$acl_hardcode_libdir_flag_spec\"
6999 libdir="$acl_save_libdir"
7000 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
7004 if test "X$ltrpathdirs" != "X"; then
7005 for found_dir in $ltrpathdirs; do
7006 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
7016 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
7017 if eval \${$gt_func_gnugettext_libintl+:} false; then :
7018 $as_echo_n "(cached) " >&6
7020 gt_save_CPPFLAGS="$CPPFLAGS"
7021 CPPFLAGS="$CPPFLAGS $INCINTL"
7022 gt_save_LIBS="$LIBS"
7023 LIBS="$LIBS $LIBINTL"
7024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7025 /* end confdefs.h. */
7026 #include <libintl.h>
7027 $gt_revision_test_code
7028 extern int _nl_msg_cat_cntr;
7033 const char *_nl_expand_alias (const char *);
7037 bindtextdomain ("", "");
7038 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
7043 if ac_fn_c_try_link "$LINENO"; then :
7044 eval "$gt_func_gnugettext_libintl=yes"
7046 eval "$gt_func_gnugettext_libintl=no"
7048 rm -f core conftest.err conftest.$ac_objext \
7049 conftest$ac_exeext conftest.$ac_ext
7050 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
7051 LIBS="$LIBS $LIBICONV"
7052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7053 /* end confdefs.h. */
7054 #include <libintl.h>
7055 $gt_revision_test_code
7056 extern int _nl_msg_cat_cntr;
7061 const char *_nl_expand_alias (const char *);
7065 bindtextdomain ("", "");
7066 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
7071 if ac_fn_c_try_link "$LINENO"; then :
7072 LIBINTL="$LIBINTL $LIBICONV"
7073 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
7074 eval "$gt_func_gnugettext_libintl=yes"
7077 rm -f core conftest.err conftest.$ac_objext \
7078 conftest$ac_exeext conftest.$ac_ext
7080 CPPFLAGS="$gt_save_CPPFLAGS"
7081 LIBS="$gt_save_LIBS"
7083 eval ac_res=\$$gt_func_gnugettext_libintl
7084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7085 $as_echo "$ac_res" >&6; }
7088 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
7089 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
7090 && test "$PACKAGE" != gettext-runtime \
7091 && test "$PACKAGE" != gettext-tools; }; then
7092 gt_use_preinstalled_gnugettext=yes
7101 if test -n "$INTL_MACOSX_LIBS"; then
7102 if test "$gt_use_preinstalled_gnugettext" = "yes" \
7103 || test "$nls_cv_use_gnu_gettext" = "yes"; then
7104 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
7105 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
7109 if test "$gt_use_preinstalled_gnugettext" = "yes" \
7110 || test "$nls_cv_use_gnu_gettext" = "yes"; then
7112 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
7119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
7120 $as_echo_n "checking whether to use NLS... " >&6; }
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
7122 $as_echo "$USE_NLS" >&6; }
7123 if test "$USE_NLS" = "yes"; then
7124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
7125 $as_echo_n "checking where the gettext function comes from... " >&6; }
7126 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
7127 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
7128 gt_source="external libintl"
7133 gt_source="included intl directory"
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
7136 $as_echo "$gt_source" >&6; }
7139 if test "$USE_NLS" = "yes"; then
7141 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
7142 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
7144 $as_echo_n "checking how to link with libintl... " >&6; }
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
7146 $as_echo "$LIBINTL" >&6; }
7148 for element in $INCINTL; do
7150 for x in $CPPFLAGS; do
7152 acl_save_prefix="$prefix"
7153 prefix="$acl_final_prefix"
7154 acl_save_exec_prefix="$exec_prefix"
7155 exec_prefix="$acl_final_exec_prefix"
7157 exec_prefix="$acl_save_exec_prefix"
7158 prefix="$acl_save_prefix"
7160 if test "X$x" = "X$element"; then
7165 if test -z "$haveit"; then
7166 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
7173 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
7176 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
7193 GETTEXT_PACKAGE=xkeyboard-config
7196 cat >>confdefs.h <<_ACEOF
7197 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
7201 ALL_LINGUAS="af az bg ca crh cs da de el en_GB eo es fi fr gl hu id it ja ka ko ky lt nb nl pl ro ru rw sk sl sq sr sv tr uk vi zh_CN zh_TW"
7206 ac_config_files="$ac_config_files po/Makefile.in Makefile compat/Makefile geometry/Makefile geometry/digital_vndr/Makefile geometry/sgi_vndr/Makefile keycodes/Makefile keycodes/digital_vndr/Makefile keycodes/sgi_vndr/Makefile rules/Makefile rules/bin/Makefile rules/compat/Makefile symbols/Makefile symbols/digital_vndr/Makefile symbols/fujitsu_vndr/Makefile symbols/hp_vndr/Makefile symbols/macintosh_vndr/Makefile symbols/nec_vndr/Makefile symbols/nokia_vndr/Makefile symbols/sgi_vndr/Makefile symbols/sony_vndr/Makefile symbols/sun_vndr/Makefile symbols/xfree68_vndr/Makefile types/Makefile xkeyboard-config.pc docs/Makefile man/Makefile"
7208 cat >confcache <<\_ACEOF
7209 # This file is a shell script that caches the results of configure
7210 # tests run on this system so they can be shared between configure
7211 # scripts and configure runs, see configure's option --config-cache.
7212 # It is not useful on other systems. If it contains results you don't
7213 # want to keep, you may remove or edit it.
7215 # config.status only pays attention to the cache file if you give it
7216 # the --recheck option to rerun configure.
7218 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7219 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7224 # The following way of writing the cache mishandles newlines in values,
7225 # but we know of no workaround that is simple, portable, and efficient.
7226 # So, we kill variables containing newlines.
7227 # Ultrix sh set writes to stderr and can't be redirected directly,
7228 # and sets the high bit in the cache file unless we assign to the vars.
7230 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7231 eval ac_val=\$$ac_var
7235 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7236 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7239 _ | IFS | as_nl) ;; #(
7240 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7241 *) { eval $ac_var=; unset $ac_var;} ;;
7247 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7248 *${as_nl}ac_space=\ *)
7249 # `set' does not quote correctly, so add quotes: double-quote
7250 # substitution turns \\\\ into \\, and sed turns \\ into \.
7253 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7256 # `set' quotes correctly as required by POSIX, so do not add quotes.
7257 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7266 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7268 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7270 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7271 if test -w "$cache_file"; then
7272 if test "x$cache_file" != "x/dev/null"; then
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7274 $as_echo "$as_me: updating cache $cache_file" >&6;}
7275 if test ! -f "$cache_file" || test -h "$cache_file"; then
7276 cat confcache >"$cache_file"
7278 case $cache_file in #(
7280 mv -f confcache "$cache_file"$$ &&
7281 mv -f "$cache_file"$$ "$cache_file" ;; #(
7283 mv -f confcache "$cache_file" ;;
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7289 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7294 test "x$prefix" = xNONE && prefix=$ac_default_prefix
7295 # Let make expand exec_prefix.
7296 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7298 # Transform confdefs.h into DEFS.
7299 # Protect against shell expansion while executing Makefile rules.
7300 # Protect against Makefile macro expansion.
7302 # If the first sed substitution is executed (which looks for macros that
7303 # take arguments), then branch to the quote section. Otherwise,
7304 # look for a macro that doesn't take arguments.
7314 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
7316 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
7320 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
7333 DEFS=`sed -n "$ac_script" confdefs.h`
7339 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7340 # 1. Remove the extension, and $U if already installed.
7341 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7342 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
7343 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7344 # will be set to the directory where LIBOBJS objects are built.
7345 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7346 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
7350 LTLIBOBJS=$ac_ltlibobjs
7353 if test -n "$EXEEXT"; then
7355 am__EXEEXT_FALSE='#'
7361 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
7362 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
7363 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7365 if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
7366 as_fn_error $? "conditional \"HAVE_XSLTPROC\" was never defined.
7367 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7369 if test -z "${CREATE_RULES_SYMLINK_TRUE}" && test -z "${CREATE_RULES_SYMLINK_FALSE}"; then
7370 as_fn_error $? "conditional \"CREATE_RULES_SYMLINK\" was never defined.
7371 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7373 if test -z "${USE_COMPAT_RULES_TRUE}" && test -z "${USE_COMPAT_RULES_FALSE}"; then
7374 as_fn_error $? "conditional \"USE_COMPAT_RULES\" was never defined.
7375 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7377 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7378 as_fn_error $? "conditional \"AMDEP\" was never defined.
7379 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7381 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7382 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
7383 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7386 ac_config_commands="$ac_config_commands po/stamp-it"
7390 : "${CONFIG_STATUS=./config.status}"
7392 ac_clean_files_save=$ac_clean_files
7393 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7395 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7397 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7399 # Generated by $as_me.
7400 # Run this file to recreate the current configuration.
7401 # Compiler output produced by configure, useful for debugging
7402 # configure, is in config.log if it exists.
7408 SHELL=\${CONFIG_SHELL-$SHELL}
7411 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
7412 ## -------------------- ##
7413 ## M4sh Initialization. ##
7414 ## -------------------- ##
7416 # Be more Bourne compatible
7417 DUALCASE=1; export DUALCASE # for MKS sh
7418 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
7421 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7422 # is contrary to our usage. Disable this feature.
7423 alias -g '${1+"$@"}'='"$@"'
7424 setopt NO_GLOB_SUBST
7426 case `(set -o) 2>/dev/null` in #(
7438 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7439 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7440 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7441 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7442 # Prefer a ksh shell builtin over an external printf program on Solaris,
7443 # but without wasting forks for bash or zsh.
7444 if test -z "$BASH_VERSION$ZSH_VERSION" \
7445 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7446 as_echo='print -r --'
7447 as_echo_n='print -rn --'
7448 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7449 as_echo='printf %s\n'
7450 as_echo_n='printf %s'
7452 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7453 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
7454 as_echo_n='/usr/ucb/echo -n'
7456 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7457 as_echo_n_body='eval
7461 expr "X$arg" : "X\\(.*\\)$as_nl";
7462 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7464 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
7466 export as_echo_n_body
7467 as_echo_n='sh -c $as_echo_n_body as_echo'
7470 as_echo='sh -c $as_echo_body as_echo'
7473 # The user is always right.
7474 if test "${PATH_SEPARATOR+set}" != set; then
7476 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7477 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7484 # We need space, tab and new line, in precisely that order. Quoting is
7485 # there to prevent editors from complaining about space-tab.
7486 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7487 # splitting by setting IFS to empty value.)
7490 # Find who we are. Look in the path if we contain no directory separator.
7493 *[\\/]* ) as_myself=$0 ;;
7494 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7498 test -z "$as_dir" && as_dir=.
7499 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7505 # We did not find ourselves, most probably we were run as `sh COMMAND'
7506 # in which case we are not to be found in the path.
7507 if test "x$as_myself" = x; then
7510 if test ! -f "$as_myself"; then
7511 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7515 # Unset variables that we do not need and which cause bugs (e.g. in
7516 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7517 # suppresses any "Segmentation fault" message there. '((' could
7518 # trigger a bug in pdksh 5.2.14.
7519 for as_var in BASH_ENV ENV MAIL MAILPATH
7520 do eval test x\${$as_var+set} = xset \
7521 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
7534 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
7537 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7538 # ----------------------------------------
7539 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7540 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7541 # script with STATUS, using 1 if that was 0.
7544 as_status=$1; test $as_status -eq 0 && as_status=1
7546 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
7547 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7549 $as_echo "$as_me: error: $2" >&2
7550 as_fn_exit $as_status
7554 # as_fn_set_status STATUS
7555 # -----------------------
7556 # Set $? to STATUS, without forking.
7560 } # as_fn_set_status
7564 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7574 # Portably unset VAR.
7577 { eval $1=; unset $1;}
7579 as_unset=as_fn_unset
7580 # as_fn_append VAR VALUE
7581 # ----------------------
7582 # Append the text in VALUE to the end of the definition contained in VAR. Take
7583 # advantage of any shell optimizations that allow amortized linear growth over
7584 # repeated appends, instead of the typical quadratic growth present in naive
7586 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
7587 eval 'as_fn_append ()
7598 # as_fn_arith ARG...
7599 # ------------------
7600 # Perform arithmetic evaluation on the ARGs, and store the result in the
7601 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7602 # must be portable across $(()) and expr.
7603 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
7604 eval 'as_fn_arith ()
7611 as_val=`expr "$@" || test $? -eq 1`
7616 if expr a : '\(a\)' >/dev/null 2>&1 &&
7617 test "X`expr 00001 : '.*\(...\)'`" = X001; then
7623 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7624 as_basename=basename
7629 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7635 as_me=`$as_basename -- "$0" ||
7636 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7637 X"$0" : 'X\(//\)$' \| \
7638 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7640 sed '/^.*\/\([^/][^/]*\)\/*$/{
7654 # Avoid depending upon Character Ranges.
7655 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7656 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7657 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7658 as_cr_digits='0123456789'
7659 as_cr_alnum=$as_cr_Letters$as_cr_digits
7661 ECHO_C= ECHO_N= ECHO_T=
7662 case `echo -n x` in #(((((
7664 case `echo 'xy\c'` in
7665 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
7667 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
7674 rm -f conf$$ conf$$.exe conf$$.file
7675 if test -d conf$$.dir; then
7676 rm -f conf$$.dir/conf$$.file
7679 mkdir conf$$.dir 2>/dev/null
7681 if (echo >conf$$.file) 2>/dev/null; then
7682 if ln -s conf$$.file conf$$ 2>/dev/null; then
7684 # ... but there are two gotchas:
7685 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7686 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7687 # In both cases, we have to default to `cp -p'.
7688 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7690 elif ln conf$$.file conf$$ 2>/dev/null; then
7698 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7699 rmdir conf$$.dir 2>/dev/null
7704 # Create "$as_dir" as a directory, including parents if necessary.
7709 -*) as_dir=./$as_dir;;
7711 test -d "$as_dir" || eval $as_mkdir_p || {
7715 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7716 *) as_qdir=$as_dir;;
7718 as_dirs="'$as_qdir' $as_dirs"
7719 as_dir=`$as_dirname -- "$as_dir" ||
7720 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7721 X"$as_dir" : 'X\(//\)[^/]' \| \
7722 X"$as_dir" : 'X\(//\)$' \| \
7723 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7724 $as_echo X"$as_dir" |
7725 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7742 test -d "$as_dir" && break
7744 test -z "$as_dirs" || eval "mkdir $as_dirs"
7745 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
7749 if mkdir -p . 2>/dev/null; then
7750 as_mkdir_p='mkdir -p "$as_dir"'
7752 test -d ./-p && rmdir ./-p
7756 if test -x / >/dev/null 2>&1; then
7759 if ls -dL / >/dev/null 2>&1; then
7766 if test -d "$1"; then
7772 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
7773 ???[sx]*):;;*)false;;esac;fi
7777 as_executable_p=$as_test_x
7779 # Sed expression to map a string onto a valid CPP name.
7780 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7782 # Sed expression to map a string onto a valid variable name.
7783 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7787 ## ----------------------------------- ##
7788 ## Main body of $CONFIG_STATUS script. ##
7789 ## ----------------------------------- ##
7791 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
7793 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7794 # Save the log message, to keep $0 and so on meaningful, and to
7795 # report actual input values of CONFIG_FILES etc. instead of their
7796 # values after options handling.
7798 This file was extended by xkeyboard-config $as_me 2.6, which was
7799 generated by GNU Autoconf 2.68. Invocation command line was
7801 CONFIG_FILES = $CONFIG_FILES
7802 CONFIG_HEADERS = $CONFIG_HEADERS
7803 CONFIG_LINKS = $CONFIG_LINKS
7804 CONFIG_COMMANDS = $CONFIG_COMMANDS
7807 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7812 case $ac_config_files in *"
7813 "*) set x $ac_config_files; shift; ac_config_files=$*;;
7818 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7819 # Files that config.status was made for.
7820 config_files="$ac_config_files"
7821 config_commands="$ac_config_commands"
7825 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7827 \`$as_me' instantiates files and other configuration actions
7828 from templates according to the current configuration. Unless the files
7829 and actions are specified as TAGs, all are instantiated by default.
7831 Usage: $0 [OPTION]... [TAG]...
7833 -h, --help print this help, then exit
7834 -V, --version print version number and configuration settings, then exit
7835 --config print configuration, then exit
7836 -q, --quiet, --silent
7837 do not print progress messages
7838 -d, --debug don't remove temporary files
7839 --recheck update $as_me by reconfiguring in the same conditions
7840 --file=FILE[:TEMPLATE]
7841 instantiate the configuration file FILE
7843 Configuration files:
7846 Configuration commands:
7849 Report bugs to the package provider."
7852 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7853 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7855 xkeyboard-config config.status 2.6
7856 configured by $0, generated by GNU Autoconf 2.68,
7857 with options \\"\$ac_cs_config\\"
7859 Copyright (C) 2010 Free Software Foundation, Inc.
7860 This config.status script is free software; the Free Software Foundation
7861 gives unlimited permission to copy, distribute and modify it."
7868 test -n "\$AWK" || AWK=awk
7871 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7872 # The default lists apply if the user does not specify any file.
7878 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7879 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7883 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7895 # Handling of the options.
7896 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7898 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7899 $as_echo "$ac_cs_version"; exit ;;
7900 --config | --confi | --conf | --con | --co | --c )
7901 $as_echo "$ac_cs_config"; exit ;;
7902 --debug | --debu | --deb | --de | --d | -d )
7904 --file | --fil | --fi | --f )
7907 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7908 '') as_fn_error $? "missing file argument" ;;
7910 as_fn_append CONFIG_FILES " '$ac_optarg'"
7911 ac_need_defaults=false;;
7912 --he | --h | --help | --hel | -h )
7913 $as_echo "$ac_cs_usage"; exit ;;
7914 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7915 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7919 -*) as_fn_error $? "unrecognized option: \`$1'
7920 Try \`$0 --help' for more information." ;;
7922 *) as_fn_append ac_config_targets " $1"
7923 ac_need_defaults=false ;;
7929 ac_configure_extra_args=
7931 if $ac_cs_silent; then
7933 ac_configure_extra_args="$ac_configure_extra_args --silent"
7937 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7938 if \$ac_cs_recheck; then
7939 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7941 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7942 CONFIG_SHELL='$SHELL'
7948 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7952 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7953 ## Running $as_me. ##
7959 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7963 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7964 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
7965 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
7966 # from automake < 1.5.
7967 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
7968 # Capture the value of LINGUAS because we need it to compute CATALOGS.
7969 LINGUAS="${LINGUAS-%UNSET%}"
7974 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7976 # Handling of arguments.
7977 for ac_config_target in $ac_config_targets
7979 case $ac_config_target in
7980 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7981 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
7982 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
7983 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7984 "compat/Makefile") CONFIG_FILES="$CONFIG_FILES compat/Makefile" ;;
7985 "geometry/Makefile") CONFIG_FILES="$CONFIG_FILES geometry/Makefile" ;;
7986 "geometry/digital_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES geometry/digital_vndr/Makefile" ;;
7987 "geometry/sgi_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES geometry/sgi_vndr/Makefile" ;;
7988 "keycodes/Makefile") CONFIG_FILES="$CONFIG_FILES keycodes/Makefile" ;;
7989 "keycodes/digital_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES keycodes/digital_vndr/Makefile" ;;
7990 "keycodes/sgi_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES keycodes/sgi_vndr/Makefile" ;;
7991 "rules/Makefile") CONFIG_FILES="$CONFIG_FILES rules/Makefile" ;;
7992 "rules/bin/Makefile") CONFIG_FILES="$CONFIG_FILES rules/bin/Makefile" ;;
7993 "rules/compat/Makefile") CONFIG_FILES="$CONFIG_FILES rules/compat/Makefile" ;;
7994 "symbols/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/Makefile" ;;
7995 "symbols/digital_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/digital_vndr/Makefile" ;;
7996 "symbols/fujitsu_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/fujitsu_vndr/Makefile" ;;
7997 "symbols/hp_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/hp_vndr/Makefile" ;;
7998 "symbols/macintosh_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/macintosh_vndr/Makefile" ;;
7999 "symbols/nec_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/nec_vndr/Makefile" ;;
8000 "symbols/nokia_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/nokia_vndr/Makefile" ;;
8001 "symbols/sgi_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/sgi_vndr/Makefile" ;;
8002 "symbols/sony_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/sony_vndr/Makefile" ;;
8003 "symbols/sun_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/sun_vndr/Makefile" ;;
8004 "symbols/xfree68_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/xfree68_vndr/Makefile" ;;
8005 "types/Makefile") CONFIG_FILES="$CONFIG_FILES types/Makefile" ;;
8006 "xkeyboard-config.pc") CONFIG_FILES="$CONFIG_FILES xkeyboard-config.pc" ;;
8007 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
8008 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
8009 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
8011 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8016 # If the user did not use the arguments to specify the items to instantiate,
8017 # then the envvar interface is used. Set only those that are not.
8018 # We use the long form for the default assignment because of an extremely
8019 # bizarre bug on SunOS 4.1.3.
8020 if $ac_need_defaults; then
8021 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8022 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
8025 # Have a temporary directory for convenience. Make it in the build tree
8026 # simply because there is no reason against having it here, and in addition,
8027 # creating and moving files from /tmp can sometimes cause problems.
8028 # Hook for its removal unless debugging.
8029 # Note that there is a small window in which the directory will not be cleaned:
8030 # after its creation but before its name has been assigned to `$tmp'.
8034 trap 'exit_status=$?
8036 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
8038 trap 'as_fn_exit 1' 1 2 13 15
8040 # Create a (secure) tmp directory for tmp files.
8043 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8047 tmp=./conf$$-$RANDOM
8048 (umask 077 && mkdir "$tmp")
8049 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
8052 # Set up the scripts for CONFIG_FILES section.
8053 # No need to generate them if there are no CONFIG_FILES.
8054 # This happens for instance with `./config.status config.h'.
8055 if test -n "$CONFIG_FILES"; then
8058 ac_cr=`echo X | tr X '\015'`
8059 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8060 # But we know of no other shell where ac_cr would be empty at this
8061 # point, so we can use a bashism as a fallback.
8062 if test "x$ac_cr" = x; then
8063 eval ac_cr=\$\'\\r\'
8065 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8066 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8072 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
8077 echo "cat >conf$$subs.awk <<_ACEOF" &&
8078 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8081 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8082 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
8084 for ac_last_try in false false false false false :; do
8085 . ./conf$$subs.sh ||
8086 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8088 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
8089 if test $ac_delim_n = $ac_delim_num; then
8091 elif $ac_last_try; then
8092 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8094 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8099 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8100 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
8104 s/^/S["/; s/!.*/"]=/
8114 s/\(.\{148\}\)..*/\1/
8116 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
8121 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8128 s/\(.\{148\}\)..*/\1/
8130 s/["\\]/\\&/g; s/^/"/; s/$/"/
8134 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8139 ' <conf$$subs.awk | sed '
8144 ' >>$CONFIG_STATUS || ac_write_fail=1
8145 rm -f conf$$subs.awk
8146 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8148 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
8149 for (key in S) S_is_set[key] = 1
8155 nfields = split(line, field, "@")
8157 len = length(field[1])
8158 for (i = 2; i < nfields; i++) {
8160 keylen = length(key)
8161 if (S_is_set[key]) {
8163 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8164 len += length(value) + length(field[++i])
8175 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8176 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8177 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
8180 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
8181 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
8184 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8185 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
8186 # trailing colons and then remove the whole line if VPATH becomes empty
8187 # (actually we leave an empty line to preserve line numbers).
8188 if test "x$srcdir" = x.; then
8189 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
8207 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8208 fi # test -n "$CONFIG_FILES"
8211 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
8216 :[FHLC]) ac_mode=$ac_tag; continue;;
8218 case $ac_mode$ac_tag in
8220 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
8221 :[FH]-) ac_tag=-:-;;
8222 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8239 -) ac_f="$ac_tmp/stdin";;
8240 *) # Look for the file first in the build tree, then in the source tree
8241 # (if the path is not absolute). The absolute path cannot be DOS-style,
8242 # because $ac_f cannot contain `:'.
8246 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8248 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8250 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8251 as_fn_append ac_file_inputs " '$ac_f'"
8254 # Let's still pretend it is `configure' which instantiates (i.e., don't
8255 # use $as_me), people would be surprised to read:
8256 # /* config.h. Generated by config.status. */
8257 configure_input='Generated from '`
8258 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8260 if test x"$ac_file" != x-; then
8261 configure_input="$ac_file. $configure_input"
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8263 $as_echo "$as_me: creating $ac_file" >&6;}
8265 # Neutralize special characters interpreted by sed in replacement strings.
8266 case $configure_input in #(
8267 *\&* | *\|* | *\\* )
8268 ac_sed_conf_input=`$as_echo "$configure_input" |
8269 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8270 *) ac_sed_conf_input=$configure_input;;
8274 *:-:* | *:-) cat >"$ac_tmp/stdin" \
8275 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
8280 ac_dir=`$as_dirname -- "$ac_file" ||
8281 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8282 X"$ac_file" : 'X\(//\)[^/]' \| \
8283 X"$ac_file" : 'X\(//\)$' \| \
8284 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8285 $as_echo X"$ac_file" |
8286 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8303 as_dir="$ac_dir"; as_fn_mkdir_p
8307 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8309 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8310 # A ".." for each directory in $ac_dir_suffix.
8311 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8312 case $ac_top_builddir_sub in
8313 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8314 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8317 ac_abs_top_builddir=$ac_pwd
8318 ac_abs_builddir=$ac_pwd$ac_dir_suffix
8319 # for backward compatibility:
8320 ac_top_builddir=$ac_top_build_prefix
8323 .) # We are building in place.
8325 ac_top_srcdir=$ac_top_builddir_sub
8326 ac_abs_top_srcdir=$ac_pwd ;;
8327 [\\/]* | ?:[\\/]* ) # Absolute name.
8328 ac_srcdir=$srcdir$ac_dir_suffix;
8329 ac_top_srcdir=$srcdir
8330 ac_abs_top_srcdir=$srcdir ;;
8332 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8333 ac_top_srcdir=$ac_top_build_prefix$srcdir
8334 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8336 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8346 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8347 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8351 [\\/$]* | ?:[\\/]* ) ;;
8352 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
8356 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8357 # If the template does not know about datarootdir, expand it.
8358 # FIXME: This hack should be removed a few years after 2.60.
8359 ac_datarootdir_hack=; ac_datarootdir_seen=
8370 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8371 *datarootdir*) ac_datarootdir_seen=yes;;
8372 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8374 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8376 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8377 ac_datarootdir_hack='
8378 s&@datadir@&$datadir&g
8379 s&@docdir@&$docdir&g
8380 s&@infodir@&$infodir&g
8381 s&@localedir@&$localedir&g
8382 s&@mandir@&$mandir&g
8383 s&\\\${datarootdir}&$datarootdir&g' ;;
8387 # Neutralize VPATH when `$srcdir' = `.'.
8388 # Shell code in configure.ac might set extrasub.
8389 # FIXME: do we really want to maintain this feature?
8390 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8391 ac_sed_extra="$ac_vpsub
8394 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8396 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8397 s|@configure_input@|$ac_sed_conf_input|;t t
8398 s&@top_builddir@&$ac_top_builddir_sub&;t t
8399 s&@top_build_prefix@&$ac_top_build_prefix&;t t
8400 s&@srcdir@&$ac_srcdir&;t t
8401 s&@abs_srcdir@&$ac_abs_srcdir&;t t
8402 s&@top_srcdir@&$ac_top_srcdir&;t t
8403 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8404 s&@builddir@&$ac_builddir&;t t
8405 s&@abs_builddir@&$ac_abs_builddir&;t t
8406 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8407 s&@INSTALL@&$ac_INSTALL&;t t
8408 s&@MKDIR_P@&$ac_MKDIR_P&;t t
8409 $ac_datarootdir_hack
8411 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
8412 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8414 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8415 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
8416 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
8417 "$ac_tmp/out"`; test -z "$ac_out"; } &&
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8419 which seems to be undefined. Please make sure it is defined" >&5
8420 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8421 which seems to be undefined. Please make sure it is defined" >&2;}
8423 rm -f "$ac_tmp/stdin"
8425 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8426 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8428 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8432 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8433 $as_echo "$as_me: executing $ac_file commands" >&6;}
8438 case $ac_file$ac_mode in
8439 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
8440 # Autoconf 2.62 quotes --file arguments for eval, but not when files
8441 # are listed without --file. Let's play safe and only enable the eval
8442 # if we detect the quoting.
8443 case $CONFIG_FILES in
8444 *\'*) eval set x "$CONFIG_FILES" ;;
8445 *) set x $CONFIG_FILES ;;
8450 # Strip MF so we end up with the name of the file.
8451 mf=`echo "$mf" | sed -e 's/:.*$//'`
8452 # Check whether this is an Automake generated Makefile or not.
8453 # We used to match only the files named `Makefile.in', but
8454 # some people rename them; so instead we look at the file content.
8455 # Grep'ing the first line is not enough: some people post-process
8456 # each Makefile.in and add a new line on top of each file to say so.
8457 # Grep'ing the whole file is not good either: AIX grep has a line
8458 # limit of 2048, but all sed's we know have understand at least 4000.
8459 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
8460 dirpart=`$as_dirname -- "$mf" ||
8461 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8462 X"$mf" : 'X\(//\)[^/]' \| \
8463 X"$mf" : 'X\(//\)$' \| \
8464 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8466 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8486 # Extract the definition of DEPDIR, am__include, and am__quote
8487 # from the Makefile without running `make'.
8488 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8489 test -z "$DEPDIR" && continue
8490 am__include=`sed -n 's/^am__include = //p' < "$mf"`
8491 test -z "am__include" && continue
8492 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8493 # When using ansi2knr, U may be empty or an underscore; expand it
8494 U=`sed -n 's/^U = //p' < "$mf"`
8495 # Find all dependency output files, they are included files with
8496 # $(DEPDIR) in their names. We invoke sed twice because it is the
8497 # simplest approach to changing $(DEPDIR) to its actual value in the
8499 for file in `sed -n "
8500 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8501 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8502 # Make sure the directory exists.
8503 test -f "$dirpart/$file" && continue
8504 fdir=`$as_dirname -- "$file" ||
8505 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8506 X"$file" : 'X\(//\)[^/]' \| \
8507 X"$file" : 'X\(//\)$' \| \
8508 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8510 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8527 as_dir=$dirpart/$fdir; as_fn_mkdir_p
8528 # echo "creating $dirpart/$file"
8529 echo '# dummy' > "$dirpart/$file"
8535 for ac_file in $CONFIG_FILES; do
8536 # Support "outfile[:infile[:infile...]]"
8538 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
8540 # PO directories have a Makefile.in generated from Makefile.in.in.
8541 case "$ac_file" in */Makefile.in)
8542 # Adjust a relative srcdir.
8543 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
8544 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
8545 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
8546 # In autoconf-2.13 it is called $ac_given_srcdir.
8547 # In autoconf-2.50 it is called $srcdir.
8548 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
8549 case "$ac_given_srcdir" in
8550 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
8551 /*) top_srcdir="$ac_given_srcdir" ;;
8552 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
8554 # Treat a directory as a PO directory if and only if it has a
8555 # POTFILES.in file. This allows packages to have multiple PO
8556 # directories under different names or in different locations.
8557 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
8558 rm -f "$ac_dir/POTFILES"
8559 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
8560 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
8561 POMAKEFILEDEPS="POTFILES.in"
8562 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
8563 # on $ac_dir but don't depend on user-specified configuration
8565 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
8566 # The LINGUAS file contains the set of available languages.
8567 if test -n "$OBSOLETE_ALL_LINGUAS"; then
8568 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
8570 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
8571 # Hide the ALL_LINGUAS assigment from automake < 1.5.
8572 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
8573 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
8575 # The set of available languages was given in configure.in.
8576 # Hide the ALL_LINGUAS assigment from automake < 1.5.
8577 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
8580 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
8581 # Compute UPDATEPOFILES
8582 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
8583 # Compute DUMMYPOFILES
8584 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
8586 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
8587 case "$ac_given_srcdir" in
8589 *) srcdirpre='$(srcdir)/' ;;
8595 for lang in $ALL_LINGUAS; do
8596 POFILES="$POFILES $srcdirpre$lang.po"
8597 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
8598 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
8599 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
8601 # CATALOGS depends on both $ac_dir and the user's LINGUAS
8602 # environment variable.
8604 if test -n "$ALL_LINGUAS"; then
8605 for presentlang in $ALL_LINGUAS; do
8607 if test "%UNSET%" != "$LINGUAS"; then
8608 desiredlanguages="$LINGUAS"
8610 desiredlanguages="$ALL_LINGUAS"
8612 for desiredlang in $desiredlanguages; do
8613 # Use the presentlang catalog if desiredlang is
8614 # a. equal to presentlang, or
8615 # b. a variant of presentlang (because in this case,
8616 # presentlang can be used as a fallback for messages
8617 # which are not translated in the desiredlang catalog).
8618 case "$desiredlang" in
8619 "$presentlang"*) useit=yes;;
8622 if test $useit = yes; then
8623 INST_LINGUAS="$INST_LINGUAS $presentlang"
8628 if test -n "$INST_LINGUAS"; then
8629 for lang in $INST_LINGUAS; do
8630 CATALOGS="$CATALOGS $lang.gmo"
8633 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
8634 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
8635 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
8636 if test -f "$f"; then
8638 *.orig | *.bak | *~) ;;
8639 *) cat "$f" >> "$ac_dir/Makefile" ;;
8648 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
8649 as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
8651 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
8656 '"s|^| $ac_top_srcdir/|" \
8657 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
8659 sed '/^POTFILES =/,/[^\\]$/ {
8663 ' "po/Makefile.in" >"po/Makefile"
8664 rm -f "po/Makefile.tmp"
8665 mv "po/stamp-it.tmp" "po/stamp-it"
8674 ac_clean_files=$ac_clean_files_save
8676 test $ac_write_fail = 0 ||
8677 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
8680 # configure is writing to config.log, and then calls config.status.
8681 # config.status does its own redirection, appending to config.log.
8682 # Unfortunately, on DOS this fails, as config.log is still kept open
8683 # by configure, so config.status won't be able to write to it; its
8684 # output is simply discarded. So we exec the FD to /dev/null,
8685 # effectively closing config.log, so it can be properly (re)opened and
8686 # appended to by config.status. When coming back to configure, we
8687 # need to make the FD available again.
8688 if test "$no_create" != yes; then
8690 ac_config_status_args=
8691 test "$silent" = yes &&
8692 ac_config_status_args="$ac_config_status_args --quiet"
8694 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8696 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8697 # would make configure fail if this is the last instruction.
8698 $ac_cs_success || as_fn_exit 1
8700 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8702 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
8706 echo '***********************************************************'
8707 echo " $PACKAGE_NAME is configured with the following parameters:"
8708 echo " XKB base directory: $xkb_base"
8709 if test -z "$xkb_rules_symlink" ; then
8710 echo " Symbolic link(s) to legacy rules are not created"
8712 echo " Symbolic link(s) to legacy rules: $xkb_rules_symlink"
8715 if test "$enable_compat_rules" = "yes" ; then
8716 echo " Compatibility rules are included"
8718 echo " Compatibility rules are not included"
8720 echo '***********************************************************'