2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for xorg-launch-helper 3.
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='xorg-launch-helper'
562 PACKAGE_TARNAME='xorg-launch-helper'
564 PACKAGE_STRING='xorg-launch-helper 3'
565 PACKAGE_BUGREPORT='auke-jan.h.kok@intel.com'
568 ac_unique_file="src/main.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
644 INSTALL_STRIP_PROGRAM
686 program_transform_name
699 enable_option_checking
700 enable_dependency_tracking
701 with_systemduserunitdir
703 ac_precious_vars='build_alias
719 # Initialize some variables set by options.
721 ac_init_version=false
722 ac_unrecognized_opts=
724 # The variables have the same names as the options, with
725 # dashes changed to underlines.
733 program_transform_name=s,x,x,
741 # Installation directory options.
742 # These are left unexpanded so users can "make install exec_prefix=/foo"
743 # and all the variables that are supposed to be based on exec_prefix
744 # by default will actually change.
745 # Use braces instead of parens because sh, perl, etc. also accept them.
746 # (The list follows the same order as the GNU Coding Standards.)
747 bindir='${exec_prefix}/bin'
748 sbindir='${exec_prefix}/sbin'
749 libexecdir='${exec_prefix}/libexec'
750 datarootdir='${prefix}/share'
751 datadir='${datarootdir}'
752 sysconfdir='${prefix}/etc'
753 sharedstatedir='${prefix}/com'
754 localstatedir='${prefix}/var'
755 includedir='${prefix}/include'
756 oldincludedir='/usr/include'
757 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
758 infodir='${datarootdir}/info'
763 libdir='${exec_prefix}/lib'
764 localedir='${datarootdir}/locale'
765 mandir='${datarootdir}/man'
771 # If the previous option needs an argument, assign it.
772 if test -n "$ac_prev"; then
773 eval $ac_prev=\$ac_option
779 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
784 # Accept the important Cygnus configure options, so we can diagnose typos.
786 case $ac_dashdash$ac_option in
790 -bindir | --bindir | --bindi | --bind | --bin | --bi)
792 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
795 -build | --build | --buil | --bui | --bu)
796 ac_prev=build_alias ;;
797 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
798 build_alias=$ac_optarg ;;
800 -cache-file | --cache-file | --cache-fil | --cache-fi \
801 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
802 ac_prev=cache_file ;;
803 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
804 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
805 cache_file=$ac_optarg ;;
808 cache_file=config.cache ;;
810 -datadir | --datadir | --datadi | --datad)
812 -datadir=* | --datadir=* | --datadi=* | --datad=*)
813 datadir=$ac_optarg ;;
815 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
816 | --dataroo | --dataro | --datar)
817 ac_prev=datarootdir ;;
818 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
819 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
820 datarootdir=$ac_optarg ;;
822 -disable-* | --disable-*)
823 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
824 # Reject names that are not valid shell variable names.
825 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
826 as_fn_error $? "invalid feature name: $ac_useropt"
827 ac_useropt_orig=$ac_useropt
828 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
829 case $ac_user_opts in
833 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
834 ac_unrecognized_sep=', ';;
836 eval enable_$ac_useropt=no ;;
838 -docdir | --docdir | --docdi | --doc | --do)
840 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
843 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
845 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
848 -enable-* | --enable-*)
849 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
850 # Reject names that are not valid shell variable names.
851 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
852 as_fn_error $? "invalid feature name: $ac_useropt"
853 ac_useropt_orig=$ac_useropt
854 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
855 case $ac_user_opts in
859 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
860 ac_unrecognized_sep=', ';;
862 eval enable_$ac_useropt=\$ac_optarg ;;
864 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
865 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
866 | --exec | --exe | --ex)
867 ac_prev=exec_prefix ;;
868 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
869 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
870 | --exec=* | --exe=* | --ex=*)
871 exec_prefix=$ac_optarg ;;
873 -gas | --gas | --ga | --g)
874 # Obsolete; use --with-gas.
877 -help | --help | --hel | --he | -h)
879 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
880 ac_init_help=recursive ;;
881 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
882 ac_init_help=short ;;
884 -host | --host | --hos | --ho)
885 ac_prev=host_alias ;;
886 -host=* | --host=* | --hos=* | --ho=*)
887 host_alias=$ac_optarg ;;
889 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
891 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
893 htmldir=$ac_optarg ;;
895 -includedir | --includedir | --includedi | --included | --include \
896 | --includ | --inclu | --incl | --inc)
897 ac_prev=includedir ;;
898 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
899 | --includ=* | --inclu=* | --incl=* | --inc=*)
900 includedir=$ac_optarg ;;
902 -infodir | --infodir | --infodi | --infod | --info | --inf)
904 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
905 infodir=$ac_optarg ;;
907 -libdir | --libdir | --libdi | --libd)
909 -libdir=* | --libdir=* | --libdi=* | --libd=*)
912 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
913 | --libexe | --libex | --libe)
914 ac_prev=libexecdir ;;
915 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
916 | --libexe=* | --libex=* | --libe=*)
917 libexecdir=$ac_optarg ;;
919 -localedir | --localedir | --localedi | --localed | --locale)
921 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
922 localedir=$ac_optarg ;;
924 -localstatedir | --localstatedir | --localstatedi | --localstated \
925 | --localstate | --localstat | --localsta | --localst | --locals)
926 ac_prev=localstatedir ;;
927 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
928 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
929 localstatedir=$ac_optarg ;;
931 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
933 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
937 # Obsolete; use --without-fp.
940 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
941 | --no-cr | --no-c | -n)
944 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
945 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
948 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
949 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
950 | --oldin | --oldi | --old | --ol | --o)
951 ac_prev=oldincludedir ;;
952 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
953 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
954 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
955 oldincludedir=$ac_optarg ;;
957 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
959 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
962 -program-prefix | --program-prefix | --program-prefi | --program-pref \
963 | --program-pre | --program-pr | --program-p)
964 ac_prev=program_prefix ;;
965 -program-prefix=* | --program-prefix=* | --program-prefi=* \
966 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
967 program_prefix=$ac_optarg ;;
969 -program-suffix | --program-suffix | --program-suffi | --program-suff \
970 | --program-suf | --program-su | --program-s)
971 ac_prev=program_suffix ;;
972 -program-suffix=* | --program-suffix=* | --program-suffi=* \
973 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
974 program_suffix=$ac_optarg ;;
976 -program-transform-name | --program-transform-name \
977 | --program-transform-nam | --program-transform-na \
978 | --program-transform-n | --program-transform- \
979 | --program-transform | --program-transfor \
980 | --program-transfo | --program-transf \
981 | --program-trans | --program-tran \
982 | --progr-tra | --program-tr | --program-t)
983 ac_prev=program_transform_name ;;
984 -program-transform-name=* | --program-transform-name=* \
985 | --program-transform-nam=* | --program-transform-na=* \
986 | --program-transform-n=* | --program-transform-=* \
987 | --program-transform=* | --program-transfor=* \
988 | --program-transfo=* | --program-transf=* \
989 | --program-trans=* | --program-tran=* \
990 | --progr-tra=* | --program-tr=* | --program-t=*)
991 program_transform_name=$ac_optarg ;;
993 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
995 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
998 -psdir | --psdir | --psdi | --psd | --ps)
1000 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1003 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1004 | -silent | --silent | --silen | --sile | --sil)
1007 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1009 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1011 sbindir=$ac_optarg ;;
1013 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1014 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1015 | --sharedst | --shareds | --shared | --share | --shar \
1017 ac_prev=sharedstatedir ;;
1018 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1019 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1020 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1022 sharedstatedir=$ac_optarg ;;
1024 -site | --site | --sit)
1026 -site=* | --site=* | --sit=*)
1029 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1031 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1032 srcdir=$ac_optarg ;;
1034 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1035 | --syscon | --sysco | --sysc | --sys | --sy)
1036 ac_prev=sysconfdir ;;
1037 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1038 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1039 sysconfdir=$ac_optarg ;;
1041 -target | --target | --targe | --targ | --tar | --ta | --t)
1042 ac_prev=target_alias ;;
1043 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1044 target_alias=$ac_optarg ;;
1046 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1049 -version | --version | --versio | --versi | --vers | -V)
1050 ac_init_version=: ;;
1053 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1054 # Reject names that are not valid shell variable names.
1055 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1056 as_fn_error $? "invalid package name: $ac_useropt"
1057 ac_useropt_orig=$ac_useropt
1058 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1059 case $ac_user_opts in
1063 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1064 ac_unrecognized_sep=', ';;
1066 eval with_$ac_useropt=\$ac_optarg ;;
1068 -without-* | --without-*)
1069 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1070 # Reject names that are not valid shell variable names.
1071 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1072 as_fn_error $? "invalid package name: $ac_useropt"
1073 ac_useropt_orig=$ac_useropt
1074 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1075 case $ac_user_opts in
1079 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1080 ac_unrecognized_sep=', ';;
1082 eval with_$ac_useropt=no ;;
1085 # Obsolete; use --with-x.
1088 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1089 | --x-incl | --x-inc | --x-in | --x-i)
1090 ac_prev=x_includes ;;
1091 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1092 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1093 x_includes=$ac_optarg ;;
1095 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1096 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1097 ac_prev=x_libraries ;;
1098 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1099 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1100 x_libraries=$ac_optarg ;;
1102 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1103 Try \`$0 --help' for more information"
1107 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1108 # Reject names that are not valid shell variable names.
1109 case $ac_envvar in #(
1110 '' | [0-9]* | *[!_$as_cr_alnum]* )
1111 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1113 eval $ac_envvar=\$ac_optarg
1114 export $ac_envvar ;;
1117 # FIXME: should be removed in autoconf 3.0.
1118 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1119 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1120 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1121 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1127 if test -n "$ac_prev"; then
1128 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1129 as_fn_error $? "missing argument to $ac_option"
1132 if test -n "$ac_unrecognized_opts"; then
1133 case $enable_option_checking in
1135 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1136 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1140 # Check all directory arguments for consistency.
1141 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1142 datadir sysconfdir sharedstatedir localstatedir includedir \
1143 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1144 libdir localedir mandir
1146 eval ac_val=\$$ac_var
1147 # Remove trailing slashes.
1150 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1151 eval $ac_var=\$ac_val;;
1153 # Be sure to have absolute directory names.
1155 [\\/$]* | ?:[\\/]* ) continue;;
1156 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1158 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1161 # There might be people who depend on the old broken behavior: `$host'
1162 # used to hold the argument of --host etc.
1163 # FIXME: To remove some day.
1166 target=$target_alias
1168 # FIXME: To remove some day.
1169 if test "x$host_alias" != x; then
1170 if test "x$build_alias" = x; then
1171 cross_compiling=maybe
1172 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1173 If a cross compiler is detected then cross compile mode will be used" >&2
1174 elif test "x$build_alias" != "x$host_alias"; then
1180 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1182 test "$silent" = yes && exec 6>/dev/null
1185 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1186 ac_ls_di=`ls -di .` &&
1187 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1188 as_fn_error $? "working directory cannot be determined"
1189 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1190 as_fn_error $? "pwd does not report name of working directory"
1193 # Find the source files, if location was not specified.
1194 if test -z "$srcdir"; then
1195 ac_srcdir_defaulted=yes
1196 # Try the directory containing this script, then the parent directory.
1197 ac_confdir=`$as_dirname -- "$as_myself" ||
1198 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1199 X"$as_myself" : 'X\(//\)[^/]' \| \
1200 X"$as_myself" : 'X\(//\)$' \| \
1201 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1202 $as_echo X"$as_myself" |
1203 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1221 if test ! -r "$srcdir/$ac_unique_file"; then
1225 ac_srcdir_defaulted=no
1227 if test ! -r "$srcdir/$ac_unique_file"; then
1228 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1229 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1231 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1233 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1235 # When building in place, set srcdir=.
1236 if test "$ac_abs_confdir" = "$ac_pwd"; then
1239 # Remove unnecessary trailing slashes from srcdir.
1240 # Double slashes in file names in object file debugging info
1241 # mess up M-x gdb in Emacs.
1243 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1245 for ac_var in $ac_precious_vars; do
1246 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1247 eval ac_env_${ac_var}_value=\$${ac_var}
1248 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1249 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1253 # Report the --help message.
1255 if test "$ac_init_help" = "long"; then
1256 # Omit some internal or obsolete options to make the list less imposing.
1257 # This message is too long to be a string in the A/UX 3.1 sh.
1259 \`configure' configures xorg-launch-helper 3 to adapt to many kinds of systems.
1261 Usage: $0 [OPTION]... [VAR=VALUE]...
1263 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1264 VAR=VALUE. See below for descriptions of some of the useful variables.
1266 Defaults for the options are specified in brackets.
1269 -h, --help display this help and exit
1270 --help=short display options specific to this package
1271 --help=recursive display the short help of all the included packages
1272 -V, --version display version information and exit
1273 -q, --quiet, --silent do not print \`checking ...' messages
1274 --cache-file=FILE cache test results in FILE [disabled]
1275 -C, --config-cache alias for \`--cache-file=config.cache'
1276 -n, --no-create do not create output files
1277 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1279 Installation directories:
1280 --prefix=PREFIX install architecture-independent files in PREFIX
1281 [$ac_default_prefix]
1282 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1285 By default, \`make install' will install all the files in
1286 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1287 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1288 for instance \`--prefix=\$HOME'.
1290 For better control, use the options below.
1292 Fine tuning of the installation directories:
1293 --bindir=DIR user executables [EPREFIX/bin]
1294 --sbindir=DIR system admin executables [EPREFIX/sbin]
1295 --libexecdir=DIR program executables [EPREFIX/libexec]
1296 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1297 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1298 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1299 --libdir=DIR object code libraries [EPREFIX/lib]
1300 --includedir=DIR C header files [PREFIX/include]
1301 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1302 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1303 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1304 --infodir=DIR info documentation [DATAROOTDIR/info]
1305 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1306 --mandir=DIR man documentation [DATAROOTDIR/man]
1307 --docdir=DIR documentation root
1308 [DATAROOTDIR/doc/xorg-launch-helper]
1309 --htmldir=DIR html documentation [DOCDIR]
1310 --dvidir=DIR dvi documentation [DOCDIR]
1311 --pdfdir=DIR pdf documentation [DOCDIR]
1312 --psdir=DIR ps documentation [DOCDIR]
1318 --program-prefix=PREFIX prepend PREFIX to installed program names
1319 --program-suffix=SUFFIX append SUFFIX to installed program names
1320 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1324 if test -n "$ac_init_help"; then
1325 case $ac_init_help in
1326 short | recursive ) echo "Configuration of xorg-launch-helper 3:";;
1331 --disable-option-checking ignore unrecognized --enable/--with options
1332 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1333 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1334 --disable-dependency-tracking speeds up one-time build
1335 --enable-dependency-tracking do not reject slow dependency extractors
1338 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1339 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1340 --with-systemduserunitdir=DIR
1341 path to systemd user service directory
1343 Some influential environment variables:
1344 CC C compiler command
1345 CFLAGS C compiler flags
1346 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1347 nonstandard directory <lib dir>
1348 LIBS libraries to pass to the linker, e.g. -l<library>
1349 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1350 you have headers in a nonstandard directory <include dir>
1351 PKG_CONFIG path to pkg-config utility
1353 directories to add to pkg-config's search path
1355 path overriding pkg-config's built-in search path
1357 C compiler flags for SYSTEMD, overriding pkg-config
1359 linker flags for SYSTEMD, overriding pkg-config
1362 Use these variables to override the choices made by `configure' or to help
1363 it to find libraries and programs with nonstandard names/locations.
1365 Report bugs to <auke-jan.h.kok@intel.com>.
1370 if test "$ac_init_help" = "recursive"; then
1371 # If there are subdirs, report their specific --help.
1372 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1373 test -d "$ac_dir" ||
1374 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1379 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1381 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1382 # A ".." for each directory in $ac_dir_suffix.
1383 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1384 case $ac_top_builddir_sub in
1385 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1386 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1389 ac_abs_top_builddir=$ac_pwd
1390 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1391 # for backward compatibility:
1392 ac_top_builddir=$ac_top_build_prefix
1395 .) # We are building in place.
1397 ac_top_srcdir=$ac_top_builddir_sub
1398 ac_abs_top_srcdir=$ac_pwd ;;
1399 [\\/]* | ?:[\\/]* ) # Absolute name.
1400 ac_srcdir=$srcdir$ac_dir_suffix;
1401 ac_top_srcdir=$srcdir
1402 ac_abs_top_srcdir=$srcdir ;;
1404 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1405 ac_top_srcdir=$ac_top_build_prefix$srcdir
1406 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1408 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1410 cd "$ac_dir" || { ac_status=$?; continue; }
1411 # Check for guested configure.
1412 if test -f "$ac_srcdir/configure.gnu"; then
1414 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1415 elif test -f "$ac_srcdir/configure"; then
1417 $SHELL "$ac_srcdir/configure" --help=recursive
1419 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1421 cd "$ac_pwd" || { ac_status=$?; break; }
1425 test -n "$ac_init_help" && exit $ac_status
1426 if $ac_init_version; then
1428 xorg-launch-helper configure 3
1429 generated by GNU Autoconf 2.68
1431 Copyright (C) 2010 Free Software Foundation, Inc.
1432 This configure script is free software; the Free Software Foundation
1433 gives unlimited permission to copy, distribute and modify it.
1438 ## ------------------------ ##
1439 ## Autoconf initialization. ##
1440 ## ------------------------ ##
1442 # ac_fn_c_try_compile LINENO
1443 # --------------------------
1444 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1445 ac_fn_c_try_compile ()
1447 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1448 rm -f conftest.$ac_objext
1449 if { { ac_try="$ac_compile"
1451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1452 *) ac_try_echo=$ac_try;;
1454 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1455 $as_echo "$ac_try_echo"; } >&5
1456 (eval "$ac_compile") 2>conftest.err
1458 if test -s conftest.err; then
1459 grep -v '^ *+' conftest.err >conftest.er1
1460 cat conftest.er1 >&5
1461 mv -f conftest.er1 conftest.err
1463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1464 test $ac_status = 0; } && {
1465 test -z "$ac_c_werror_flag" ||
1466 test ! -s conftest.err
1467 } && test -s conftest.$ac_objext; then :
1470 $as_echo "$as_me: failed program was:" >&5
1471 sed 's/^/| /' conftest.$ac_ext >&5
1475 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1476 as_fn_set_status $ac_retval
1478 } # ac_fn_c_try_compile
1480 # ac_fn_c_try_link LINENO
1481 # -----------------------
1482 # Try to link conftest.$ac_ext, and return whether this succeeded.
1485 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1486 rm -f conftest.$ac_objext conftest$ac_exeext
1487 if { { ac_try="$ac_link"
1489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1490 *) ac_try_echo=$ac_try;;
1492 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1493 $as_echo "$ac_try_echo"; } >&5
1494 (eval "$ac_link") 2>conftest.err
1496 if test -s conftest.err; then
1497 grep -v '^ *+' conftest.err >conftest.er1
1498 cat conftest.er1 >&5
1499 mv -f conftest.er1 conftest.err
1501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1502 test $ac_status = 0; } && {
1503 test -z "$ac_c_werror_flag" ||
1504 test ! -s conftest.err
1505 } && test -s conftest$ac_exeext && {
1506 test "$cross_compiling" = yes ||
1507 $as_test_x conftest$ac_exeext
1511 $as_echo "$as_me: failed program was:" >&5
1512 sed 's/^/| /' conftest.$ac_ext >&5
1516 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1517 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1518 # interfere with the next link command; also delete a directory that is
1519 # left behind by Apple's compiler. We do this before executing the actions.
1520 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1521 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1522 as_fn_set_status $ac_retval
1524 } # ac_fn_c_try_link
1526 # ac_fn_c_try_cpp LINENO
1527 # ----------------------
1528 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1531 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1532 if { { ac_try="$ac_cpp conftest.$ac_ext"
1534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1535 *) ac_try_echo=$ac_try;;
1537 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1538 $as_echo "$ac_try_echo"; } >&5
1539 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1541 if test -s conftest.err; then
1542 grep -v '^ *+' conftest.err >conftest.er1
1543 cat conftest.er1 >&5
1544 mv -f conftest.er1 conftest.err
1546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1547 test $ac_status = 0; } > conftest.i && {
1548 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1549 test ! -s conftest.err
1553 $as_echo "$as_me: failed program was:" >&5
1554 sed 's/^/| /' conftest.$ac_ext >&5
1558 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1559 as_fn_set_status $ac_retval
1563 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1564 # -------------------------------------------------------
1565 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1566 # the include files in INCLUDES and setting the cache variable VAR
1568 ac_fn_c_check_header_mongrel ()
1570 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1571 if eval \${$3+:} false; then :
1572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1573 $as_echo_n "checking for $2... " >&6; }
1574 if eval \${$3+:} false; then :
1575 $as_echo_n "(cached) " >&6
1578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1579 $as_echo "$ac_res" >&6; }
1581 # Is the header compilable?
1582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1583 $as_echo_n "checking $2 usability... " >&6; }
1584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1585 /* end confdefs.h. */
1589 if ac_fn_c_try_compile "$LINENO"; then :
1590 ac_header_compiler=yes
1592 ac_header_compiler=no
1594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1596 $as_echo "$ac_header_compiler" >&6; }
1598 # Is the header present?
1599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1600 $as_echo_n "checking $2 presence... " >&6; }
1601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1602 /* end confdefs.h. */
1605 if ac_fn_c_try_cpp "$LINENO"; then :
1606 ac_header_preproc=yes
1608 ac_header_preproc=no
1610 rm -f conftest.err conftest.i conftest.$ac_ext
1611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1612 $as_echo "$ac_header_preproc" >&6; }
1614 # So? What about this header?
1615 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1618 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1620 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1624 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1626 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1628 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1630 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1632 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1633 ( $as_echo "## --------------------------------------- ##
1634 ## Report this to auke-jan.h.kok@intel.com ##
1635 ## --------------------------------------- ##"
1636 ) | sed "s/^/$as_me: WARNING: /" >&2
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1640 $as_echo_n "checking for $2... " >&6; }
1641 if eval \${$3+:} false; then :
1642 $as_echo_n "(cached) " >&6
1644 eval "$3=\$ac_header_compiler"
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1648 $as_echo "$ac_res" >&6; }
1650 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1652 } # ac_fn_c_check_header_mongrel
1654 # ac_fn_c_try_run LINENO
1655 # ----------------------
1656 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1657 # that executables *can* be run.
1660 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1661 if { { ac_try="$ac_link"
1663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1664 *) ac_try_echo=$ac_try;;
1666 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1667 $as_echo "$ac_try_echo"; } >&5
1668 (eval "$ac_link") 2>&5
1670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1671 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1672 { { case "(($ac_try" in
1673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1674 *) ac_try_echo=$ac_try;;
1676 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1677 $as_echo "$ac_try_echo"; } >&5
1678 (eval "$ac_try") 2>&5
1680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1681 test $ac_status = 0; }; }; then :
1684 $as_echo "$as_me: program exited with status $ac_status" >&5
1685 $as_echo "$as_me: failed program was:" >&5
1686 sed 's/^/| /' conftest.$ac_ext >&5
1688 ac_retval=$ac_status
1690 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1691 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1692 as_fn_set_status $ac_retval
1696 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1697 # -------------------------------------------------------
1698 # Tests whether HEADER exists and can be compiled using the include files in
1699 # INCLUDES, setting the cache variable VAR accordingly.
1700 ac_fn_c_check_header_compile ()
1702 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1704 $as_echo_n "checking for $2... " >&6; }
1705 if eval \${$3+:} false; then :
1706 $as_echo_n "(cached) " >&6
1708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1709 /* end confdefs.h. */
1713 if ac_fn_c_try_compile "$LINENO"; then :
1718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1722 $as_echo "$ac_res" >&6; }
1723 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1725 } # ac_fn_c_check_header_compile
1727 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1728 # -------------------------------------------
1729 # Tests whether TYPE exists after having included INCLUDES, setting cache
1730 # variable VAR accordingly.
1731 ac_fn_c_check_type ()
1733 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1735 $as_echo_n "checking for $2... " >&6; }
1736 if eval \${$3+:} false; then :
1737 $as_echo_n "(cached) " >&6
1740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1741 /* end confdefs.h. */
1752 if ac_fn_c_try_compile "$LINENO"; then :
1753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1754 /* end confdefs.h. */
1765 if ac_fn_c_try_compile "$LINENO"; then :
1770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1776 $as_echo "$ac_res" >&6; }
1777 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1779 } # ac_fn_c_check_type
1781 # ac_fn_c_check_func LINENO FUNC VAR
1782 # ----------------------------------
1783 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1784 ac_fn_c_check_func ()
1786 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1788 $as_echo_n "checking for $2... " >&6; }
1789 if eval \${$3+:} false; then :
1790 $as_echo_n "(cached) " >&6
1792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1793 /* end confdefs.h. */
1794 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1796 #define $2 innocuous_$2
1798 /* System header to define __stub macros and hopefully few prototypes,
1799 which can conflict with char $2 (); below.
1800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1801 <limits.h> exists even on freestanding compilers. */
1804 # include <limits.h>
1806 # include <assert.h>
1811 /* Override any GCC internal prototype to avoid an error.
1812 Use char because int might match the return type of a GCC
1813 builtin and then its argument prototype would still apply. */
1818 /* The GNU C library defines this for functions which it implements
1819 to always fail with ENOSYS. Some functions are actually named
1820 something starting with __ and the normal name is an alias. */
1821 #if defined __stub_$2 || defined __stub___$2
1833 if ac_fn_c_try_link "$LINENO"; then :
1838 rm -f core conftest.err conftest.$ac_objext \
1839 conftest$ac_exeext conftest.$ac_ext
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1843 $as_echo "$ac_res" >&6; }
1844 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1846 } # ac_fn_c_check_func
1847 cat >config.log <<_ACEOF
1848 This file contains any messages produced by compilers while
1849 running configure, to aid debugging if configure makes a mistake.
1851 It was created by xorg-launch-helper $as_me 3, which was
1852 generated by GNU Autoconf 2.68. Invocation command line was
1864 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1865 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1866 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1867 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1868 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1870 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1871 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1873 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1874 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1875 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1876 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1877 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1878 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1879 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1887 test -z "$as_dir" && as_dir=.
1888 $as_echo "PATH: $as_dir"
1904 # Keep a trace of the command line.
1905 # Strip out --no-create and --no-recursion so they do not pile up.
1906 # Strip out --silent because we don't want to record it for future runs.
1907 # Also quote any args containing shell meta-characters.
1908 # Make two passes to allow for proper duplicate-argument suppression.
1912 ac_must_keep_next=false
1918 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1919 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1920 | -silent | --silent | --silen | --sile | --sil)
1923 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1926 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1928 as_fn_append ac_configure_args1 " '$ac_arg'"
1929 if test $ac_must_keep_next = true; then
1930 ac_must_keep_next=false # Got value, back to normal.
1933 *=* | --config-cache | -C | -disable-* | --disable-* \
1934 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1935 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1936 | -with-* | --with-* | -without-* | --without-* | --x)
1937 case "$ac_configure_args0 " in
1938 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1941 -* ) ac_must_keep_next=true ;;
1944 as_fn_append ac_configure_args " '$ac_arg'"
1949 { ac_configure_args0=; unset ac_configure_args0;}
1950 { ac_configure_args1=; unset ac_configure_args1;}
1952 # When interrupted or exit'd, cleanup temporary files, and complete
1953 # config.log. We remove comments because anyway the quotes in there
1954 # would cause problems or look ugly.
1955 # WARNING: Use '\'' to represent an apostrophe within the trap.
1956 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1957 trap 'exit_status=$?
1958 # Save into config.log some information that might help in debugging.
1962 $as_echo "## ---------------- ##
1963 ## Cache variables. ##
1964 ## ---------------- ##"
1966 # The following way of writing the cache mishandles newlines in values,
1968 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1969 eval ac_val=\$$ac_var
1973 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1974 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1977 _ | IFS | as_nl) ;; #(
1978 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1979 *) { eval $ac_var=; unset $ac_var;} ;;
1984 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1985 *${as_nl}ac_space=\ *)
1987 "s/'\''/'\''\\\\'\'''\''/g;
1988 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1991 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1998 $as_echo "## ----------------- ##
1999 ## Output variables. ##
2000 ## ----------------- ##"
2002 for ac_var in $ac_subst_vars
2004 eval ac_val=\$$ac_var
2006 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2008 $as_echo "$ac_var='\''$ac_val'\''"
2012 if test -n "$ac_subst_files"; then
2013 $as_echo "## ------------------- ##
2014 ## File substitutions. ##
2015 ## ------------------- ##"
2017 for ac_var in $ac_subst_files
2019 eval ac_val=\$$ac_var
2021 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2023 $as_echo "$ac_var='\''$ac_val'\''"
2028 if test -s confdefs.h; then
2029 $as_echo "## ----------- ##
2036 test "$ac_signal" != 0 &&
2037 $as_echo "$as_me: caught signal $ac_signal"
2038 $as_echo "$as_me: exit $exit_status"
2040 rm -f core *.core core.conftest.* &&
2041 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2044 for ac_signal in 1 2 13 15; do
2045 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2049 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2050 rm -f -r conftest* confdefs.h
2052 $as_echo "/* confdefs.h */" > confdefs.h
2054 # Predefined preprocessor variables.
2056 cat >>confdefs.h <<_ACEOF
2057 #define PACKAGE_NAME "$PACKAGE_NAME"
2060 cat >>confdefs.h <<_ACEOF
2061 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2064 cat >>confdefs.h <<_ACEOF
2065 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2068 cat >>confdefs.h <<_ACEOF
2069 #define PACKAGE_STRING "$PACKAGE_STRING"
2072 cat >>confdefs.h <<_ACEOF
2073 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2076 cat >>confdefs.h <<_ACEOF
2077 #define PACKAGE_URL "$PACKAGE_URL"
2081 # Let the site file select an alternate cache file if it wants to.
2082 # Prefer an explicitly selected file to automatically selected ones.
2085 if test -n "$CONFIG_SITE"; then
2086 # We do not want a PATH search for config.site.
2087 case $CONFIG_SITE in #((
2088 -*) ac_site_file1=./$CONFIG_SITE;;
2089 */*) ac_site_file1=$CONFIG_SITE;;
2090 *) ac_site_file1=./$CONFIG_SITE;;
2092 elif test "x$prefix" != xNONE; then
2093 ac_site_file1=$prefix/share/config.site
2094 ac_site_file2=$prefix/etc/config.site
2096 ac_site_file1=$ac_default_prefix/share/config.site
2097 ac_site_file2=$ac_default_prefix/etc/config.site
2099 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2101 test "x$ac_site_file" = xNONE && continue
2102 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2104 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2105 sed 's/^/| /' "$ac_site_file" >&5
2107 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2108 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2109 as_fn_error $? "failed to load site script $ac_site_file
2110 See \`config.log' for more details" "$LINENO" 5; }
2114 if test -r "$cache_file"; then
2115 # Some versions of bash will fail to source /dev/null (special files
2116 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2117 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2119 $as_echo "$as_me: loading cache $cache_file" >&6;}
2121 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2122 *) . "./$cache_file";;
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2127 $as_echo "$as_me: creating cache $cache_file" >&6;}
2131 # Check that the precious variables saved in the cache have kept the same
2133 ac_cache_corrupted=false
2134 for ac_var in $ac_precious_vars; do
2135 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2136 eval ac_new_set=\$ac_env_${ac_var}_set
2137 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2138 eval ac_new_val=\$ac_env_${ac_var}_value
2139 case $ac_old_set,$ac_new_set in
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2142 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2143 ac_cache_corrupted=: ;;
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2146 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2147 ac_cache_corrupted=: ;;
2150 if test "x$ac_old_val" != "x$ac_new_val"; then
2151 # differences in whitespace do not lead to failure.
2152 ac_old_val_w=`echo x $ac_old_val`
2153 ac_new_val_w=`echo x $ac_new_val`
2154 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2156 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2157 ac_cache_corrupted=:
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2160 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2161 eval $ac_var=\$ac_old_val
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2164 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2166 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2169 # Pass precious variables to config.status.
2170 if test "$ac_new_set" = set; then
2172 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2173 *) ac_arg=$ac_var=$ac_new_val ;;
2175 case " $ac_configure_args " in
2176 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2177 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2181 if $ac_cache_corrupted; then
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2183 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2185 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2186 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2188 ## -------------------- ##
2189 ## Main body of script. ##
2190 ## -------------------- ##
2193 ac_cpp='$CPP $CPPFLAGS'
2194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2199 am__api_version='1.11'
2202 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2203 if test -f "$ac_dir/install-sh"; then
2205 ac_install_sh="$ac_aux_dir/install-sh -c"
2207 elif test -f "$ac_dir/install.sh"; then
2209 ac_install_sh="$ac_aux_dir/install.sh -c"
2211 elif test -f "$ac_dir/shtool"; then
2213 ac_install_sh="$ac_aux_dir/shtool install -c"
2217 if test -z "$ac_aux_dir"; then
2218 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2221 # These three variables are undocumented and unsupported,
2222 # and are intended to be withdrawn in a future Autoconf release.
2223 # They can cause serious problems if a builder's source tree is in a directory
2224 # whose full name contains unusual characters.
2225 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2226 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2227 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2230 # Find a good install program. We prefer a C program (faster),
2231 # so one script is as good as another. But avoid the broken or
2232 # incompatible versions:
2233 # SysV /etc/install, /usr/sbin/install
2234 # SunOS /usr/etc/install
2235 # IRIX /sbin/install
2237 # AmigaOS /C/install, which installs bootblocks on floppy discs
2238 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2239 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2240 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2241 # OS/2's system install, which has a completely different semantic
2242 # ./install, which can be erroneously created by make from ./install.sh.
2243 # Reject install programs that cannot install multiple files.
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2245 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2246 if test -z "$INSTALL"; then
2247 if ${ac_cv_path_install+:} false; then :
2248 $as_echo_n "(cached) " >&6
2250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2254 test -z "$as_dir" && as_dir=.
2255 # Account for people who put trailing slashes in PATH elements.
2256 case $as_dir/ in #((
2257 ./ | .// | /[cC]/* | \
2258 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2259 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2262 # OSF1 and SCO ODT 3.0 have their own names for install.
2263 # Don't use installbsd from OSF since it installs stuff as root
2265 for ac_prog in ginstall scoinst install; do
2266 for ac_exec_ext in '' $ac_executable_extensions; do
2267 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2268 if test $ac_prog = install &&
2269 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2270 # AIX install. It has an incompatible calling convention.
2272 elif test $ac_prog = install &&
2273 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2274 # program-specific install script used by HP pwplus--don't use.
2277 rm -rf conftest.one conftest.two conftest.dir
2278 echo one > conftest.one
2279 echo two > conftest.two
2281 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2282 test -s conftest.one && test -s conftest.two &&
2283 test -s conftest.dir/conftest.one &&
2284 test -s conftest.dir/conftest.two
2286 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2299 rm -rf conftest.one conftest.two conftest.dir
2302 if test "${ac_cv_path_install+set}" = set; then
2303 INSTALL=$ac_cv_path_install
2305 # As a last resort, use the slow shell script. Don't cache a
2306 # value for INSTALL within a source directory, because that will
2307 # break other packages using the cache if that directory is
2308 # removed, or if the value is a relative name.
2309 INSTALL=$ac_install_sh
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2313 $as_echo "$INSTALL" >&6; }
2315 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2316 # It thinks the first close brace ends the variable substitution.
2317 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2319 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2321 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2324 $as_echo_n "checking whether build environment is sane... " >&6; }
2327 echo timestamp > conftest.file
2328 # Reject unsafe characters in $srcdir or the absolute working directory
2329 # name. Accept space and tab only in the latter.
2333 *[\\\"\#\$\&\'\`$am_lf]*)
2334 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2337 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2338 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2341 # Do `set' in a subshell so we don't clobber the current shell's
2342 # arguments. Must try -L first in case configure is actually a
2343 # symlink; some systems play weird games with the mod time of symlinks
2344 # (eg FreeBSD returns the mod time of the symlink's containing
2347 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2348 if test "$*" = "X"; then
2350 set X `ls -t "$srcdir/configure" conftest.file`
2353 if test "$*" != "X $srcdir/configure conftest.file" \
2354 && test "$*" != "X conftest.file $srcdir/configure"; then
2356 # If neither matched, then we have a broken ls. This can happen
2357 # if, for instance, CONFIG_SHELL is bash and it inherits a
2358 # broken ls alias from the environment. This has actually
2359 # happened. Such a system could not be considered "sane".
2360 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2361 alias in your environment" "$LINENO" 5
2364 test "$2" = conftest.file
2370 as_fn_error $? "newly created file is older than distributed files!
2371 Check your system clock" "$LINENO" 5
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2374 $as_echo "yes" >&6; }
2375 test "$program_prefix" != NONE &&
2376 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2377 # Use a double $ so make ignores it.
2378 test "$program_suffix" != NONE &&
2379 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2380 # Double any \ or $.
2381 # By default was `s,x,x', remove it if useless.
2382 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2383 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2385 # expand $ac_aux_dir to an absolute path
2386 am_aux_dir=`cd $ac_aux_dir && pwd`
2388 if test x"${MISSING+set}" != xset; then
2391 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2393 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2396 # Use eval to expand $SHELL
2397 if eval "$MISSING --run true"; then
2398 am_missing_run="$MISSING --run "
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2402 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2405 if test x"${install_sh}" != xset; then
2408 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2410 install_sh="\${SHELL} $am_aux_dir/install-sh"
2414 # Installed binaries are usually stripped using `strip' when the user
2415 # run `make install-strip'. However `strip' might not be the right
2416 # tool to use in cross-compilation environments, therefore Automake
2417 # will honor the `STRIP' environment variable to overrule this program.
2418 if test "$cross_compiling" != no; then
2419 if test -n "$ac_tool_prefix"; then
2420 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2421 set dummy ${ac_tool_prefix}strip; ac_word=$2
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2423 $as_echo_n "checking for $ac_word... " >&6; }
2424 if ${ac_cv_prog_STRIP+:} false; then :
2425 $as_echo_n "(cached) " >&6
2427 if test -n "$STRIP"; then
2428 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2434 test -z "$as_dir" && as_dir=.
2435 for ac_exec_ext in '' $ac_executable_extensions; do
2436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2437 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2447 STRIP=$ac_cv_prog_STRIP
2448 if test -n "$STRIP"; then
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2450 $as_echo "$STRIP" >&6; }
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2453 $as_echo "no" >&6; }
2458 if test -z "$ac_cv_prog_STRIP"; then
2460 # Extract the first word of "strip", so it can be a program name with args.
2461 set dummy strip; ac_word=$2
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2463 $as_echo_n "checking for $ac_word... " >&6; }
2464 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2465 $as_echo_n "(cached) " >&6
2467 if test -n "$ac_ct_STRIP"; then
2468 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2474 test -z "$as_dir" && as_dir=.
2475 for ac_exec_ext in '' $ac_executable_extensions; do
2476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2477 ac_cv_prog_ac_ct_STRIP="strip"
2478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2487 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2488 if test -n "$ac_ct_STRIP"; then
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2490 $as_echo "$ac_ct_STRIP" >&6; }
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2493 $as_echo "no" >&6; }
2496 if test "x$ac_ct_STRIP" = x; then
2499 case $cross_compiling:$ac_tool_warned in
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2502 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2503 ac_tool_warned=yes ;;
2508 STRIP="$ac_cv_prog_STRIP"
2512 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2515 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2516 if test -z "$MKDIR_P"; then
2517 if ${ac_cv_path_mkdir+:} false; then :
2518 $as_echo_n "(cached) " >&6
2520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2521 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2524 test -z "$as_dir" && as_dir=.
2525 for ac_prog in mkdir gmkdir; do
2526 for ac_exec_ext in '' $ac_executable_extensions; do
2527 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2528 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2529 'mkdir (GNU coreutils) '* | \
2530 'mkdir (coreutils) '* | \
2531 'mkdir (fileutils) '4.1*)
2532 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2542 test -d ./--version && rmdir ./--version
2543 if test "${ac_cv_path_mkdir+set}" = set; then
2544 MKDIR_P="$ac_cv_path_mkdir -p"
2546 # As a last resort, use the slow shell script. Don't cache a
2547 # value for MKDIR_P within a source directory, because that will
2548 # break other packages using the cache if that directory is
2549 # removed, or if the value is a relative name.
2550 MKDIR_P="$ac_install_sh -d"
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2554 $as_echo "$MKDIR_P" >&6; }
2558 [\\/$]* | ?:[\\/]*) ;;
2559 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2562 for ac_prog in gawk mawk nawk awk
2564 # Extract the first word of "$ac_prog", so it can be a program name with args.
2565 set dummy $ac_prog; ac_word=$2
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2567 $as_echo_n "checking for $ac_word... " >&6; }
2568 if ${ac_cv_prog_AWK+:} false; then :
2569 $as_echo_n "(cached) " >&6
2571 if test -n "$AWK"; then
2572 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2578 test -z "$as_dir" && as_dir=.
2579 for ac_exec_ext in '' $ac_executable_extensions; do
2580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2581 ac_cv_prog_AWK="$ac_prog"
2582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2592 if test -n "$AWK"; then
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2594 $as_echo "$AWK" >&6; }
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2597 $as_echo "no" >&6; }
2601 test -n "$AWK" && break
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2605 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2607 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2608 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2609 $as_echo_n "(cached) " >&6
2611 cat >conftest.make <<\_ACEOF
2614 @echo '@@@%%%=$(MAKE)=@@@%%%'
2616 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2617 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2619 eval ac_cv_prog_make_${ac_make}_set=yes;;
2621 eval ac_cv_prog_make_${ac_make}_set=no;;
2625 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2627 $as_echo "yes" >&6; }
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2631 $as_echo "no" >&6; }
2632 SET_MAKE="MAKE=${MAKE-make}"
2635 rm -rf .tst 2>/dev/null
2636 mkdir .tst 2>/dev/null
2637 if test -d .tst; then
2642 rmdir .tst 2>/dev/null
2644 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2645 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2646 # is not polluted with repeated "-I."
2647 am__isrc=' -I$(srcdir)'
2648 # test to see if srcdir already configured
2649 if test -f $srcdir/config.status; then
2650 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2654 # test whether we have cygpath
2655 if test -z "$CYGPATH_W"; then
2656 if (cygpath --version) >/dev/null 2>/dev/null; then
2657 CYGPATH_W='cygpath -w'
2664 # Define the identity of the package.
2665 PACKAGE='xorg-launch-helper'
2669 cat >>confdefs.h <<_ACEOF
2670 #define PACKAGE "$PACKAGE"
2674 cat >>confdefs.h <<_ACEOF
2675 #define VERSION "$VERSION"
2678 # Some tools Automake needs.
2680 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2683 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2686 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2689 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2692 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2694 # We need awk for the "check" target. The system "awk" is bad on
2696 # Always define AMTAR for backward compatibility.
2698 AMTAR=${AMTAR-"${am_missing_run}tar"}
2700 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2706 ac_config_files="$ac_config_files Makefile src/Makefile"
2709 ac_config_headers="$ac_config_headers config.h"
2712 # Checks for programs.
2714 ac_cpp='$CPP $CPPFLAGS'
2715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2718 if test -n "$ac_tool_prefix"; then
2719 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2720 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2722 $as_echo_n "checking for $ac_word... " >&6; }
2723 if ${ac_cv_prog_CC+:} false; then :
2724 $as_echo_n "(cached) " >&6
2726 if test -n "$CC"; then
2727 ac_cv_prog_CC="$CC" # Let the user override the test.
2729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2733 test -z "$as_dir" && as_dir=.
2734 for ac_exec_ext in '' $ac_executable_extensions; do
2735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2736 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2747 if test -n "$CC"; then
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2749 $as_echo "$CC" >&6; }
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2752 $as_echo "no" >&6; }
2757 if test -z "$ac_cv_prog_CC"; then
2759 # Extract the first word of "gcc", so it can be a program name with args.
2760 set dummy gcc; ac_word=$2
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2762 $as_echo_n "checking for $ac_word... " >&6; }
2763 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2764 $as_echo_n "(cached) " >&6
2766 if test -n "$ac_ct_CC"; then
2767 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2773 test -z "$as_dir" && as_dir=.
2774 for ac_exec_ext in '' $ac_executable_extensions; do
2775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2776 ac_cv_prog_ac_ct_CC="gcc"
2777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2786 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2787 if test -n "$ac_ct_CC"; then
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2789 $as_echo "$ac_ct_CC" >&6; }
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2792 $as_echo "no" >&6; }
2795 if test "x$ac_ct_CC" = x; then
2798 case $cross_compiling:$ac_tool_warned in
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2801 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2802 ac_tool_warned=yes ;;
2810 if test -z "$CC"; then
2811 if test -n "$ac_tool_prefix"; then
2812 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2813 set dummy ${ac_tool_prefix}cc; ac_word=$2
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2815 $as_echo_n "checking for $ac_word... " >&6; }
2816 if ${ac_cv_prog_CC+:} false; then :
2817 $as_echo_n "(cached) " >&6
2819 if test -n "$CC"; then
2820 ac_cv_prog_CC="$CC" # Let the user override the test.
2822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2826 test -z "$as_dir" && as_dir=.
2827 for ac_exec_ext in '' $ac_executable_extensions; do
2828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2829 ac_cv_prog_CC="${ac_tool_prefix}cc"
2830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2840 if test -n "$CC"; then
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2842 $as_echo "$CC" >&6; }
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2845 $as_echo "no" >&6; }
2851 if test -z "$CC"; then
2852 # Extract the first word of "cc", so it can be a program name with args.
2853 set dummy cc; ac_word=$2
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2855 $as_echo_n "checking for $ac_word... " >&6; }
2856 if ${ac_cv_prog_CC+:} false; then :
2857 $as_echo_n "(cached) " >&6
2859 if test -n "$CC"; then
2860 ac_cv_prog_CC="$CC" # Let the user override the test.
2863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2867 test -z "$as_dir" && as_dir=.
2868 for ac_exec_ext in '' $ac_executable_extensions; do
2869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2870 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2871 ac_prog_rejected=yes
2875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2882 if test $ac_prog_rejected = yes; then
2883 # We found a bogon in the path, so make sure we never use it.
2884 set dummy $ac_cv_prog_CC
2886 if test $# != 0; then
2887 # We chose a different compiler from the bogus one.
2888 # However, it has the same basename, so the bogon will be chosen
2889 # first if we set CC to just the basename; use the full file name.
2891 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2897 if test -n "$CC"; then
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2899 $as_echo "$CC" >&6; }
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2902 $as_echo "no" >&6; }
2907 if test -z "$CC"; then
2908 if test -n "$ac_tool_prefix"; then
2909 for ac_prog in cl.exe
2911 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2912 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2914 $as_echo_n "checking for $ac_word... " >&6; }
2915 if ${ac_cv_prog_CC+:} false; then :
2916 $as_echo_n "(cached) " >&6
2918 if test -n "$CC"; then
2919 ac_cv_prog_CC="$CC" # Let the user override the test.
2921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2925 test -z "$as_dir" && as_dir=.
2926 for ac_exec_ext in '' $ac_executable_extensions; do
2927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2928 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2939 if test -n "$CC"; then
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2941 $as_echo "$CC" >&6; }
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2944 $as_echo "no" >&6; }
2948 test -n "$CC" && break
2951 if test -z "$CC"; then
2953 for ac_prog in cl.exe
2955 # Extract the first word of "$ac_prog", so it can be a program name with args.
2956 set dummy $ac_prog; ac_word=$2
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2958 $as_echo_n "checking for $ac_word... " >&6; }
2959 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2960 $as_echo_n "(cached) " >&6
2962 if test -n "$ac_ct_CC"; then
2963 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2969 test -z "$as_dir" && as_dir=.
2970 for ac_exec_ext in '' $ac_executable_extensions; do
2971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2972 ac_cv_prog_ac_ct_CC="$ac_prog"
2973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2982 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2983 if test -n "$ac_ct_CC"; then
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2985 $as_echo "$ac_ct_CC" >&6; }
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2988 $as_echo "no" >&6; }
2992 test -n "$ac_ct_CC" && break
2995 if test "x$ac_ct_CC" = x; then
2998 case $cross_compiling:$ac_tool_warned in
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3001 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3002 ac_tool_warned=yes ;;
3011 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3012 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3013 as_fn_error $? "no acceptable C compiler found in \$PATH
3014 See \`config.log' for more details" "$LINENO" 5; }
3016 # Provide some information about the compiler.
3017 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3020 for ac_option in --version -v -V -qversion; do
3021 { { ac_try="$ac_compiler $ac_option >&5"
3023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3024 *) ac_try_echo=$ac_try;;
3026 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3027 $as_echo "$ac_try_echo"; } >&5
3028 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3030 if test -s conftest.err; then
3032 ... rest of stderr output deleted ...
3033 10q' conftest.err >conftest.er1
3034 cat conftest.er1 >&5
3036 rm -f conftest.er1 conftest.err
3037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3038 test $ac_status = 0; }
3041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3042 /* end confdefs.h. */
3052 ac_clean_files_save=$ac_clean_files
3053 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3054 # Try to create an executable without -o first, disregard a.out.
3055 # It will help us diagnose broken compilers, and finding out an intuition
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3058 $as_echo_n "checking whether the C compiler works... " >&6; }
3059 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3061 # The possible output files:
3062 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3065 for ac_file in $ac_files
3068 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3069 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3074 if { { ac_try="$ac_link_default"
3076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3077 *) ac_try_echo=$ac_try;;
3079 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3080 $as_echo "$ac_try_echo"; } >&5
3081 (eval "$ac_link_default") 2>&5
3083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3084 test $ac_status = 0; }; then :
3085 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3086 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3087 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3088 # so that the user can short-circuit this test for compilers unknown to
3090 for ac_file in $ac_files ''
3092 test -f "$ac_file" || continue
3094 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3097 # We found the default executable, but exeext='' is most
3101 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3103 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3105 # We set ac_cv_exeext here because the later test for it is not
3106 # safe: cross compilers may not add the suffix if given an `-o'
3107 # argument, so we may need to know it at that point already.
3108 # Even if this section looks crufty: it has the advantage of
3115 test "$ac_cv_exeext" = no && ac_cv_exeext=
3120 if test -z "$ac_file"; then :
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3122 $as_echo "no" >&6; }
3123 $as_echo "$as_me: failed program was:" >&5
3124 sed 's/^/| /' conftest.$ac_ext >&5
3126 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3127 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3128 as_fn_error 77 "C compiler cannot create executables
3129 See \`config.log' for more details" "$LINENO" 5; }
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3132 $as_echo "yes" >&6; }
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3135 $as_echo_n "checking for C compiler default output file name... " >&6; }
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3137 $as_echo "$ac_file" >&6; }
3138 ac_exeext=$ac_cv_exeext
3140 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3141 ac_clean_files=$ac_clean_files_save
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3143 $as_echo_n "checking for suffix of executables... " >&6; }
3144 if { { ac_try="$ac_link"
3146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3147 *) ac_try_echo=$ac_try;;
3149 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3150 $as_echo "$ac_try_echo"; } >&5
3151 (eval "$ac_link") 2>&5
3153 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3154 test $ac_status = 0; }; then :
3155 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3156 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3157 # work properly (i.e., refer to `conftest.exe'), while it won't with
3159 for ac_file in conftest.exe conftest conftest.*; do
3160 test -f "$ac_file" || continue
3162 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3163 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3169 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3170 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3171 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3172 See \`config.log' for more details" "$LINENO" 5; }
3174 rm -f conftest conftest$ac_cv_exeext
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3176 $as_echo "$ac_cv_exeext" >&6; }
3178 rm -f conftest.$ac_ext
3179 EXEEXT=$ac_cv_exeext
3181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3182 /* end confdefs.h. */
3187 FILE *f = fopen ("conftest.out", "w");
3188 return ferror (f) || fclose (f) != 0;
3194 ac_clean_files="$ac_clean_files conftest.out"
3195 # Check that the compiler produces executables we can run. If not, either
3196 # the compiler is broken, or we cross compile.
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3198 $as_echo_n "checking whether we are cross compiling... " >&6; }
3199 if test "$cross_compiling" != yes; then
3200 { { ac_try="$ac_link"
3202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3203 *) ac_try_echo=$ac_try;;
3205 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3206 $as_echo "$ac_try_echo"; } >&5
3207 (eval "$ac_link") 2>&5
3209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3210 test $ac_status = 0; }
3211 if { ac_try='./conftest$ac_cv_exeext'
3212 { { case "(($ac_try" in
3213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3214 *) ac_try_echo=$ac_try;;
3216 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3217 $as_echo "$ac_try_echo"; } >&5
3218 (eval "$ac_try") 2>&5
3220 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3221 test $ac_status = 0; }; }; then
3224 if test "$cross_compiling" = maybe; then
3227 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3228 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3229 as_fn_error $? "cannot run C compiled programs.
3230 If you meant to cross compile, use \`--host'.
3231 See \`config.log' for more details" "$LINENO" 5; }
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3236 $as_echo "$cross_compiling" >&6; }
3238 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3239 ac_clean_files=$ac_clean_files_save
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3241 $as_echo_n "checking for suffix of object files... " >&6; }
3242 if ${ac_cv_objext+:} false; then :
3243 $as_echo_n "(cached) " >&6
3245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3246 /* end confdefs.h. */
3256 rm -f conftest.o conftest.obj
3257 if { { ac_try="$ac_compile"
3259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3260 *) ac_try_echo=$ac_try;;
3262 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3263 $as_echo "$ac_try_echo"; } >&5
3264 (eval "$ac_compile") 2>&5
3266 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3267 test $ac_status = 0; }; then :
3268 for ac_file in conftest.o conftest.obj conftest.*; do
3269 test -f "$ac_file" || continue;
3271 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3272 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3277 $as_echo "$as_me: failed program was:" >&5
3278 sed 's/^/| /' conftest.$ac_ext >&5
3280 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3281 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3282 as_fn_error $? "cannot compute suffix of object files: cannot compile
3283 See \`config.log' for more details" "$LINENO" 5; }
3285 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3288 $as_echo "$ac_cv_objext" >&6; }
3289 OBJEXT=$ac_cv_objext
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3292 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3293 if ${ac_cv_c_compiler_gnu+:} false; then :
3294 $as_echo_n "(cached) " >&6
3296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3297 /* end confdefs.h. */
3310 if ac_fn_c_try_compile "$LINENO"; then :
3315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3316 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3320 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3321 if test $ac_compiler_gnu = yes; then
3326 ac_test_CFLAGS=${CFLAGS+set}
3327 ac_save_CFLAGS=$CFLAGS
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3329 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3330 if ${ac_cv_prog_cc_g+:} false; then :
3331 $as_echo_n "(cached) " >&6
3333 ac_save_c_werror_flag=$ac_c_werror_flag
3334 ac_c_werror_flag=yes
3337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3338 /* end confdefs.h. */
3348 if ac_fn_c_try_compile "$LINENO"; then :
3352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3353 /* end confdefs.h. */
3363 if ac_fn_c_try_compile "$LINENO"; then :
3366 ac_c_werror_flag=$ac_save_c_werror_flag
3368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3369 /* end confdefs.h. */
3379 if ac_fn_c_try_compile "$LINENO"; then :
3382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3387 ac_c_werror_flag=$ac_save_c_werror_flag
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3390 $as_echo "$ac_cv_prog_cc_g" >&6; }
3391 if test "$ac_test_CFLAGS" = set; then
3392 CFLAGS=$ac_save_CFLAGS
3393 elif test $ac_cv_prog_cc_g = yes; then
3394 if test "$GCC" = yes; then
3400 if test "$GCC" = yes; then
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3407 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3408 if ${ac_cv_prog_cc_c89+:} false; then :
3409 $as_echo_n "(cached) " >&6
3411 ac_cv_prog_cc_c89=no
3413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3414 /* end confdefs.h. */
3417 #include <sys/types.h>
3418 #include <sys/stat.h>
3419 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3420 struct buf { int x; };
3421 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3422 static char *e (p, i)
3428 static char *f (char * (*g) (char **, int), char **p, ...)
3433 s = g (p, va_arg (v,int));
3438 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3439 function prototypes and stuff, but not '\xHH' hex character constants.
3440 These don't provoke an error unfortunately, instead are silently treated
3441 as 'x'. The following induces an error, until -std is added to get
3442 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3443 array size at least. It's necessary to write '\x00'==0 to get something
3444 that's true only with -std. */
3445 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3447 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3448 inside strings and character constants. */
3450 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3452 int test (int i, double x);
3453 struct s1 {int (*f) (int a);};
3454 struct s2 {int (*f) (double a);};
3455 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3461 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3466 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3467 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3469 CC="$ac_save_CC $ac_arg"
3470 if ac_fn_c_try_compile "$LINENO"; then :
3471 ac_cv_prog_cc_c89=$ac_arg
3473 rm -f core conftest.err conftest.$ac_objext
3474 test "x$ac_cv_prog_cc_c89" != "xno" && break
3476 rm -f conftest.$ac_ext
3481 case "x$ac_cv_prog_cc_c89" in
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3484 $as_echo "none needed" >&6; } ;;
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3487 $as_echo "unsupported" >&6; } ;;
3489 CC="$CC $ac_cv_prog_cc_c89"
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3491 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3493 if test "x$ac_cv_prog_cc_c89" != xno; then :
3498 ac_cpp='$CPP $CPPFLAGS'
3499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3502 DEPDIR="${am__leading_dot}deps"
3504 ac_config_commands="$ac_config_commands depfiles"
3507 am_make=${MAKE-make}
3508 cat > confinc << 'END'
3510 @echo this is the am__doit target
3513 # If we don't find an include directive, just comment out the code.
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3515 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3519 # First try GNU make style include.
3520 echo "include confinc" > confmf
3521 # Ignore all kinds of additional output from `make'.
3522 case `$am_make -s -f confmf 2> /dev/null` in #(
3523 *the\ am__doit\ target*)
3529 # Now try BSD make style include.
3530 if test "$am__include" = "#"; then
3531 echo '.include "confinc"' > confmf
3532 case `$am_make -s -f confmf 2> /dev/null` in #(
3533 *the\ am__doit\ target*)
3534 am__include=.include
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3543 $as_echo "$_am_result" >&6; }
3544 rm -f confinc confmf
3546 # Check whether --enable-dependency-tracking was given.
3547 if test "${enable_dependency_tracking+set}" = set; then :
3548 enableval=$enable_dependency_tracking;
3551 if test "x$enable_dependency_tracking" != xno; then
3552 am_depcomp="$ac_aux_dir/depcomp"
3555 if test "x$enable_dependency_tracking" != xno; then
3565 depcc="$CC" am_compiler_list=
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3568 $as_echo_n "checking dependency style of $depcc... " >&6; }
3569 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3570 $as_echo_n "(cached) " >&6
3572 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3573 # We make a subdir and do the tests there. Otherwise we can end up
3574 # making bogus files that we don't know about and never remove. For
3575 # instance it was reported that on HP-UX the gcc test will end up
3576 # making a dummy file named `D' -- because `-MD' means `put the output
3579 # Copy depcomp to subdir because otherwise we won't find it if we're
3580 # using a relative directory.
3581 cp "$am_depcomp" conftest.dir
3583 # We will build objects and dependencies in a subdirectory because
3584 # it helps to detect inapplicable dependency modes. For instance
3585 # both Tru64's cc and ICC support -MD to output dependencies as a
3586 # side effect of compilation, but ICC will put the dependencies in
3587 # the current directory while Tru64 will put them in the object
3591 am_cv_CC_dependencies_compiler_type=none
3592 if test "$am_compiler_list" = ""; then
3593 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3596 case " $depcc " in #(
3597 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3600 for depmode in $am_compiler_list; do
3601 # Setup a source with many dependencies, because some compilers
3602 # like to wrap large dependency lists on column 80 (with \), and
3603 # we should not choose a depcomp mode which is confused by this.
3605 # We need to recreate these files for each test, as the compiler may
3606 # overwrite some of them when testing with obscure command lines.
3607 # This happens at least with the AIX C compiler.
3609 for i in 1 2 3 4 5 6; do
3610 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3611 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3612 # Solaris 8's {/usr,}/bin/sh.
3613 touch sub/conftst$i.h
3615 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3617 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3618 # mode. It turns out that the SunPro C++ compiler does not properly
3619 # handle `-M -o', and we need to detect this. Also, some Intel
3620 # versions had trouble with output in subdirs
3621 am__obj=sub/conftest.${OBJEXT-o}
3622 am__minus_obj="-o $am__obj"
3625 # This depmode causes a compiler race in universal mode.
3626 test "$am__universal" = false || continue
3629 # after this tag, mechanisms are not by side-effect, so they'll
3630 # only be used when explicitly requested
3631 if test "x$enable_dependency_tracking" = xyes; then
3637 msvisualcpp | msvcmsys)
3638 # This compiler won't grok `-c -o', but also, the minuso test has
3639 # not run yet. These depmodes are late enough in the game, and
3640 # so weak that their functioning should not be impacted.
3641 am__obj=conftest.${OBJEXT-o}
3646 if depmode=$depmode \
3647 source=sub/conftest.c object=$am__obj \
3648 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3649 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3650 >/dev/null 2>conftest.err &&
3651 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3652 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3653 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3654 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3655 # icc doesn't choke on unknown options, it will just issue warnings
3656 # or remarks (even with -Werror). So we grep stderr for any message
3657 # that says an option was ignored or not supported.
3658 # When given -MP, icc 7.0 and 7.1 complain thusly:
3659 # icc: Command line warning: ignoring option '-M'; no argument required
3660 # The diagnosis changed in icc 8.0:
3661 # icc: Command line remark: option '-MP' not supported
3662 if (grep 'ignoring option' conftest.err ||
3663 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3664 am_cv_CC_dependencies_compiler_type=$depmode
3673 am_cv_CC_dependencies_compiler_type=none
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3678 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3679 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3682 test "x$enable_dependency_tracking" != xno \
3683 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3685 am__fastdepCC_FALSE='#'
3687 am__fastdepCC_TRUE='#'
3688 am__fastdepCC_FALSE=
3694 # FIXME: Replace `main' with a function in `-lpthread':
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5
3697 $as_echo_n "checking for main in -lpthread... " >&6; }
3698 if ${ac_cv_lib_pthread_main+:} false; then :
3699 $as_echo_n "(cached) " >&6
3701 ac_check_lib_save_LIBS=$LIBS
3702 LIBS="-lpthread $LIBS"
3703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3704 /* end confdefs.h. */
3715 if ac_fn_c_try_link "$LINENO"; then :
3716 ac_cv_lib_pthread_main=yes
3718 ac_cv_lib_pthread_main=no
3720 rm -f core conftest.err conftest.$ac_objext \
3721 conftest$ac_exeext conftest.$ac_ext
3722 LIBS=$ac_check_lib_save_LIBS
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_main" >&5
3725 $as_echo "$ac_cv_lib_pthread_main" >&6; }
3726 if test "x$ac_cv_lib_pthread_main" = xyes; then :
3727 cat >>confdefs.h <<_ACEOF
3728 #define HAVE_LIBPTHREAD 1
3731 LIBS="-lpthread $LIBS"
3734 as_fn_error $? "libpthread is required but was not found" "$LINENO" 5
3737 # FIXME: Replace `main' with a function in `-lrt':
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lrt" >&5
3739 $as_echo_n "checking for main in -lrt... " >&6; }
3740 if ${ac_cv_lib_rt_main+:} false; then :
3741 $as_echo_n "(cached) " >&6
3743 ac_check_lib_save_LIBS=$LIBS
3745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3746 /* end confdefs.h. */
3757 if ac_fn_c_try_link "$LINENO"; then :
3758 ac_cv_lib_rt_main=yes
3760 ac_cv_lib_rt_main=no
3762 rm -f core conftest.err conftest.$ac_objext \
3763 conftest$ac_exeext conftest.$ac_ext
3764 LIBS=$ac_check_lib_save_LIBS
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_main" >&5
3767 $as_echo "$ac_cv_lib_rt_main" >&6; }
3768 if test "x$ac_cv_lib_rt_main" = xyes; then :
3769 cat >>confdefs.h <<_ACEOF
3770 #define HAVE_LIBRT 1
3776 as_fn_error $? "librt is required but was not found" "$LINENO" 5
3786 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3787 if test -n "$ac_tool_prefix"; then
3788 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3789 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3791 $as_echo_n "checking for $ac_word... " >&6; }
3792 if ${ac_cv_path_PKG_CONFIG+:} false; then :
3793 $as_echo_n "(cached) " >&6
3797 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3804 test -z "$as_dir" && as_dir=.
3805 for ac_exec_ext in '' $ac_executable_extensions; do
3806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3807 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3818 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3819 if test -n "$PKG_CONFIG"; then
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
3821 $as_echo "$PKG_CONFIG" >&6; }
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3824 $as_echo "no" >&6; }
3829 if test -z "$ac_cv_path_PKG_CONFIG"; then
3830 ac_pt_PKG_CONFIG=$PKG_CONFIG
3831 # Extract the first word of "pkg-config", so it can be a program name with args.
3832 set dummy pkg-config; ac_word=$2
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3834 $as_echo_n "checking for $ac_word... " >&6; }
3835 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
3836 $as_echo_n "(cached) " >&6
3838 case $ac_pt_PKG_CONFIG in
3840 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3847 test -z "$as_dir" && as_dir=.
3848 for ac_exec_ext in '' $ac_executable_extensions; do
3849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3850 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3861 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3862 if test -n "$ac_pt_PKG_CONFIG"; then
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
3864 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3867 $as_echo "no" >&6; }
3870 if test "x$ac_pt_PKG_CONFIG" = x; then
3873 case $cross_compiling:$ac_tool_warned in
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3876 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3877 ac_tool_warned=yes ;;
3879 PKG_CONFIG=$ac_pt_PKG_CONFIG
3882 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3886 if test -n "$PKG_CONFIG"; then
3887 _pkg_min_version=0.9.0
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
3889 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
3890 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3892 $as_echo "yes" >&6; }
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3895 $as_echo "no" >&6; }
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD" >&5
3902 $as_echo_n "checking for SYSTEMD... " >&6; }
3904 if test -n "$SYSTEMD_CFLAGS"; then
3905 pkg_cv_SYSTEMD_CFLAGS="$SYSTEMD_CFLAGS"
3906 elif test -n "$PKG_CONFIG"; then
3907 if test -n "$PKG_CONFIG" && \
3908 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"systemd\""; } >&5
3909 ($PKG_CONFIG --exists --print-errors "systemd") 2>&5
3911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3912 test $ac_status = 0; }; then
3913 pkg_cv_SYSTEMD_CFLAGS=`$PKG_CONFIG --cflags "systemd" 2>/dev/null`
3920 if test -n "$SYSTEMD_LIBS"; then
3921 pkg_cv_SYSTEMD_LIBS="$SYSTEMD_LIBS"
3922 elif test -n "$PKG_CONFIG"; then
3923 if test -n "$PKG_CONFIG" && \
3924 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"systemd\""; } >&5
3925 ($PKG_CONFIG --exists --print-errors "systemd") 2>&5
3927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3928 test $ac_status = 0; }; then
3929 pkg_cv_SYSTEMD_LIBS=`$PKG_CONFIG --libs "systemd" 2>/dev/null`
3939 if test $pkg_failed = yes; then
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3941 $as_echo "no" >&6; }
3943 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3944 _pkg_short_errors_supported=yes
3946 _pkg_short_errors_supported=no
3948 if test $_pkg_short_errors_supported = yes; then
3949 SYSTEMD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "systemd" 2>&1`
3951 SYSTEMD_PKG_ERRORS=`$PKG_CONFIG --print-errors "systemd" 2>&1`
3953 # Put the nasty error message in config.log where it belongs
3954 echo "$SYSTEMD_PKG_ERRORS" >&5
3956 as_fn_error $? "Package requirements (systemd) were not met:
3960 Consider adjusting the PKG_CONFIG_PATH environment variable if you
3961 installed software in a non-standard prefix.
3963 Alternatively, you may set the environment variables SYSTEMD_CFLAGS
3964 and SYSTEMD_LIBS to avoid the need to call pkg-config.
3965 See the pkg-config man page for more details." "$LINENO" 5
3967 elif test $pkg_failed = untried; then
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3969 $as_echo "no" >&6; }
3970 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3971 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3972 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
3973 is in your PATH or set the PKG_CONFIG environment variable to the full
3976 Alternatively, you may set the environment variables SYSTEMD_CFLAGS
3977 and SYSTEMD_LIBS to avoid the need to call pkg-config.
3978 See the pkg-config man page for more details.
3980 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
3981 See \`config.log' for more details" "$LINENO" 5; }
3984 SYSTEMD_CFLAGS=$pkg_cv_SYSTEMD_CFLAGS
3985 SYSTEMD_LIBS=$pkg_cv_SYSTEMD_LIBS
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3987 $as_echo "yes" >&6; }
3992 # Check whether --with-systemduserunitdir was given.
3993 if test "${with_systemduserunitdir+set}" = set; then :
3994 withval=$with_systemduserunitdir; path_systemduserunit=${withval}
3996 path_systemduserunit="`$PKG_CONFIG --variable=systemduserunitdir systemd`"
3999 if (test -n "${path_systemduserunit}"); then
4000 SYSTEMD_USERUNITDIR="${path_systemduserunit}"
4002 if test -n "${path_systemduserunit}"; then
4012 # Checks for header files.
4014 ac_cpp='$CPP $CPPFLAGS'
4015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4019 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4020 # On Suns, sometimes $CPP names a directory.
4021 if test -n "$CPP" && test -d "$CPP"; then
4024 if test -z "$CPP"; then
4025 if ${ac_cv_prog_CPP+:} false; then :
4026 $as_echo_n "(cached) " >&6
4028 # Double quotes because CPP needs to be expanded
4029 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4032 for ac_c_preproc_warn_flag in '' yes
4034 # Use a header file that comes with gcc, so configuring glibc
4035 # with a fresh cross-compiler works.
4036 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4037 # <limits.h> exists even on freestanding compilers.
4038 # On the NeXT, cc -E runs the code through the compiler's parser,
4039 # not just through cpp. "Syntax error" is here to catch this case.
4040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4041 /* end confdefs.h. */
4043 # include <limits.h>
4045 # include <assert.h>
4049 if ac_fn_c_try_cpp "$LINENO"; then :
4052 # Broken: fails on valid input.
4055 rm -f conftest.err conftest.i conftest.$ac_ext
4057 # OK, works on sane cases. Now check whether nonexistent headers
4058 # can be detected and how.
4059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4060 /* end confdefs.h. */
4061 #include <ac_nonexistent.h>
4063 if ac_fn_c_try_cpp "$LINENO"; then :
4064 # Broken: success on invalid input.
4067 # Passes both tests.
4071 rm -f conftest.err conftest.i conftest.$ac_ext
4074 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4075 rm -f conftest.i conftest.err conftest.$ac_ext
4076 if $ac_preproc_ok; then :
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4089 $as_echo "$CPP" >&6; }
4091 for ac_c_preproc_warn_flag in '' yes
4093 # Use a header file that comes with gcc, so configuring glibc
4094 # with a fresh cross-compiler works.
4095 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4096 # <limits.h> exists even on freestanding compilers.
4097 # On the NeXT, cc -E runs the code through the compiler's parser,
4098 # not just through cpp. "Syntax error" is here to catch this case.
4099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4100 /* end confdefs.h. */
4102 # include <limits.h>
4104 # include <assert.h>
4108 if ac_fn_c_try_cpp "$LINENO"; then :
4111 # Broken: fails on valid input.
4114 rm -f conftest.err conftest.i conftest.$ac_ext
4116 # OK, works on sane cases. Now check whether nonexistent headers
4117 # can be detected and how.
4118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4119 /* end confdefs.h. */
4120 #include <ac_nonexistent.h>
4122 if ac_fn_c_try_cpp "$LINENO"; then :
4123 # Broken: success on invalid input.
4126 # Passes both tests.
4130 rm -f conftest.err conftest.i conftest.$ac_ext
4133 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4134 rm -f conftest.i conftest.err conftest.$ac_ext
4135 if $ac_preproc_ok; then :
4138 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4139 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4140 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4141 See \`config.log' for more details" "$LINENO" 5; }
4145 ac_cpp='$CPP $CPPFLAGS'
4146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4152 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4153 if ${ac_cv_path_GREP+:} false; then :
4154 $as_echo_n "(cached) " >&6
4156 if test -z "$GREP"; then
4157 ac_path_GREP_found=false
4158 # Loop through the user's path and test for each of PROGNAME-LIST
4159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4160 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4163 test -z "$as_dir" && as_dir=.
4164 for ac_prog in grep ggrep; do
4165 for ac_exec_ext in '' $ac_executable_extensions; do
4166 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4167 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4168 # Check for GNU ac_path_GREP and select it if it is found.
4169 # Check for GNU $ac_path_GREP
4170 case `"$ac_path_GREP" --version 2>&1` in
4172 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4175 $as_echo_n 0123456789 >"conftest.in"
4178 cat "conftest.in" "conftest.in" >"conftest.tmp"
4179 mv "conftest.tmp" "conftest.in"
4180 cp "conftest.in" "conftest.nl"
4181 $as_echo 'GREP' >> "conftest.nl"
4182 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4183 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4184 as_fn_arith $ac_count + 1 && ac_count=$as_val
4185 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4186 # Best one so far, save it but keep looking for a better one
4187 ac_cv_path_GREP="$ac_path_GREP"
4188 ac_path_GREP_max=$ac_count
4190 # 10*(2^10) chars as input seems more than enough
4191 test $ac_count -gt 10 && break
4193 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4196 $ac_path_GREP_found && break 3
4201 if test -z "$ac_cv_path_GREP"; then
4202 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4205 ac_cv_path_GREP=$GREP
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4210 $as_echo "$ac_cv_path_GREP" >&6; }
4211 GREP="$ac_cv_path_GREP"
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4215 $as_echo_n "checking for egrep... " >&6; }
4216 if ${ac_cv_path_EGREP+:} false; then :
4217 $as_echo_n "(cached) " >&6
4219 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4220 then ac_cv_path_EGREP="$GREP -E"
4222 if test -z "$EGREP"; then
4223 ac_path_EGREP_found=false
4224 # Loop through the user's path and test for each of PROGNAME-LIST
4225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4226 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4229 test -z "$as_dir" && as_dir=.
4230 for ac_prog in egrep; do
4231 for ac_exec_ext in '' $ac_executable_extensions; do
4232 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4233 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4234 # Check for GNU ac_path_EGREP and select it if it is found.
4235 # Check for GNU $ac_path_EGREP
4236 case `"$ac_path_EGREP" --version 2>&1` in
4238 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4241 $as_echo_n 0123456789 >"conftest.in"
4244 cat "conftest.in" "conftest.in" >"conftest.tmp"
4245 mv "conftest.tmp" "conftest.in"
4246 cp "conftest.in" "conftest.nl"
4247 $as_echo 'EGREP' >> "conftest.nl"
4248 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4249 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4250 as_fn_arith $ac_count + 1 && ac_count=$as_val
4251 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4252 # Best one so far, save it but keep looking for a better one
4253 ac_cv_path_EGREP="$ac_path_EGREP"
4254 ac_path_EGREP_max=$ac_count
4256 # 10*(2^10) chars as input seems more than enough
4257 test $ac_count -gt 10 && break
4259 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4262 $ac_path_EGREP_found && break 3
4267 if test -z "$ac_cv_path_EGREP"; then
4268 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4271 ac_cv_path_EGREP=$EGREP
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4277 $as_echo "$ac_cv_path_EGREP" >&6; }
4278 EGREP="$ac_cv_path_EGREP"
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4282 $as_echo_n "checking for ANSI C header files... " >&6; }
4283 if ${ac_cv_header_stdc+:} false; then :
4284 $as_echo_n "(cached) " >&6
4286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4287 /* end confdefs.h. */
4301 if ac_fn_c_try_compile "$LINENO"; then :
4302 ac_cv_header_stdc=yes
4304 ac_cv_header_stdc=no
4306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4308 if test $ac_cv_header_stdc = yes; then
4309 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4311 /* end confdefs.h. */
4315 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4316 $EGREP "memchr" >/dev/null 2>&1; then :
4319 ac_cv_header_stdc=no
4325 if test $ac_cv_header_stdc = yes; then
4326 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4328 /* end confdefs.h. */
4332 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4333 $EGREP "free" >/dev/null 2>&1; then :
4336 ac_cv_header_stdc=no
4342 if test $ac_cv_header_stdc = yes; then
4343 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4344 if test "$cross_compiling" = yes; then :
4347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4348 /* end confdefs.h. */
4351 #if ((' ' & 0x0FF) == 0x020)
4352 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4353 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4355 # define ISLOWER(c) \
4356 (('a' <= (c) && (c) <= 'i') \
4357 || ('j' <= (c) && (c) <= 'r') \
4358 || ('s' <= (c) && (c) <= 'z'))
4359 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4362 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4367 for (i = 0; i < 256; i++)
4368 if (XOR (islower (i), ISLOWER (i))
4369 || toupper (i) != TOUPPER (i))
4374 if ac_fn_c_try_run "$LINENO"; then :
4377 ac_cv_header_stdc=no
4379 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4380 conftest.$ac_objext conftest.beam conftest.$ac_ext
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4386 $as_echo "$ac_cv_header_stdc" >&6; }
4387 if test $ac_cv_header_stdc = yes; then
4389 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4393 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4394 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4395 inttypes.h stdint.h unistd.h
4397 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4398 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4400 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4401 cat >>confdefs.h <<_ACEOF
4402 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4410 for ac_header in fcntl.h stdlib.h string.h sys/ioctl.h unistd.h
4412 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4413 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4414 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4415 cat >>confdefs.h <<_ACEOF
4416 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4424 # Checks for library functions.
4425 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
4426 if test "x$ac_cv_type_pid_t" = xyes; then :
4430 cat >>confdefs.h <<_ACEOF
4436 for ac_header in vfork.h
4438 ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
4439 if test "x$ac_cv_header_vfork_h" = xyes; then :
4440 cat >>confdefs.h <<_ACEOF
4441 #define HAVE_VFORK_H 1
4448 for ac_func in fork vfork
4450 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4451 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4452 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
4453 cat >>confdefs.h <<_ACEOF
4454 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4460 if test "x$ac_cv_func_fork" = xyes; then
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
4462 $as_echo_n "checking for working fork... " >&6; }
4463 if ${ac_cv_func_fork_works+:} false; then :
4464 $as_echo_n "(cached) " >&6
4466 if test "$cross_compiling" = yes; then :
4467 ac_cv_func_fork_works=cross
4469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4470 /* end confdefs.h. */
4471 $ac_includes_default
4476 /* By Ruediger Kuhlmann. */
4483 if ac_fn_c_try_run "$LINENO"; then :
4484 ac_cv_func_fork_works=yes
4486 ac_cv_func_fork_works=no
4488 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4489 conftest.$ac_objext conftest.beam conftest.$ac_ext
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
4494 $as_echo "$ac_cv_func_fork_works" >&6; }
4497 ac_cv_func_fork_works=$ac_cv_func_fork
4499 if test "x$ac_cv_func_fork_works" = xcross; then
4501 *-*-amigaos* | *-*-msdosdjgpp*)
4502 # Override, as these systems have only a dummy fork() stub
4503 ac_cv_func_fork_works=no
4506 ac_cv_func_fork_works=yes
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
4510 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
4512 ac_cv_func_vfork_works=$ac_cv_func_vfork
4513 if test "x$ac_cv_func_vfork" = xyes; then
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
4515 $as_echo_n "checking for working vfork... " >&6; }
4516 if ${ac_cv_func_vfork_works+:} false; then :
4517 $as_echo_n "(cached) " >&6
4519 if test "$cross_compiling" = yes; then :
4520 ac_cv_func_vfork_works=cross
4522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4523 /* end confdefs.h. */
4524 /* Thanks to Paul Eggert for this test. */
4525 $ac_includes_default
4526 #include <sys/wait.h>
4530 /* On some sparc systems, changes by the child to local and incoming
4531 argument registers are propagated back to the parent. The compiler
4532 is told about this with #include <vfork.h>, but some compilers
4533 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
4534 static variable whose address is put into a register that is
4535 clobbered by the vfork. */
4538 sparc_address_test (int arg)
4540 sparc_address_test (arg) int arg;
4561 pid_t parent = getpid ();
4564 sparc_address_test (0);
4569 /* Here is another test for sparc vfork register problems. This
4570 test uses lots of local variables, at least as many local
4571 variables as main has allocated so far including compiler
4572 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
4573 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
4574 reuse the register of parent for one of the local variables,
4575 since it will think that parent can't possibly be used any more
4576 in this routine. Assigning to the local variable will thus
4577 munge parent in the parent process. */
4579 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
4580 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
4581 /* Convince the compiler that p..p7 are live; otherwise, it might
4582 use the same hardware register for all 8 local variables. */
4583 if (p != p1 || p != p2 || p != p3 || p != p4
4584 || p != p5 || p != p6 || p != p7)
4587 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
4588 from child file descriptors. If the child closes a descriptor
4589 before it execs or exits, this munges the parent's descriptor
4590 as well. Test for this by closing stdout in the child. */
4591 _exit(close(fileno(stdout)) != 0);
4596 while (wait(&status) != child)
4599 /* Was there some problem with vforking? */
4602 /* Did the child fail? (This shouldn't happen.) */
4605 /* Did the vfork/compiler bug occur? */
4606 || parent != getpid()
4608 /* Did the file descriptor bug occur? */
4609 || fstat(fileno(stdout), &st) != 0
4614 if ac_fn_c_try_run "$LINENO"; then :
4615 ac_cv_func_vfork_works=yes
4617 ac_cv_func_vfork_works=no
4619 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4620 conftest.$ac_objext conftest.beam conftest.$ac_ext
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
4625 $as_echo "$ac_cv_func_vfork_works" >&6; }
4628 if test "x$ac_cv_func_fork_works" = xcross; then
4629 ac_cv_func_vfork_works=$ac_cv_func_vfork
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
4631 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
4634 if test "x$ac_cv_func_vfork_works" = xyes; then
4636 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
4640 $as_echo "#define vfork fork" >>confdefs.h
4643 if test "x$ac_cv_func_fork_works" = xyes; then
4645 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
4649 for ac_func in clock_gettime memset strdup
4651 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4652 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4653 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
4654 cat >>confdefs.h <<_ACEOF
4655 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4662 ac_config_files="$ac_config_files xorg.service xorg.target"
4664 cat >confcache <<\_ACEOF
4665 # This file is a shell script that caches the results of configure
4666 # tests run on this system so they can be shared between configure
4667 # scripts and configure runs, see configure's option --config-cache.
4668 # It is not useful on other systems. If it contains results you don't
4669 # want to keep, you may remove or edit it.
4671 # config.status only pays attention to the cache file if you give it
4672 # the --recheck option to rerun configure.
4674 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4675 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4680 # The following way of writing the cache mishandles newlines in values,
4681 # but we know of no workaround that is simple, portable, and efficient.
4682 # So, we kill variables containing newlines.
4683 # Ultrix sh set writes to stderr and can't be redirected directly,
4684 # and sets the high bit in the cache file unless we assign to the vars.
4686 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4687 eval ac_val=\$$ac_var
4691 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4692 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4695 _ | IFS | as_nl) ;; #(
4696 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4697 *) { eval $ac_var=; unset $ac_var;} ;;
4703 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4704 *${as_nl}ac_space=\ *)
4705 # `set' does not quote correctly, so add quotes: double-quote
4706 # substitution turns \\\\ into \\, and sed turns \\ into \.
4709 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4712 # `set' quotes correctly as required by POSIX, so do not add quotes.
4713 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4722 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4724 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4726 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4727 if test -w "$cache_file"; then
4728 if test "x$cache_file" != "x/dev/null"; then
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4730 $as_echo "$as_me: updating cache $cache_file" >&6;}
4731 if test ! -f "$cache_file" || test -h "$cache_file"; then
4732 cat confcache >"$cache_file"
4734 case $cache_file in #(
4736 mv -f confcache "$cache_file"$$ &&
4737 mv -f "$cache_file"$$ "$cache_file" ;; #(
4739 mv -f confcache "$cache_file" ;;
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4745 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4750 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4751 # Let make expand exec_prefix.
4752 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4754 DEFS=-DHAVE_CONFIG_H
4759 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4760 # 1. Remove the extension, and $U if already installed.
4761 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4762 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4763 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4764 # will be set to the directory where LIBOBJS objects are built.
4765 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4766 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4770 LTLIBOBJS=$ac_ltlibobjs
4773 if test -n "$EXEEXT"; then
4775 am__EXEEXT_FALSE='#'
4781 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4782 as_fn_error $? "conditional \"AMDEP\" was never defined.
4783 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4785 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4786 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4787 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4789 if test -z "${SYSTEMD_TRUE}" && test -z "${SYSTEMD_FALSE}"; then
4790 as_fn_error $? "conditional \"SYSTEMD\" was never defined.
4791 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4794 : "${CONFIG_STATUS=./config.status}"
4796 ac_clean_files_save=$ac_clean_files
4797 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4799 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4801 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4803 # Generated by $as_me.
4804 # Run this file to recreate the current configuration.
4805 # Compiler output produced by configure, useful for debugging
4806 # configure, is in config.log if it exists.
4812 SHELL=\${CONFIG_SHELL-$SHELL}
4815 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4816 ## -------------------- ##
4817 ## M4sh Initialization. ##
4818 ## -------------------- ##
4820 # Be more Bourne compatible
4821 DUALCASE=1; export DUALCASE # for MKS sh
4822 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4825 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4826 # is contrary to our usage. Disable this feature.
4827 alias -g '${1+"$@"}'='"$@"'
4828 setopt NO_GLOB_SUBST
4830 case `(set -o) 2>/dev/null` in #(
4842 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4843 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4844 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4845 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4846 # Prefer a ksh shell builtin over an external printf program on Solaris,
4847 # but without wasting forks for bash or zsh.
4848 if test -z "$BASH_VERSION$ZSH_VERSION" \
4849 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4850 as_echo='print -r --'
4851 as_echo_n='print -rn --'
4852 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4853 as_echo='printf %s\n'
4854 as_echo_n='printf %s'
4856 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4857 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4858 as_echo_n='/usr/ucb/echo -n'
4860 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4861 as_echo_n_body='eval
4865 expr "X$arg" : "X\\(.*\\)$as_nl";
4866 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4868 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4870 export as_echo_n_body
4871 as_echo_n='sh -c $as_echo_n_body as_echo'
4874 as_echo='sh -c $as_echo_body as_echo'
4877 # The user is always right.
4878 if test "${PATH_SEPARATOR+set}" != set; then
4880 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4881 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4888 # We need space, tab and new line, in precisely that order. Quoting is
4889 # there to prevent editors from complaining about space-tab.
4890 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4891 # splitting by setting IFS to empty value.)
4894 # Find who we are. Look in the path if we contain no directory separator.
4897 *[\\/]* ) as_myself=$0 ;;
4898 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4902 test -z "$as_dir" && as_dir=.
4903 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4909 # We did not find ourselves, most probably we were run as `sh COMMAND'
4910 # in which case we are not to be found in the path.
4911 if test "x$as_myself" = x; then
4914 if test ! -f "$as_myself"; then
4915 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4919 # Unset variables that we do not need and which cause bugs (e.g. in
4920 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4921 # suppresses any "Segmentation fault" message there. '((' could
4922 # trigger a bug in pdksh 5.2.14.
4923 for as_var in BASH_ENV ENV MAIL MAILPATH
4924 do eval test x\${$as_var+set} = xset \
4925 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4938 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4941 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4942 # ----------------------------------------
4943 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4944 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4945 # script with STATUS, using 1 if that was 0.
4948 as_status=$1; test $as_status -eq 0 && as_status=1
4950 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4951 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4953 $as_echo "$as_me: error: $2" >&2
4954 as_fn_exit $as_status
4958 # as_fn_set_status STATUS
4959 # -----------------------
4960 # Set $? to STATUS, without forking.
4964 } # as_fn_set_status
4968 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4978 # Portably unset VAR.
4981 { eval $1=; unset $1;}
4983 as_unset=as_fn_unset
4984 # as_fn_append VAR VALUE
4985 # ----------------------
4986 # Append the text in VALUE to the end of the definition contained in VAR. Take
4987 # advantage of any shell optimizations that allow amortized linear growth over
4988 # repeated appends, instead of the typical quadratic growth present in naive
4990 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4991 eval 'as_fn_append ()
5002 # as_fn_arith ARG...
5003 # ------------------
5004 # Perform arithmetic evaluation on the ARGs, and store the result in the
5005 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5006 # must be portable across $(()) and expr.
5007 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5008 eval 'as_fn_arith ()
5015 as_val=`expr "$@" || test $? -eq 1`
5020 if expr a : '\(a\)' >/dev/null 2>&1 &&
5021 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5027 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5028 as_basename=basename
5033 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5039 as_me=`$as_basename -- "$0" ||
5040 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5041 X"$0" : 'X\(//\)$' \| \
5042 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5044 sed '/^.*\/\([^/][^/]*\)\/*$/{
5058 # Avoid depending upon Character Ranges.
5059 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5060 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5061 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5062 as_cr_digits='0123456789'
5063 as_cr_alnum=$as_cr_Letters$as_cr_digits
5065 ECHO_C= ECHO_N= ECHO_T=
5066 case `echo -n x` in #(((((
5068 case `echo 'xy\c'` in
5069 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5071 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5078 rm -f conf$$ conf$$.exe conf$$.file
5079 if test -d conf$$.dir; then
5080 rm -f conf$$.dir/conf$$.file
5083 mkdir conf$$.dir 2>/dev/null
5085 if (echo >conf$$.file) 2>/dev/null; then
5086 if ln -s conf$$.file conf$$ 2>/dev/null; then
5088 # ... but there are two gotchas:
5089 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5090 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5091 # In both cases, we have to default to `cp -p'.
5092 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5094 elif ln conf$$.file conf$$ 2>/dev/null; then
5102 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5103 rmdir conf$$.dir 2>/dev/null
5108 # Create "$as_dir" as a directory, including parents if necessary.
5113 -*) as_dir=./$as_dir;;
5115 test -d "$as_dir" || eval $as_mkdir_p || {
5119 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5120 *) as_qdir=$as_dir;;
5122 as_dirs="'$as_qdir' $as_dirs"
5123 as_dir=`$as_dirname -- "$as_dir" ||
5124 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5125 X"$as_dir" : 'X\(//\)[^/]' \| \
5126 X"$as_dir" : 'X\(//\)$' \| \
5127 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5128 $as_echo X"$as_dir" |
5129 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5146 test -d "$as_dir" && break
5148 test -z "$as_dirs" || eval "mkdir $as_dirs"
5149 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5153 if mkdir -p . 2>/dev/null; then
5154 as_mkdir_p='mkdir -p "$as_dir"'
5156 test -d ./-p && rmdir ./-p
5160 if test -x / >/dev/null 2>&1; then
5163 if ls -dL / >/dev/null 2>&1; then
5170 if test -d "$1"; then
5176 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5177 ???[sx]*):;;*)false;;esac;fi
5181 as_executable_p=$as_test_x
5183 # Sed expression to map a string onto a valid CPP name.
5184 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5186 # Sed expression to map a string onto a valid variable name.
5187 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5191 ## ----------------------------------- ##
5192 ## Main body of $CONFIG_STATUS script. ##
5193 ## ----------------------------------- ##
5195 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5197 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5198 # Save the log message, to keep $0 and so on meaningful, and to
5199 # report actual input values of CONFIG_FILES etc. instead of their
5200 # values after options handling.
5202 This file was extended by xorg-launch-helper $as_me 3, which was
5203 generated by GNU Autoconf 2.68. Invocation command line was
5205 CONFIG_FILES = $CONFIG_FILES
5206 CONFIG_HEADERS = $CONFIG_HEADERS
5207 CONFIG_LINKS = $CONFIG_LINKS
5208 CONFIG_COMMANDS = $CONFIG_COMMANDS
5211 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5216 case $ac_config_files in *"
5217 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5220 case $ac_config_headers in *"
5221 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5225 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5226 # Files that config.status was made for.
5227 config_files="$ac_config_files"
5228 config_headers="$ac_config_headers"
5229 config_commands="$ac_config_commands"
5233 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5235 \`$as_me' instantiates files and other configuration actions
5236 from templates according to the current configuration. Unless the files
5237 and actions are specified as TAGs, all are instantiated by default.
5239 Usage: $0 [OPTION]... [TAG]...
5241 -h, --help print this help, then exit
5242 -V, --version print version number and configuration settings, then exit
5243 --config print configuration, then exit
5244 -q, --quiet, --silent
5245 do not print progress messages
5246 -d, --debug don't remove temporary files
5247 --recheck update $as_me by reconfiguring in the same conditions
5248 --file=FILE[:TEMPLATE]
5249 instantiate the configuration file FILE
5250 --header=FILE[:TEMPLATE]
5251 instantiate the configuration header FILE
5253 Configuration files:
5256 Configuration headers:
5259 Configuration commands:
5262 Report bugs to <auke-jan.h.kok@intel.com>."
5265 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5266 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5268 xorg-launch-helper config.status 3
5269 configured by $0, generated by GNU Autoconf 2.68,
5270 with options \\"\$ac_cs_config\\"
5272 Copyright (C) 2010 Free Software Foundation, Inc.
5273 This config.status script is free software; the Free Software Foundation
5274 gives unlimited permission to copy, distribute and modify it."
5281 test -n "\$AWK" || AWK=awk
5284 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5285 # The default lists apply if the user does not specify any file.
5291 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5292 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5296 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5308 # Handling of the options.
5309 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5311 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5312 $as_echo "$ac_cs_version"; exit ;;
5313 --config | --confi | --conf | --con | --co | --c )
5314 $as_echo "$ac_cs_config"; exit ;;
5315 --debug | --debu | --deb | --de | --d | -d )
5317 --file | --fil | --fi | --f )
5320 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5321 '') as_fn_error $? "missing file argument" ;;
5323 as_fn_append CONFIG_FILES " '$ac_optarg'"
5324 ac_need_defaults=false;;
5325 --header | --heade | --head | --hea )
5328 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5330 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5331 ac_need_defaults=false;;
5333 # Conflict between --help and --header
5334 as_fn_error $? "ambiguous option: \`$1'
5335 Try \`$0 --help' for more information.";;
5336 --help | --hel | -h )
5337 $as_echo "$ac_cs_usage"; exit ;;
5338 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5339 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5343 -*) as_fn_error $? "unrecognized option: \`$1'
5344 Try \`$0 --help' for more information." ;;
5346 *) as_fn_append ac_config_targets " $1"
5347 ac_need_defaults=false ;;
5353 ac_configure_extra_args=
5355 if $ac_cs_silent; then
5357 ac_configure_extra_args="$ac_configure_extra_args --silent"
5361 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5362 if \$ac_cs_recheck; then
5363 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5365 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5366 CONFIG_SHELL='$SHELL'
5372 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5376 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5377 ## Running $as_me. ##
5383 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5387 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5391 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5393 # Handling of arguments.
5394 for ac_config_target in $ac_config_targets
5396 case $ac_config_target in
5397 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5398 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5399 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5400 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5401 "xorg.service") CONFIG_FILES="$CONFIG_FILES xorg.service" ;;
5402 "xorg.target") CONFIG_FILES="$CONFIG_FILES xorg.target" ;;
5404 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5409 # If the user did not use the arguments to specify the items to instantiate,
5410 # then the envvar interface is used. Set only those that are not.
5411 # We use the long form for the default assignment because of an extremely
5412 # bizarre bug on SunOS 4.1.3.
5413 if $ac_need_defaults; then
5414 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5415 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5416 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5419 # Have a temporary directory for convenience. Make it in the build tree
5420 # simply because there is no reason against having it here, and in addition,
5421 # creating and moving files from /tmp can sometimes cause problems.
5422 # Hook for its removal unless debugging.
5423 # Note that there is a small window in which the directory will not be cleaned:
5424 # after its creation but before its name has been assigned to `$tmp'.
5428 trap 'exit_status=$?
5430 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5432 trap 'as_fn_exit 1' 1 2 13 15
5434 # Create a (secure) tmp directory for tmp files.
5437 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5441 tmp=./conf$$-$RANDOM
5442 (umask 077 && mkdir "$tmp")
5443 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5446 # Set up the scripts for CONFIG_FILES section.
5447 # No need to generate them if there are no CONFIG_FILES.
5448 # This happens for instance with `./config.status config.h'.
5449 if test -n "$CONFIG_FILES"; then
5452 ac_cr=`echo X | tr X '\015'`
5453 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5454 # But we know of no other shell where ac_cr would be empty at this
5455 # point, so we can use a bashism as a fallback.
5456 if test "x$ac_cr" = x; then
5457 eval ac_cr=\$\'\\r\'
5459 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5460 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5466 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5471 echo "cat >conf$$subs.awk <<_ACEOF" &&
5472 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5475 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5476 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5478 for ac_last_try in false false false false false :; do
5479 . ./conf$$subs.sh ||
5480 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5482 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5483 if test $ac_delim_n = $ac_delim_num; then
5485 elif $ac_last_try; then
5486 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5488 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5493 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5494 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5498 s/^/S["/; s/!.*/"]=/
5508 s/\(.\{148\}\)..*/\1/
5510 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5515 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5522 s/\(.\{148\}\)..*/\1/
5524 s/["\\]/\\&/g; s/^/"/; s/$/"/
5528 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5533 ' <conf$$subs.awk | sed '
5538 ' >>$CONFIG_STATUS || ac_write_fail=1
5539 rm -f conf$$subs.awk
5540 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5542 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5543 for (key in S) S_is_set[key] = 1
5549 nfields = split(line, field, "@")
5551 len = length(field[1])
5552 for (i = 2; i < nfields; i++) {
5554 keylen = length(key)
5555 if (S_is_set[key]) {
5557 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5558 len += length(value) + length(field[++i])
5569 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5570 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5571 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5574 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5575 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5578 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5579 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5580 # trailing colons and then remove the whole line if VPATH becomes empty
5581 # (actually we leave an empty line to preserve line numbers).
5582 if test "x$srcdir" = x.; then
5583 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5601 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5602 fi # test -n "$CONFIG_FILES"
5604 # Set up the scripts for CONFIG_HEADERS section.
5605 # No need to generate them if there are no CONFIG_HEADERS.
5606 # This happens for instance with `./config.status Makefile'.
5607 if test -n "$CONFIG_HEADERS"; then
5608 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5612 # Transform confdefs.h into an awk script `defines.awk', embedded as
5613 # here-document in config.status, that substitutes the proper values into
5614 # config.h.in to produce config.h.
5616 # Create a delimiter string that does not exist in confdefs.h, to ease
5617 # handling of long lines.
5619 for ac_last_try in false false :; do
5620 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
5621 if test -z "$ac_tt"; then
5623 elif $ac_last_try; then
5624 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5626 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5630 # For the awk script, D is an array of macro values keyed by name,
5631 # likewise P contains macro parameters if any. Preserve backslash
5632 # newline sequences.
5634 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5636 s/.\{148\}/&'"$ac_delim"'/g
5639 s/^[ ]*#[ ]*define[ ][ ]*/ /
5646 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5648 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5652 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5653 D["\1"]=" \3\\\\\\n"\\/p
5655 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5660 s/.\{148\}/&'"$ac_delim"'/g
5665 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5668 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5670 ' <confdefs.h | sed '
5671 s/'"$ac_delim"'/"\\\
5672 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5674 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5675 for (key in D) D_is_set[key] = 1
5678 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5680 split(line, arg, " ")
5681 if (arg[1] == "#") {
5685 defundef = substr(arg[1], 2)
5688 split(mac1, mac2, "(") #)
5690 prefix = substr(line, 1, index(line, defundef) - 1)
5691 if (D_is_set[macro]) {
5692 # Preserve the white space surrounding the "#".
5693 print prefix "define", macro P[macro] D[macro]
5696 # Replace #undef with comments. This is necessary, for example,
5697 # in the case of _POSIX_SOURCE, which is predefined and required
5698 # on some systems where configure will not decide to define it.
5699 if (defundef == "undef") {
5700 print "/*", prefix defundef, macro, "*/"
5708 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5709 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5710 fi # test -n "$CONFIG_HEADERS"
5713 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5718 :[FHLC]) ac_mode=$ac_tag; continue;;
5720 case $ac_mode$ac_tag in
5722 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5723 :[FH]-) ac_tag=-:-;;
5724 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5741 -) ac_f="$ac_tmp/stdin";;
5742 *) # Look for the file first in the build tree, then in the source tree
5743 # (if the path is not absolute). The absolute path cannot be DOS-style,
5744 # because $ac_f cannot contain `:'.
5748 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5750 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5752 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5753 as_fn_append ac_file_inputs " '$ac_f'"
5756 # Let's still pretend it is `configure' which instantiates (i.e., don't
5757 # use $as_me), people would be surprised to read:
5758 # /* config.h. Generated by config.status. */
5759 configure_input='Generated from '`
5760 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5762 if test x"$ac_file" != x-; then
5763 configure_input="$ac_file. $configure_input"
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5765 $as_echo "$as_me: creating $ac_file" >&6;}
5767 # Neutralize special characters interpreted by sed in replacement strings.
5768 case $configure_input in #(
5769 *\&* | *\|* | *\\* )
5770 ac_sed_conf_input=`$as_echo "$configure_input" |
5771 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5772 *) ac_sed_conf_input=$configure_input;;
5776 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5777 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5782 ac_dir=`$as_dirname -- "$ac_file" ||
5783 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5784 X"$ac_file" : 'X\(//\)[^/]' \| \
5785 X"$ac_file" : 'X\(//\)$' \| \
5786 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5787 $as_echo X"$ac_file" |
5788 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5805 as_dir="$ac_dir"; as_fn_mkdir_p
5809 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5811 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5812 # A ".." for each directory in $ac_dir_suffix.
5813 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5814 case $ac_top_builddir_sub in
5815 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5816 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5819 ac_abs_top_builddir=$ac_pwd
5820 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5821 # for backward compatibility:
5822 ac_top_builddir=$ac_top_build_prefix
5825 .) # We are building in place.
5827 ac_top_srcdir=$ac_top_builddir_sub
5828 ac_abs_top_srcdir=$ac_pwd ;;
5829 [\\/]* | ?:[\\/]* ) # Absolute name.
5830 ac_srcdir=$srcdir$ac_dir_suffix;
5831 ac_top_srcdir=$srcdir
5832 ac_abs_top_srcdir=$srcdir ;;
5834 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5835 ac_top_srcdir=$ac_top_build_prefix$srcdir
5836 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5838 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5848 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5849 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5853 [\\/$]* | ?:[\\/]* ) ;;
5854 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5858 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5859 # If the template does not know about datarootdir, expand it.
5860 # FIXME: This hack should be removed a few years after 2.60.
5861 ac_datarootdir_hack=; ac_datarootdir_seen=
5872 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5873 *datarootdir*) ac_datarootdir_seen=yes;;
5874 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5876 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5878 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5879 ac_datarootdir_hack='
5880 s&@datadir@&$datadir&g
5881 s&@docdir@&$docdir&g
5882 s&@infodir@&$infodir&g
5883 s&@localedir@&$localedir&g
5884 s&@mandir@&$mandir&g
5885 s&\\\${datarootdir}&$datarootdir&g' ;;
5889 # Neutralize VPATH when `$srcdir' = `.'.
5890 # Shell code in configure.ac might set extrasub.
5891 # FIXME: do we really want to maintain this feature?
5892 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5893 ac_sed_extra="$ac_vpsub
5896 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5898 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5899 s|@configure_input@|$ac_sed_conf_input|;t t
5900 s&@top_builddir@&$ac_top_builddir_sub&;t t
5901 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5902 s&@srcdir@&$ac_srcdir&;t t
5903 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5904 s&@top_srcdir@&$ac_top_srcdir&;t t
5905 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5906 s&@builddir@&$ac_builddir&;t t
5907 s&@abs_builddir@&$ac_abs_builddir&;t t
5908 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5909 s&@INSTALL@&$ac_INSTALL&;t t
5910 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5911 $ac_datarootdir_hack
5913 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5914 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5916 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5917 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5918 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5919 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5921 which seems to be undefined. Please make sure it is defined" >&5
5922 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5923 which seems to be undefined. Please make sure it is defined" >&2;}
5925 rm -f "$ac_tmp/stdin"
5927 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5928 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5930 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5936 if test x"$ac_file" != x-; then
5938 $as_echo "/* $configure_input */" \
5939 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5940 } >"$ac_tmp/config.h" \
5941 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5942 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5944 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5947 mv "$ac_tmp/config.h" "$ac_file" \
5948 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5951 $as_echo "/* $configure_input */" \
5952 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5953 || as_fn_error $? "could not create -" "$LINENO" 5
5955 # Compute "$ac_file"'s index in $config_headers.
5958 for _am_header in $config_headers :; do
5960 $_am_arg | $_am_arg:* )
5963 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5966 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
5967 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5968 X"$_am_arg" : 'X\(//\)[^/]' \| \
5969 X"$_am_arg" : 'X\(//\)$' \| \
5970 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
5971 $as_echo X"$_am_arg" |
5972 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5988 s/.*/./; q'`/stamp-h$_am_stamp_count
5991 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5992 $as_echo "$as_me: executing $ac_file commands" >&6;}
5997 case $ac_file$ac_mode in
5998 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5999 # Autoconf 2.62 quotes --file arguments for eval, but not when files
6000 # are listed without --file. Let's play safe and only enable the eval
6001 # if we detect the quoting.
6002 case $CONFIG_FILES in
6003 *\'*) eval set x "$CONFIG_FILES" ;;
6004 *) set x $CONFIG_FILES ;;
6009 # Strip MF so we end up with the name of the file.
6010 mf=`echo "$mf" | sed -e 's/:.*$//'`
6011 # Check whether this is an Automake generated Makefile or not.
6012 # We used to match only the files named `Makefile.in', but
6013 # some people rename them; so instead we look at the file content.
6014 # Grep'ing the first line is not enough: some people post-process
6015 # each Makefile.in and add a new line on top of each file to say so.
6016 # Grep'ing the whole file is not good either: AIX grep has a line
6017 # limit of 2048, but all sed's we know have understand at least 4000.
6018 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6019 dirpart=`$as_dirname -- "$mf" ||
6020 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6021 X"$mf" : 'X\(//\)[^/]' \| \
6022 X"$mf" : 'X\(//\)$' \| \
6023 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6025 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6045 # Extract the definition of DEPDIR, am__include, and am__quote
6046 # from the Makefile without running `make'.
6047 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6048 test -z "$DEPDIR" && continue
6049 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6050 test -z "am__include" && continue
6051 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6052 # When using ansi2knr, U may be empty or an underscore; expand it
6053 U=`sed -n 's/^U = //p' < "$mf"`
6054 # Find all dependency output files, they are included files with
6055 # $(DEPDIR) in their names. We invoke sed twice because it is the
6056 # simplest approach to changing $(DEPDIR) to its actual value in the
6058 for file in `sed -n "
6059 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6060 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6061 # Make sure the directory exists.
6062 test -f "$dirpart/$file" && continue
6063 fdir=`$as_dirname -- "$file" ||
6064 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6065 X"$file" : 'X\(//\)[^/]' \| \
6066 X"$file" : 'X\(//\)$' \| \
6067 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6069 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6086 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6087 # echo "creating $dirpart/$file"
6088 echo '# dummy' > "$dirpart/$file"
6100 ac_clean_files=$ac_clean_files_save
6102 test $ac_write_fail = 0 ||
6103 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6106 # configure is writing to config.log, and then calls config.status.
6107 # config.status does its own redirection, appending to config.log.
6108 # Unfortunately, on DOS this fails, as config.log is still kept open
6109 # by configure, so config.status won't be able to write to it; its
6110 # output is simply discarded. So we exec the FD to /dev/null,
6111 # effectively closing config.log, so it can be properly (re)opened and
6112 # appended to by config.status. When coming back to configure, we
6113 # need to make the FD available again.
6114 if test "$no_create" != yes; then
6116 ac_config_status_args=
6117 test "$silent" = yes &&
6118 ac_config_status_args="$ac_config_status_args --quiet"
6120 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6122 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6123 # would make configure fail if this is the last instruction.
6124 $ac_cs_success || as_fn_exit 1
6126 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6128 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}