2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for uxlaunch 0.64.
5 # Report bugs to <auke-jan.h.kok@intel.com>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1"
178 if (eval "$as_required") 2>/dev/null; then :
183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
191 test -z "$as_dir" && as_dir=.
195 for as_base in sh bash ksh sh5; do
196 # Try only shells that exist, to save several forks.
197 as_shell=$as_dir/$as_base
198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200 CONFIG_SHELL=$as_shell as_have_required=yes
201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211 CONFIG_SHELL=$SHELL as_have_required=yes
216 if test "x$CONFIG_SHELL" != x; then :
217 # We cannot yet assume a decent shell, so we have to provide a
218 # neutralization value for shells without unset; and this also
219 # works around shells that cannot unset nonexistent variables.
220 # Preserve -v and -x to the replacement shell.
223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 *v*x* | *x*v* ) as_opts=-vx ;;
231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
234 if test x$as_have_required = xno; then :
235 $as_echo "$0: This script requires a shell more modern than all"
236 $as_echo "$0: the shells that I found on your system."
237 if test x${ZSH_VERSION+set} = xset ; then
238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
239 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
241 $as_echo "$0: Please tell bug-autoconf@gnu.org and
242 $0: auke-jan.h.kok@intel.com about your system, including
243 $0: any error possibly output before this message. Then
244 $0: install a modern shell, or manually run the script
245 $0: under such a shell if you do have one."
251 SHELL=${CONFIG_SHELL-/bin/sh}
253 # Unset more variables known to interfere with behavior of common tools.
254 CLICOLOR_FORCE= GREP_OPTIONS=
255 unset CLICOLOR_FORCE GREP_OPTIONS
257 ## --------------------- ##
258 ## M4sh Shell Functions. ##
259 ## --------------------- ##
262 # Portably unset VAR.
265 { eval $1=; unset $1;}
269 # as_fn_set_status STATUS
270 # -----------------------
271 # Set $? to STATUS, without forking.
279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
289 # Create "$as_dir" as a directory, including parents if necessary.
294 -*) as_dir=./$as_dir;;
296 test -d "$as_dir" || eval $as_mkdir_p || {
300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
303 as_dirs="'$as_qdir' $as_dirs"
304 as_dir=`$as_dirname -- "$as_dir" ||
305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
306 X"$as_dir" : 'X\(//\)[^/]' \| \
307 X"$as_dir" : 'X\(//\)$' \| \
308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
309 $as_echo X"$as_dir" |
310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
327 test -d "$as_dir" && break
329 test -z "$as_dirs" || eval "mkdir $as_dirs"
330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
334 # as_fn_append VAR VALUE
335 # ----------------------
336 # Append the text in VALUE to the end of the definition contained in VAR. Take
337 # advantage of any shell optimizations that allow amortized linear growth over
338 # repeated appends, instead of the typical quadratic growth present in naive
340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
341 eval 'as_fn_append ()
354 # Perform arithmetic evaluation on the ARGs, and store the result in the
355 # global $as_val. Take advantage of shells that can avoid forks. The arguments
356 # must be portable across $(()) and expr.
357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
365 as_val=`expr "$@" || test $? -eq 1`
370 # as_fn_error STATUS ERROR [LINENO LOG_FD]
371 # ----------------------------------------
372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
374 # script with STATUS, using 1 if that was 0.
377 as_status=$1; test $as_status -eq 0 && as_status=1
379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
382 $as_echo "$as_me: error: $2" >&2
383 as_fn_exit $as_status
386 if expr a : '\(a\)' >/dev/null 2>&1 &&
387 test "X`expr 00001 : '.*\(...\)'`" = X001; then
393 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
405 as_me=`$as_basename -- "$0" ||
406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
407 X"$0" : 'X\(//\)$' \| \
408 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
410 sed '/^.*\/\([^/][^/]*\)\/*$/{
424 # Avoid depending upon Character Ranges.
425 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
428 as_cr_digits='0123456789'
429 as_cr_alnum=$as_cr_Letters$as_cr_digits
432 as_lineno_1=$LINENO as_lineno_1a=$LINENO
433 as_lineno_2=$LINENO as_lineno_2a=$LINENO
434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
448 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 chmod +x "$as_me.lineno" ||
453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
455 # Don't try to exec as it changes $[0], causing all sort of problems
456 # (the dirname of $[0] is not the place where we might find the
457 # original and so on. Autoconf is especially sensitive to this).
459 # Exit status is that of the last command.
463 ECHO_C= ECHO_N= ECHO_T=
464 case `echo -n x` in #(((((
466 case `echo 'xy\c'` in
467 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
476 rm -f conf$$ conf$$.exe conf$$.file
477 if test -d conf$$.dir; then
478 rm -f conf$$.dir/conf$$.file
481 mkdir conf$$.dir 2>/dev/null
483 if (echo >conf$$.file) 2>/dev/null; then
484 if ln -s conf$$.file conf$$ 2>/dev/null; then
486 # ... but there are two gotchas:
487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
489 # In both cases, we have to default to `cp -p'.
490 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
492 elif ln conf$$.file conf$$ 2>/dev/null; then
500 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
501 rmdir conf$$.dir 2>/dev/null
503 if mkdir -p . 2>/dev/null; then
504 as_mkdir_p='mkdir -p "$as_dir"'
506 test -d ./-p && rmdir ./-p
510 if test -x / >/dev/null 2>&1; then
513 if ls -dL / >/dev/null 2>&1; then
520 if test -d "$1"; then
526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
527 ???[sx]*):;;*)false;;esac;fi
531 as_executable_p=$as_test_x
533 # Sed expression to map a string onto a valid CPP name.
534 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
536 # Sed expression to map a string onto a valid variable name.
537 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
540 test -n "$DJDIR" || exec 7<&0 </dev/null
544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
545 # so uname gets run too.
546 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
551 ac_default_prefix=/usr/local
553 ac_config_libobj_dir=.
560 # Identity of this package.
561 PACKAGE_NAME='uxlaunch'
562 PACKAGE_TARNAME='uxlaunch'
563 PACKAGE_VERSION='0.64'
564 PACKAGE_STRING='uxlaunch 0.64'
565 PACKAGE_BUGREPORT='auke-jan.h.kok@intel.com'
568 ac_unique_file="src/uxlaunch.c"
569 # Factoring default headers for most tests.
570 ac_includes_default="\
572 #ifdef HAVE_SYS_TYPES_H
573 # include <sys/types.h>
575 #ifdef HAVE_SYS_STAT_H
576 # include <sys/stat.h>
582 # ifdef HAVE_STDLIB_H
587 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
592 #ifdef HAVE_STRINGS_H
593 # include <strings.h>
595 #ifdef HAVE_INTTYPES_H
596 # include <inttypes.h>
605 ac_subst_vars='am__EXEEXT_FALSE
615 ENABLE_ECRYPTFS_FALSE
619 WITH_CONSOLEKIT_FALSE
654 INSTALL_STRIP_PROGRAM
696 program_transform_name
709 enable_option_checking
710 enable_dependency_tracking
717 ac_precious_vars='build_alias
737 # Initialize some variables set by options.
739 ac_init_version=false
740 ac_unrecognized_opts=
742 # The variables have the same names as the options, with
743 # dashes changed to underlines.
751 program_transform_name=s,x,x,
759 # Installation directory options.
760 # These are left unexpanded so users can "make install exec_prefix=/foo"
761 # and all the variables that are supposed to be based on exec_prefix
762 # by default will actually change.
763 # Use braces instead of parens because sh, perl, etc. also accept them.
764 # (The list follows the same order as the GNU Coding Standards.)
765 bindir='${exec_prefix}/bin'
766 sbindir='${exec_prefix}/sbin'
767 libexecdir='${exec_prefix}/libexec'
768 datarootdir='${prefix}/share'
769 datadir='${datarootdir}'
770 sysconfdir='${prefix}/etc'
771 sharedstatedir='${prefix}/com'
772 localstatedir='${prefix}/var'
773 includedir='${prefix}/include'
774 oldincludedir='/usr/include'
775 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
776 infodir='${datarootdir}/info'
781 libdir='${exec_prefix}/lib'
782 localedir='${datarootdir}/locale'
783 mandir='${datarootdir}/man'
789 # If the previous option needs an argument, assign it.
790 if test -n "$ac_prev"; then
791 eval $ac_prev=\$ac_option
797 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
802 # Accept the important Cygnus configure options, so we can diagnose typos.
804 case $ac_dashdash$ac_option in
808 -bindir | --bindir | --bindi | --bind | --bin | --bi)
810 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
813 -build | --build | --buil | --bui | --bu)
814 ac_prev=build_alias ;;
815 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
816 build_alias=$ac_optarg ;;
818 -cache-file | --cache-file | --cache-fil | --cache-fi \
819 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
820 ac_prev=cache_file ;;
821 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
822 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
823 cache_file=$ac_optarg ;;
826 cache_file=config.cache ;;
828 -datadir | --datadir | --datadi | --datad)
830 -datadir=* | --datadir=* | --datadi=* | --datad=*)
831 datadir=$ac_optarg ;;
833 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
834 | --dataroo | --dataro | --datar)
835 ac_prev=datarootdir ;;
836 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
837 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
838 datarootdir=$ac_optarg ;;
840 -disable-* | --disable-*)
841 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
842 # Reject names that are not valid shell variable names.
843 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
844 as_fn_error $? "invalid feature name: $ac_useropt"
845 ac_useropt_orig=$ac_useropt
846 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
847 case $ac_user_opts in
851 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
852 ac_unrecognized_sep=', ';;
854 eval enable_$ac_useropt=no ;;
856 -docdir | --docdir | --docdi | --doc | --do)
858 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
861 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
863 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
866 -enable-* | --enable-*)
867 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
868 # Reject names that are not valid shell variable names.
869 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
870 as_fn_error $? "invalid feature name: $ac_useropt"
871 ac_useropt_orig=$ac_useropt
872 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
873 case $ac_user_opts in
877 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
878 ac_unrecognized_sep=', ';;
880 eval enable_$ac_useropt=\$ac_optarg ;;
882 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
883 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
884 | --exec | --exe | --ex)
885 ac_prev=exec_prefix ;;
886 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
887 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
888 | --exec=* | --exe=* | --ex=*)
889 exec_prefix=$ac_optarg ;;
891 -gas | --gas | --ga | --g)
892 # Obsolete; use --with-gas.
895 -help | --help | --hel | --he | -h)
897 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
898 ac_init_help=recursive ;;
899 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
900 ac_init_help=short ;;
902 -host | --host | --hos | --ho)
903 ac_prev=host_alias ;;
904 -host=* | --host=* | --hos=* | --ho=*)
905 host_alias=$ac_optarg ;;
907 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
909 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
911 htmldir=$ac_optarg ;;
913 -includedir | --includedir | --includedi | --included | --include \
914 | --includ | --inclu | --incl | --inc)
915 ac_prev=includedir ;;
916 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
917 | --includ=* | --inclu=* | --incl=* | --inc=*)
918 includedir=$ac_optarg ;;
920 -infodir | --infodir | --infodi | --infod | --info | --inf)
922 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
923 infodir=$ac_optarg ;;
925 -libdir | --libdir | --libdi | --libd)
927 -libdir=* | --libdir=* | --libdi=* | --libd=*)
930 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
931 | --libexe | --libex | --libe)
932 ac_prev=libexecdir ;;
933 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
934 | --libexe=* | --libex=* | --libe=*)
935 libexecdir=$ac_optarg ;;
937 -localedir | --localedir | --localedi | --localed | --locale)
939 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
940 localedir=$ac_optarg ;;
942 -localstatedir | --localstatedir | --localstatedi | --localstated \
943 | --localstate | --localstat | --localsta | --localst | --locals)
944 ac_prev=localstatedir ;;
945 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
946 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
947 localstatedir=$ac_optarg ;;
949 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
951 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
955 # Obsolete; use --without-fp.
958 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
959 | --no-cr | --no-c | -n)
962 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
963 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
966 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
967 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
968 | --oldin | --oldi | --old | --ol | --o)
969 ac_prev=oldincludedir ;;
970 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
971 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
972 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
973 oldincludedir=$ac_optarg ;;
975 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
977 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
980 -program-prefix | --program-prefix | --program-prefi | --program-pref \
981 | --program-pre | --program-pr | --program-p)
982 ac_prev=program_prefix ;;
983 -program-prefix=* | --program-prefix=* | --program-prefi=* \
984 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
985 program_prefix=$ac_optarg ;;
987 -program-suffix | --program-suffix | --program-suffi | --program-suff \
988 | --program-suf | --program-su | --program-s)
989 ac_prev=program_suffix ;;
990 -program-suffix=* | --program-suffix=* | --program-suffi=* \
991 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
992 program_suffix=$ac_optarg ;;
994 -program-transform-name | --program-transform-name \
995 | --program-transform-nam | --program-transform-na \
996 | --program-transform-n | --program-transform- \
997 | --program-transform | --program-transfor \
998 | --program-transfo | --program-transf \
999 | --program-trans | --program-tran \
1000 | --progr-tra | --program-tr | --program-t)
1001 ac_prev=program_transform_name ;;
1002 -program-transform-name=* | --program-transform-name=* \
1003 | --program-transform-nam=* | --program-transform-na=* \
1004 | --program-transform-n=* | --program-transform-=* \
1005 | --program-transform=* | --program-transfor=* \
1006 | --program-transfo=* | --program-transf=* \
1007 | --program-trans=* | --program-tran=* \
1008 | --progr-tra=* | --program-tr=* | --program-t=*)
1009 program_transform_name=$ac_optarg ;;
1011 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1013 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1014 pdfdir=$ac_optarg ;;
1016 -psdir | --psdir | --psdi | --psd | --ps)
1018 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1021 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1022 | -silent | --silent | --silen | --sile | --sil)
1025 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1027 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1029 sbindir=$ac_optarg ;;
1031 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1032 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1033 | --sharedst | --shareds | --shared | --share | --shar \
1035 ac_prev=sharedstatedir ;;
1036 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1037 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1038 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1040 sharedstatedir=$ac_optarg ;;
1042 -site | --site | --sit)
1044 -site=* | --site=* | --sit=*)
1047 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1049 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1050 srcdir=$ac_optarg ;;
1052 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1053 | --syscon | --sysco | --sysc | --sys | --sy)
1054 ac_prev=sysconfdir ;;
1055 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1056 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1057 sysconfdir=$ac_optarg ;;
1059 -target | --target | --targe | --targ | --tar | --ta | --t)
1060 ac_prev=target_alias ;;
1061 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1062 target_alias=$ac_optarg ;;
1064 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1067 -version | --version | --versio | --versi | --vers | -V)
1068 ac_init_version=: ;;
1071 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1072 # Reject names that are not valid shell variable names.
1073 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1074 as_fn_error $? "invalid package name: $ac_useropt"
1075 ac_useropt_orig=$ac_useropt
1076 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1077 case $ac_user_opts in
1081 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1082 ac_unrecognized_sep=', ';;
1084 eval with_$ac_useropt=\$ac_optarg ;;
1086 -without-* | --without-*)
1087 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1088 # Reject names that are not valid shell variable names.
1089 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1090 as_fn_error $? "invalid package name: $ac_useropt"
1091 ac_useropt_orig=$ac_useropt
1092 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1093 case $ac_user_opts in
1097 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1098 ac_unrecognized_sep=', ';;
1100 eval with_$ac_useropt=no ;;
1103 # Obsolete; use --with-x.
1106 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1107 | --x-incl | --x-inc | --x-in | --x-i)
1108 ac_prev=x_includes ;;
1109 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1110 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1111 x_includes=$ac_optarg ;;
1113 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1114 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1115 ac_prev=x_libraries ;;
1116 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1117 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1118 x_libraries=$ac_optarg ;;
1120 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1121 Try \`$0 --help' for more information"
1125 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1126 # Reject names that are not valid shell variable names.
1127 case $ac_envvar in #(
1128 '' | [0-9]* | *[!_$as_cr_alnum]* )
1129 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1131 eval $ac_envvar=\$ac_optarg
1132 export $ac_envvar ;;
1135 # FIXME: should be removed in autoconf 3.0.
1136 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1137 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1138 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1139 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1145 if test -n "$ac_prev"; then
1146 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1147 as_fn_error $? "missing argument to $ac_option"
1150 if test -n "$ac_unrecognized_opts"; then
1151 case $enable_option_checking in
1153 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1154 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1158 # Check all directory arguments for consistency.
1159 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1160 datadir sysconfdir sharedstatedir localstatedir includedir \
1161 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1162 libdir localedir mandir
1164 eval ac_val=\$$ac_var
1165 # Remove trailing slashes.
1168 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1169 eval $ac_var=\$ac_val;;
1171 # Be sure to have absolute directory names.
1173 [\\/$]* | ?:[\\/]* ) continue;;
1174 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1176 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1179 # There might be people who depend on the old broken behavior: `$host'
1180 # used to hold the argument of --host etc.
1181 # FIXME: To remove some day.
1184 target=$target_alias
1186 # FIXME: To remove some day.
1187 if test "x$host_alias" != x; then
1188 if test "x$build_alias" = x; then
1189 cross_compiling=maybe
1190 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1191 If a cross compiler is detected then cross compile mode will be used" >&2
1192 elif test "x$build_alias" != "x$host_alias"; then
1198 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1200 test "$silent" = yes && exec 6>/dev/null
1203 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1204 ac_ls_di=`ls -di .` &&
1205 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1206 as_fn_error $? "working directory cannot be determined"
1207 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1208 as_fn_error $? "pwd does not report name of working directory"
1211 # Find the source files, if location was not specified.
1212 if test -z "$srcdir"; then
1213 ac_srcdir_defaulted=yes
1214 # Try the directory containing this script, then the parent directory.
1215 ac_confdir=`$as_dirname -- "$as_myself" ||
1216 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1217 X"$as_myself" : 'X\(//\)[^/]' \| \
1218 X"$as_myself" : 'X\(//\)$' \| \
1219 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1220 $as_echo X"$as_myself" |
1221 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1239 if test ! -r "$srcdir/$ac_unique_file"; then
1243 ac_srcdir_defaulted=no
1245 if test ! -r "$srcdir/$ac_unique_file"; then
1246 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1247 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1249 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1251 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1253 # When building in place, set srcdir=.
1254 if test "$ac_abs_confdir" = "$ac_pwd"; then
1257 # Remove unnecessary trailing slashes from srcdir.
1258 # Double slashes in file names in object file debugging info
1259 # mess up M-x gdb in Emacs.
1261 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1263 for ac_var in $ac_precious_vars; do
1264 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1265 eval ac_env_${ac_var}_value=\$${ac_var}
1266 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1267 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1271 # Report the --help message.
1273 if test "$ac_init_help" = "long"; then
1274 # Omit some internal or obsolete options to make the list less imposing.
1275 # This message is too long to be a string in the A/UX 3.1 sh.
1277 \`configure' configures uxlaunch 0.64 to adapt to many kinds of systems.
1279 Usage: $0 [OPTION]... [VAR=VALUE]...
1281 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1282 VAR=VALUE. See below for descriptions of some of the useful variables.
1284 Defaults for the options are specified in brackets.
1287 -h, --help display this help and exit
1288 --help=short display options specific to this package
1289 --help=recursive display the short help of all the included packages
1290 -V, --version display version information and exit
1291 -q, --quiet, --silent do not print \`checking ...' messages
1292 --cache-file=FILE cache test results in FILE [disabled]
1293 -C, --config-cache alias for \`--cache-file=config.cache'
1294 -n, --no-create do not create output files
1295 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1297 Installation directories:
1298 --prefix=PREFIX install architecture-independent files in PREFIX
1299 [$ac_default_prefix]
1300 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1303 By default, \`make install' will install all the files in
1304 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1305 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1306 for instance \`--prefix=\$HOME'.
1308 For better control, use the options below.
1310 Fine tuning of the installation directories:
1311 --bindir=DIR user executables [EPREFIX/bin]
1312 --sbindir=DIR system admin executables [EPREFIX/sbin]
1313 --libexecdir=DIR program executables [EPREFIX/libexec]
1314 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1315 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1316 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1317 --libdir=DIR object code libraries [EPREFIX/lib]
1318 --includedir=DIR C header files [PREFIX/include]
1319 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1320 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1321 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1322 --infodir=DIR info documentation [DATAROOTDIR/info]
1323 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1324 --mandir=DIR man documentation [DATAROOTDIR/man]
1325 --docdir=DIR documentation root [DATAROOTDIR/doc/uxlaunch]
1326 --htmldir=DIR html documentation [DOCDIR]
1327 --dvidir=DIR dvi documentation [DOCDIR]
1328 --pdfdir=DIR pdf documentation [DOCDIR]
1329 --psdir=DIR ps documentation [DOCDIR]
1335 --program-prefix=PREFIX prepend PREFIX to installed program names
1336 --program-suffix=SUFFIX append SUFFIX to installed program names
1337 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1341 if test -n "$ac_init_help"; then
1342 case $ac_init_help in
1343 short | recursive ) echo "Configuration of uxlaunch 0.64:";;
1348 --disable-option-checking ignore unrecognized --enable/--with options
1349 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1350 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1351 --disable-dependency-tracking speeds up one-time build
1352 --enable-dependency-tracking do not reject slow dependency extractors
1353 --disable-chooser Build with chooser support (default: enabled)
1354 --disable-ecryptfs Build with ecryptfs support (default: enabled)
1355 --enable-debug enable debug data generation (default: disabled)
1358 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1359 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1360 --with-ck-connector Build with ConsoleKit connector support (default:
1362 --with-systemdunitdir=DIR
1363 path to systemd service directory
1365 Some influential environment variables:
1366 CC C compiler command
1367 CFLAGS C compiler flags
1368 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1369 nonstandard directory <lib dir>
1370 LIBS libraries to pass to the linker, e.g. -l<library>
1371 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1372 you have headers in a nonstandard directory <include dir>
1373 PKG_CONFIG path to pkg-config utility
1375 directories to add to pkg-config's search path
1377 path overriding pkg-config's built-in search path
1378 DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1379 DBUS_LIBS linker flags for DBUS, overriding pkg-config
1381 C compiler flags for GLIB2, overriding pkg-config
1382 GLIB2_LIBS linker flags for GLIB2, overriding pkg-config
1384 C compiler flags for CONSOLEKIT, overriding pkg-config
1386 linker flags for CONSOLEKIT, overriding pkg-config
1389 Use these variables to override the choices made by `configure' or to help
1390 it to find libraries and programs with nonstandard names/locations.
1392 Report bugs to <auke-jan.h.kok@intel.com>.
1397 if test "$ac_init_help" = "recursive"; then
1398 # If there are subdirs, report their specific --help.
1399 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1400 test -d "$ac_dir" ||
1401 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1406 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1408 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1409 # A ".." for each directory in $ac_dir_suffix.
1410 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1411 case $ac_top_builddir_sub in
1412 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1413 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1416 ac_abs_top_builddir=$ac_pwd
1417 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1418 # for backward compatibility:
1419 ac_top_builddir=$ac_top_build_prefix
1422 .) # We are building in place.
1424 ac_top_srcdir=$ac_top_builddir_sub
1425 ac_abs_top_srcdir=$ac_pwd ;;
1426 [\\/]* | ?:[\\/]* ) # Absolute name.
1427 ac_srcdir=$srcdir$ac_dir_suffix;
1428 ac_top_srcdir=$srcdir
1429 ac_abs_top_srcdir=$srcdir ;;
1431 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1432 ac_top_srcdir=$ac_top_build_prefix$srcdir
1433 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1435 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1437 cd "$ac_dir" || { ac_status=$?; continue; }
1438 # Check for guested configure.
1439 if test -f "$ac_srcdir/configure.gnu"; then
1441 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1442 elif test -f "$ac_srcdir/configure"; then
1444 $SHELL "$ac_srcdir/configure" --help=recursive
1446 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1448 cd "$ac_pwd" || { ac_status=$?; break; }
1452 test -n "$ac_init_help" && exit $ac_status
1453 if $ac_init_version; then
1455 uxlaunch configure 0.64
1456 generated by GNU Autoconf 2.68
1458 Copyright (C) 2010 Free Software Foundation, Inc.
1459 This configure script is free software; the Free Software Foundation
1460 gives unlimited permission to copy, distribute and modify it.
1465 ## ------------------------ ##
1466 ## Autoconf initialization. ##
1467 ## ------------------------ ##
1469 # ac_fn_c_try_compile LINENO
1470 # --------------------------
1471 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1472 ac_fn_c_try_compile ()
1474 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1475 rm -f conftest.$ac_objext
1476 if { { ac_try="$ac_compile"
1478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1479 *) ac_try_echo=$ac_try;;
1481 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1482 $as_echo "$ac_try_echo"; } >&5
1483 (eval "$ac_compile") 2>conftest.err
1485 if test -s conftest.err; then
1486 grep -v '^ *+' conftest.err >conftest.er1
1487 cat conftest.er1 >&5
1488 mv -f conftest.er1 conftest.err
1490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1491 test $ac_status = 0; } && {
1492 test -z "$ac_c_werror_flag" ||
1493 test ! -s conftest.err
1494 } && test -s conftest.$ac_objext; then :
1497 $as_echo "$as_me: failed program was:" >&5
1498 sed 's/^/| /' conftest.$ac_ext >&5
1502 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1503 as_fn_set_status $ac_retval
1505 } # ac_fn_c_try_compile
1507 # ac_fn_c_try_link LINENO
1508 # -----------------------
1509 # Try to link conftest.$ac_ext, and return whether this succeeded.
1512 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1513 rm -f conftest.$ac_objext conftest$ac_exeext
1514 if { { ac_try="$ac_link"
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_link") 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_exeext && {
1533 test "$cross_compiling" = yes ||
1534 $as_test_x conftest$ac_exeext
1538 $as_echo "$as_me: failed program was:" >&5
1539 sed 's/^/| /' conftest.$ac_ext >&5
1543 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1544 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1545 # interfere with the next link command; also delete a directory that is
1546 # left behind by Apple's compiler. We do this before executing the actions.
1547 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1548 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1549 as_fn_set_status $ac_retval
1551 } # ac_fn_c_try_link
1553 # ac_fn_c_try_cpp LINENO
1554 # ----------------------
1555 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1558 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1559 if { { ac_try="$ac_cpp conftest.$ac_ext"
1561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1562 *) ac_try_echo=$ac_try;;
1564 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1565 $as_echo "$ac_try_echo"; } >&5
1566 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1568 if test -s conftest.err; then
1569 grep -v '^ *+' conftest.err >conftest.er1
1570 cat conftest.er1 >&5
1571 mv -f conftest.er1 conftest.err
1573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1574 test $ac_status = 0; } > conftest.i && {
1575 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1576 test ! -s conftest.err
1580 $as_echo "$as_me: failed program was:" >&5
1581 sed 's/^/| /' conftest.$ac_ext >&5
1585 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1586 as_fn_set_status $ac_retval
1590 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1591 # -------------------------------------------------------
1592 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1593 # the include files in INCLUDES and setting the cache variable VAR
1595 ac_fn_c_check_header_mongrel ()
1597 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1598 if eval \${$3+:} false; then :
1599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1600 $as_echo_n "checking for $2... " >&6; }
1601 if eval \${$3+:} false; then :
1602 $as_echo_n "(cached) " >&6
1605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1606 $as_echo "$ac_res" >&6; }
1608 # Is the header compilable?
1609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1610 $as_echo_n "checking $2 usability... " >&6; }
1611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1612 /* end confdefs.h. */
1616 if ac_fn_c_try_compile "$LINENO"; then :
1617 ac_header_compiler=yes
1619 ac_header_compiler=no
1621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1623 $as_echo "$ac_header_compiler" >&6; }
1625 # Is the header present?
1626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1627 $as_echo_n "checking $2 presence... " >&6; }
1628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1629 /* end confdefs.h. */
1632 if ac_fn_c_try_cpp "$LINENO"; then :
1633 ac_header_preproc=yes
1635 ac_header_preproc=no
1637 rm -f conftest.err conftest.i conftest.$ac_ext
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1639 $as_echo "$ac_header_preproc" >&6; }
1641 # So? What about this header?
1642 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1645 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1647 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1651 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1653 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1655 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1657 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1659 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1660 ( $as_echo "## --------------------------------------- ##
1661 ## Report this to auke-jan.h.kok@intel.com ##
1662 ## --------------------------------------- ##"
1663 ) | sed "s/^/$as_me: WARNING: /" >&2
1666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1667 $as_echo_n "checking for $2... " >&6; }
1668 if eval \${$3+:} false; then :
1669 $as_echo_n "(cached) " >&6
1671 eval "$3=\$ac_header_compiler"
1674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1675 $as_echo "$ac_res" >&6; }
1677 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1679 } # ac_fn_c_check_header_mongrel
1681 # ac_fn_c_try_run LINENO
1682 # ----------------------
1683 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1684 # that executables *can* be run.
1687 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1688 if { { ac_try="$ac_link"
1690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1691 *) ac_try_echo=$ac_try;;
1693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1694 $as_echo "$ac_try_echo"; } >&5
1695 (eval "$ac_link") 2>&5
1697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1698 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1699 { { case "(($ac_try" in
1700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1701 *) ac_try_echo=$ac_try;;
1703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1704 $as_echo "$ac_try_echo"; } >&5
1705 (eval "$ac_try") 2>&5
1707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1708 test $ac_status = 0; }; }; then :
1711 $as_echo "$as_me: program exited with status $ac_status" >&5
1712 $as_echo "$as_me: failed program was:" >&5
1713 sed 's/^/| /' conftest.$ac_ext >&5
1715 ac_retval=$ac_status
1717 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1718 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1719 as_fn_set_status $ac_retval
1723 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1724 # -------------------------------------------------------
1725 # Tests whether HEADER exists and can be compiled using the include files in
1726 # INCLUDES, setting the cache variable VAR accordingly.
1727 ac_fn_c_check_header_compile ()
1729 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1731 $as_echo_n "checking for $2... " >&6; }
1732 if eval \${$3+:} false; then :
1733 $as_echo_n "(cached) " >&6
1735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1736 /* end confdefs.h. */
1740 if ac_fn_c_try_compile "$LINENO"; then :
1745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1749 $as_echo "$ac_res" >&6; }
1750 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1752 } # ac_fn_c_check_header_compile
1754 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1755 # -------------------------------------------
1756 # Tests whether TYPE exists after having included INCLUDES, setting cache
1757 # variable VAR accordingly.
1758 ac_fn_c_check_type ()
1760 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1762 $as_echo_n "checking for $2... " >&6; }
1763 if eval \${$3+:} false; then :
1764 $as_echo_n "(cached) " >&6
1767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1768 /* end confdefs.h. */
1779 if ac_fn_c_try_compile "$LINENO"; then :
1780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1781 /* end confdefs.h. */
1792 if ac_fn_c_try_compile "$LINENO"; then :
1797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1803 $as_echo "$ac_res" >&6; }
1804 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1806 } # ac_fn_c_check_type
1808 # ac_fn_c_find_uintX_t LINENO BITS VAR
1809 # ------------------------------------
1810 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1812 ac_fn_c_find_uintX_t ()
1814 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1816 $as_echo_n "checking for uint$2_t... " >&6; }
1817 if eval \${$3+:} false; then :
1818 $as_echo_n "(cached) " >&6
1821 # Order is important - never check a type that is potentially smaller
1822 # than half of the expected target width.
1823 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1824 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1826 /* end confdefs.h. */
1827 $ac_includes_default
1831 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1838 if ac_fn_c_try_compile "$LINENO"; then :
1843 eval "$3=\$ac_type" ;;
1846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1847 if eval test \"x\$"$3"\" = x"no"; then :
1855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1856 $as_echo "$ac_res" >&6; }
1857 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1859 } # ac_fn_c_find_uintX_t
1861 # ac_fn_c_check_func LINENO FUNC VAR
1862 # ----------------------------------
1863 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1864 ac_fn_c_check_func ()
1866 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1868 $as_echo_n "checking for $2... " >&6; }
1869 if eval \${$3+:} false; then :
1870 $as_echo_n "(cached) " >&6
1872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1873 /* end confdefs.h. */
1874 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1875 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1876 #define $2 innocuous_$2
1878 /* System header to define __stub macros and hopefully few prototypes,
1879 which can conflict with char $2 (); below.
1880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1881 <limits.h> exists even on freestanding compilers. */
1884 # include <limits.h>
1886 # include <assert.h>
1891 /* Override any GCC internal prototype to avoid an error.
1892 Use char because int might match the return type of a GCC
1893 builtin and then its argument prototype would still apply. */
1898 /* The GNU C library defines this for functions which it implements
1899 to always fail with ENOSYS. Some functions are actually named
1900 something starting with __ and the normal name is an alias. */
1901 #if defined __stub_$2 || defined __stub___$2
1913 if ac_fn_c_try_link "$LINENO"; then :
1918 rm -f core conftest.err conftest.$ac_objext \
1919 conftest$ac_exeext conftest.$ac_ext
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1923 $as_echo "$ac_res" >&6; }
1924 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1926 } # ac_fn_c_check_func
1927 cat >config.log <<_ACEOF
1928 This file contains any messages produced by compilers while
1929 running configure, to aid debugging if configure makes a mistake.
1931 It was created by uxlaunch $as_me 0.64, which was
1932 generated by GNU Autoconf 2.68. Invocation command line was
1944 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1945 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1946 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1947 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1948 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1950 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1951 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1953 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1954 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1955 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1956 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1957 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1958 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1959 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1967 test -z "$as_dir" && as_dir=.
1968 $as_echo "PATH: $as_dir"
1984 # Keep a trace of the command line.
1985 # Strip out --no-create and --no-recursion so they do not pile up.
1986 # Strip out --silent because we don't want to record it for future runs.
1987 # Also quote any args containing shell meta-characters.
1988 # Make two passes to allow for proper duplicate-argument suppression.
1992 ac_must_keep_next=false
1998 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1999 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2000 | -silent | --silent | --silen | --sile | --sil)
2003 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2006 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2008 as_fn_append ac_configure_args1 " '$ac_arg'"
2009 if test $ac_must_keep_next = true; then
2010 ac_must_keep_next=false # Got value, back to normal.
2013 *=* | --config-cache | -C | -disable-* | --disable-* \
2014 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2015 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2016 | -with-* | --with-* | -without-* | --without-* | --x)
2017 case "$ac_configure_args0 " in
2018 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2021 -* ) ac_must_keep_next=true ;;
2024 as_fn_append ac_configure_args " '$ac_arg'"
2029 { ac_configure_args0=; unset ac_configure_args0;}
2030 { ac_configure_args1=; unset ac_configure_args1;}
2032 # When interrupted or exit'd, cleanup temporary files, and complete
2033 # config.log. We remove comments because anyway the quotes in there
2034 # would cause problems or look ugly.
2035 # WARNING: Use '\'' to represent an apostrophe within the trap.
2036 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2037 trap 'exit_status=$?
2038 # Save into config.log some information that might help in debugging.
2042 $as_echo "## ---------------- ##
2043 ## Cache variables. ##
2044 ## ---------------- ##"
2046 # The following way of writing the cache mishandles newlines in values,
2048 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2049 eval ac_val=\$$ac_var
2053 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2054 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2057 _ | IFS | as_nl) ;; #(
2058 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2059 *) { eval $ac_var=; unset $ac_var;} ;;
2064 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2065 *${as_nl}ac_space=\ *)
2067 "s/'\''/'\''\\\\'\'''\''/g;
2068 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2071 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2078 $as_echo "## ----------------- ##
2079 ## Output variables. ##
2080 ## ----------------- ##"
2082 for ac_var in $ac_subst_vars
2084 eval ac_val=\$$ac_var
2086 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2088 $as_echo "$ac_var='\''$ac_val'\''"
2092 if test -n "$ac_subst_files"; then
2093 $as_echo "## ------------------- ##
2094 ## File substitutions. ##
2095 ## ------------------- ##"
2097 for ac_var in $ac_subst_files
2099 eval ac_val=\$$ac_var
2101 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2103 $as_echo "$ac_var='\''$ac_val'\''"
2108 if test -s confdefs.h; then
2109 $as_echo "## ----------- ##
2116 test "$ac_signal" != 0 &&
2117 $as_echo "$as_me: caught signal $ac_signal"
2118 $as_echo "$as_me: exit $exit_status"
2120 rm -f core *.core core.conftest.* &&
2121 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2124 for ac_signal in 1 2 13 15; do
2125 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2129 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2130 rm -f -r conftest* confdefs.h
2132 $as_echo "/* confdefs.h */" > confdefs.h
2134 # Predefined preprocessor variables.
2136 cat >>confdefs.h <<_ACEOF
2137 #define PACKAGE_NAME "$PACKAGE_NAME"
2140 cat >>confdefs.h <<_ACEOF
2141 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2144 cat >>confdefs.h <<_ACEOF
2145 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2148 cat >>confdefs.h <<_ACEOF
2149 #define PACKAGE_STRING "$PACKAGE_STRING"
2152 cat >>confdefs.h <<_ACEOF
2153 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2156 cat >>confdefs.h <<_ACEOF
2157 #define PACKAGE_URL "$PACKAGE_URL"
2161 # Let the site file select an alternate cache file if it wants to.
2162 # Prefer an explicitly selected file to automatically selected ones.
2165 if test -n "$CONFIG_SITE"; then
2166 # We do not want a PATH search for config.site.
2167 case $CONFIG_SITE in #((
2168 -*) ac_site_file1=./$CONFIG_SITE;;
2169 */*) ac_site_file1=$CONFIG_SITE;;
2170 *) ac_site_file1=./$CONFIG_SITE;;
2172 elif test "x$prefix" != xNONE; then
2173 ac_site_file1=$prefix/share/config.site
2174 ac_site_file2=$prefix/etc/config.site
2176 ac_site_file1=$ac_default_prefix/share/config.site
2177 ac_site_file2=$ac_default_prefix/etc/config.site
2179 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2181 test "x$ac_site_file" = xNONE && continue
2182 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2184 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2185 sed 's/^/| /' "$ac_site_file" >&5
2187 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2188 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2189 as_fn_error $? "failed to load site script $ac_site_file
2190 See \`config.log' for more details" "$LINENO" 5; }
2194 if test -r "$cache_file"; then
2195 # Some versions of bash will fail to source /dev/null (special files
2196 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2197 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2199 $as_echo "$as_me: loading cache $cache_file" >&6;}
2201 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2202 *) . "./$cache_file";;
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2207 $as_echo "$as_me: creating cache $cache_file" >&6;}
2211 # Check that the precious variables saved in the cache have kept the same
2213 ac_cache_corrupted=false
2214 for ac_var in $ac_precious_vars; do
2215 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2216 eval ac_new_set=\$ac_env_${ac_var}_set
2217 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2218 eval ac_new_val=\$ac_env_${ac_var}_value
2219 case $ac_old_set,$ac_new_set in
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2222 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2223 ac_cache_corrupted=: ;;
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2226 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2227 ac_cache_corrupted=: ;;
2230 if test "x$ac_old_val" != "x$ac_new_val"; then
2231 # differences in whitespace do not lead to failure.
2232 ac_old_val_w=`echo x $ac_old_val`
2233 ac_new_val_w=`echo x $ac_new_val`
2234 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2236 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2237 ac_cache_corrupted=:
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2240 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2241 eval $ac_var=\$ac_old_val
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2244 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2246 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2249 # Pass precious variables to config.status.
2250 if test "$ac_new_set" = set; then
2252 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2253 *) ac_arg=$ac_var=$ac_new_val ;;
2255 case " $ac_configure_args " in
2256 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2257 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2261 if $ac_cache_corrupted; then
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2263 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2265 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2266 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2268 ## -------------------- ##
2269 ## Main body of script. ##
2270 ## -------------------- ##
2273 ac_cpp='$CPP $CPPFLAGS'
2274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2279 am__api_version='1.11'
2282 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2283 if test -f "$ac_dir/install-sh"; then
2285 ac_install_sh="$ac_aux_dir/install-sh -c"
2287 elif test -f "$ac_dir/install.sh"; then
2289 ac_install_sh="$ac_aux_dir/install.sh -c"
2291 elif test -f "$ac_dir/shtool"; then
2293 ac_install_sh="$ac_aux_dir/shtool install -c"
2297 if test -z "$ac_aux_dir"; then
2298 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2301 # These three variables are undocumented and unsupported,
2302 # and are intended to be withdrawn in a future Autoconf release.
2303 # They can cause serious problems if a builder's source tree is in a directory
2304 # whose full name contains unusual characters.
2305 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2306 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2307 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2310 # Find a good install program. We prefer a C program (faster),
2311 # so one script is as good as another. But avoid the broken or
2312 # incompatible versions:
2313 # SysV /etc/install, /usr/sbin/install
2314 # SunOS /usr/etc/install
2315 # IRIX /sbin/install
2317 # AmigaOS /C/install, which installs bootblocks on floppy discs
2318 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2319 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2320 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2321 # OS/2's system install, which has a completely different semantic
2322 # ./install, which can be erroneously created by make from ./install.sh.
2323 # Reject install programs that cannot install multiple files.
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2325 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2326 if test -z "$INSTALL"; then
2327 if ${ac_cv_path_install+:} false; then :
2328 $as_echo_n "(cached) " >&6
2330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2334 test -z "$as_dir" && as_dir=.
2335 # Account for people who put trailing slashes in PATH elements.
2336 case $as_dir/ in #((
2337 ./ | .// | /[cC]/* | \
2338 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2339 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2342 # OSF1 and SCO ODT 3.0 have their own names for install.
2343 # Don't use installbsd from OSF since it installs stuff as root
2345 for ac_prog in ginstall scoinst install; do
2346 for ac_exec_ext in '' $ac_executable_extensions; do
2347 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2348 if test $ac_prog = install &&
2349 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2350 # AIX install. It has an incompatible calling convention.
2352 elif test $ac_prog = install &&
2353 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2354 # program-specific install script used by HP pwplus--don't use.
2357 rm -rf conftest.one conftest.two conftest.dir
2358 echo one > conftest.one
2359 echo two > conftest.two
2361 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2362 test -s conftest.one && test -s conftest.two &&
2363 test -s conftest.dir/conftest.one &&
2364 test -s conftest.dir/conftest.two
2366 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2379 rm -rf conftest.one conftest.two conftest.dir
2382 if test "${ac_cv_path_install+set}" = set; then
2383 INSTALL=$ac_cv_path_install
2385 # As a last resort, use the slow shell script. Don't cache a
2386 # value for INSTALL within a source directory, because that will
2387 # break other packages using the cache if that directory is
2388 # removed, or if the value is a relative name.
2389 INSTALL=$ac_install_sh
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2393 $as_echo "$INSTALL" >&6; }
2395 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2396 # It thinks the first close brace ends the variable substitution.
2397 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2399 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2401 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2404 $as_echo_n "checking whether build environment is sane... " >&6; }
2407 echo timestamp > conftest.file
2408 # Reject unsafe characters in $srcdir or the absolute working directory
2409 # name. Accept space and tab only in the latter.
2413 *[\\\"\#\$\&\'\`$am_lf]*)
2414 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2417 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2418 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2421 # Do `set' in a subshell so we don't clobber the current shell's
2422 # arguments. Must try -L first in case configure is actually a
2423 # symlink; some systems play weird games with the mod time of symlinks
2424 # (eg FreeBSD returns the mod time of the symlink's containing
2427 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2428 if test "$*" = "X"; then
2430 set X `ls -t "$srcdir/configure" conftest.file`
2433 if test "$*" != "X $srcdir/configure conftest.file" \
2434 && test "$*" != "X conftest.file $srcdir/configure"; then
2436 # If neither matched, then we have a broken ls. This can happen
2437 # if, for instance, CONFIG_SHELL is bash and it inherits a
2438 # broken ls alias from the environment. This has actually
2439 # happened. Such a system could not be considered "sane".
2440 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2441 alias in your environment" "$LINENO" 5
2444 test "$2" = conftest.file
2450 as_fn_error $? "newly created file is older than distributed files!
2451 Check your system clock" "$LINENO" 5
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2454 $as_echo "yes" >&6; }
2455 test "$program_prefix" != NONE &&
2456 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2457 # Use a double $ so make ignores it.
2458 test "$program_suffix" != NONE &&
2459 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2460 # Double any \ or $.
2461 # By default was `s,x,x', remove it if useless.
2462 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2463 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2465 # expand $ac_aux_dir to an absolute path
2466 am_aux_dir=`cd $ac_aux_dir && pwd`
2468 if test x"${MISSING+set}" != xset; then
2471 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2473 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2476 # Use eval to expand $SHELL
2477 if eval "$MISSING --run true"; then
2478 am_missing_run="$MISSING --run "
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2482 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2485 if test x"${install_sh}" != xset; then
2488 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2490 install_sh="\${SHELL} $am_aux_dir/install-sh"
2494 # Installed binaries are usually stripped using `strip' when the user
2495 # run `make install-strip'. However `strip' might not be the right
2496 # tool to use in cross-compilation environments, therefore Automake
2497 # will honor the `STRIP' environment variable to overrule this program.
2498 if test "$cross_compiling" != no; then
2499 if test -n "$ac_tool_prefix"; then
2500 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2501 set dummy ${ac_tool_prefix}strip; ac_word=$2
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2503 $as_echo_n "checking for $ac_word... " >&6; }
2504 if ${ac_cv_prog_STRIP+:} false; then :
2505 $as_echo_n "(cached) " >&6
2507 if test -n "$STRIP"; then
2508 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2514 test -z "$as_dir" && as_dir=.
2515 for ac_exec_ext in '' $ac_executable_extensions; do
2516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2517 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2527 STRIP=$ac_cv_prog_STRIP
2528 if test -n "$STRIP"; then
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2530 $as_echo "$STRIP" >&6; }
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2533 $as_echo "no" >&6; }
2538 if test -z "$ac_cv_prog_STRIP"; then
2540 # Extract the first word of "strip", so it can be a program name with args.
2541 set dummy strip; ac_word=$2
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2543 $as_echo_n "checking for $ac_word... " >&6; }
2544 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2545 $as_echo_n "(cached) " >&6
2547 if test -n "$ac_ct_STRIP"; then
2548 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2554 test -z "$as_dir" && as_dir=.
2555 for ac_exec_ext in '' $ac_executable_extensions; do
2556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2557 ac_cv_prog_ac_ct_STRIP="strip"
2558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2567 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2568 if test -n "$ac_ct_STRIP"; then
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2570 $as_echo "$ac_ct_STRIP" >&6; }
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2573 $as_echo "no" >&6; }
2576 if test "x$ac_ct_STRIP" = x; then
2579 case $cross_compiling:$ac_tool_warned in
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2582 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2583 ac_tool_warned=yes ;;
2588 STRIP="$ac_cv_prog_STRIP"
2592 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2595 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2596 if test -z "$MKDIR_P"; then
2597 if ${ac_cv_path_mkdir+:} false; then :
2598 $as_echo_n "(cached) " >&6
2600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2601 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2604 test -z "$as_dir" && as_dir=.
2605 for ac_prog in mkdir gmkdir; do
2606 for ac_exec_ext in '' $ac_executable_extensions; do
2607 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2608 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2609 'mkdir (GNU coreutils) '* | \
2610 'mkdir (coreutils) '* | \
2611 'mkdir (fileutils) '4.1*)
2612 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2622 test -d ./--version && rmdir ./--version
2623 if test "${ac_cv_path_mkdir+set}" = set; then
2624 MKDIR_P="$ac_cv_path_mkdir -p"
2626 # As a last resort, use the slow shell script. Don't cache a
2627 # value for MKDIR_P within a source directory, because that will
2628 # break other packages using the cache if that directory is
2629 # removed, or if the value is a relative name.
2630 MKDIR_P="$ac_install_sh -d"
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2634 $as_echo "$MKDIR_P" >&6; }
2638 [\\/$]* | ?:[\\/]*) ;;
2639 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2642 for ac_prog in gawk mawk nawk awk
2644 # Extract the first word of "$ac_prog", so it can be a program name with args.
2645 set dummy $ac_prog; ac_word=$2
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2647 $as_echo_n "checking for $ac_word... " >&6; }
2648 if ${ac_cv_prog_AWK+:} false; then :
2649 $as_echo_n "(cached) " >&6
2651 if test -n "$AWK"; then
2652 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2658 test -z "$as_dir" && as_dir=.
2659 for ac_exec_ext in '' $ac_executable_extensions; do
2660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2661 ac_cv_prog_AWK="$ac_prog"
2662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2672 if test -n "$AWK"; then
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2674 $as_echo "$AWK" >&6; }
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2677 $as_echo "no" >&6; }
2681 test -n "$AWK" && break
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2685 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2687 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2688 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2689 $as_echo_n "(cached) " >&6
2691 cat >conftest.make <<\_ACEOF
2694 @echo '@@@%%%=$(MAKE)=@@@%%%'
2696 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2697 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2699 eval ac_cv_prog_make_${ac_make}_set=yes;;
2701 eval ac_cv_prog_make_${ac_make}_set=no;;
2705 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2707 $as_echo "yes" >&6; }
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2711 $as_echo "no" >&6; }
2712 SET_MAKE="MAKE=${MAKE-make}"
2715 rm -rf .tst 2>/dev/null
2716 mkdir .tst 2>/dev/null
2717 if test -d .tst; then
2722 rmdir .tst 2>/dev/null
2724 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2725 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2726 # is not polluted with repeated "-I."
2727 am__isrc=' -I$(srcdir)'
2728 # test to see if srcdir already configured
2729 if test -f $srcdir/config.status; then
2730 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2734 # test whether we have cygpath
2735 if test -z "$CYGPATH_W"; then
2736 if (cygpath --version) >/dev/null 2>/dev/null; then
2737 CYGPATH_W='cygpath -w'
2744 # Define the identity of the package.
2749 cat >>confdefs.h <<_ACEOF
2750 #define PACKAGE "$PACKAGE"
2754 cat >>confdefs.h <<_ACEOF
2755 #define VERSION "$VERSION"
2758 # Some tools Automake needs.
2760 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2763 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2766 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2769 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2772 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2774 # We need awk for the "check" target. The system "awk" is bad on
2776 # Always define AMTAR for backward compatibility.
2778 AMTAR=${AMTAR-"${am_missing_run}tar"}
2780 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2786 ac_config_files="$ac_config_files Makefile src/Makefile"
2789 ac_config_headers="$ac_config_headers config.h"
2792 # Checks for programs.
2794 ac_cpp='$CPP $CPPFLAGS'
2795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2798 if test -n "$ac_tool_prefix"; then
2799 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2800 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2802 $as_echo_n "checking for $ac_word... " >&6; }
2803 if ${ac_cv_prog_CC+:} false; then :
2804 $as_echo_n "(cached) " >&6
2806 if test -n "$CC"; then
2807 ac_cv_prog_CC="$CC" # Let the user override the test.
2809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2813 test -z "$as_dir" && as_dir=.
2814 for ac_exec_ext in '' $ac_executable_extensions; do
2815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2816 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2827 if test -n "$CC"; then
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2829 $as_echo "$CC" >&6; }
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2832 $as_echo "no" >&6; }
2837 if test -z "$ac_cv_prog_CC"; then
2839 # Extract the first word of "gcc", so it can be a program name with args.
2840 set dummy gcc; ac_word=$2
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2842 $as_echo_n "checking for $ac_word... " >&6; }
2843 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2844 $as_echo_n "(cached) " >&6
2846 if test -n "$ac_ct_CC"; then
2847 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2853 test -z "$as_dir" && as_dir=.
2854 for ac_exec_ext in '' $ac_executable_extensions; do
2855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2856 ac_cv_prog_ac_ct_CC="gcc"
2857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2866 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2867 if test -n "$ac_ct_CC"; then
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2869 $as_echo "$ac_ct_CC" >&6; }
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2872 $as_echo "no" >&6; }
2875 if test "x$ac_ct_CC" = x; then
2878 case $cross_compiling:$ac_tool_warned in
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2881 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2882 ac_tool_warned=yes ;;
2890 if test -z "$CC"; then
2891 if test -n "$ac_tool_prefix"; then
2892 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2893 set dummy ${ac_tool_prefix}cc; ac_word=$2
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2895 $as_echo_n "checking for $ac_word... " >&6; }
2896 if ${ac_cv_prog_CC+:} false; then :
2897 $as_echo_n "(cached) " >&6
2899 if test -n "$CC"; then
2900 ac_cv_prog_CC="$CC" # Let the user override the test.
2902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2906 test -z "$as_dir" && as_dir=.
2907 for ac_exec_ext in '' $ac_executable_extensions; do
2908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2909 ac_cv_prog_CC="${ac_tool_prefix}cc"
2910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2920 if test -n "$CC"; then
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2922 $as_echo "$CC" >&6; }
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2925 $as_echo "no" >&6; }
2931 if test -z "$CC"; then
2932 # Extract the first word of "cc", so it can be a program name with args.
2933 set dummy cc; ac_word=$2
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2935 $as_echo_n "checking for $ac_word... " >&6; }
2936 if ${ac_cv_prog_CC+:} false; then :
2937 $as_echo_n "(cached) " >&6
2939 if test -n "$CC"; then
2940 ac_cv_prog_CC="$CC" # Let the user override the test.
2943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2947 test -z "$as_dir" && as_dir=.
2948 for ac_exec_ext in '' $ac_executable_extensions; do
2949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2950 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2951 ac_prog_rejected=yes
2955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2962 if test $ac_prog_rejected = yes; then
2963 # We found a bogon in the path, so make sure we never use it.
2964 set dummy $ac_cv_prog_CC
2966 if test $# != 0; then
2967 # We chose a different compiler from the bogus one.
2968 # However, it has the same basename, so the bogon will be chosen
2969 # first if we set CC to just the basename; use the full file name.
2971 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2977 if test -n "$CC"; then
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2979 $as_echo "$CC" >&6; }
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2982 $as_echo "no" >&6; }
2987 if test -z "$CC"; then
2988 if test -n "$ac_tool_prefix"; then
2989 for ac_prog in cl.exe
2991 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2992 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2994 $as_echo_n "checking for $ac_word... " >&6; }
2995 if ${ac_cv_prog_CC+:} false; then :
2996 $as_echo_n "(cached) " >&6
2998 if test -n "$CC"; then
2999 ac_cv_prog_CC="$CC" # Let the user override the test.
3001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3005 test -z "$as_dir" && as_dir=.
3006 for ac_exec_ext in '' $ac_executable_extensions; do
3007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3008 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3019 if test -n "$CC"; then
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3021 $as_echo "$CC" >&6; }
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3024 $as_echo "no" >&6; }
3028 test -n "$CC" && break
3031 if test -z "$CC"; then
3033 for ac_prog in cl.exe
3035 # Extract the first word of "$ac_prog", so it can be a program name with args.
3036 set dummy $ac_prog; ac_word=$2
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3038 $as_echo_n "checking for $ac_word... " >&6; }
3039 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3040 $as_echo_n "(cached) " >&6
3042 if test -n "$ac_ct_CC"; then
3043 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3049 test -z "$as_dir" && as_dir=.
3050 for ac_exec_ext in '' $ac_executable_extensions; do
3051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3052 ac_cv_prog_ac_ct_CC="$ac_prog"
3053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3062 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3063 if test -n "$ac_ct_CC"; then
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3065 $as_echo "$ac_ct_CC" >&6; }
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3068 $as_echo "no" >&6; }
3072 test -n "$ac_ct_CC" && break
3075 if test "x$ac_ct_CC" = x; then
3078 case $cross_compiling:$ac_tool_warned in
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3081 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3082 ac_tool_warned=yes ;;
3091 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3092 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3093 as_fn_error $? "no acceptable C compiler found in \$PATH
3094 See \`config.log' for more details" "$LINENO" 5; }
3096 # Provide some information about the compiler.
3097 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3100 for ac_option in --version -v -V -qversion; do
3101 { { ac_try="$ac_compiler $ac_option >&5"
3103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3104 *) ac_try_echo=$ac_try;;
3106 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3107 $as_echo "$ac_try_echo"; } >&5
3108 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3110 if test -s conftest.err; then
3112 ... rest of stderr output deleted ...
3113 10q' conftest.err >conftest.er1
3114 cat conftest.er1 >&5
3116 rm -f conftest.er1 conftest.err
3117 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3118 test $ac_status = 0; }
3121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3122 /* end confdefs.h. */
3132 ac_clean_files_save=$ac_clean_files
3133 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3134 # Try to create an executable without -o first, disregard a.out.
3135 # It will help us diagnose broken compilers, and finding out an intuition
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3138 $as_echo_n "checking whether the C compiler works... " >&6; }
3139 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3141 # The possible output files:
3142 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3145 for ac_file in $ac_files
3148 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3149 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3154 if { { ac_try="$ac_link_default"
3156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3157 *) ac_try_echo=$ac_try;;
3159 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3160 $as_echo "$ac_try_echo"; } >&5
3161 (eval "$ac_link_default") 2>&5
3163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3164 test $ac_status = 0; }; then :
3165 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3166 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3167 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3168 # so that the user can short-circuit this test for compilers unknown to
3170 for ac_file in $ac_files ''
3172 test -f "$ac_file" || continue
3174 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3177 # We found the default executable, but exeext='' is most
3181 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3183 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3185 # We set ac_cv_exeext here because the later test for it is not
3186 # safe: cross compilers may not add the suffix if given an `-o'
3187 # argument, so we may need to know it at that point already.
3188 # Even if this section looks crufty: it has the advantage of
3195 test "$ac_cv_exeext" = no && ac_cv_exeext=
3200 if test -z "$ac_file"; then :
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3202 $as_echo "no" >&6; }
3203 $as_echo "$as_me: failed program was:" >&5
3204 sed 's/^/| /' conftest.$ac_ext >&5
3206 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3207 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3208 as_fn_error 77 "C compiler cannot create executables
3209 See \`config.log' for more details" "$LINENO" 5; }
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3212 $as_echo "yes" >&6; }
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3215 $as_echo_n "checking for C compiler default output file name... " >&6; }
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3217 $as_echo "$ac_file" >&6; }
3218 ac_exeext=$ac_cv_exeext
3220 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3221 ac_clean_files=$ac_clean_files_save
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3223 $as_echo_n "checking for suffix of executables... " >&6; }
3224 if { { ac_try="$ac_link"
3226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3227 *) ac_try_echo=$ac_try;;
3229 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3230 $as_echo "$ac_try_echo"; } >&5
3231 (eval "$ac_link") 2>&5
3233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3234 test $ac_status = 0; }; then :
3235 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3236 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3237 # work properly (i.e., refer to `conftest.exe'), while it won't with
3239 for ac_file in conftest.exe conftest conftest.*; do
3240 test -f "$ac_file" || continue
3242 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3243 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3249 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3250 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3251 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3252 See \`config.log' for more details" "$LINENO" 5; }
3254 rm -f conftest conftest$ac_cv_exeext
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3256 $as_echo "$ac_cv_exeext" >&6; }
3258 rm -f conftest.$ac_ext
3259 EXEEXT=$ac_cv_exeext
3261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3262 /* end confdefs.h. */
3267 FILE *f = fopen ("conftest.out", "w");
3268 return ferror (f) || fclose (f) != 0;
3274 ac_clean_files="$ac_clean_files conftest.out"
3275 # Check that the compiler produces executables we can run. If not, either
3276 # the compiler is broken, or we cross compile.
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3278 $as_echo_n "checking whether we are cross compiling... " >&6; }
3279 if test "$cross_compiling" != yes; then
3280 { { ac_try="$ac_link"
3282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3283 *) ac_try_echo=$ac_try;;
3285 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3286 $as_echo "$ac_try_echo"; } >&5
3287 (eval "$ac_link") 2>&5
3289 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3290 test $ac_status = 0; }
3291 if { ac_try='./conftest$ac_cv_exeext'
3292 { { case "(($ac_try" in
3293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3294 *) ac_try_echo=$ac_try;;
3296 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3297 $as_echo "$ac_try_echo"; } >&5
3298 (eval "$ac_try") 2>&5
3300 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3301 test $ac_status = 0; }; }; then
3304 if test "$cross_compiling" = maybe; then
3307 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3308 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3309 as_fn_error $? "cannot run C compiled programs.
3310 If you meant to cross compile, use \`--host'.
3311 See \`config.log' for more details" "$LINENO" 5; }
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3316 $as_echo "$cross_compiling" >&6; }
3318 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3319 ac_clean_files=$ac_clean_files_save
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3321 $as_echo_n "checking for suffix of object files... " >&6; }
3322 if ${ac_cv_objext+:} false; then :
3323 $as_echo_n "(cached) " >&6
3325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3326 /* end confdefs.h. */
3336 rm -f conftest.o conftest.obj
3337 if { { ac_try="$ac_compile"
3339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3340 *) ac_try_echo=$ac_try;;
3342 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3343 $as_echo "$ac_try_echo"; } >&5
3344 (eval "$ac_compile") 2>&5
3346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3347 test $ac_status = 0; }; then :
3348 for ac_file in conftest.o conftest.obj conftest.*; do
3349 test -f "$ac_file" || continue;
3351 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3352 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3357 $as_echo "$as_me: failed program was:" >&5
3358 sed 's/^/| /' conftest.$ac_ext >&5
3360 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3361 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3362 as_fn_error $? "cannot compute suffix of object files: cannot compile
3363 See \`config.log' for more details" "$LINENO" 5; }
3365 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3368 $as_echo "$ac_cv_objext" >&6; }
3369 OBJEXT=$ac_cv_objext
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3372 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3373 if ${ac_cv_c_compiler_gnu+:} false; then :
3374 $as_echo_n "(cached) " >&6
3376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3377 /* end confdefs.h. */
3390 if ac_fn_c_try_compile "$LINENO"; then :
3395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3396 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3400 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3401 if test $ac_compiler_gnu = yes; then
3406 ac_test_CFLAGS=${CFLAGS+set}
3407 ac_save_CFLAGS=$CFLAGS
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3409 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3410 if ${ac_cv_prog_cc_g+:} false; then :
3411 $as_echo_n "(cached) " >&6
3413 ac_save_c_werror_flag=$ac_c_werror_flag
3414 ac_c_werror_flag=yes
3417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3418 /* end confdefs.h. */
3428 if ac_fn_c_try_compile "$LINENO"; then :
3432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3433 /* end confdefs.h. */
3443 if ac_fn_c_try_compile "$LINENO"; then :
3446 ac_c_werror_flag=$ac_save_c_werror_flag
3448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3449 /* end confdefs.h. */
3459 if ac_fn_c_try_compile "$LINENO"; then :
3462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3467 ac_c_werror_flag=$ac_save_c_werror_flag
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3470 $as_echo "$ac_cv_prog_cc_g" >&6; }
3471 if test "$ac_test_CFLAGS" = set; then
3472 CFLAGS=$ac_save_CFLAGS
3473 elif test $ac_cv_prog_cc_g = yes; then
3474 if test "$GCC" = yes; then
3480 if test "$GCC" = yes; then
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3487 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3488 if ${ac_cv_prog_cc_c89+:} false; then :
3489 $as_echo_n "(cached) " >&6
3491 ac_cv_prog_cc_c89=no
3493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3494 /* end confdefs.h. */
3497 #include <sys/types.h>
3498 #include <sys/stat.h>
3499 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3500 struct buf { int x; };
3501 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3502 static char *e (p, i)
3508 static char *f (char * (*g) (char **, int), char **p, ...)
3513 s = g (p, va_arg (v,int));
3518 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3519 function prototypes and stuff, but not '\xHH' hex character constants.
3520 These don't provoke an error unfortunately, instead are silently treated
3521 as 'x'. The following induces an error, until -std is added to get
3522 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3523 array size at least. It's necessary to write '\x00'==0 to get something
3524 that's true only with -std. */
3525 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3527 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3528 inside strings and character constants. */
3530 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3532 int test (int i, double x);
3533 struct s1 {int (*f) (int a);};
3534 struct s2 {int (*f) (double a);};
3535 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3541 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3546 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3547 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3549 CC="$ac_save_CC $ac_arg"
3550 if ac_fn_c_try_compile "$LINENO"; then :
3551 ac_cv_prog_cc_c89=$ac_arg
3553 rm -f core conftest.err conftest.$ac_objext
3554 test "x$ac_cv_prog_cc_c89" != "xno" && break
3556 rm -f conftest.$ac_ext
3561 case "x$ac_cv_prog_cc_c89" in
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3564 $as_echo "none needed" >&6; } ;;
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3567 $as_echo "unsupported" >&6; } ;;
3569 CC="$CC $ac_cv_prog_cc_c89"
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3571 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3573 if test "x$ac_cv_prog_cc_c89" != xno; then :
3578 ac_cpp='$CPP $CPPFLAGS'
3579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3582 DEPDIR="${am__leading_dot}deps"
3584 ac_config_commands="$ac_config_commands depfiles"
3587 am_make=${MAKE-make}
3588 cat > confinc << 'END'
3590 @echo this is the am__doit target
3593 # If we don't find an include directive, just comment out the code.
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3595 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3599 # First try GNU make style include.
3600 echo "include confinc" > confmf
3601 # Ignore all kinds of additional output from `make'.
3602 case `$am_make -s -f confmf 2> /dev/null` in #(
3603 *the\ am__doit\ target*)
3609 # Now try BSD make style include.
3610 if test "$am__include" = "#"; then
3611 echo '.include "confinc"' > confmf
3612 case `$am_make -s -f confmf 2> /dev/null` in #(
3613 *the\ am__doit\ target*)
3614 am__include=.include
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3623 $as_echo "$_am_result" >&6; }
3624 rm -f confinc confmf
3626 # Check whether --enable-dependency-tracking was given.
3627 if test "${enable_dependency_tracking+set}" = set; then :
3628 enableval=$enable_dependency_tracking;
3631 if test "x$enable_dependency_tracking" != xno; then
3632 am_depcomp="$ac_aux_dir/depcomp"
3635 if test "x$enable_dependency_tracking" != xno; then
3645 depcc="$CC" am_compiler_list=
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3648 $as_echo_n "checking dependency style of $depcc... " >&6; }
3649 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3650 $as_echo_n "(cached) " >&6
3652 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3653 # We make a subdir and do the tests there. Otherwise we can end up
3654 # making bogus files that we don't know about and never remove. For
3655 # instance it was reported that on HP-UX the gcc test will end up
3656 # making a dummy file named `D' -- because `-MD' means `put the output
3659 # Copy depcomp to subdir because otherwise we won't find it if we're
3660 # using a relative directory.
3661 cp "$am_depcomp" conftest.dir
3663 # We will build objects and dependencies in a subdirectory because
3664 # it helps to detect inapplicable dependency modes. For instance
3665 # both Tru64's cc and ICC support -MD to output dependencies as a
3666 # side effect of compilation, but ICC will put the dependencies in
3667 # the current directory while Tru64 will put them in the object
3671 am_cv_CC_dependencies_compiler_type=none
3672 if test "$am_compiler_list" = ""; then
3673 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3676 case " $depcc " in #(
3677 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3680 for depmode in $am_compiler_list; do
3681 # Setup a source with many dependencies, because some compilers
3682 # like to wrap large dependency lists on column 80 (with \), and
3683 # we should not choose a depcomp mode which is confused by this.
3685 # We need to recreate these files for each test, as the compiler may
3686 # overwrite some of them when testing with obscure command lines.
3687 # This happens at least with the AIX C compiler.
3689 for i in 1 2 3 4 5 6; do
3690 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3691 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3692 # Solaris 8's {/usr,}/bin/sh.
3693 touch sub/conftst$i.h
3695 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3697 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3698 # mode. It turns out that the SunPro C++ compiler does not properly
3699 # handle `-M -o', and we need to detect this. Also, some Intel
3700 # versions had trouble with output in subdirs
3701 am__obj=sub/conftest.${OBJEXT-o}
3702 am__minus_obj="-o $am__obj"
3705 # This depmode causes a compiler race in universal mode.
3706 test "$am__universal" = false || continue
3709 # after this tag, mechanisms are not by side-effect, so they'll
3710 # only be used when explicitly requested
3711 if test "x$enable_dependency_tracking" = xyes; then
3717 msvisualcpp | msvcmsys)
3718 # This compiler won't grok `-c -o', but also, the minuso test has
3719 # not run yet. These depmodes are late enough in the game, and
3720 # so weak that their functioning should not be impacted.
3721 am__obj=conftest.${OBJEXT-o}
3726 if depmode=$depmode \
3727 source=sub/conftest.c object=$am__obj \
3728 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3729 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3730 >/dev/null 2>conftest.err &&
3731 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3732 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3733 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3734 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3735 # icc doesn't choke on unknown options, it will just issue warnings
3736 # or remarks (even with -Werror). So we grep stderr for any message
3737 # that says an option was ignored or not supported.
3738 # When given -MP, icc 7.0 and 7.1 complain thusly:
3739 # icc: Command line warning: ignoring option '-M'; no argument required
3740 # The diagnosis changed in icc 8.0:
3741 # icc: Command line remark: option '-MP' not supported
3742 if (grep 'ignoring option' conftest.err ||
3743 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3744 am_cv_CC_dependencies_compiler_type=$depmode
3753 am_cv_CC_dependencies_compiler_type=none
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3758 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3759 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3762 test "x$enable_dependency_tracking" != xno \
3763 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3765 am__fastdepCC_FALSE='#'
3767 am__fastdepCC_TRUE='#'
3768 am__fastdepCC_FALSE=
3774 # Checks for libraries.
3775 # FIXME: Replace `main' with a function in `-lXau':
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXau" >&5
3778 $as_echo_n "checking for main in -lXau... " >&6; }
3779 if ${ac_cv_lib_Xau_main+:} false; then :
3780 $as_echo_n "(cached) " >&6
3782 ac_check_lib_save_LIBS=$LIBS
3784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3785 /* end confdefs.h. */
3796 if ac_fn_c_try_link "$LINENO"; then :
3797 ac_cv_lib_Xau_main=yes
3799 ac_cv_lib_Xau_main=no
3801 rm -f core conftest.err conftest.$ac_objext \
3802 conftest$ac_exeext conftest.$ac_ext
3803 LIBS=$ac_check_lib_save_LIBS
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xau_main" >&5
3806 $as_echo "$ac_cv_lib_Xau_main" >&6; }
3807 if test "x$ac_cv_lib_Xau_main" = xyes; then :
3808 cat >>confdefs.h <<_ACEOF
3809 #define HAVE_LIBXAU 1
3815 as_fn_error $? "libXau is required but was not found" "$LINENO" 5
3818 # FIXME: Replace `main' with a function in `-lpam':
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpam" >&5
3820 $as_echo_n "checking for main in -lpam... " >&6; }
3821 if ${ac_cv_lib_pam_main+:} false; then :
3822 $as_echo_n "(cached) " >&6
3824 ac_check_lib_save_LIBS=$LIBS
3826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3827 /* end confdefs.h. */
3838 if ac_fn_c_try_link "$LINENO"; then :
3839 ac_cv_lib_pam_main=yes
3841 ac_cv_lib_pam_main=no
3843 rm -f core conftest.err conftest.$ac_objext \
3844 conftest$ac_exeext conftest.$ac_ext
3845 LIBS=$ac_check_lib_save_LIBS
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_main" >&5
3848 $as_echo "$ac_cv_lib_pam_main" >&6; }
3849 if test "x$ac_cv_lib_pam_main" = xyes; then :
3850 cat >>confdefs.h <<_ACEOF
3851 #define HAVE_LIBPAM 1
3857 as_fn_error $? "libpam is required but was not found" "$LINENO" 5
3860 # FIXME: Replace `main' with a function in `-lpthread':
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5
3862 $as_echo_n "checking for main in -lpthread... " >&6; }
3863 if ${ac_cv_lib_pthread_main+:} false; then :
3864 $as_echo_n "(cached) " >&6
3866 ac_check_lib_save_LIBS=$LIBS
3867 LIBS="-lpthread $LIBS"
3868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3869 /* end confdefs.h. */
3880 if ac_fn_c_try_link "$LINENO"; then :
3881 ac_cv_lib_pthread_main=yes
3883 ac_cv_lib_pthread_main=no
3885 rm -f core conftest.err conftest.$ac_objext \
3886 conftest$ac_exeext conftest.$ac_ext
3887 LIBS=$ac_check_lib_save_LIBS
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_main" >&5
3890 $as_echo "$ac_cv_lib_pthread_main" >&6; }
3891 if test "x$ac_cv_lib_pthread_main" = xyes; then :
3892 cat >>confdefs.h <<_ACEOF
3893 #define HAVE_LIBPTHREAD 1
3896 LIBS="-lpthread $LIBS"
3899 as_fn_error $? "libpthread is required but was not found" "$LINENO" 5
3902 # FIXME: Replace `main' with a function in `-lrt':
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lrt" >&5
3904 $as_echo_n "checking for main in -lrt... " >&6; }
3905 if ${ac_cv_lib_rt_main+:} false; then :
3906 $as_echo_n "(cached) " >&6
3908 ac_check_lib_save_LIBS=$LIBS
3910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3911 /* end confdefs.h. */
3922 if ac_fn_c_try_link "$LINENO"; then :
3923 ac_cv_lib_rt_main=yes
3925 ac_cv_lib_rt_main=no
3927 rm -f core conftest.err conftest.$ac_objext \
3928 conftest$ac_exeext conftest.$ac_ext
3929 LIBS=$ac_check_lib_save_LIBS
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_main" >&5
3932 $as_echo "$ac_cv_lib_rt_main" >&6; }
3933 if test "x$ac_cv_lib_rt_main" = xyes; then :
3934 cat >>confdefs.h <<_ACEOF
3935 #define HAVE_LIBRT 1
3941 as_fn_error $? "librt is required but was not found" "$LINENO" 5
3952 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3953 if test -n "$ac_tool_prefix"; then
3954 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3955 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3957 $as_echo_n "checking for $ac_word... " >&6; }
3958 if ${ac_cv_path_PKG_CONFIG+:} false; then :
3959 $as_echo_n "(cached) " >&6
3963 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3970 test -z "$as_dir" && as_dir=.
3971 for ac_exec_ext in '' $ac_executable_extensions; do
3972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3973 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3984 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3985 if test -n "$PKG_CONFIG"; then
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
3987 $as_echo "$PKG_CONFIG" >&6; }
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3990 $as_echo "no" >&6; }
3995 if test -z "$ac_cv_path_PKG_CONFIG"; then
3996 ac_pt_PKG_CONFIG=$PKG_CONFIG
3997 # Extract the first word of "pkg-config", so it can be a program name with args.
3998 set dummy pkg-config; ac_word=$2
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4000 $as_echo_n "checking for $ac_word... " >&6; }
4001 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4002 $as_echo_n "(cached) " >&6
4004 case $ac_pt_PKG_CONFIG in
4006 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4013 test -z "$as_dir" && as_dir=.
4014 for ac_exec_ext in '' $ac_executable_extensions; do
4015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4016 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4027 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4028 if test -n "$ac_pt_PKG_CONFIG"; then
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4030 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4033 $as_echo "no" >&6; }
4036 if test "x$ac_pt_PKG_CONFIG" = x; then
4039 case $cross_compiling:$ac_tool_warned in
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4042 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4043 ac_tool_warned=yes ;;
4045 PKG_CONFIG=$ac_pt_PKG_CONFIG
4048 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4052 if test -n "$PKG_CONFIG"; then
4053 _pkg_min_version=0.9.0
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4055 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4056 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4058 $as_echo "yes" >&6; }
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4061 $as_echo "no" >&6; }
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
4068 $as_echo_n "checking for DBUS... " >&6; }
4070 if test -n "$DBUS_CFLAGS"; then
4071 pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
4072 elif test -n "$PKG_CONFIG"; then
4073 if test -n "$PKG_CONFIG" && \
4074 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5
4075 ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
4077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4078 test $ac_status = 0; }; then
4079 pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1" 2>/dev/null`
4086 if test -n "$DBUS_LIBS"; then
4087 pkg_cv_DBUS_LIBS="$DBUS_LIBS"
4088 elif test -n "$PKG_CONFIG"; then
4089 if test -n "$PKG_CONFIG" && \
4090 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5
4091 ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
4093 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4094 test $ac_status = 0; }; then
4095 pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1" 2>/dev/null`
4105 if test $pkg_failed = yes; then
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4107 $as_echo "no" >&6; }
4109 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4110 _pkg_short_errors_supported=yes
4112 _pkg_short_errors_supported=no
4114 if test $_pkg_short_errors_supported = yes; then
4115 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dbus-1" 2>&1`
4117 DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors "dbus-1" 2>&1`
4119 # Put the nasty error message in config.log where it belongs
4120 echo "$DBUS_PKG_ERRORS" >&5
4122 as_fn_error $? "Package requirements (dbus-1) were not met:
4126 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4127 installed software in a non-standard prefix.
4129 Alternatively, you may set the environment variables DBUS_CFLAGS
4130 and DBUS_LIBS to avoid the need to call pkg-config.
4131 See the pkg-config man page for more details." "$LINENO" 5
4133 elif test $pkg_failed = untried; then
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4135 $as_echo "no" >&6; }
4136 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4137 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4138 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
4139 is in your PATH or set the PKG_CONFIG environment variable to the full
4142 Alternatively, you may set the environment variables DBUS_CFLAGS
4143 and DBUS_LIBS to avoid the need to call pkg-config.
4144 See the pkg-config man page for more details.
4146 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4147 See \`config.log' for more details" "$LINENO" 5; }
4150 DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
4151 DBUS_LIBS=$pkg_cv_DBUS_LIBS
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4153 $as_echo "yes" >&6; }
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB2" >&5
4160 $as_echo_n "checking for GLIB2... " >&6; }
4162 if test -n "$GLIB2_CFLAGS"; then
4163 pkg_cv_GLIB2_CFLAGS="$GLIB2_CFLAGS"
4164 elif test -n "$PKG_CONFIG"; then
4165 if test -n "$PKG_CONFIG" && \
4166 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
4167 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
4169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4170 test $ac_status = 0; }; then
4171 pkg_cv_GLIB2_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`
4178 if test -n "$GLIB2_LIBS"; then
4179 pkg_cv_GLIB2_LIBS="$GLIB2_LIBS"
4180 elif test -n "$PKG_CONFIG"; then
4181 if test -n "$PKG_CONFIG" && \
4182 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
4183 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
4185 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4186 test $ac_status = 0; }; then
4187 pkg_cv_GLIB2_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`
4197 if test $pkg_failed = yes; then
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4199 $as_echo "no" >&6; }
4201 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4202 _pkg_short_errors_supported=yes
4204 _pkg_short_errors_supported=no
4206 if test $_pkg_short_errors_supported = yes; then
4207 GLIB2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0" 2>&1`
4209 GLIB2_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0" 2>&1`
4211 # Put the nasty error message in config.log where it belongs
4212 echo "$GLIB2_PKG_ERRORS" >&5
4214 as_fn_error $? "Package requirements (glib-2.0) were not met:
4218 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4219 installed software in a non-standard prefix.
4221 Alternatively, you may set the environment variables GLIB2_CFLAGS
4222 and GLIB2_LIBS to avoid the need to call pkg-config.
4223 See the pkg-config man page for more details." "$LINENO" 5
4225 elif test $pkg_failed = untried; then
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4227 $as_echo "no" >&6; }
4228 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4229 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4230 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
4231 is in your PATH or set the PKG_CONFIG environment variable to the full
4234 Alternatively, you may set the environment variables GLIB2_CFLAGS
4235 and GLIB2_LIBS to avoid the need to call pkg-config.
4236 See the pkg-config man page for more details.
4238 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4239 See \`config.log' for more details" "$LINENO" 5; }
4242 GLIB2_CFLAGS=$pkg_cv_GLIB2_CFLAGS
4243 GLIB2_LIBS=$pkg_cv_GLIB2_LIBS
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4245 $as_echo "yes" >&6; }
4250 # Check whether --with-ck-connector was given.
4251 if test "${with_ck_connector+set}" = set; then :
4252 withval=$with_ck_connector;
4255 if test "x$with_ck_connector" != xno; then :
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CONSOLEKIT" >&5
4260 $as_echo_n "checking for CONSOLEKIT... " >&6; }
4262 if test -n "$CONSOLEKIT_CFLAGS"; then
4263 pkg_cv_CONSOLEKIT_CFLAGS="$CONSOLEKIT_CFLAGS"
4264 elif test -n "$PKG_CONFIG"; then
4265 if test -n "$PKG_CONFIG" && \
4266 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ck-connector >= 0.4\""; } >&5
4267 ($PKG_CONFIG --exists --print-errors "ck-connector >= 0.4") 2>&5
4269 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4270 test $ac_status = 0; }; then
4271 pkg_cv_CONSOLEKIT_CFLAGS=`$PKG_CONFIG --cflags "ck-connector >= 0.4" 2>/dev/null`
4278 if test -n "$CONSOLEKIT_LIBS"; then
4279 pkg_cv_CONSOLEKIT_LIBS="$CONSOLEKIT_LIBS"
4280 elif test -n "$PKG_CONFIG"; then
4281 if test -n "$PKG_CONFIG" && \
4282 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ck-connector >= 0.4\""; } >&5
4283 ($PKG_CONFIG --exists --print-errors "ck-connector >= 0.4") 2>&5
4285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4286 test $ac_status = 0; }; then
4287 pkg_cv_CONSOLEKIT_LIBS=`$PKG_CONFIG --libs "ck-connector >= 0.4" 2>/dev/null`
4297 if test $pkg_failed = yes; then
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4299 $as_echo "no" >&6; }
4301 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4302 _pkg_short_errors_supported=yes
4304 _pkg_short_errors_supported=no
4306 if test $_pkg_short_errors_supported = yes; then
4307 CONSOLEKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ck-connector >= 0.4" 2>&1`
4309 CONSOLEKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "ck-connector >= 0.4" 2>&1`
4311 # Put the nasty error message in config.log where it belongs
4312 echo "$CONSOLEKIT_PKG_ERRORS" >&5
4314 as_fn_error $? "Package requirements (ck-connector >= 0.4) were not met:
4316 $CONSOLEKIT_PKG_ERRORS
4318 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4319 installed software in a non-standard prefix.
4321 Alternatively, you may set the environment variables CONSOLEKIT_CFLAGS
4322 and CONSOLEKIT_LIBS to avoid the need to call pkg-config.
4323 See the pkg-config man page for more details." "$LINENO" 5
4325 elif test $pkg_failed = untried; then
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4327 $as_echo "no" >&6; }
4328 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4329 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4330 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
4331 is in your PATH or set the PKG_CONFIG environment variable to the full
4334 Alternatively, you may set the environment variables CONSOLEKIT_CFLAGS
4335 and CONSOLEKIT_LIBS to avoid the need to call pkg-config.
4336 See the pkg-config man page for more details.
4338 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4339 See \`config.log' for more details" "$LINENO" 5; }
4342 CONSOLEKIT_CFLAGS=$pkg_cv_CONSOLEKIT_CFLAGS
4343 CONSOLEKIT_LIBS=$pkg_cv_CONSOLEKIT_LIBS
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4345 $as_echo "yes" >&6; }
4349 $as_echo "#define WITH_CONSOLEKIT 1" >>confdefs.h
4353 if test "x$CONSOLEKIT_LIBS" != x; then
4354 WITH_CONSOLEKIT_TRUE=
4355 WITH_CONSOLEKIT_FALSE='#'
4357 WITH_CONSOLEKIT_TRUE='#'
4358 WITH_CONSOLEKIT_FALSE=
4363 # Check whether --enable-chooser was given.
4364 if test "${enable_chooser+set}" = set; then :
4365 enableval=$enable_chooser;
4368 if test "x$enable_chooser" != xno; then
4369 ENABLE_CHOOSER_TRUE=
4370 ENABLE_CHOOSER_FALSE='#'
4372 ENABLE_CHOOSER_TRUE='#'
4373 ENABLE_CHOOSER_FALSE=
4376 if test "x$enable_chooser" != xno; then :
4378 $as_echo "#define ENABLE_CHOOSER 1" >>confdefs.h
4382 # Check whether --enable-ecryptfs was given.
4383 if test "${enable_ecryptfs+set}" = set; then :
4384 enableval=$enable_ecryptfs;
4387 if test "x$enable_ecryptfs" != xno; then
4388 ENABLE_ECRYPTFS_TRUE=
4389 ENABLE_ECRYPTFS_FALSE='#'
4391 ENABLE_ECRYPTFS_TRUE='#'
4392 ENABLE_ECRYPTFS_FALSE=
4395 if test "x$enable_ecryptfs" != xno; then :
4397 $as_echo "#define ENABLE_ECRYPTFS 1" >>confdefs.h
4401 # Check whether --enable-debug was given.
4402 if test "${enable_debug+set}" = set; then :
4403 enableval=$enable_debug;
4406 if test x"$enable_debug" == x"yes"; then
4408 $as_echo "#define DEBUG 1" >>confdefs.h
4410 AM_CFLAGS="$AM_CFLAGS -g -Wall -Werror -Wno-uninitialized -O0"
4414 # Check whether --with-systemdunitdir was given.
4415 if test "${with_systemdunitdir+set}" = set; then :
4416 withval=$with_systemdunitdir; path_systemdunit=${withval}
4418 path_systemdunit="`$PKG_CONFIG --variable=systemdsystemunitdir systemd`"
4421 if (test -n "${path_systemdunit}"); then
4422 SYSTEMD_UNITDIR="${path_systemdunit}"
4425 if test -n "${path_systemdunit}"; then
4434 # Checks for header files.
4436 ac_cpp='$CPP $CPPFLAGS'
4437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4441 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4442 # On Suns, sometimes $CPP names a directory.
4443 if test -n "$CPP" && test -d "$CPP"; then
4446 if test -z "$CPP"; then
4447 if ${ac_cv_prog_CPP+:} false; then :
4448 $as_echo_n "(cached) " >&6
4450 # Double quotes because CPP needs to be expanded
4451 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4454 for ac_c_preproc_warn_flag in '' yes
4456 # Use a header file that comes with gcc, so configuring glibc
4457 # with a fresh cross-compiler works.
4458 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4459 # <limits.h> exists even on freestanding compilers.
4460 # On the NeXT, cc -E runs the code through the compiler's parser,
4461 # not just through cpp. "Syntax error" is here to catch this case.
4462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4463 /* end confdefs.h. */
4465 # include <limits.h>
4467 # include <assert.h>
4471 if ac_fn_c_try_cpp "$LINENO"; then :
4474 # Broken: fails on valid input.
4477 rm -f conftest.err conftest.i conftest.$ac_ext
4479 # OK, works on sane cases. Now check whether nonexistent headers
4480 # can be detected and how.
4481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4482 /* end confdefs.h. */
4483 #include <ac_nonexistent.h>
4485 if ac_fn_c_try_cpp "$LINENO"; then :
4486 # Broken: success on invalid input.
4489 # Passes both tests.
4493 rm -f conftest.err conftest.i conftest.$ac_ext
4496 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4497 rm -f conftest.i conftest.err conftest.$ac_ext
4498 if $ac_preproc_ok; then :
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4511 $as_echo "$CPP" >&6; }
4513 for ac_c_preproc_warn_flag in '' yes
4515 # Use a header file that comes with gcc, so configuring glibc
4516 # with a fresh cross-compiler works.
4517 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4518 # <limits.h> exists even on freestanding compilers.
4519 # On the NeXT, cc -E runs the code through the compiler's parser,
4520 # not just through cpp. "Syntax error" is here to catch this case.
4521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4522 /* end confdefs.h. */
4524 # include <limits.h>
4526 # include <assert.h>
4530 if ac_fn_c_try_cpp "$LINENO"; then :
4533 # Broken: fails on valid input.
4536 rm -f conftest.err conftest.i conftest.$ac_ext
4538 # OK, works on sane cases. Now check whether nonexistent headers
4539 # can be detected and how.
4540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4541 /* end confdefs.h. */
4542 #include <ac_nonexistent.h>
4544 if ac_fn_c_try_cpp "$LINENO"; then :
4545 # Broken: success on invalid input.
4548 # Passes both tests.
4552 rm -f conftest.err conftest.i conftest.$ac_ext
4555 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4556 rm -f conftest.i conftest.err conftest.$ac_ext
4557 if $ac_preproc_ok; then :
4560 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4561 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4562 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4563 See \`config.log' for more details" "$LINENO" 5; }
4567 ac_cpp='$CPP $CPPFLAGS'
4568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4574 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4575 if ${ac_cv_path_GREP+:} false; then :
4576 $as_echo_n "(cached) " >&6
4578 if test -z "$GREP"; then
4579 ac_path_GREP_found=false
4580 # Loop through the user's path and test for each of PROGNAME-LIST
4581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4582 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4585 test -z "$as_dir" && as_dir=.
4586 for ac_prog in grep ggrep; do
4587 for ac_exec_ext in '' $ac_executable_extensions; do
4588 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4589 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4590 # Check for GNU ac_path_GREP and select it if it is found.
4591 # Check for GNU $ac_path_GREP
4592 case `"$ac_path_GREP" --version 2>&1` in
4594 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4597 $as_echo_n 0123456789 >"conftest.in"
4600 cat "conftest.in" "conftest.in" >"conftest.tmp"
4601 mv "conftest.tmp" "conftest.in"
4602 cp "conftest.in" "conftest.nl"
4603 $as_echo 'GREP' >> "conftest.nl"
4604 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4605 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4606 as_fn_arith $ac_count + 1 && ac_count=$as_val
4607 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4608 # Best one so far, save it but keep looking for a better one
4609 ac_cv_path_GREP="$ac_path_GREP"
4610 ac_path_GREP_max=$ac_count
4612 # 10*(2^10) chars as input seems more than enough
4613 test $ac_count -gt 10 && break
4615 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4618 $ac_path_GREP_found && break 3
4623 if test -z "$ac_cv_path_GREP"; then
4624 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4627 ac_cv_path_GREP=$GREP
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4632 $as_echo "$ac_cv_path_GREP" >&6; }
4633 GREP="$ac_cv_path_GREP"
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4637 $as_echo_n "checking for egrep... " >&6; }
4638 if ${ac_cv_path_EGREP+:} false; then :
4639 $as_echo_n "(cached) " >&6
4641 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4642 then ac_cv_path_EGREP="$GREP -E"
4644 if test -z "$EGREP"; then
4645 ac_path_EGREP_found=false
4646 # Loop through the user's path and test for each of PROGNAME-LIST
4647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4648 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4651 test -z "$as_dir" && as_dir=.
4652 for ac_prog in egrep; do
4653 for ac_exec_ext in '' $ac_executable_extensions; do
4654 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4655 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4656 # Check for GNU ac_path_EGREP and select it if it is found.
4657 # Check for GNU $ac_path_EGREP
4658 case `"$ac_path_EGREP" --version 2>&1` in
4660 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4663 $as_echo_n 0123456789 >"conftest.in"
4666 cat "conftest.in" "conftest.in" >"conftest.tmp"
4667 mv "conftest.tmp" "conftest.in"
4668 cp "conftest.in" "conftest.nl"
4669 $as_echo 'EGREP' >> "conftest.nl"
4670 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4671 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4672 as_fn_arith $ac_count + 1 && ac_count=$as_val
4673 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4674 # Best one so far, save it but keep looking for a better one
4675 ac_cv_path_EGREP="$ac_path_EGREP"
4676 ac_path_EGREP_max=$ac_count
4678 # 10*(2^10) chars as input seems more than enough
4679 test $ac_count -gt 10 && break
4681 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4684 $ac_path_EGREP_found && break 3
4689 if test -z "$ac_cv_path_EGREP"; then
4690 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4693 ac_cv_path_EGREP=$EGREP
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4699 $as_echo "$ac_cv_path_EGREP" >&6; }
4700 EGREP="$ac_cv_path_EGREP"
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4704 $as_echo_n "checking for ANSI C header files... " >&6; }
4705 if ${ac_cv_header_stdc+:} false; then :
4706 $as_echo_n "(cached) " >&6
4708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4709 /* end confdefs.h. */
4723 if ac_fn_c_try_compile "$LINENO"; then :
4724 ac_cv_header_stdc=yes
4726 ac_cv_header_stdc=no
4728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4730 if test $ac_cv_header_stdc = yes; then
4731 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4733 /* end confdefs.h. */
4737 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4738 $EGREP "memchr" >/dev/null 2>&1; then :
4741 ac_cv_header_stdc=no
4747 if test $ac_cv_header_stdc = yes; then
4748 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4750 /* end confdefs.h. */
4754 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4755 $EGREP "free" >/dev/null 2>&1; then :
4758 ac_cv_header_stdc=no
4764 if test $ac_cv_header_stdc = yes; then
4765 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4766 if test "$cross_compiling" = yes; then :
4769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4770 /* end confdefs.h. */
4773 #if ((' ' & 0x0FF) == 0x020)
4774 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4775 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4777 # define ISLOWER(c) \
4778 (('a' <= (c) && (c) <= 'i') \
4779 || ('j' <= (c) && (c) <= 'r') \
4780 || ('s' <= (c) && (c) <= 'z'))
4781 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4784 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4789 for (i = 0; i < 256; i++)
4790 if (XOR (islower (i), ISLOWER (i))
4791 || toupper (i) != TOUPPER (i))
4796 if ac_fn_c_try_run "$LINENO"; then :
4799 ac_cv_header_stdc=no
4801 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4802 conftest.$ac_objext conftest.beam conftest.$ac_ext
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4808 $as_echo "$ac_cv_header_stdc" >&6; }
4809 if test $ac_cv_header_stdc = yes; then
4811 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4815 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4816 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4817 inttypes.h stdint.h unistd.h
4819 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4820 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4822 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4823 cat >>confdefs.h <<_ACEOF
4824 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4832 for ac_header in fcntl.h limits.h stdint.h stdlib.h string.h sys/ioctl.h sys/time.h syslog.h unistd.h
4834 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4835 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4836 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4837 cat >>confdefs.h <<_ACEOF
4838 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4846 # Checks for typedefs, structures, and compiler characteristics.
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
4848 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
4849 if ${ac_cv_type_uid_t+:} false; then :
4850 $as_echo_n "(cached) " >&6
4852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4853 /* end confdefs.h. */
4854 #include <sys/types.h>
4857 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4858 $EGREP "uid_t" >/dev/null 2>&1; then :
4859 ac_cv_type_uid_t=yes
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
4867 $as_echo "$ac_cv_type_uid_t" >&6; }
4868 if test $ac_cv_type_uid_t = no; then
4870 $as_echo "#define uid_t int" >>confdefs.h
4873 $as_echo "#define gid_t int" >>confdefs.h
4877 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
4878 if test "x$ac_cv_type_pid_t" = xyes; then :
4882 cat >>confdefs.h <<_ACEOF
4888 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4889 if test "x$ac_cv_type_size_t" = xyes; then :
4893 cat >>confdefs.h <<_ACEOF
4894 #define size_t unsigned int
4899 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
4900 if test "x$ac_cv_type_ssize_t" = xyes; then :
4904 cat >>confdefs.h <<_ACEOF
4910 ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
4911 case $ac_cv_c_uint64_t in #(
4915 $as_echo "#define _UINT64_T 1" >>confdefs.h
4918 cat >>confdefs.h <<_ACEOF
4919 #define uint64_t $ac_cv_c_uint64_t
4925 # Checks for library functions.
4926 for ac_header in unistd.h
4928 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
4929 if test "x$ac_cv_header_unistd_h" = xyes; then :
4930 cat >>confdefs.h <<_ACEOF
4931 #define HAVE_UNISTD_H 1
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working chown" >&5
4939 $as_echo_n "checking for working chown... " >&6; }
4940 if ${ac_cv_func_chown_works+:} false; then :
4941 $as_echo_n "(cached) " >&6
4943 if test "$cross_compiling" = yes; then :
4944 ac_cv_func_chown_works=no
4946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4947 /* end confdefs.h. */
4948 $ac_includes_default
4954 char *f = "conftest.chown";
4955 struct stat before, after;
4957 if (creat (f, 0600) < 0)
4959 if (stat (f, &before) < 0)
4961 if (chown (f, (uid_t) -1, (gid_t) -1) == -1)
4963 if (stat (f, &after) < 0)
4965 return ! (before.st_uid == after.st_uid && before.st_gid == after.st_gid);
4971 if ac_fn_c_try_run "$LINENO"; then :
4972 ac_cv_func_chown_works=yes
4974 ac_cv_func_chown_works=no
4976 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4977 conftest.$ac_objext conftest.beam conftest.$ac_ext
4980 rm -f conftest.chown
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_chown_works" >&5
4984 $as_echo "$ac_cv_func_chown_works" >&6; }
4985 if test $ac_cv_func_chown_works = yes; then
4987 $as_echo "#define HAVE_CHOWN 1" >>confdefs.h
4991 for ac_header in vfork.h
4993 ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
4994 if test "x$ac_cv_header_vfork_h" = xyes; then :
4995 cat >>confdefs.h <<_ACEOF
4996 #define HAVE_VFORK_H 1
5003 for ac_func in fork vfork
5005 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5006 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5007 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5008 cat >>confdefs.h <<_ACEOF
5009 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5015 if test "x$ac_cv_func_fork" = xyes; then
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
5017 $as_echo_n "checking for working fork... " >&6; }
5018 if ${ac_cv_func_fork_works+:} false; then :
5019 $as_echo_n "(cached) " >&6
5021 if test "$cross_compiling" = yes; then :
5022 ac_cv_func_fork_works=cross
5024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5025 /* end confdefs.h. */
5026 $ac_includes_default
5031 /* By Ruediger Kuhlmann. */
5038 if ac_fn_c_try_run "$LINENO"; then :
5039 ac_cv_func_fork_works=yes
5041 ac_cv_func_fork_works=no
5043 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5044 conftest.$ac_objext conftest.beam conftest.$ac_ext
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
5049 $as_echo "$ac_cv_func_fork_works" >&6; }
5052 ac_cv_func_fork_works=$ac_cv_func_fork
5054 if test "x$ac_cv_func_fork_works" = xcross; then
5056 *-*-amigaos* | *-*-msdosdjgpp*)
5057 # Override, as these systems have only a dummy fork() stub
5058 ac_cv_func_fork_works=no
5061 ac_cv_func_fork_works=yes
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
5065 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
5067 ac_cv_func_vfork_works=$ac_cv_func_vfork
5068 if test "x$ac_cv_func_vfork" = xyes; then
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
5070 $as_echo_n "checking for working vfork... " >&6; }
5071 if ${ac_cv_func_vfork_works+:} false; then :
5072 $as_echo_n "(cached) " >&6
5074 if test "$cross_compiling" = yes; then :
5075 ac_cv_func_vfork_works=cross
5077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5078 /* end confdefs.h. */
5079 /* Thanks to Paul Eggert for this test. */
5080 $ac_includes_default
5081 #include <sys/wait.h>
5085 /* On some sparc systems, changes by the child to local and incoming
5086 argument registers are propagated back to the parent. The compiler
5087 is told about this with #include <vfork.h>, but some compilers
5088 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
5089 static variable whose address is put into a register that is
5090 clobbered by the vfork. */
5093 sparc_address_test (int arg)
5095 sparc_address_test (arg) int arg;
5116 pid_t parent = getpid ();
5119 sparc_address_test (0);
5124 /* Here is another test for sparc vfork register problems. This
5125 test uses lots of local variables, at least as many local
5126 variables as main has allocated so far including compiler
5127 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
5128 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
5129 reuse the register of parent for one of the local variables,
5130 since it will think that parent can't possibly be used any more
5131 in this routine. Assigning to the local variable will thus
5132 munge parent in the parent process. */
5134 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
5135 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
5136 /* Convince the compiler that p..p7 are live; otherwise, it might
5137 use the same hardware register for all 8 local variables. */
5138 if (p != p1 || p != p2 || p != p3 || p != p4
5139 || p != p5 || p != p6 || p != p7)
5142 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
5143 from child file descriptors. If the child closes a descriptor
5144 before it execs or exits, this munges the parent's descriptor
5145 as well. Test for this by closing stdout in the child. */
5146 _exit(close(fileno(stdout)) != 0);
5151 while (wait(&status) != child)
5154 /* Was there some problem with vforking? */
5157 /* Did the child fail? (This shouldn't happen.) */
5160 /* Did the vfork/compiler bug occur? */
5161 || parent != getpid()
5163 /* Did the file descriptor bug occur? */
5164 || fstat(fileno(stdout), &st) != 0
5169 if ac_fn_c_try_run "$LINENO"; then :
5170 ac_cv_func_vfork_works=yes
5172 ac_cv_func_vfork_works=no
5174 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5175 conftest.$ac_objext conftest.beam conftest.$ac_ext
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
5180 $as_echo "$ac_cv_func_vfork_works" >&6; }
5183 if test "x$ac_cv_func_fork_works" = xcross; then
5184 ac_cv_func_vfork_works=$ac_cv_func_vfork
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
5186 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
5189 if test "x$ac_cv_func_vfork_works" = xyes; then
5191 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
5195 $as_echo "#define vfork fork" >>confdefs.h
5198 if test "x$ac_cv_func_fork_works" = xyes; then
5200 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
5205 $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
5206 if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false; then :
5207 $as_echo_n "(cached) " >&6
5209 rm -f conftest.sym conftest.file
5211 if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
5212 if test "$cross_compiling" = yes; then :
5213 ac_cv_func_lstat_dereferences_slashed_symlink=no
5215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5216 /* end confdefs.h. */
5217 $ac_includes_default
5222 /* Linux will dereference the symlink and fail, as required by POSIX.
5223 That is better in the sense that it means we will not
5224 have to compile and use the lstat wrapper. */
5225 return lstat ("conftest.sym/", &sbuf) == 0;
5230 if ac_fn_c_try_run "$LINENO"; then :
5231 ac_cv_func_lstat_dereferences_slashed_symlink=yes
5233 ac_cv_func_lstat_dereferences_slashed_symlink=no
5235 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5236 conftest.$ac_objext conftest.beam conftest.$ac_ext
5240 # If the `ln -s' command failed, then we probably don't even
5241 # have an lstat function.
5242 ac_cv_func_lstat_dereferences_slashed_symlink=no
5244 rm -f conftest.sym conftest.file
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
5248 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
5250 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
5252 cat >>confdefs.h <<_ACEOF
5253 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
5257 if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then
5258 case " $LIBOBJS " in
5259 *" lstat.$ac_objext "* ) ;;
5260 *) LIBOBJS="$LIBOBJS lstat.$ac_objext"
5266 for ac_header in stdlib.h
5268 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
5269 if test "x$ac_cv_header_stdlib_h" = xyes; then :
5270 cat >>confdefs.h <<_ACEOF
5271 #define HAVE_STDLIB_H 1
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
5279 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
5280 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
5281 $as_echo_n "(cached) " >&6
5283 if test "$cross_compiling" = yes; then :
5284 ac_cv_func_malloc_0_nonnull=no
5286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5287 /* end confdefs.h. */
5288 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
5289 # include <stdlib.h>
5297 return ! malloc (0);
5302 if ac_fn_c_try_run "$LINENO"; then :
5303 ac_cv_func_malloc_0_nonnull=yes
5305 ac_cv_func_malloc_0_nonnull=no
5307 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5308 conftest.$ac_objext conftest.beam conftest.$ac_ext
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
5313 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
5314 if test $ac_cv_func_malloc_0_nonnull = yes; then :
5316 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
5319 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
5321 case " $LIBOBJS " in
5322 *" malloc.$ac_objext "* ) ;;
5323 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
5328 $as_echo "#define malloc rpl_malloc" >>confdefs.h
5333 for ac_func in clock_gettime gettimeofday memset mkdir setenv strchr strdup strerror strrchr strstr uname
5335 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5336 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5337 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5338 cat >>confdefs.h <<_ACEOF
5339 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5346 ac_config_files="$ac_config_files uxlaunch.service"
5348 cat >confcache <<\_ACEOF
5349 # This file is a shell script that caches the results of configure
5350 # tests run on this system so they can be shared between configure
5351 # scripts and configure runs, see configure's option --config-cache.
5352 # It is not useful on other systems. If it contains results you don't
5353 # want to keep, you may remove or edit it.
5355 # config.status only pays attention to the cache file if you give it
5356 # the --recheck option to rerun configure.
5358 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5359 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5364 # The following way of writing the cache mishandles newlines in values,
5365 # but we know of no workaround that is simple, portable, and efficient.
5366 # So, we kill variables containing newlines.
5367 # Ultrix sh set writes to stderr and can't be redirected directly,
5368 # and sets the high bit in the cache file unless we assign to the vars.
5370 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5371 eval ac_val=\$$ac_var
5375 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5376 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5379 _ | IFS | as_nl) ;; #(
5380 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5381 *) { eval $ac_var=; unset $ac_var;} ;;
5387 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5388 *${as_nl}ac_space=\ *)
5389 # `set' does not quote correctly, so add quotes: double-quote
5390 # substitution turns \\\\ into \\, and sed turns \\ into \.
5393 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5396 # `set' quotes correctly as required by POSIX, so do not add quotes.
5397 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5406 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5408 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5410 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5411 if test -w "$cache_file"; then
5412 if test "x$cache_file" != "x/dev/null"; then
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5414 $as_echo "$as_me: updating cache $cache_file" >&6;}
5415 if test ! -f "$cache_file" || test -h "$cache_file"; then
5416 cat confcache >"$cache_file"
5418 case $cache_file in #(
5420 mv -f confcache "$cache_file"$$ &&
5421 mv -f "$cache_file"$$ "$cache_file" ;; #(
5423 mv -f confcache "$cache_file" ;;
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5429 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5434 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5435 # Let make expand exec_prefix.
5436 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5438 DEFS=-DHAVE_CONFIG_H
5443 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5444 # 1. Remove the extension, and $U if already installed.
5445 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5446 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5447 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5448 # will be set to the directory where LIBOBJS objects are built.
5449 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5450 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5454 LTLIBOBJS=$ac_ltlibobjs
5457 if test -n "$EXEEXT"; then
5459 am__EXEEXT_FALSE='#'
5465 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5466 as_fn_error $? "conditional \"AMDEP\" was never defined.
5467 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5469 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5470 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5471 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5473 if test -z "${WITH_CONSOLEKIT_TRUE}" && test -z "${WITH_CONSOLEKIT_FALSE}"; then
5474 as_fn_error $? "conditional \"WITH_CONSOLEKIT\" was never defined.
5475 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5477 if test -z "${ENABLE_CHOOSER_TRUE}" && test -z "${ENABLE_CHOOSER_FALSE}"; then
5478 as_fn_error $? "conditional \"ENABLE_CHOOSER\" was never defined.
5479 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5481 if test -z "${ENABLE_ECRYPTFS_TRUE}" && test -z "${ENABLE_ECRYPTFS_FALSE}"; then
5482 as_fn_error $? "conditional \"ENABLE_ECRYPTFS\" was never defined.
5483 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5485 if test -z "${SYSTEMD_TRUE}" && test -z "${SYSTEMD_FALSE}"; then
5486 as_fn_error $? "conditional \"SYSTEMD\" was never defined.
5487 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5490 : "${CONFIG_STATUS=./config.status}"
5492 ac_clean_files_save=$ac_clean_files
5493 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5495 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5497 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5499 # Generated by $as_me.
5500 # Run this file to recreate the current configuration.
5501 # Compiler output produced by configure, useful for debugging
5502 # configure, is in config.log if it exists.
5508 SHELL=\${CONFIG_SHELL-$SHELL}
5511 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5512 ## -------------------- ##
5513 ## M4sh Initialization. ##
5514 ## -------------------- ##
5516 # Be more Bourne compatible
5517 DUALCASE=1; export DUALCASE # for MKS sh
5518 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5521 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5522 # is contrary to our usage. Disable this feature.
5523 alias -g '${1+"$@"}'='"$@"'
5524 setopt NO_GLOB_SUBST
5526 case `(set -o) 2>/dev/null` in #(
5538 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5539 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5540 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5541 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5542 # Prefer a ksh shell builtin over an external printf program on Solaris,
5543 # but without wasting forks for bash or zsh.
5544 if test -z "$BASH_VERSION$ZSH_VERSION" \
5545 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5546 as_echo='print -r --'
5547 as_echo_n='print -rn --'
5548 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5549 as_echo='printf %s\n'
5550 as_echo_n='printf %s'
5552 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5553 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5554 as_echo_n='/usr/ucb/echo -n'
5556 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5557 as_echo_n_body='eval
5561 expr "X$arg" : "X\\(.*\\)$as_nl";
5562 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5564 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5566 export as_echo_n_body
5567 as_echo_n='sh -c $as_echo_n_body as_echo'
5570 as_echo='sh -c $as_echo_body as_echo'
5573 # The user is always right.
5574 if test "${PATH_SEPARATOR+set}" != set; then
5576 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5577 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5584 # We need space, tab and new line, in precisely that order. Quoting is
5585 # there to prevent editors from complaining about space-tab.
5586 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5587 # splitting by setting IFS to empty value.)
5590 # Find who we are. Look in the path if we contain no directory separator.
5593 *[\\/]* ) as_myself=$0 ;;
5594 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5598 test -z "$as_dir" && as_dir=.
5599 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5605 # We did not find ourselves, most probably we were run as `sh COMMAND'
5606 # in which case we are not to be found in the path.
5607 if test "x$as_myself" = x; then
5610 if test ! -f "$as_myself"; then
5611 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5615 # Unset variables that we do not need and which cause bugs (e.g. in
5616 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5617 # suppresses any "Segmentation fault" message there. '((' could
5618 # trigger a bug in pdksh 5.2.14.
5619 for as_var in BASH_ENV ENV MAIL MAILPATH
5620 do eval test x\${$as_var+set} = xset \
5621 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5634 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5637 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5638 # ----------------------------------------
5639 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5640 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5641 # script with STATUS, using 1 if that was 0.
5644 as_status=$1; test $as_status -eq 0 && as_status=1
5646 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5647 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5649 $as_echo "$as_me: error: $2" >&2
5650 as_fn_exit $as_status
5654 # as_fn_set_status STATUS
5655 # -----------------------
5656 # Set $? to STATUS, without forking.
5660 } # as_fn_set_status
5664 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5674 # Portably unset VAR.
5677 { eval $1=; unset $1;}
5679 as_unset=as_fn_unset
5680 # as_fn_append VAR VALUE
5681 # ----------------------
5682 # Append the text in VALUE to the end of the definition contained in VAR. Take
5683 # advantage of any shell optimizations that allow amortized linear growth over
5684 # repeated appends, instead of the typical quadratic growth present in naive
5686 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5687 eval 'as_fn_append ()
5698 # as_fn_arith ARG...
5699 # ------------------
5700 # Perform arithmetic evaluation on the ARGs, and store the result in the
5701 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5702 # must be portable across $(()) and expr.
5703 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5704 eval 'as_fn_arith ()
5711 as_val=`expr "$@" || test $? -eq 1`
5716 if expr a : '\(a\)' >/dev/null 2>&1 &&
5717 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5723 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5724 as_basename=basename
5729 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5735 as_me=`$as_basename -- "$0" ||
5736 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5737 X"$0" : 'X\(//\)$' \| \
5738 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5740 sed '/^.*\/\([^/][^/]*\)\/*$/{
5754 # Avoid depending upon Character Ranges.
5755 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5756 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5757 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5758 as_cr_digits='0123456789'
5759 as_cr_alnum=$as_cr_Letters$as_cr_digits
5761 ECHO_C= ECHO_N= ECHO_T=
5762 case `echo -n x` in #(((((
5764 case `echo 'xy\c'` in
5765 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5767 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5774 rm -f conf$$ conf$$.exe conf$$.file
5775 if test -d conf$$.dir; then
5776 rm -f conf$$.dir/conf$$.file
5779 mkdir conf$$.dir 2>/dev/null
5781 if (echo >conf$$.file) 2>/dev/null; then
5782 if ln -s conf$$.file conf$$ 2>/dev/null; then
5784 # ... but there are two gotchas:
5785 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5786 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5787 # In both cases, we have to default to `cp -p'.
5788 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5790 elif ln conf$$.file conf$$ 2>/dev/null; then
5798 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5799 rmdir conf$$.dir 2>/dev/null
5804 # Create "$as_dir" as a directory, including parents if necessary.
5809 -*) as_dir=./$as_dir;;
5811 test -d "$as_dir" || eval $as_mkdir_p || {
5815 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5816 *) as_qdir=$as_dir;;
5818 as_dirs="'$as_qdir' $as_dirs"
5819 as_dir=`$as_dirname -- "$as_dir" ||
5820 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5821 X"$as_dir" : 'X\(//\)[^/]' \| \
5822 X"$as_dir" : 'X\(//\)$' \| \
5823 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5824 $as_echo X"$as_dir" |
5825 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5842 test -d "$as_dir" && break
5844 test -z "$as_dirs" || eval "mkdir $as_dirs"
5845 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5849 if mkdir -p . 2>/dev/null; then
5850 as_mkdir_p='mkdir -p "$as_dir"'
5852 test -d ./-p && rmdir ./-p
5856 if test -x / >/dev/null 2>&1; then
5859 if ls -dL / >/dev/null 2>&1; then
5866 if test -d "$1"; then
5872 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5873 ???[sx]*):;;*)false;;esac;fi
5877 as_executable_p=$as_test_x
5879 # Sed expression to map a string onto a valid CPP name.
5880 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5882 # Sed expression to map a string onto a valid variable name.
5883 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5887 ## ----------------------------------- ##
5888 ## Main body of $CONFIG_STATUS script. ##
5889 ## ----------------------------------- ##
5891 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5893 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5894 # Save the log message, to keep $0 and so on meaningful, and to
5895 # report actual input values of CONFIG_FILES etc. instead of their
5896 # values after options handling.
5898 This file was extended by uxlaunch $as_me 0.64, which was
5899 generated by GNU Autoconf 2.68. Invocation command line was
5901 CONFIG_FILES = $CONFIG_FILES
5902 CONFIG_HEADERS = $CONFIG_HEADERS
5903 CONFIG_LINKS = $CONFIG_LINKS
5904 CONFIG_COMMANDS = $CONFIG_COMMANDS
5907 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5912 case $ac_config_files in *"
5913 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5916 case $ac_config_headers in *"
5917 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5921 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5922 # Files that config.status was made for.
5923 config_files="$ac_config_files"
5924 config_headers="$ac_config_headers"
5925 config_commands="$ac_config_commands"
5929 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5931 \`$as_me' instantiates files and other configuration actions
5932 from templates according to the current configuration. Unless the files
5933 and actions are specified as TAGs, all are instantiated by default.
5935 Usage: $0 [OPTION]... [TAG]...
5937 -h, --help print this help, then exit
5938 -V, --version print version number and configuration settings, then exit
5939 --config print configuration, then exit
5940 -q, --quiet, --silent
5941 do not print progress messages
5942 -d, --debug don't remove temporary files
5943 --recheck update $as_me by reconfiguring in the same conditions
5944 --file=FILE[:TEMPLATE]
5945 instantiate the configuration file FILE
5946 --header=FILE[:TEMPLATE]
5947 instantiate the configuration header FILE
5949 Configuration files:
5952 Configuration headers:
5955 Configuration commands:
5958 Report bugs to <auke-jan.h.kok@intel.com>."
5961 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5962 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5964 uxlaunch config.status 0.64
5965 configured by $0, generated by GNU Autoconf 2.68,
5966 with options \\"\$ac_cs_config\\"
5968 Copyright (C) 2010 Free Software Foundation, Inc.
5969 This config.status script is free software; the Free Software Foundation
5970 gives unlimited permission to copy, distribute and modify it."
5977 test -n "\$AWK" || AWK=awk
5980 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5981 # The default lists apply if the user does not specify any file.
5987 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5988 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5992 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6004 # Handling of the options.
6005 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6007 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6008 $as_echo "$ac_cs_version"; exit ;;
6009 --config | --confi | --conf | --con | --co | --c )
6010 $as_echo "$ac_cs_config"; exit ;;
6011 --debug | --debu | --deb | --de | --d | -d )
6013 --file | --fil | --fi | --f )
6016 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6017 '') as_fn_error $? "missing file argument" ;;
6019 as_fn_append CONFIG_FILES " '$ac_optarg'"
6020 ac_need_defaults=false;;
6021 --header | --heade | --head | --hea )
6024 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6026 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6027 ac_need_defaults=false;;
6029 # Conflict between --help and --header
6030 as_fn_error $? "ambiguous option: \`$1'
6031 Try \`$0 --help' for more information.";;
6032 --help | --hel | -h )
6033 $as_echo "$ac_cs_usage"; exit ;;
6034 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6035 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6039 -*) as_fn_error $? "unrecognized option: \`$1'
6040 Try \`$0 --help' for more information." ;;
6042 *) as_fn_append ac_config_targets " $1"
6043 ac_need_defaults=false ;;
6049 ac_configure_extra_args=
6051 if $ac_cs_silent; then
6053 ac_configure_extra_args="$ac_configure_extra_args --silent"
6057 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6058 if \$ac_cs_recheck; then
6059 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6061 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6062 CONFIG_SHELL='$SHELL'
6068 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6072 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6073 ## Running $as_me. ##
6079 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6083 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6087 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6089 # Handling of arguments.
6090 for ac_config_target in $ac_config_targets
6092 case $ac_config_target in
6093 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6094 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
6095 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6096 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6097 "uxlaunch.service") CONFIG_FILES="$CONFIG_FILES uxlaunch.service" ;;
6099 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6104 # If the user did not use the arguments to specify the items to instantiate,
6105 # then the envvar interface is used. Set only those that are not.
6106 # We use the long form for the default assignment because of an extremely
6107 # bizarre bug on SunOS 4.1.3.
6108 if $ac_need_defaults; then
6109 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6110 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6111 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6114 # Have a temporary directory for convenience. Make it in the build tree
6115 # simply because there is no reason against having it here, and in addition,
6116 # creating and moving files from /tmp can sometimes cause problems.
6117 # Hook for its removal unless debugging.
6118 # Note that there is a small window in which the directory will not be cleaned:
6119 # after its creation but before its name has been assigned to `$tmp'.
6123 trap 'exit_status=$?
6125 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6127 trap 'as_fn_exit 1' 1 2 13 15
6129 # Create a (secure) tmp directory for tmp files.
6132 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6136 tmp=./conf$$-$RANDOM
6137 (umask 077 && mkdir "$tmp")
6138 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6141 # Set up the scripts for CONFIG_FILES section.
6142 # No need to generate them if there are no CONFIG_FILES.
6143 # This happens for instance with `./config.status config.h'.
6144 if test -n "$CONFIG_FILES"; then
6147 ac_cr=`echo X | tr X '\015'`
6148 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6149 # But we know of no other shell where ac_cr would be empty at this
6150 # point, so we can use a bashism as a fallback.
6151 if test "x$ac_cr" = x; then
6152 eval ac_cr=\$\'\\r\'
6154 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6155 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6161 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6166 echo "cat >conf$$subs.awk <<_ACEOF" &&
6167 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6170 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6171 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6173 for ac_last_try in false false false false false :; do
6174 . ./conf$$subs.sh ||
6175 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6177 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6178 if test $ac_delim_n = $ac_delim_num; then
6180 elif $ac_last_try; then
6181 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6183 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6188 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6189 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6193 s/^/S["/; s/!.*/"]=/
6203 s/\(.\{148\}\)..*/\1/
6205 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6210 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6217 s/\(.\{148\}\)..*/\1/
6219 s/["\\]/\\&/g; s/^/"/; s/$/"/
6223 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6228 ' <conf$$subs.awk | sed '
6233 ' >>$CONFIG_STATUS || ac_write_fail=1
6234 rm -f conf$$subs.awk
6235 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6237 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6238 for (key in S) S_is_set[key] = 1
6244 nfields = split(line, field, "@")
6246 len = length(field[1])
6247 for (i = 2; i < nfields; i++) {
6249 keylen = length(key)
6250 if (S_is_set[key]) {
6252 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6253 len += length(value) + length(field[++i])
6264 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6265 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6266 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6269 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6270 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6273 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6274 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6275 # trailing colons and then remove the whole line if VPATH becomes empty
6276 # (actually we leave an empty line to preserve line numbers).
6277 if test "x$srcdir" = x.; then
6278 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6296 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6297 fi # test -n "$CONFIG_FILES"
6299 # Set up the scripts for CONFIG_HEADERS section.
6300 # No need to generate them if there are no CONFIG_HEADERS.
6301 # This happens for instance with `./config.status Makefile'.
6302 if test -n "$CONFIG_HEADERS"; then
6303 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6307 # Transform confdefs.h into an awk script `defines.awk', embedded as
6308 # here-document in config.status, that substitutes the proper values into
6309 # config.h.in to produce config.h.
6311 # Create a delimiter string that does not exist in confdefs.h, to ease
6312 # handling of long lines.
6314 for ac_last_try in false false :; do
6315 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6316 if test -z "$ac_tt"; then
6318 elif $ac_last_try; then
6319 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6321 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6325 # For the awk script, D is an array of macro values keyed by name,
6326 # likewise P contains macro parameters if any. Preserve backslash
6327 # newline sequences.
6329 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6331 s/.\{148\}/&'"$ac_delim"'/g
6334 s/^[ ]*#[ ]*define[ ][ ]*/ /
6341 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6343 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6347 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6348 D["\1"]=" \3\\\\\\n"\\/p
6350 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6355 s/.\{148\}/&'"$ac_delim"'/g
6360 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6363 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6365 ' <confdefs.h | sed '
6366 s/'"$ac_delim"'/"\\\
6367 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6369 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6370 for (key in D) D_is_set[key] = 1
6373 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6375 split(line, arg, " ")
6376 if (arg[1] == "#") {
6380 defundef = substr(arg[1], 2)
6383 split(mac1, mac2, "(") #)
6385 prefix = substr(line, 1, index(line, defundef) - 1)
6386 if (D_is_set[macro]) {
6387 # Preserve the white space surrounding the "#".
6388 print prefix "define", macro P[macro] D[macro]
6391 # Replace #undef with comments. This is necessary, for example,
6392 # in the case of _POSIX_SOURCE, which is predefined and required
6393 # on some systems where configure will not decide to define it.
6394 if (defundef == "undef") {
6395 print "/*", prefix defundef, macro, "*/"
6403 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6404 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6405 fi # test -n "$CONFIG_HEADERS"
6408 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6413 :[FHLC]) ac_mode=$ac_tag; continue;;
6415 case $ac_mode$ac_tag in
6417 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6418 :[FH]-) ac_tag=-:-;;
6419 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6436 -) ac_f="$ac_tmp/stdin";;
6437 *) # Look for the file first in the build tree, then in the source tree
6438 # (if the path is not absolute). The absolute path cannot be DOS-style,
6439 # because $ac_f cannot contain `:'.
6443 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6445 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6447 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6448 as_fn_append ac_file_inputs " '$ac_f'"
6451 # Let's still pretend it is `configure' which instantiates (i.e., don't
6452 # use $as_me), people would be surprised to read:
6453 # /* config.h. Generated by config.status. */
6454 configure_input='Generated from '`
6455 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6457 if test x"$ac_file" != x-; then
6458 configure_input="$ac_file. $configure_input"
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6460 $as_echo "$as_me: creating $ac_file" >&6;}
6462 # Neutralize special characters interpreted by sed in replacement strings.
6463 case $configure_input in #(
6464 *\&* | *\|* | *\\* )
6465 ac_sed_conf_input=`$as_echo "$configure_input" |
6466 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6467 *) ac_sed_conf_input=$configure_input;;
6471 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6472 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6477 ac_dir=`$as_dirname -- "$ac_file" ||
6478 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6479 X"$ac_file" : 'X\(//\)[^/]' \| \
6480 X"$ac_file" : 'X\(//\)$' \| \
6481 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6482 $as_echo X"$ac_file" |
6483 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6500 as_dir="$ac_dir"; as_fn_mkdir_p
6504 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6506 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6507 # A ".." for each directory in $ac_dir_suffix.
6508 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6509 case $ac_top_builddir_sub in
6510 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6511 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6514 ac_abs_top_builddir=$ac_pwd
6515 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6516 # for backward compatibility:
6517 ac_top_builddir=$ac_top_build_prefix
6520 .) # We are building in place.
6522 ac_top_srcdir=$ac_top_builddir_sub
6523 ac_abs_top_srcdir=$ac_pwd ;;
6524 [\\/]* | ?:[\\/]* ) # Absolute name.
6525 ac_srcdir=$srcdir$ac_dir_suffix;
6526 ac_top_srcdir=$srcdir
6527 ac_abs_top_srcdir=$srcdir ;;
6529 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6530 ac_top_srcdir=$ac_top_build_prefix$srcdir
6531 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6533 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6543 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6544 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6548 [\\/$]* | ?:[\\/]* ) ;;
6549 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6553 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6554 # If the template does not know about datarootdir, expand it.
6555 # FIXME: This hack should be removed a few years after 2.60.
6556 ac_datarootdir_hack=; ac_datarootdir_seen=
6567 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6568 *datarootdir*) ac_datarootdir_seen=yes;;
6569 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6571 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6573 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6574 ac_datarootdir_hack='
6575 s&@datadir@&$datadir&g
6576 s&@docdir@&$docdir&g
6577 s&@infodir@&$infodir&g
6578 s&@localedir@&$localedir&g
6579 s&@mandir@&$mandir&g
6580 s&\\\${datarootdir}&$datarootdir&g' ;;
6584 # Neutralize VPATH when `$srcdir' = `.'.
6585 # Shell code in configure.ac might set extrasub.
6586 # FIXME: do we really want to maintain this feature?
6587 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6588 ac_sed_extra="$ac_vpsub
6591 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6593 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6594 s|@configure_input@|$ac_sed_conf_input|;t t
6595 s&@top_builddir@&$ac_top_builddir_sub&;t t
6596 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6597 s&@srcdir@&$ac_srcdir&;t t
6598 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6599 s&@top_srcdir@&$ac_top_srcdir&;t t
6600 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6601 s&@builddir@&$ac_builddir&;t t
6602 s&@abs_builddir@&$ac_abs_builddir&;t t
6603 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6604 s&@INSTALL@&$ac_INSTALL&;t t
6605 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6606 $ac_datarootdir_hack
6608 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6609 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6611 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6612 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6613 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6614 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6616 which seems to be undefined. Please make sure it is defined" >&5
6617 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6618 which seems to be undefined. Please make sure it is defined" >&2;}
6620 rm -f "$ac_tmp/stdin"
6622 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6623 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6625 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6631 if test x"$ac_file" != x-; then
6633 $as_echo "/* $configure_input */" \
6634 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6635 } >"$ac_tmp/config.h" \
6636 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6637 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6639 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6642 mv "$ac_tmp/config.h" "$ac_file" \
6643 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6646 $as_echo "/* $configure_input */" \
6647 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6648 || as_fn_error $? "could not create -" "$LINENO" 5
6650 # Compute "$ac_file"'s index in $config_headers.
6653 for _am_header in $config_headers :; do
6655 $_am_arg | $_am_arg:* )
6658 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6661 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6662 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6663 X"$_am_arg" : 'X\(//\)[^/]' \| \
6664 X"$_am_arg" : 'X\(//\)$' \| \
6665 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6666 $as_echo X"$_am_arg" |
6667 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6683 s/.*/./; q'`/stamp-h$_am_stamp_count
6686 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6687 $as_echo "$as_me: executing $ac_file commands" >&6;}
6692 case $ac_file$ac_mode in
6693 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6694 # Autoconf 2.62 quotes --file arguments for eval, but not when files
6695 # are listed without --file. Let's play safe and only enable the eval
6696 # if we detect the quoting.
6697 case $CONFIG_FILES in
6698 *\'*) eval set x "$CONFIG_FILES" ;;
6699 *) set x $CONFIG_FILES ;;
6704 # Strip MF so we end up with the name of the file.
6705 mf=`echo "$mf" | sed -e 's/:.*$//'`
6706 # Check whether this is an Automake generated Makefile or not.
6707 # We used to match only the files named `Makefile.in', but
6708 # some people rename them; so instead we look at the file content.
6709 # Grep'ing the first line is not enough: some people post-process
6710 # each Makefile.in and add a new line on top of each file to say so.
6711 # Grep'ing the whole file is not good either: AIX grep has a line
6712 # limit of 2048, but all sed's we know have understand at least 4000.
6713 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6714 dirpart=`$as_dirname -- "$mf" ||
6715 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6716 X"$mf" : 'X\(//\)[^/]' \| \
6717 X"$mf" : 'X\(//\)$' \| \
6718 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6740 # Extract the definition of DEPDIR, am__include, and am__quote
6741 # from the Makefile without running `make'.
6742 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6743 test -z "$DEPDIR" && continue
6744 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6745 test -z "am__include" && continue
6746 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6747 # When using ansi2knr, U may be empty or an underscore; expand it
6748 U=`sed -n 's/^U = //p' < "$mf"`
6749 # Find all dependency output files, they are included files with
6750 # $(DEPDIR) in their names. We invoke sed twice because it is the
6751 # simplest approach to changing $(DEPDIR) to its actual value in the
6753 for file in `sed -n "
6754 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6755 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6756 # Make sure the directory exists.
6757 test -f "$dirpart/$file" && continue
6758 fdir=`$as_dirname -- "$file" ||
6759 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6760 X"$file" : 'X\(//\)[^/]' \| \
6761 X"$file" : 'X\(//\)$' \| \
6762 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6764 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6781 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6782 # echo "creating $dirpart/$file"
6783 echo '# dummy' > "$dirpart/$file"
6795 ac_clean_files=$ac_clean_files_save
6797 test $ac_write_fail = 0 ||
6798 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6801 # configure is writing to config.log, and then calls config.status.
6802 # config.status does its own redirection, appending to config.log.
6803 # Unfortunately, on DOS this fails, as config.log is still kept open
6804 # by configure, so config.status won't be able to write to it; its
6805 # output is simply discarded. So we exec the FD to /dev/null,
6806 # effectively closing config.log, so it can be properly (re)opened and
6807 # appended to by config.status. When coming back to configure, we
6808 # need to make the FD available again.
6809 if test "$no_create" != yes; then
6811 ac_config_status_args=
6812 test "$silent" = yes &&
6813 ac_config_status_args="$ac_config_status_args --quiet"
6815 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6817 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6818 # would make configure fail if this is the last instruction.
6819 $ac_cs_success || as_fn_exit 1
6821 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6823 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6828 echo "Build configuration:"
6830 echo "Library support:"
6831 echo -n " * ConsoleKit : "
6832 test -n "$CONSOLEKIT_LIBS" && echo yes || echo no
6834 test -n "`echo $LIBS | grep lpam`" && echo yes || echo no
6835 echo -n " * Xauth : "
6836 test -n "`echo $LIBS | grep lXau`" && echo yes || echo no
6838 echo "Feature support:"
6839 echo -n " * chooser : "
6840 test "x$enable_chooser" != xno && echo yes || echo no
6841 echo -n " * ecryptfs : "
6842 test "x$enable_ecryptfs" != xno && echo yes || echo no
6843 echo -n " * debugging : "
6844 test "x$enable_debug" == xyes && echo yes || echo no
6845 echo -n " * systemd : "
6846 test "x$path_systemdunit" == x && echo no || echo yes