wmshutdown: Add version 1.3 to repository.
[dockapps.git] / wmshutdown / configure
blob6c329cc0ce13b2d479518db1be8b2f07446c8f09
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for wmshutdown 1.3.
5 # Report bugs to <dtorrance@monmouthcollege.edu>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
201 if (eval "$as_required") 2>/dev/null; then :
202 as_have_required=yes
203 else
204 as_have_required=no
206 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208 else
209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
210 as_found=false
211 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213 IFS=$as_save_IFS
214 test -z "$as_dir" && as_dir=.
215 as_found=:
216 case $as_dir in #(
218 for as_base in sh bash ksh sh5; do
219 # Try only shells that exist, to save several forks.
220 as_shell=$as_dir/$as_base
221 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
222 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 CONFIG_SHELL=$as_shell as_have_required=yes
224 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
225 break 2
228 done;;
229 esac
230 as_found=false
231 done
232 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
233 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
235 fi; }
236 IFS=$as_save_IFS
239 if test "x$CONFIG_SHELL" != x; then :
240 export CONFIG_SHELL
241 # We cannot yet assume a decent shell, so we have to provide a
242 # neutralization value for shells without unset; and this also
243 # works around shells that cannot unset nonexistent variables.
244 # Preserve -v and -x to the replacement shell.
245 BASH_ENV=/dev/null
246 ENV=/dev/null
247 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
248 case $- in # ((((
249 *v*x* | *x*v* ) as_opts=-vx ;;
250 *v* ) as_opts=-v ;;
251 *x* ) as_opts=-x ;;
252 * ) as_opts= ;;
253 esac
254 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
255 # Admittedly, this is quite paranoid, since all the known shells bail
256 # out after a failed `exec'.
257 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
258 exit 255
261 if test x$as_have_required = xno; then :
262 $as_echo "$0: This script requires a shell more modern than all"
263 $as_echo "$0: the shells that I found on your system."
264 if test x${ZSH_VERSION+set} = xset ; then
265 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
266 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 else
268 $as_echo "$0: Please tell bug-autoconf@gnu.org and
269 $0: dtorrance@monmouthcollege.edu about your system,
270 $0: including any error possibly output before this
271 $0: message. Then install a modern shell, or manually run
272 $0: the script under such a shell if you do have one."
274 exit 1
278 SHELL=${CONFIG_SHELL-/bin/sh}
279 export SHELL
280 # Unset more variables known to interfere with behavior of common tools.
281 CLICOLOR_FORCE= GREP_OPTIONS=
282 unset CLICOLOR_FORCE GREP_OPTIONS
284 ## --------------------- ##
285 ## M4sh Shell Functions. ##
286 ## --------------------- ##
287 # as_fn_unset VAR
288 # ---------------
289 # Portably unset VAR.
290 as_fn_unset ()
292 { eval $1=; unset $1;}
294 as_unset=as_fn_unset
296 # as_fn_set_status STATUS
297 # -----------------------
298 # Set $? to STATUS, without forking.
299 as_fn_set_status ()
301 return $1
302 } # as_fn_set_status
304 # as_fn_exit STATUS
305 # -----------------
306 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
307 as_fn_exit ()
309 set +e
310 as_fn_set_status $1
311 exit $1
312 } # as_fn_exit
314 # as_fn_mkdir_p
315 # -------------
316 # Create "$as_dir" as a directory, including parents if necessary.
317 as_fn_mkdir_p ()
320 case $as_dir in #(
321 -*) as_dir=./$as_dir;;
322 esac
323 test -d "$as_dir" || eval $as_mkdir_p || {
324 as_dirs=
325 while :; do
326 case $as_dir in #(
327 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 *) as_qdir=$as_dir;;
329 esac
330 as_dirs="'$as_qdir' $as_dirs"
331 as_dir=`$as_dirname -- "$as_dir" ||
332 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
333 X"$as_dir" : 'X\(//\)[^/]' \| \
334 X"$as_dir" : 'X\(//\)$' \| \
335 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
336 $as_echo X"$as_dir" |
337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
338 s//\1/
341 /^X\(\/\/\)[^/].*/{
342 s//\1/
345 /^X\(\/\/\)$/{
346 s//\1/
349 /^X\(\/\).*/{
350 s//\1/
353 s/.*/./; q'`
354 test -d "$as_dir" && break
355 done
356 test -z "$as_dirs" || eval "mkdir $as_dirs"
357 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
360 } # as_fn_mkdir_p
362 # as_fn_executable_p FILE
363 # -----------------------
364 # Test if FILE is an executable regular file.
365 as_fn_executable_p ()
367 test -f "$1" && test -x "$1"
368 } # as_fn_executable_p
369 # as_fn_append VAR VALUE
370 # ----------------------
371 # Append the text in VALUE to the end of the definition contained in VAR. Take
372 # advantage of any shell optimizations that allow amortized linear growth over
373 # repeated appends, instead of the typical quadratic growth present in naive
374 # implementations.
375 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
376 eval 'as_fn_append ()
378 eval $1+=\$2
380 else
381 as_fn_append ()
383 eval $1=\$$1\$2
385 fi # as_fn_append
387 # as_fn_arith ARG...
388 # ------------------
389 # Perform arithmetic evaluation on the ARGs, and store the result in the
390 # global $as_val. Take advantage of shells that can avoid forks. The arguments
391 # must be portable across $(()) and expr.
392 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
393 eval 'as_fn_arith ()
395 as_val=$(( $* ))
397 else
398 as_fn_arith ()
400 as_val=`expr "$@" || test $? -eq 1`
402 fi # as_fn_arith
405 # as_fn_error STATUS ERROR [LINENO LOG_FD]
406 # ----------------------------------------
407 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
408 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
409 # script with STATUS, using 1 if that was 0.
410 as_fn_error ()
412 as_status=$1; test $as_status -eq 0 && as_status=1
413 if test "$4"; then
414 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
415 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
417 $as_echo "$as_me: error: $2" >&2
418 as_fn_exit $as_status
419 } # as_fn_error
421 if expr a : '\(a\)' >/dev/null 2>&1 &&
422 test "X`expr 00001 : '.*\(...\)'`" = X001; then
423 as_expr=expr
424 else
425 as_expr=false
428 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
429 as_basename=basename
430 else
431 as_basename=false
434 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
435 as_dirname=dirname
436 else
437 as_dirname=false
440 as_me=`$as_basename -- "$0" ||
441 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
442 X"$0" : 'X\(//\)$' \| \
443 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
444 $as_echo X/"$0" |
445 sed '/^.*\/\([^/][^/]*\)\/*$/{
446 s//\1/
449 /^X\/\(\/\/\)$/{
450 s//\1/
453 /^X\/\(\/\).*/{
454 s//\1/
457 s/.*/./; q'`
459 # Avoid depending upon Character Ranges.
460 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
461 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
462 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
463 as_cr_digits='0123456789'
464 as_cr_alnum=$as_cr_Letters$as_cr_digits
467 as_lineno_1=$LINENO as_lineno_1a=$LINENO
468 as_lineno_2=$LINENO as_lineno_2a=$LINENO
469 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
470 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
471 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
472 sed -n '
474 /[$]LINENO/=
475 ' <$as_myself |
476 sed '
477 s/[$]LINENO.*/&-/
478 t lineno
480 :lineno
482 :loop
483 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
484 t loop
485 s/-\n.*//
486 ' >$as_me.lineno &&
487 chmod +x "$as_me.lineno" ||
488 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
490 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
491 # already done that, so ensure we don't try to do so again and fall
492 # in an infinite loop. This has already happened in practice.
493 _as_can_reexec=no; export _as_can_reexec
494 # Don't try to exec as it changes $[0], causing all sort of problems
495 # (the dirname of $[0] is not the place where we might find the
496 # original and so on. Autoconf is especially sensitive to this).
497 . "./$as_me.lineno"
498 # Exit status is that of the last command.
499 exit
502 ECHO_C= ECHO_N= ECHO_T=
503 case `echo -n x` in #(((((
504 -n*)
505 case `echo 'xy\c'` in
506 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
507 xy) ECHO_C='\c';;
508 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
509 ECHO_T=' ';;
510 esac;;
512 ECHO_N='-n';;
513 esac
515 rm -f conf$$ conf$$.exe conf$$.file
516 if test -d conf$$.dir; then
517 rm -f conf$$.dir/conf$$.file
518 else
519 rm -f conf$$.dir
520 mkdir conf$$.dir 2>/dev/null
522 if (echo >conf$$.file) 2>/dev/null; then
523 if ln -s conf$$.file conf$$ 2>/dev/null; then
524 as_ln_s='ln -s'
525 # ... but there are two gotchas:
526 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
527 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
528 # In both cases, we have to default to `cp -pR'.
529 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
530 as_ln_s='cp -pR'
531 elif ln conf$$.file conf$$ 2>/dev/null; then
532 as_ln_s=ln
533 else
534 as_ln_s='cp -pR'
536 else
537 as_ln_s='cp -pR'
539 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
540 rmdir conf$$.dir 2>/dev/null
542 if mkdir -p . 2>/dev/null; then
543 as_mkdir_p='mkdir -p "$as_dir"'
544 else
545 test -d ./-p && rmdir ./-p
546 as_mkdir_p=false
549 as_test_x='test -x'
550 as_executable_p=as_fn_executable_p
552 # Sed expression to map a string onto a valid CPP name.
553 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
555 # Sed expression to map a string onto a valid variable name.
556 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
559 test -n "$DJDIR" || exec 7<&0 </dev/null
560 exec 6>&1
562 # Name of the host.
563 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
564 # so uname gets run too.
565 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 # Initializations.
570 ac_default_prefix=/usr/local
571 ac_clean_files=
572 ac_config_libobj_dir=.
573 LIBOBJS=
574 cross_compiling=no
575 subdirs=
576 MFLAGS=
577 MAKEFLAGS=
579 # Identity of this package.
580 PACKAGE_NAME='wmshutdown'
581 PACKAGE_TARNAME='wmshutdown'
582 PACKAGE_VERSION='1.3'
583 PACKAGE_STRING='wmshutdown 1.3'
584 PACKAGE_BUGREPORT='dtorrance@monmouthcollege.edu'
585 PACKAGE_URL=''
587 ac_unique_file="configure.ac"
588 ac_subst_vars='am__EXEEXT_FALSE
589 am__EXEEXT_TRUE
590 LTLIBOBJS
591 LIBOBJS
592 x11_LIBS
593 x11_CFLAGS
594 gtk_LIBS
595 gtk_CFLAGS
596 PKG_CONFIG_LIBDIR
597 PKG_CONFIG_PATH
598 PKG_CONFIG
599 am__fastdepCC_FALSE
600 am__fastdepCC_TRUE
601 CCDEPMODE
602 am__nodep
603 AMDEPBACKSLASH
604 AMDEP_FALSE
605 AMDEP_TRUE
606 am__quote
607 am__include
608 DEPDIR
609 OBJEXT
610 EXEEXT
611 ac_ct_CC
612 CPPFLAGS
613 LDFLAGS
614 CFLAGS
616 AM_BACKSLASH
617 AM_DEFAULT_VERBOSITY
618 AM_DEFAULT_V
619 AM_V
620 am__untar
621 am__tar
622 AMTAR
623 am__leading_dot
624 SET_MAKE
626 mkdir_p
627 MKDIR_P
628 INSTALL_STRIP_PROGRAM
629 STRIP
630 install_sh
631 MAKEINFO
632 AUTOHEADER
633 AUTOMAKE
634 AUTOCONF
635 ACLOCAL
636 VERSION
637 PACKAGE
638 CYGPATH_W
639 am__isrc
640 INSTALL_DATA
641 INSTALL_SCRIPT
642 INSTALL_PROGRAM
643 target_alias
644 host_alias
645 build_alias
646 LIBS
647 ECHO_T
648 ECHO_N
649 ECHO_C
650 DEFS
651 mandir
652 localedir
653 libdir
654 psdir
655 pdfdir
656 dvidir
657 htmldir
658 infodir
659 docdir
660 oldincludedir
661 includedir
662 localstatedir
663 sharedstatedir
664 sysconfdir
665 datadir
666 datarootdir
667 libexecdir
668 sbindir
669 bindir
670 program_transform_name
671 prefix
672 exec_prefix
673 PACKAGE_URL
674 PACKAGE_BUGREPORT
675 PACKAGE_STRING
676 PACKAGE_VERSION
677 PACKAGE_TARNAME
678 PACKAGE_NAME
679 PATH_SEPARATOR
680 SHELL'
681 ac_subst_files=''
682 ac_user_opts='
683 enable_option_checking
684 enable_silent_rules
685 with_consolekit
686 enable_dependency_tracking
688 ac_precious_vars='build_alias
689 host_alias
690 target_alias
692 CFLAGS
693 LDFLAGS
694 LIBS
695 CPPFLAGS
696 PKG_CONFIG
697 PKG_CONFIG_PATH
698 PKG_CONFIG_LIBDIR
699 gtk_CFLAGS
700 gtk_LIBS
701 x11_CFLAGS
702 x11_LIBS'
705 # Initialize some variables set by options.
706 ac_init_help=
707 ac_init_version=false
708 ac_unrecognized_opts=
709 ac_unrecognized_sep=
710 # The variables have the same names as the options, with
711 # dashes changed to underlines.
712 cache_file=/dev/null
713 exec_prefix=NONE
714 no_create=
715 no_recursion=
716 prefix=NONE
717 program_prefix=NONE
718 program_suffix=NONE
719 program_transform_name=s,x,x,
720 silent=
721 site=
722 srcdir=
723 verbose=
724 x_includes=NONE
725 x_libraries=NONE
727 # Installation directory options.
728 # These are left unexpanded so users can "make install exec_prefix=/foo"
729 # and all the variables that are supposed to be based on exec_prefix
730 # by default will actually change.
731 # Use braces instead of parens because sh, perl, etc. also accept them.
732 # (The list follows the same order as the GNU Coding Standards.)
733 bindir='${exec_prefix}/bin'
734 sbindir='${exec_prefix}/sbin'
735 libexecdir='${exec_prefix}/libexec'
736 datarootdir='${prefix}/share'
737 datadir='${datarootdir}'
738 sysconfdir='${prefix}/etc'
739 sharedstatedir='${prefix}/com'
740 localstatedir='${prefix}/var'
741 includedir='${prefix}/include'
742 oldincludedir='/usr/include'
743 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
744 infodir='${datarootdir}/info'
745 htmldir='${docdir}'
746 dvidir='${docdir}'
747 pdfdir='${docdir}'
748 psdir='${docdir}'
749 libdir='${exec_prefix}/lib'
750 localedir='${datarootdir}/locale'
751 mandir='${datarootdir}/man'
753 ac_prev=
754 ac_dashdash=
755 for ac_option
757 # If the previous option needs an argument, assign it.
758 if test -n "$ac_prev"; then
759 eval $ac_prev=\$ac_option
760 ac_prev=
761 continue
764 case $ac_option in
765 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
766 *=) ac_optarg= ;;
767 *) ac_optarg=yes ;;
768 esac
770 # Accept the important Cygnus configure options, so we can diagnose typos.
772 case $ac_dashdash$ac_option in
774 ac_dashdash=yes ;;
776 -bindir | --bindir | --bindi | --bind | --bin | --bi)
777 ac_prev=bindir ;;
778 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
779 bindir=$ac_optarg ;;
781 -build | --build | --buil | --bui | --bu)
782 ac_prev=build_alias ;;
783 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
784 build_alias=$ac_optarg ;;
786 -cache-file | --cache-file | --cache-fil | --cache-fi \
787 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
788 ac_prev=cache_file ;;
789 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
790 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
791 cache_file=$ac_optarg ;;
793 --config-cache | -C)
794 cache_file=config.cache ;;
796 -datadir | --datadir | --datadi | --datad)
797 ac_prev=datadir ;;
798 -datadir=* | --datadir=* | --datadi=* | --datad=*)
799 datadir=$ac_optarg ;;
801 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
802 | --dataroo | --dataro | --datar)
803 ac_prev=datarootdir ;;
804 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
805 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
806 datarootdir=$ac_optarg ;;
808 -disable-* | --disable-*)
809 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
810 # Reject names that are not valid shell variable names.
811 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
812 as_fn_error $? "invalid feature name: $ac_useropt"
813 ac_useropt_orig=$ac_useropt
814 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
815 case $ac_user_opts in
817 "enable_$ac_useropt"
818 "*) ;;
819 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
820 ac_unrecognized_sep=', ';;
821 esac
822 eval enable_$ac_useropt=no ;;
824 -docdir | --docdir | --docdi | --doc | --do)
825 ac_prev=docdir ;;
826 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
827 docdir=$ac_optarg ;;
829 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
830 ac_prev=dvidir ;;
831 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
832 dvidir=$ac_optarg ;;
834 -enable-* | --enable-*)
835 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
836 # Reject names that are not valid shell variable names.
837 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
838 as_fn_error $? "invalid feature name: $ac_useropt"
839 ac_useropt_orig=$ac_useropt
840 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
841 case $ac_user_opts in
843 "enable_$ac_useropt"
844 "*) ;;
845 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
846 ac_unrecognized_sep=', ';;
847 esac
848 eval enable_$ac_useropt=\$ac_optarg ;;
850 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
851 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
852 | --exec | --exe | --ex)
853 ac_prev=exec_prefix ;;
854 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
855 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
856 | --exec=* | --exe=* | --ex=*)
857 exec_prefix=$ac_optarg ;;
859 -gas | --gas | --ga | --g)
860 # Obsolete; use --with-gas.
861 with_gas=yes ;;
863 -help | --help | --hel | --he | -h)
864 ac_init_help=long ;;
865 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
866 ac_init_help=recursive ;;
867 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
868 ac_init_help=short ;;
870 -host | --host | --hos | --ho)
871 ac_prev=host_alias ;;
872 -host=* | --host=* | --hos=* | --ho=*)
873 host_alias=$ac_optarg ;;
875 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
876 ac_prev=htmldir ;;
877 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
878 | --ht=*)
879 htmldir=$ac_optarg ;;
881 -includedir | --includedir | --includedi | --included | --include \
882 | --includ | --inclu | --incl | --inc)
883 ac_prev=includedir ;;
884 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
885 | --includ=* | --inclu=* | --incl=* | --inc=*)
886 includedir=$ac_optarg ;;
888 -infodir | --infodir | --infodi | --infod | --info | --inf)
889 ac_prev=infodir ;;
890 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
891 infodir=$ac_optarg ;;
893 -libdir | --libdir | --libdi | --libd)
894 ac_prev=libdir ;;
895 -libdir=* | --libdir=* | --libdi=* | --libd=*)
896 libdir=$ac_optarg ;;
898 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
899 | --libexe | --libex | --libe)
900 ac_prev=libexecdir ;;
901 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
902 | --libexe=* | --libex=* | --libe=*)
903 libexecdir=$ac_optarg ;;
905 -localedir | --localedir | --localedi | --localed | --locale)
906 ac_prev=localedir ;;
907 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
908 localedir=$ac_optarg ;;
910 -localstatedir | --localstatedir | --localstatedi | --localstated \
911 | --localstate | --localstat | --localsta | --localst | --locals)
912 ac_prev=localstatedir ;;
913 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
914 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
915 localstatedir=$ac_optarg ;;
917 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
918 ac_prev=mandir ;;
919 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
920 mandir=$ac_optarg ;;
922 -nfp | --nfp | --nf)
923 # Obsolete; use --without-fp.
924 with_fp=no ;;
926 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
927 | --no-cr | --no-c | -n)
928 no_create=yes ;;
930 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
931 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
932 no_recursion=yes ;;
934 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
935 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
936 | --oldin | --oldi | --old | --ol | --o)
937 ac_prev=oldincludedir ;;
938 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
939 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
940 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
941 oldincludedir=$ac_optarg ;;
943 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
944 ac_prev=prefix ;;
945 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
946 prefix=$ac_optarg ;;
948 -program-prefix | --program-prefix | --program-prefi | --program-pref \
949 | --program-pre | --program-pr | --program-p)
950 ac_prev=program_prefix ;;
951 -program-prefix=* | --program-prefix=* | --program-prefi=* \
952 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
953 program_prefix=$ac_optarg ;;
955 -program-suffix | --program-suffix | --program-suffi | --program-suff \
956 | --program-suf | --program-su | --program-s)
957 ac_prev=program_suffix ;;
958 -program-suffix=* | --program-suffix=* | --program-suffi=* \
959 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
960 program_suffix=$ac_optarg ;;
962 -program-transform-name | --program-transform-name \
963 | --program-transform-nam | --program-transform-na \
964 | --program-transform-n | --program-transform- \
965 | --program-transform | --program-transfor \
966 | --program-transfo | --program-transf \
967 | --program-trans | --program-tran \
968 | --progr-tra | --program-tr | --program-t)
969 ac_prev=program_transform_name ;;
970 -program-transform-name=* | --program-transform-name=* \
971 | --program-transform-nam=* | --program-transform-na=* \
972 | --program-transform-n=* | --program-transform-=* \
973 | --program-transform=* | --program-transfor=* \
974 | --program-transfo=* | --program-transf=* \
975 | --program-trans=* | --program-tran=* \
976 | --progr-tra=* | --program-tr=* | --program-t=*)
977 program_transform_name=$ac_optarg ;;
979 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
980 ac_prev=pdfdir ;;
981 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
982 pdfdir=$ac_optarg ;;
984 -psdir | --psdir | --psdi | --psd | --ps)
985 ac_prev=psdir ;;
986 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
987 psdir=$ac_optarg ;;
989 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
990 | -silent | --silent | --silen | --sile | --sil)
991 silent=yes ;;
993 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
994 ac_prev=sbindir ;;
995 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
996 | --sbi=* | --sb=*)
997 sbindir=$ac_optarg ;;
999 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1000 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1001 | --sharedst | --shareds | --shared | --share | --shar \
1002 | --sha | --sh)
1003 ac_prev=sharedstatedir ;;
1004 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1005 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1006 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1007 | --sha=* | --sh=*)
1008 sharedstatedir=$ac_optarg ;;
1010 -site | --site | --sit)
1011 ac_prev=site ;;
1012 -site=* | --site=* | --sit=*)
1013 site=$ac_optarg ;;
1015 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1016 ac_prev=srcdir ;;
1017 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1018 srcdir=$ac_optarg ;;
1020 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1021 | --syscon | --sysco | --sysc | --sys | --sy)
1022 ac_prev=sysconfdir ;;
1023 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1024 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1025 sysconfdir=$ac_optarg ;;
1027 -target | --target | --targe | --targ | --tar | --ta | --t)
1028 ac_prev=target_alias ;;
1029 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1030 target_alias=$ac_optarg ;;
1032 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1033 verbose=yes ;;
1035 -version | --version | --versio | --versi | --vers | -V)
1036 ac_init_version=: ;;
1038 -with-* | --with-*)
1039 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1040 # Reject names that are not valid shell variable names.
1041 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1042 as_fn_error $? "invalid package name: $ac_useropt"
1043 ac_useropt_orig=$ac_useropt
1044 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1045 case $ac_user_opts in
1047 "with_$ac_useropt"
1048 "*) ;;
1049 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1050 ac_unrecognized_sep=', ';;
1051 esac
1052 eval with_$ac_useropt=\$ac_optarg ;;
1054 -without-* | --without-*)
1055 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1056 # Reject names that are not valid shell variable names.
1057 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1058 as_fn_error $? "invalid package name: $ac_useropt"
1059 ac_useropt_orig=$ac_useropt
1060 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1061 case $ac_user_opts in
1063 "with_$ac_useropt"
1064 "*) ;;
1065 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1066 ac_unrecognized_sep=', ';;
1067 esac
1068 eval with_$ac_useropt=no ;;
1070 --x)
1071 # Obsolete; use --with-x.
1072 with_x=yes ;;
1074 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1075 | --x-incl | --x-inc | --x-in | --x-i)
1076 ac_prev=x_includes ;;
1077 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1078 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1079 x_includes=$ac_optarg ;;
1081 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1082 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1083 ac_prev=x_libraries ;;
1084 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1085 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1086 x_libraries=$ac_optarg ;;
1088 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1089 Try \`$0 --help' for more information"
1092 *=*)
1093 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1094 # Reject names that are not valid shell variable names.
1095 case $ac_envvar in #(
1096 '' | [0-9]* | *[!_$as_cr_alnum]* )
1097 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1098 esac
1099 eval $ac_envvar=\$ac_optarg
1100 export $ac_envvar ;;
1103 # FIXME: should be removed in autoconf 3.0.
1104 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1105 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1106 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1107 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1110 esac
1111 done
1113 if test -n "$ac_prev"; then
1114 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1115 as_fn_error $? "missing argument to $ac_option"
1118 if test -n "$ac_unrecognized_opts"; then
1119 case $enable_option_checking in
1120 no) ;;
1121 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1122 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1123 esac
1126 # Check all directory arguments for consistency.
1127 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1128 datadir sysconfdir sharedstatedir localstatedir includedir \
1129 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1130 libdir localedir mandir
1132 eval ac_val=\$$ac_var
1133 # Remove trailing slashes.
1134 case $ac_val in
1135 */ )
1136 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1137 eval $ac_var=\$ac_val;;
1138 esac
1139 # Be sure to have absolute directory names.
1140 case $ac_val in
1141 [\\/$]* | ?:[\\/]* ) continue;;
1142 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1143 esac
1144 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1145 done
1147 # There might be people who depend on the old broken behavior: `$host'
1148 # used to hold the argument of --host etc.
1149 # FIXME: To remove some day.
1150 build=$build_alias
1151 host=$host_alias
1152 target=$target_alias
1154 # FIXME: To remove some day.
1155 if test "x$host_alias" != x; then
1156 if test "x$build_alias" = x; then
1157 cross_compiling=maybe
1158 elif test "x$build_alias" != "x$host_alias"; then
1159 cross_compiling=yes
1163 ac_tool_prefix=
1164 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1166 test "$silent" = yes && exec 6>/dev/null
1169 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1170 ac_ls_di=`ls -di .` &&
1171 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1172 as_fn_error $? "working directory cannot be determined"
1173 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1174 as_fn_error $? "pwd does not report name of working directory"
1177 # Find the source files, if location was not specified.
1178 if test -z "$srcdir"; then
1179 ac_srcdir_defaulted=yes
1180 # Try the directory containing this script, then the parent directory.
1181 ac_confdir=`$as_dirname -- "$as_myself" ||
1182 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1183 X"$as_myself" : 'X\(//\)[^/]' \| \
1184 X"$as_myself" : 'X\(//\)$' \| \
1185 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1186 $as_echo X"$as_myself" |
1187 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1188 s//\1/
1191 /^X\(\/\/\)[^/].*/{
1192 s//\1/
1195 /^X\(\/\/\)$/{
1196 s//\1/
1199 /^X\(\/\).*/{
1200 s//\1/
1203 s/.*/./; q'`
1204 srcdir=$ac_confdir
1205 if test ! -r "$srcdir/$ac_unique_file"; then
1206 srcdir=..
1208 else
1209 ac_srcdir_defaulted=no
1211 if test ! -r "$srcdir/$ac_unique_file"; then
1212 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1213 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1215 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1216 ac_abs_confdir=`(
1217 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1218 pwd)`
1219 # When building in place, set srcdir=.
1220 if test "$ac_abs_confdir" = "$ac_pwd"; then
1221 srcdir=.
1223 # Remove unnecessary trailing slashes from srcdir.
1224 # Double slashes in file names in object file debugging info
1225 # mess up M-x gdb in Emacs.
1226 case $srcdir in
1227 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1228 esac
1229 for ac_var in $ac_precious_vars; do
1230 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1231 eval ac_env_${ac_var}_value=\$${ac_var}
1232 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1233 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1234 done
1237 # Report the --help message.
1239 if test "$ac_init_help" = "long"; then
1240 # Omit some internal or obsolete options to make the list less imposing.
1241 # This message is too long to be a string in the A/UX 3.1 sh.
1242 cat <<_ACEOF
1243 \`configure' configures wmshutdown 1.3 to adapt to many kinds of systems.
1245 Usage: $0 [OPTION]... [VAR=VALUE]...
1247 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1248 VAR=VALUE. See below for descriptions of some of the useful variables.
1250 Defaults for the options are specified in brackets.
1252 Configuration:
1253 -h, --help display this help and exit
1254 --help=short display options specific to this package
1255 --help=recursive display the short help of all the included packages
1256 -V, --version display version information and exit
1257 -q, --quiet, --silent do not print \`checking ...' messages
1258 --cache-file=FILE cache test results in FILE [disabled]
1259 -C, --config-cache alias for \`--cache-file=config.cache'
1260 -n, --no-create do not create output files
1261 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1263 Installation directories:
1264 --prefix=PREFIX install architecture-independent files in PREFIX
1265 [$ac_default_prefix]
1266 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1267 [PREFIX]
1269 By default, \`make install' will install all the files in
1270 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1271 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1272 for instance \`--prefix=\$HOME'.
1274 For better control, use the options below.
1276 Fine tuning of the installation directories:
1277 --bindir=DIR user executables [EPREFIX/bin]
1278 --sbindir=DIR system admin executables [EPREFIX/sbin]
1279 --libexecdir=DIR program executables [EPREFIX/libexec]
1280 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1281 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1282 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1283 --libdir=DIR object code libraries [EPREFIX/lib]
1284 --includedir=DIR C header files [PREFIX/include]
1285 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1286 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1287 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1288 --infodir=DIR info documentation [DATAROOTDIR/info]
1289 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1290 --mandir=DIR man documentation [DATAROOTDIR/man]
1291 --docdir=DIR documentation root [DATAROOTDIR/doc/wmshutdown]
1292 --htmldir=DIR html documentation [DOCDIR]
1293 --dvidir=DIR dvi documentation [DOCDIR]
1294 --pdfdir=DIR pdf documentation [DOCDIR]
1295 --psdir=DIR ps documentation [DOCDIR]
1296 _ACEOF
1298 cat <<\_ACEOF
1300 Program names:
1301 --program-prefix=PREFIX prepend PREFIX to installed program names
1302 --program-suffix=SUFFIX append SUFFIX to installed program names
1303 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1304 _ACEOF
1307 if test -n "$ac_init_help"; then
1308 case $ac_init_help in
1309 short | recursive ) echo "Configuration of wmshutdown 1.3:";;
1310 esac
1311 cat <<\_ACEOF
1313 Optional Features:
1314 --disable-option-checking ignore unrecognized --enable/--with options
1315 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1316 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1317 --enable-silent-rules less verbose build output (undo: "make V=1")
1318 --disable-silent-rules verbose build output (undo: "make V=0")
1319 --enable-dependency-tracking
1320 do not reject slow dependency extractors
1321 --disable-dependency-tracking
1322 speeds up one-time build
1324 Optional Packages:
1325 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1326 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1327 --with-consolekit use ConsoleKit instead of logind
1329 Some influential environment variables:
1330 CC C compiler command
1331 CFLAGS C compiler flags
1332 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1333 nonstandard directory <lib dir>
1334 LIBS libraries to pass to the linker, e.g. -l<library>
1335 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1336 you have headers in a nonstandard directory <include dir>
1337 PKG_CONFIG path to pkg-config utility
1338 PKG_CONFIG_PATH
1339 directories to add to pkg-config's search path
1340 PKG_CONFIG_LIBDIR
1341 path overriding pkg-config's built-in search path
1342 gtk_CFLAGS C compiler flags for gtk, overriding pkg-config
1343 gtk_LIBS linker flags for gtk, overriding pkg-config
1344 x11_CFLAGS C compiler flags for x11, overriding pkg-config
1345 x11_LIBS linker flags for x11, overriding pkg-config
1347 Use these variables to override the choices made by `configure' or to help
1348 it to find libraries and programs with nonstandard names/locations.
1350 Report bugs to <dtorrance@monmouthcollege.edu>.
1351 _ACEOF
1352 ac_status=$?
1355 if test "$ac_init_help" = "recursive"; then
1356 # If there are subdirs, report their specific --help.
1357 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1358 test -d "$ac_dir" ||
1359 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1360 continue
1361 ac_builddir=.
1363 case "$ac_dir" in
1364 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1366 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1367 # A ".." for each directory in $ac_dir_suffix.
1368 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1369 case $ac_top_builddir_sub in
1370 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1371 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1372 esac ;;
1373 esac
1374 ac_abs_top_builddir=$ac_pwd
1375 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1376 # for backward compatibility:
1377 ac_top_builddir=$ac_top_build_prefix
1379 case $srcdir in
1380 .) # We are building in place.
1381 ac_srcdir=.
1382 ac_top_srcdir=$ac_top_builddir_sub
1383 ac_abs_top_srcdir=$ac_pwd ;;
1384 [\\/]* | ?:[\\/]* ) # Absolute name.
1385 ac_srcdir=$srcdir$ac_dir_suffix;
1386 ac_top_srcdir=$srcdir
1387 ac_abs_top_srcdir=$srcdir ;;
1388 *) # Relative name.
1389 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1390 ac_top_srcdir=$ac_top_build_prefix$srcdir
1391 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1392 esac
1393 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1395 cd "$ac_dir" || { ac_status=$?; continue; }
1396 # Check for guested configure.
1397 if test -f "$ac_srcdir/configure.gnu"; then
1398 echo &&
1399 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1400 elif test -f "$ac_srcdir/configure"; then
1401 echo &&
1402 $SHELL "$ac_srcdir/configure" --help=recursive
1403 else
1404 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1405 fi || ac_status=$?
1406 cd "$ac_pwd" || { ac_status=$?; break; }
1407 done
1410 test -n "$ac_init_help" && exit $ac_status
1411 if $ac_init_version; then
1412 cat <<\_ACEOF
1413 wmshutdown configure 1.3
1414 generated by GNU Autoconf 2.69
1416 Copyright (C) 2012 Free Software Foundation, Inc.
1417 This configure script is free software; the Free Software Foundation
1418 gives unlimited permission to copy, distribute and modify it.
1419 _ACEOF
1420 exit
1423 ## ------------------------ ##
1424 ## Autoconf initialization. ##
1425 ## ------------------------ ##
1427 # ac_fn_c_try_compile LINENO
1428 # --------------------------
1429 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1430 ac_fn_c_try_compile ()
1432 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1433 rm -f conftest.$ac_objext
1434 if { { ac_try="$ac_compile"
1435 case "(($ac_try" in
1436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1437 *) ac_try_echo=$ac_try;;
1438 esac
1439 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1440 $as_echo "$ac_try_echo"; } >&5
1441 (eval "$ac_compile") 2>conftest.err
1442 ac_status=$?
1443 if test -s conftest.err; then
1444 grep -v '^ *+' conftest.err >conftest.er1
1445 cat conftest.er1 >&5
1446 mv -f conftest.er1 conftest.err
1448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1449 test $ac_status = 0; } && {
1450 test -z "$ac_c_werror_flag" ||
1451 test ! -s conftest.err
1452 } && test -s conftest.$ac_objext; then :
1453 ac_retval=0
1454 else
1455 $as_echo "$as_me: failed program was:" >&5
1456 sed 's/^/| /' conftest.$ac_ext >&5
1458 ac_retval=1
1460 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1461 as_fn_set_status $ac_retval
1463 } # ac_fn_c_try_compile
1464 cat >config.log <<_ACEOF
1465 This file contains any messages produced by compilers while
1466 running configure, to aid debugging if configure makes a mistake.
1468 It was created by wmshutdown $as_me 1.3, which was
1469 generated by GNU Autoconf 2.69. Invocation command line was
1471 $ $0 $@
1473 _ACEOF
1474 exec 5>>config.log
1476 cat <<_ASUNAME
1477 ## --------- ##
1478 ## Platform. ##
1479 ## --------- ##
1481 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1482 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1483 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1484 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1485 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1487 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1488 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1490 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1491 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1492 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1493 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1494 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1495 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1496 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1498 _ASUNAME
1500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1501 for as_dir in $PATH
1503 IFS=$as_save_IFS
1504 test -z "$as_dir" && as_dir=.
1505 $as_echo "PATH: $as_dir"
1506 done
1507 IFS=$as_save_IFS
1509 } >&5
1511 cat >&5 <<_ACEOF
1514 ## ----------- ##
1515 ## Core tests. ##
1516 ## ----------- ##
1518 _ACEOF
1521 # Keep a trace of the command line.
1522 # Strip out --no-create and --no-recursion so they do not pile up.
1523 # Strip out --silent because we don't want to record it for future runs.
1524 # Also quote any args containing shell meta-characters.
1525 # Make two passes to allow for proper duplicate-argument suppression.
1526 ac_configure_args=
1527 ac_configure_args0=
1528 ac_configure_args1=
1529 ac_must_keep_next=false
1530 for ac_pass in 1 2
1532 for ac_arg
1534 case $ac_arg in
1535 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1537 | -silent | --silent | --silen | --sile | --sil)
1538 continue ;;
1539 *\'*)
1540 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1541 esac
1542 case $ac_pass in
1543 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1545 as_fn_append ac_configure_args1 " '$ac_arg'"
1546 if test $ac_must_keep_next = true; then
1547 ac_must_keep_next=false # Got value, back to normal.
1548 else
1549 case $ac_arg in
1550 *=* | --config-cache | -C | -disable-* | --disable-* \
1551 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1552 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1553 | -with-* | --with-* | -without-* | --without-* | --x)
1554 case "$ac_configure_args0 " in
1555 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1556 esac
1558 -* ) ac_must_keep_next=true ;;
1559 esac
1561 as_fn_append ac_configure_args " '$ac_arg'"
1563 esac
1564 done
1565 done
1566 { ac_configure_args0=; unset ac_configure_args0;}
1567 { ac_configure_args1=; unset ac_configure_args1;}
1569 # When interrupted or exit'd, cleanup temporary files, and complete
1570 # config.log. We remove comments because anyway the quotes in there
1571 # would cause problems or look ugly.
1572 # WARNING: Use '\'' to represent an apostrophe within the trap.
1573 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1574 trap 'exit_status=$?
1575 # Save into config.log some information that might help in debugging.
1577 echo
1579 $as_echo "## ---------------- ##
1580 ## Cache variables. ##
1581 ## ---------------- ##"
1582 echo
1583 # The following way of writing the cache mishandles newlines in values,
1585 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1586 eval ac_val=\$$ac_var
1587 case $ac_val in #(
1588 *${as_nl}*)
1589 case $ac_var in #(
1590 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1591 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1592 esac
1593 case $ac_var in #(
1594 _ | IFS | as_nl) ;; #(
1595 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1596 *) { eval $ac_var=; unset $ac_var;} ;;
1597 esac ;;
1598 esac
1599 done
1600 (set) 2>&1 |
1601 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1602 *${as_nl}ac_space=\ *)
1603 sed -n \
1604 "s/'\''/'\''\\\\'\'''\''/g;
1605 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1606 ;; #(
1608 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1610 esac |
1611 sort
1613 echo
1615 $as_echo "## ----------------- ##
1616 ## Output variables. ##
1617 ## ----------------- ##"
1618 echo
1619 for ac_var in $ac_subst_vars
1621 eval ac_val=\$$ac_var
1622 case $ac_val in
1623 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1624 esac
1625 $as_echo "$ac_var='\''$ac_val'\''"
1626 done | sort
1627 echo
1629 if test -n "$ac_subst_files"; then
1630 $as_echo "## ------------------- ##
1631 ## File substitutions. ##
1632 ## ------------------- ##"
1633 echo
1634 for ac_var in $ac_subst_files
1636 eval ac_val=\$$ac_var
1637 case $ac_val in
1638 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1639 esac
1640 $as_echo "$ac_var='\''$ac_val'\''"
1641 done | sort
1642 echo
1645 if test -s confdefs.h; then
1646 $as_echo "## ----------- ##
1647 ## confdefs.h. ##
1648 ## ----------- ##"
1649 echo
1650 cat confdefs.h
1651 echo
1653 test "$ac_signal" != 0 &&
1654 $as_echo "$as_me: caught signal $ac_signal"
1655 $as_echo "$as_me: exit $exit_status"
1656 } >&5
1657 rm -f core *.core core.conftest.* &&
1658 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1659 exit $exit_status
1661 for ac_signal in 1 2 13 15; do
1662 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1663 done
1664 ac_signal=0
1666 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1667 rm -f -r conftest* confdefs.h
1669 $as_echo "/* confdefs.h */" > confdefs.h
1671 # Predefined preprocessor variables.
1673 cat >>confdefs.h <<_ACEOF
1674 #define PACKAGE_NAME "$PACKAGE_NAME"
1675 _ACEOF
1677 cat >>confdefs.h <<_ACEOF
1678 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1679 _ACEOF
1681 cat >>confdefs.h <<_ACEOF
1682 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1683 _ACEOF
1685 cat >>confdefs.h <<_ACEOF
1686 #define PACKAGE_STRING "$PACKAGE_STRING"
1687 _ACEOF
1689 cat >>confdefs.h <<_ACEOF
1690 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1691 _ACEOF
1693 cat >>confdefs.h <<_ACEOF
1694 #define PACKAGE_URL "$PACKAGE_URL"
1695 _ACEOF
1698 # Let the site file select an alternate cache file if it wants to.
1699 # Prefer an explicitly selected file to automatically selected ones.
1700 ac_site_file1=NONE
1701 ac_site_file2=NONE
1702 if test -n "$CONFIG_SITE"; then
1703 # We do not want a PATH search for config.site.
1704 case $CONFIG_SITE in #((
1705 -*) ac_site_file1=./$CONFIG_SITE;;
1706 */*) ac_site_file1=$CONFIG_SITE;;
1707 *) ac_site_file1=./$CONFIG_SITE;;
1708 esac
1709 elif test "x$prefix" != xNONE; then
1710 ac_site_file1=$prefix/share/config.site
1711 ac_site_file2=$prefix/etc/config.site
1712 else
1713 ac_site_file1=$ac_default_prefix/share/config.site
1714 ac_site_file2=$ac_default_prefix/etc/config.site
1716 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1718 test "x$ac_site_file" = xNONE && continue
1719 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1721 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1722 sed 's/^/| /' "$ac_site_file" >&5
1723 . "$ac_site_file" \
1724 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1725 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1726 as_fn_error $? "failed to load site script $ac_site_file
1727 See \`config.log' for more details" "$LINENO" 5; }
1729 done
1731 if test -r "$cache_file"; then
1732 # Some versions of bash will fail to source /dev/null (special files
1733 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1734 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1735 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1736 $as_echo "$as_me: loading cache $cache_file" >&6;}
1737 case $cache_file in
1738 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1739 *) . "./$cache_file";;
1740 esac
1742 else
1743 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1744 $as_echo "$as_me: creating cache $cache_file" >&6;}
1745 >$cache_file
1748 # Check that the precious variables saved in the cache have kept the same
1749 # value.
1750 ac_cache_corrupted=false
1751 for ac_var in $ac_precious_vars; do
1752 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1753 eval ac_new_set=\$ac_env_${ac_var}_set
1754 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1755 eval ac_new_val=\$ac_env_${ac_var}_value
1756 case $ac_old_set,$ac_new_set in
1757 set,)
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1759 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1760 ac_cache_corrupted=: ;;
1761 ,set)
1762 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1763 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1764 ac_cache_corrupted=: ;;
1765 ,);;
1767 if test "x$ac_old_val" != "x$ac_new_val"; then
1768 # differences in whitespace do not lead to failure.
1769 ac_old_val_w=`echo x $ac_old_val`
1770 ac_new_val_w=`echo x $ac_new_val`
1771 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1772 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1773 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1774 ac_cache_corrupted=:
1775 else
1776 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1777 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1778 eval $ac_var=\$ac_old_val
1780 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1781 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1782 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1783 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1784 fi;;
1785 esac
1786 # Pass precious variables to config.status.
1787 if test "$ac_new_set" = set; then
1788 case $ac_new_val in
1789 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1790 *) ac_arg=$ac_var=$ac_new_val ;;
1791 esac
1792 case " $ac_configure_args " in
1793 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1794 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1795 esac
1797 done
1798 if $ac_cache_corrupted; then
1799 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1800 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1802 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1803 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1805 ## -------------------- ##
1806 ## Main body of script. ##
1807 ## -------------------- ##
1809 ac_ext=c
1810 ac_cpp='$CPP $CPPFLAGS'
1811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1816 am__api_version='1.14'
1818 ac_aux_dir=
1819 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1820 if test -f "$ac_dir/install-sh"; then
1821 ac_aux_dir=$ac_dir
1822 ac_install_sh="$ac_aux_dir/install-sh -c"
1823 break
1824 elif test -f "$ac_dir/install.sh"; then
1825 ac_aux_dir=$ac_dir
1826 ac_install_sh="$ac_aux_dir/install.sh -c"
1827 break
1828 elif test -f "$ac_dir/shtool"; then
1829 ac_aux_dir=$ac_dir
1830 ac_install_sh="$ac_aux_dir/shtool install -c"
1831 break
1833 done
1834 if test -z "$ac_aux_dir"; then
1835 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1838 # These three variables are undocumented and unsupported,
1839 # and are intended to be withdrawn in a future Autoconf release.
1840 # They can cause serious problems if a builder's source tree is in a directory
1841 # whose full name contains unusual characters.
1842 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1843 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1844 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1847 # Find a good install program. We prefer a C program (faster),
1848 # so one script is as good as another. But avoid the broken or
1849 # incompatible versions:
1850 # SysV /etc/install, /usr/sbin/install
1851 # SunOS /usr/etc/install
1852 # IRIX /sbin/install
1853 # AIX /bin/install
1854 # AmigaOS /C/install, which installs bootblocks on floppy discs
1855 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1856 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1857 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1858 # OS/2's system install, which has a completely different semantic
1859 # ./install, which can be erroneously created by make from ./install.sh.
1860 # Reject install programs that cannot install multiple files.
1861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1862 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1863 if test -z "$INSTALL"; then
1864 if ${ac_cv_path_install+:} false; then :
1865 $as_echo_n "(cached) " >&6
1866 else
1867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1868 for as_dir in $PATH
1870 IFS=$as_save_IFS
1871 test -z "$as_dir" && as_dir=.
1872 # Account for people who put trailing slashes in PATH elements.
1873 case $as_dir/ in #((
1874 ./ | .// | /[cC]/* | \
1875 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1876 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1877 /usr/ucb/* ) ;;
1879 # OSF1 and SCO ODT 3.0 have their own names for install.
1880 # Don't use installbsd from OSF since it installs stuff as root
1881 # by default.
1882 for ac_prog in ginstall scoinst install; do
1883 for ac_exec_ext in '' $ac_executable_extensions; do
1884 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1885 if test $ac_prog = install &&
1886 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1887 # AIX install. It has an incompatible calling convention.
1889 elif test $ac_prog = install &&
1890 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1891 # program-specific install script used by HP pwplus--don't use.
1893 else
1894 rm -rf conftest.one conftest.two conftest.dir
1895 echo one > conftest.one
1896 echo two > conftest.two
1897 mkdir conftest.dir
1898 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1899 test -s conftest.one && test -s conftest.two &&
1900 test -s conftest.dir/conftest.one &&
1901 test -s conftest.dir/conftest.two
1902 then
1903 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1904 break 3
1908 done
1909 done
1911 esac
1913 done
1914 IFS=$as_save_IFS
1916 rm -rf conftest.one conftest.two conftest.dir
1919 if test "${ac_cv_path_install+set}" = set; then
1920 INSTALL=$ac_cv_path_install
1921 else
1922 # As a last resort, use the slow shell script. Don't cache a
1923 # value for INSTALL within a source directory, because that will
1924 # break other packages using the cache if that directory is
1925 # removed, or if the value is a relative name.
1926 INSTALL=$ac_install_sh
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1930 $as_echo "$INSTALL" >&6; }
1932 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1933 # It thinks the first close brace ends the variable substitution.
1934 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1936 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1938 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1941 $as_echo_n "checking whether build environment is sane... " >&6; }
1942 # Reject unsafe characters in $srcdir or the absolute working directory
1943 # name. Accept space and tab only in the latter.
1944 am_lf='
1946 case `pwd` in
1947 *[\\\"\#\$\&\'\`$am_lf]*)
1948 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1949 esac
1950 case $srcdir in
1951 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1952 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
1953 esac
1955 # Do 'set' in a subshell so we don't clobber the current shell's
1956 # arguments. Must try -L first in case configure is actually a
1957 # symlink; some systems play weird games with the mod time of symlinks
1958 # (eg FreeBSD returns the mod time of the symlink's containing
1959 # directory).
1960 if (
1961 am_has_slept=no
1962 for am_try in 1 2; do
1963 echo "timestamp, slept: $am_has_slept" > conftest.file
1964 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1965 if test "$*" = "X"; then
1966 # -L didn't work.
1967 set X `ls -t "$srcdir/configure" conftest.file`
1969 if test "$*" != "X $srcdir/configure conftest.file" \
1970 && test "$*" != "X conftest.file $srcdir/configure"; then
1972 # If neither matched, then we have a broken ls. This can happen
1973 # if, for instance, CONFIG_SHELL is bash and it inherits a
1974 # broken ls alias from the environment. This has actually
1975 # happened. Such a system could not be considered "sane".
1976 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
1977 alias in your environment" "$LINENO" 5
1979 if test "$2" = conftest.file || test $am_try -eq 2; then
1980 break
1982 # Just in case.
1983 sleep 1
1984 am_has_slept=yes
1985 done
1986 test "$2" = conftest.file
1988 then
1989 # Ok.
1991 else
1992 as_fn_error $? "newly created file is older than distributed files!
1993 Check your system clock" "$LINENO" 5
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1996 $as_echo "yes" >&6; }
1997 # If we didn't sleep, we still need to ensure time stamps of config.status and
1998 # generated files are strictly newer.
1999 am_sleep_pid=
2000 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2001 ( sleep 1 ) &
2002 am_sleep_pid=$!
2005 rm -f conftest.file
2007 test "$program_prefix" != NONE &&
2008 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2009 # Use a double $ so make ignores it.
2010 test "$program_suffix" != NONE &&
2011 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2012 # Double any \ or $.
2013 # By default was `s,x,x', remove it if useless.
2014 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2015 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2017 # expand $ac_aux_dir to an absolute path
2018 am_aux_dir=`cd $ac_aux_dir && pwd`
2020 if test x"${MISSING+set}" != xset; then
2021 case $am_aux_dir in
2022 *\ * | *\ *)
2023 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2025 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2026 esac
2028 # Use eval to expand $SHELL
2029 if eval "$MISSING --is-lightweight"; then
2030 am_missing_run="$MISSING "
2031 else
2032 am_missing_run=
2033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2034 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2037 if test x"${install_sh}" != xset; then
2038 case $am_aux_dir in
2039 *\ * | *\ *)
2040 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2042 install_sh="\${SHELL} $am_aux_dir/install-sh"
2043 esac
2046 # Installed binaries are usually stripped using 'strip' when the user
2047 # run "make install-strip". However 'strip' might not be the right
2048 # tool to use in cross-compilation environments, therefore Automake
2049 # will honor the 'STRIP' environment variable to overrule this program.
2050 if test "$cross_compiling" != no; then
2051 if test -n "$ac_tool_prefix"; then
2052 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2053 set dummy ${ac_tool_prefix}strip; ac_word=$2
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2055 $as_echo_n "checking for $ac_word... " >&6; }
2056 if ${ac_cv_prog_STRIP+:} false; then :
2057 $as_echo_n "(cached) " >&6
2058 else
2059 if test -n "$STRIP"; then
2060 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2061 else
2062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2063 for as_dir in $PATH
2065 IFS=$as_save_IFS
2066 test -z "$as_dir" && as_dir=.
2067 for ac_exec_ext in '' $ac_executable_extensions; do
2068 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2069 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2071 break 2
2073 done
2074 done
2075 IFS=$as_save_IFS
2079 STRIP=$ac_cv_prog_STRIP
2080 if test -n "$STRIP"; then
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2082 $as_echo "$STRIP" >&6; }
2083 else
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2085 $as_echo "no" >&6; }
2090 if test -z "$ac_cv_prog_STRIP"; then
2091 ac_ct_STRIP=$STRIP
2092 # Extract the first word of "strip", so it can be a program name with args.
2093 set dummy strip; ac_word=$2
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2095 $as_echo_n "checking for $ac_word... " >&6; }
2096 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2097 $as_echo_n "(cached) " >&6
2098 else
2099 if test -n "$ac_ct_STRIP"; then
2100 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2101 else
2102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2103 for as_dir in $PATH
2105 IFS=$as_save_IFS
2106 test -z "$as_dir" && as_dir=.
2107 for ac_exec_ext in '' $ac_executable_extensions; do
2108 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2109 ac_cv_prog_ac_ct_STRIP="strip"
2110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2111 break 2
2113 done
2114 done
2115 IFS=$as_save_IFS
2119 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2120 if test -n "$ac_ct_STRIP"; then
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2122 $as_echo "$ac_ct_STRIP" >&6; }
2123 else
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2125 $as_echo "no" >&6; }
2128 if test "x$ac_ct_STRIP" = x; then
2129 STRIP=":"
2130 else
2131 case $cross_compiling:$ac_tool_warned in
2132 yes:)
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2134 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2135 ac_tool_warned=yes ;;
2136 esac
2137 STRIP=$ac_ct_STRIP
2139 else
2140 STRIP="$ac_cv_prog_STRIP"
2144 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2147 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2148 if test -z "$MKDIR_P"; then
2149 if ${ac_cv_path_mkdir+:} false; then :
2150 $as_echo_n "(cached) " >&6
2151 else
2152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2153 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2155 IFS=$as_save_IFS
2156 test -z "$as_dir" && as_dir=.
2157 for ac_prog in mkdir gmkdir; do
2158 for ac_exec_ext in '' $ac_executable_extensions; do
2159 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2160 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2161 'mkdir (GNU coreutils) '* | \
2162 'mkdir (coreutils) '* | \
2163 'mkdir (fileutils) '4.1*)
2164 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2165 break 3;;
2166 esac
2167 done
2168 done
2169 done
2170 IFS=$as_save_IFS
2174 test -d ./--version && rmdir ./--version
2175 if test "${ac_cv_path_mkdir+set}" = set; then
2176 MKDIR_P="$ac_cv_path_mkdir -p"
2177 else
2178 # As a last resort, use the slow shell script. Don't cache a
2179 # value for MKDIR_P within a source directory, because that will
2180 # break other packages using the cache if that directory is
2181 # removed, or if the value is a relative name.
2182 MKDIR_P="$ac_install_sh -d"
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2186 $as_echo "$MKDIR_P" >&6; }
2188 for ac_prog in gawk mawk nawk awk
2190 # Extract the first word of "$ac_prog", so it can be a program name with args.
2191 set dummy $ac_prog; ac_word=$2
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2193 $as_echo_n "checking for $ac_word... " >&6; }
2194 if ${ac_cv_prog_AWK+:} false; then :
2195 $as_echo_n "(cached) " >&6
2196 else
2197 if test -n "$AWK"; then
2198 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2199 else
2200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2201 for as_dir in $PATH
2203 IFS=$as_save_IFS
2204 test -z "$as_dir" && as_dir=.
2205 for ac_exec_ext in '' $ac_executable_extensions; do
2206 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2207 ac_cv_prog_AWK="$ac_prog"
2208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2209 break 2
2211 done
2212 done
2213 IFS=$as_save_IFS
2217 AWK=$ac_cv_prog_AWK
2218 if test -n "$AWK"; then
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2220 $as_echo "$AWK" >&6; }
2221 else
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2223 $as_echo "no" >&6; }
2227 test -n "$AWK" && break
2228 done
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2231 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2232 set x ${MAKE-make}
2233 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2234 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2235 $as_echo_n "(cached) " >&6
2236 else
2237 cat >conftest.make <<\_ACEOF
2238 SHELL = /bin/sh
2239 all:
2240 @echo '@@@%%%=$(MAKE)=@@@%%%'
2241 _ACEOF
2242 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2243 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2244 *@@@%%%=?*=@@@%%%*)
2245 eval ac_cv_prog_make_${ac_make}_set=yes;;
2247 eval ac_cv_prog_make_${ac_make}_set=no;;
2248 esac
2249 rm -f conftest.make
2251 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2253 $as_echo "yes" >&6; }
2254 SET_MAKE=
2255 else
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2257 $as_echo "no" >&6; }
2258 SET_MAKE="MAKE=${MAKE-make}"
2261 rm -rf .tst 2>/dev/null
2262 mkdir .tst 2>/dev/null
2263 if test -d .tst; then
2264 am__leading_dot=.
2265 else
2266 am__leading_dot=_
2268 rmdir .tst 2>/dev/null
2270 # Check whether --enable-silent-rules was given.
2271 if test "${enable_silent_rules+set}" = set; then :
2272 enableval=$enable_silent_rules;
2275 case $enable_silent_rules in # (((
2276 yes) AM_DEFAULT_VERBOSITY=0;;
2277 no) AM_DEFAULT_VERBOSITY=1;;
2278 *) AM_DEFAULT_VERBOSITY=1;;
2279 esac
2280 am_make=${MAKE-make}
2281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2282 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2283 if ${am_cv_make_support_nested_variables+:} false; then :
2284 $as_echo_n "(cached) " >&6
2285 else
2286 if $as_echo 'TRUE=$(BAR$(V))
2287 BAR0=false
2288 BAR1=true
2290 am__doit:
2291 @$(TRUE)
2292 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2293 am_cv_make_support_nested_variables=yes
2294 else
2295 am_cv_make_support_nested_variables=no
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2299 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2300 if test $am_cv_make_support_nested_variables = yes; then
2301 AM_V='$(V)'
2302 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2303 else
2304 AM_V=$AM_DEFAULT_VERBOSITY
2305 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2307 AM_BACKSLASH='\'
2309 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2310 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2311 # is not polluted with repeated "-I."
2312 am__isrc=' -I$(srcdir)'
2313 # test to see if srcdir already configured
2314 if test -f $srcdir/config.status; then
2315 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2319 # test whether we have cygpath
2320 if test -z "$CYGPATH_W"; then
2321 if (cygpath --version) >/dev/null 2>/dev/null; then
2322 CYGPATH_W='cygpath -w'
2323 else
2324 CYGPATH_W=echo
2329 # Define the identity of the package.
2330 PACKAGE='wmshutdown'
2331 VERSION='1.3'
2334 cat >>confdefs.h <<_ACEOF
2335 #define PACKAGE "$PACKAGE"
2336 _ACEOF
2339 cat >>confdefs.h <<_ACEOF
2340 #define VERSION "$VERSION"
2341 _ACEOF
2343 # Some tools Automake needs.
2345 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2348 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2351 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2354 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2357 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2359 # For better backward compatibility. To be removed once Automake 1.9.x
2360 # dies out for good. For more background, see:
2361 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2362 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2363 mkdir_p='$(MKDIR_P)'
2365 # We need awk for the "check" target. The system "awk" is bad on
2366 # some platforms.
2367 # Always define AMTAR for backward compatibility. Yes, it's still used
2368 # in the wild :-( We should find a proper way to deprecate it ...
2369 AMTAR='$${TAR-tar}'
2372 # We'll loop over all known methods to create a tar archive until one works.
2373 _am_tools='gnutar pax cpio none'
2375 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2382 # POSIX will say in a future version that running "rm -f" with no argument
2383 # is OK; and we want to be able to make that assumption in our Makefile
2384 # recipes. So use an aggressive probe to check that the usage we want is
2385 # actually supported "in the wild" to an acceptable degree.
2386 # See automake bug#10828.
2387 # To make any issue more visible, cause the running configure to be aborted
2388 # by default if the 'rm' program in use doesn't match our expectations; the
2389 # user can still override this though.
2390 if rm -f && rm -fr && rm -rf; then : OK; else
2391 cat >&2 <<'END'
2392 Oops!
2394 Your 'rm' program seems unable to run without file operands specified
2395 on the command line, even when the '-f' option is present. This is contrary
2396 to the behaviour of most rm programs out there, and not conforming with
2397 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2399 Please tell bug-automake@gnu.org about your system, including the value
2400 of your $PATH and any error possibly output before this message. This
2401 can help us improve future automake versions.
2404 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2405 echo 'Configuration will proceed anyway, since you have set the' >&2
2406 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2407 echo >&2
2408 else
2409 cat >&2 <<'END'
2410 Aborting the configuration process, to ensure you take notice of the issue.
2412 You can download and install GNU coreutils to get an 'rm' implementation
2413 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2415 If you want to complete the configuration process using your problematic
2416 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2417 to "yes", and re-run configure.
2420 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2424 ac_config_headers="$ac_config_headers config.h"
2428 # Check whether --with-consolekit was given.
2429 if test "${with_consolekit+set}" = set; then :
2430 withval=$with_consolekit;
2431 $as_echo "#define CONSOLEKIT 1" >>confdefs.h
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: use ConsoleKit" >&5
2434 $as_echo "$as_me: use ConsoleKit" >&6;}
2436 else
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: use logind" >&5
2438 $as_echo "$as_me: use logind" >&6;}
2442 ac_ext=c
2443 ac_cpp='$CPP $CPPFLAGS'
2444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2447 if test -n "$ac_tool_prefix"; then
2448 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2449 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2451 $as_echo_n "checking for $ac_word... " >&6; }
2452 if ${ac_cv_prog_CC+:} false; then :
2453 $as_echo_n "(cached) " >&6
2454 else
2455 if test -n "$CC"; then
2456 ac_cv_prog_CC="$CC" # Let the user override the test.
2457 else
2458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2459 for as_dir in $PATH
2461 IFS=$as_save_IFS
2462 test -z "$as_dir" && as_dir=.
2463 for ac_exec_ext in '' $ac_executable_extensions; do
2464 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2465 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2467 break 2
2469 done
2470 done
2471 IFS=$as_save_IFS
2475 CC=$ac_cv_prog_CC
2476 if test -n "$CC"; then
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2478 $as_echo "$CC" >&6; }
2479 else
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2481 $as_echo "no" >&6; }
2486 if test -z "$ac_cv_prog_CC"; then
2487 ac_ct_CC=$CC
2488 # Extract the first word of "gcc", so it can be a program name with args.
2489 set dummy gcc; ac_word=$2
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2491 $as_echo_n "checking for $ac_word... " >&6; }
2492 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2493 $as_echo_n "(cached) " >&6
2494 else
2495 if test -n "$ac_ct_CC"; then
2496 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2497 else
2498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2499 for as_dir in $PATH
2501 IFS=$as_save_IFS
2502 test -z "$as_dir" && as_dir=.
2503 for ac_exec_ext in '' $ac_executable_extensions; do
2504 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2505 ac_cv_prog_ac_ct_CC="gcc"
2506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2507 break 2
2509 done
2510 done
2511 IFS=$as_save_IFS
2515 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2516 if test -n "$ac_ct_CC"; then
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2518 $as_echo "$ac_ct_CC" >&6; }
2519 else
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2521 $as_echo "no" >&6; }
2524 if test "x$ac_ct_CC" = x; then
2525 CC=""
2526 else
2527 case $cross_compiling:$ac_tool_warned in
2528 yes:)
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2530 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2531 ac_tool_warned=yes ;;
2532 esac
2533 CC=$ac_ct_CC
2535 else
2536 CC="$ac_cv_prog_CC"
2539 if test -z "$CC"; then
2540 if test -n "$ac_tool_prefix"; then
2541 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2542 set dummy ${ac_tool_prefix}cc; ac_word=$2
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2544 $as_echo_n "checking for $ac_word... " >&6; }
2545 if ${ac_cv_prog_CC+:} false; then :
2546 $as_echo_n "(cached) " >&6
2547 else
2548 if test -n "$CC"; then
2549 ac_cv_prog_CC="$CC" # Let the user override the test.
2550 else
2551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2552 for as_dir in $PATH
2554 IFS=$as_save_IFS
2555 test -z "$as_dir" && as_dir=.
2556 for ac_exec_ext in '' $ac_executable_extensions; do
2557 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2558 ac_cv_prog_CC="${ac_tool_prefix}cc"
2559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2560 break 2
2562 done
2563 done
2564 IFS=$as_save_IFS
2568 CC=$ac_cv_prog_CC
2569 if test -n "$CC"; then
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2571 $as_echo "$CC" >&6; }
2572 else
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2574 $as_echo "no" >&6; }
2580 if test -z "$CC"; then
2581 # Extract the first word of "cc", so it can be a program name with args.
2582 set dummy cc; ac_word=$2
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2584 $as_echo_n "checking for $ac_word... " >&6; }
2585 if ${ac_cv_prog_CC+:} false; then :
2586 $as_echo_n "(cached) " >&6
2587 else
2588 if test -n "$CC"; then
2589 ac_cv_prog_CC="$CC" # Let the user override the test.
2590 else
2591 ac_prog_rejected=no
2592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2593 for as_dir in $PATH
2595 IFS=$as_save_IFS
2596 test -z "$as_dir" && as_dir=.
2597 for ac_exec_ext in '' $ac_executable_extensions; do
2598 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2599 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2600 ac_prog_rejected=yes
2601 continue
2603 ac_cv_prog_CC="cc"
2604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2605 break 2
2607 done
2608 done
2609 IFS=$as_save_IFS
2611 if test $ac_prog_rejected = yes; then
2612 # We found a bogon in the path, so make sure we never use it.
2613 set dummy $ac_cv_prog_CC
2614 shift
2615 if test $# != 0; then
2616 # We chose a different compiler from the bogus one.
2617 # However, it has the same basename, so the bogon will be chosen
2618 # first if we set CC to just the basename; use the full file name.
2619 shift
2620 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2625 CC=$ac_cv_prog_CC
2626 if test -n "$CC"; then
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2628 $as_echo "$CC" >&6; }
2629 else
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2631 $as_echo "no" >&6; }
2636 if test -z "$CC"; then
2637 if test -n "$ac_tool_prefix"; then
2638 for ac_prog in cl.exe
2640 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2641 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2643 $as_echo_n "checking for $ac_word... " >&6; }
2644 if ${ac_cv_prog_CC+:} false; then :
2645 $as_echo_n "(cached) " >&6
2646 else
2647 if test -n "$CC"; then
2648 ac_cv_prog_CC="$CC" # Let the user override the test.
2649 else
2650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2651 for as_dir in $PATH
2653 IFS=$as_save_IFS
2654 test -z "$as_dir" && as_dir=.
2655 for ac_exec_ext in '' $ac_executable_extensions; do
2656 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2657 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2659 break 2
2661 done
2662 done
2663 IFS=$as_save_IFS
2667 CC=$ac_cv_prog_CC
2668 if test -n "$CC"; then
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2670 $as_echo "$CC" >&6; }
2671 else
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2673 $as_echo "no" >&6; }
2677 test -n "$CC" && break
2678 done
2680 if test -z "$CC"; then
2681 ac_ct_CC=$CC
2682 for ac_prog in cl.exe
2684 # Extract the first word of "$ac_prog", so it can be a program name with args.
2685 set dummy $ac_prog; ac_word=$2
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2687 $as_echo_n "checking for $ac_word... " >&6; }
2688 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2689 $as_echo_n "(cached) " >&6
2690 else
2691 if test -n "$ac_ct_CC"; then
2692 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2693 else
2694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2695 for as_dir in $PATH
2697 IFS=$as_save_IFS
2698 test -z "$as_dir" && as_dir=.
2699 for ac_exec_ext in '' $ac_executable_extensions; do
2700 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2701 ac_cv_prog_ac_ct_CC="$ac_prog"
2702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2703 break 2
2705 done
2706 done
2707 IFS=$as_save_IFS
2711 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2712 if test -n "$ac_ct_CC"; then
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2714 $as_echo "$ac_ct_CC" >&6; }
2715 else
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2717 $as_echo "no" >&6; }
2721 test -n "$ac_ct_CC" && break
2722 done
2724 if test "x$ac_ct_CC" = x; then
2725 CC=""
2726 else
2727 case $cross_compiling:$ac_tool_warned in
2728 yes:)
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2730 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2731 ac_tool_warned=yes ;;
2732 esac
2733 CC=$ac_ct_CC
2740 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2741 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2742 as_fn_error $? "no acceptable C compiler found in \$PATH
2743 See \`config.log' for more details" "$LINENO" 5; }
2745 # Provide some information about the compiler.
2746 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2747 set X $ac_compile
2748 ac_compiler=$2
2749 for ac_option in --version -v -V -qversion; do
2750 { { ac_try="$ac_compiler $ac_option >&5"
2751 case "(($ac_try" in
2752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2753 *) ac_try_echo=$ac_try;;
2754 esac
2755 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2756 $as_echo "$ac_try_echo"; } >&5
2757 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2758 ac_status=$?
2759 if test -s conftest.err; then
2760 sed '10a\
2761 ... rest of stderr output deleted ...
2762 10q' conftest.err >conftest.er1
2763 cat conftest.er1 >&5
2765 rm -f conftest.er1 conftest.err
2766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2767 test $ac_status = 0; }
2768 done
2770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2771 /* end confdefs.h. */
2774 main ()
2778 return 0;
2780 _ACEOF
2781 ac_clean_files_save=$ac_clean_files
2782 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2783 # Try to create an executable without -o first, disregard a.out.
2784 # It will help us diagnose broken compilers, and finding out an intuition
2785 # of exeext.
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2787 $as_echo_n "checking whether the C compiler works... " >&6; }
2788 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2790 # The possible output files:
2791 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2793 ac_rmfiles=
2794 for ac_file in $ac_files
2796 case $ac_file in
2797 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2798 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2799 esac
2800 done
2801 rm -f $ac_rmfiles
2803 if { { ac_try="$ac_link_default"
2804 case "(($ac_try" in
2805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2806 *) ac_try_echo=$ac_try;;
2807 esac
2808 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2809 $as_echo "$ac_try_echo"; } >&5
2810 (eval "$ac_link_default") 2>&5
2811 ac_status=$?
2812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2813 test $ac_status = 0; }; then :
2814 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2815 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2816 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2817 # so that the user can short-circuit this test for compilers unknown to
2818 # Autoconf.
2819 for ac_file in $ac_files ''
2821 test -f "$ac_file" || continue
2822 case $ac_file in
2823 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2825 [ab].out )
2826 # We found the default executable, but exeext='' is most
2827 # certainly right.
2828 break;;
2829 *.* )
2830 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2831 then :; else
2832 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2834 # We set ac_cv_exeext here because the later test for it is not
2835 # safe: cross compilers may not add the suffix if given an `-o'
2836 # argument, so we may need to know it at that point already.
2837 # Even if this section looks crufty: it has the advantage of
2838 # actually working.
2839 break;;
2841 break;;
2842 esac
2843 done
2844 test "$ac_cv_exeext" = no && ac_cv_exeext=
2846 else
2847 ac_file=''
2849 if test -z "$ac_file"; then :
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2851 $as_echo "no" >&6; }
2852 $as_echo "$as_me: failed program was:" >&5
2853 sed 's/^/| /' conftest.$ac_ext >&5
2855 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2856 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2857 as_fn_error 77 "C compiler cannot create executables
2858 See \`config.log' for more details" "$LINENO" 5; }
2859 else
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2861 $as_echo "yes" >&6; }
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2864 $as_echo_n "checking for C compiler default output file name... " >&6; }
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2866 $as_echo "$ac_file" >&6; }
2867 ac_exeext=$ac_cv_exeext
2869 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2870 ac_clean_files=$ac_clean_files_save
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2872 $as_echo_n "checking for suffix of executables... " >&6; }
2873 if { { ac_try="$ac_link"
2874 case "(($ac_try" in
2875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2876 *) ac_try_echo=$ac_try;;
2877 esac
2878 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2879 $as_echo "$ac_try_echo"; } >&5
2880 (eval "$ac_link") 2>&5
2881 ac_status=$?
2882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2883 test $ac_status = 0; }; then :
2884 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2885 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2886 # work properly (i.e., refer to `conftest.exe'), while it won't with
2887 # `rm'.
2888 for ac_file in conftest.exe conftest conftest.*; do
2889 test -f "$ac_file" || continue
2890 case $ac_file in
2891 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2892 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2893 break;;
2894 * ) break;;
2895 esac
2896 done
2897 else
2898 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2899 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2900 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2901 See \`config.log' for more details" "$LINENO" 5; }
2903 rm -f conftest conftest$ac_cv_exeext
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2905 $as_echo "$ac_cv_exeext" >&6; }
2907 rm -f conftest.$ac_ext
2908 EXEEXT=$ac_cv_exeext
2909 ac_exeext=$EXEEXT
2910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2911 /* end confdefs.h. */
2912 #include <stdio.h>
2914 main ()
2916 FILE *f = fopen ("conftest.out", "w");
2917 return ferror (f) || fclose (f) != 0;
2920 return 0;
2922 _ACEOF
2923 ac_clean_files="$ac_clean_files conftest.out"
2924 # Check that the compiler produces executables we can run. If not, either
2925 # the compiler is broken, or we cross compile.
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2927 $as_echo_n "checking whether we are cross compiling... " >&6; }
2928 if test "$cross_compiling" != yes; then
2929 { { ac_try="$ac_link"
2930 case "(($ac_try" in
2931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2932 *) ac_try_echo=$ac_try;;
2933 esac
2934 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2935 $as_echo "$ac_try_echo"; } >&5
2936 (eval "$ac_link") 2>&5
2937 ac_status=$?
2938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2939 test $ac_status = 0; }
2940 if { ac_try='./conftest$ac_cv_exeext'
2941 { { case "(($ac_try" in
2942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2943 *) ac_try_echo=$ac_try;;
2944 esac
2945 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2946 $as_echo "$ac_try_echo"; } >&5
2947 (eval "$ac_try") 2>&5
2948 ac_status=$?
2949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2950 test $ac_status = 0; }; }; then
2951 cross_compiling=no
2952 else
2953 if test "$cross_compiling" = maybe; then
2954 cross_compiling=yes
2955 else
2956 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2957 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2958 as_fn_error $? "cannot run C compiled programs.
2959 If you meant to cross compile, use \`--host'.
2960 See \`config.log' for more details" "$LINENO" 5; }
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2965 $as_echo "$cross_compiling" >&6; }
2967 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2968 ac_clean_files=$ac_clean_files_save
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2970 $as_echo_n "checking for suffix of object files... " >&6; }
2971 if ${ac_cv_objext+:} false; then :
2972 $as_echo_n "(cached) " >&6
2973 else
2974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2975 /* end confdefs.h. */
2978 main ()
2982 return 0;
2984 _ACEOF
2985 rm -f conftest.o conftest.obj
2986 if { { ac_try="$ac_compile"
2987 case "(($ac_try" in
2988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2989 *) ac_try_echo=$ac_try;;
2990 esac
2991 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2992 $as_echo "$ac_try_echo"; } >&5
2993 (eval "$ac_compile") 2>&5
2994 ac_status=$?
2995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2996 test $ac_status = 0; }; then :
2997 for ac_file in conftest.o conftest.obj conftest.*; do
2998 test -f "$ac_file" || continue;
2999 case $ac_file in
3000 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3001 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3002 break;;
3003 esac
3004 done
3005 else
3006 $as_echo "$as_me: failed program was:" >&5
3007 sed 's/^/| /' conftest.$ac_ext >&5
3009 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3010 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3011 as_fn_error $? "cannot compute suffix of object files: cannot compile
3012 See \`config.log' for more details" "$LINENO" 5; }
3014 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3017 $as_echo "$ac_cv_objext" >&6; }
3018 OBJEXT=$ac_cv_objext
3019 ac_objext=$OBJEXT
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3021 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3022 if ${ac_cv_c_compiler_gnu+:} false; then :
3023 $as_echo_n "(cached) " >&6
3024 else
3025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3026 /* end confdefs.h. */
3029 main ()
3031 #ifndef __GNUC__
3032 choke me
3033 #endif
3036 return 0;
3038 _ACEOF
3039 if ac_fn_c_try_compile "$LINENO"; then :
3040 ac_compiler_gnu=yes
3041 else
3042 ac_compiler_gnu=no
3044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3045 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3049 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3050 if test $ac_compiler_gnu = yes; then
3051 GCC=yes
3052 else
3053 GCC=
3055 ac_test_CFLAGS=${CFLAGS+set}
3056 ac_save_CFLAGS=$CFLAGS
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3058 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3059 if ${ac_cv_prog_cc_g+:} false; then :
3060 $as_echo_n "(cached) " >&6
3061 else
3062 ac_save_c_werror_flag=$ac_c_werror_flag
3063 ac_c_werror_flag=yes
3064 ac_cv_prog_cc_g=no
3065 CFLAGS="-g"
3066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3067 /* end confdefs.h. */
3070 main ()
3074 return 0;
3076 _ACEOF
3077 if ac_fn_c_try_compile "$LINENO"; then :
3078 ac_cv_prog_cc_g=yes
3079 else
3080 CFLAGS=""
3081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3082 /* end confdefs.h. */
3085 main ()
3089 return 0;
3091 _ACEOF
3092 if ac_fn_c_try_compile "$LINENO"; then :
3094 else
3095 ac_c_werror_flag=$ac_save_c_werror_flag
3096 CFLAGS="-g"
3097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3098 /* end confdefs.h. */
3101 main ()
3105 return 0;
3107 _ACEOF
3108 if ac_fn_c_try_compile "$LINENO"; then :
3109 ac_cv_prog_cc_g=yes
3111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3116 ac_c_werror_flag=$ac_save_c_werror_flag
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3119 $as_echo "$ac_cv_prog_cc_g" >&6; }
3120 if test "$ac_test_CFLAGS" = set; then
3121 CFLAGS=$ac_save_CFLAGS
3122 elif test $ac_cv_prog_cc_g = yes; then
3123 if test "$GCC" = yes; then
3124 CFLAGS="-g -O2"
3125 else
3126 CFLAGS="-g"
3128 else
3129 if test "$GCC" = yes; then
3130 CFLAGS="-O2"
3131 else
3132 CFLAGS=
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3136 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3137 if ${ac_cv_prog_cc_c89+:} false; then :
3138 $as_echo_n "(cached) " >&6
3139 else
3140 ac_cv_prog_cc_c89=no
3141 ac_save_CC=$CC
3142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3143 /* end confdefs.h. */
3144 #include <stdarg.h>
3145 #include <stdio.h>
3146 struct stat;
3147 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3148 struct buf { int x; };
3149 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3150 static char *e (p, i)
3151 char **p;
3152 int i;
3154 return p[i];
3156 static char *f (char * (*g) (char **, int), char **p, ...)
3158 char *s;
3159 va_list v;
3160 va_start (v,p);
3161 s = g (p, va_arg (v,int));
3162 va_end (v);
3163 return s;
3166 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3167 function prototypes and stuff, but not '\xHH' hex character constants.
3168 These don't provoke an error unfortunately, instead are silently treated
3169 as 'x'. The following induces an error, until -std is added to get
3170 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3171 array size at least. It's necessary to write '\x00'==0 to get something
3172 that's true only with -std. */
3173 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3175 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3176 inside strings and character constants. */
3177 #define FOO(x) 'x'
3178 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3180 int test (int i, double x);
3181 struct s1 {int (*f) (int a);};
3182 struct s2 {int (*f) (double a);};
3183 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3184 int argc;
3185 char **argv;
3187 main ()
3189 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3191 return 0;
3193 _ACEOF
3194 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3195 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3197 CC="$ac_save_CC $ac_arg"
3198 if ac_fn_c_try_compile "$LINENO"; then :
3199 ac_cv_prog_cc_c89=$ac_arg
3201 rm -f core conftest.err conftest.$ac_objext
3202 test "x$ac_cv_prog_cc_c89" != "xno" && break
3203 done
3204 rm -f conftest.$ac_ext
3205 CC=$ac_save_CC
3208 # AC_CACHE_VAL
3209 case "x$ac_cv_prog_cc_c89" in
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3212 $as_echo "none needed" >&6; } ;;
3213 xno)
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3215 $as_echo "unsupported" >&6; } ;;
3217 CC="$CC $ac_cv_prog_cc_c89"
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3219 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3220 esac
3221 if test "x$ac_cv_prog_cc_c89" != xno; then :
3225 ac_ext=c
3226 ac_cpp='$CPP $CPPFLAGS'
3227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3231 ac_ext=c
3232 ac_cpp='$CPP $CPPFLAGS'
3233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3237 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3238 if ${am_cv_prog_cc_c_o+:} false; then :
3239 $as_echo_n "(cached) " >&6
3240 else
3241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3242 /* end confdefs.h. */
3245 main ()
3249 return 0;
3251 _ACEOF
3252 # Make sure it works both with $CC and with simple cc.
3253 # Following AC_PROG_CC_C_O, we do the test twice because some
3254 # compilers refuse to overwrite an existing .o file with -o,
3255 # though they will create one.
3256 am_cv_prog_cc_c_o=yes
3257 for am_i in 1 2; do
3258 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3259 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3260 ac_status=$?
3261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3262 (exit $ac_status); } \
3263 && test -f conftest2.$ac_objext; then
3264 : OK
3265 else
3266 am_cv_prog_cc_c_o=no
3267 break
3269 done
3270 rm -f core conftest*
3271 unset am_i
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3274 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3275 if test "$am_cv_prog_cc_c_o" != yes; then
3276 # Losing compiler, so override with the script.
3277 # FIXME: It is wrong to rewrite CC.
3278 # But if we don't then we get into trouble of one sort or another.
3279 # A longer-term fix would be to have automake use am__CC in this case,
3280 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3281 CC="$am_aux_dir/compile $CC"
3283 ac_ext=c
3284 ac_cpp='$CPP $CPPFLAGS'
3285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3289 DEPDIR="${am__leading_dot}deps"
3291 ac_config_commands="$ac_config_commands depfiles"
3294 am_make=${MAKE-make}
3295 cat > confinc << 'END'
3296 am__doit:
3297 @echo this is the am__doit target
3298 .PHONY: am__doit
3300 # If we don't find an include directive, just comment out the code.
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3302 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3303 am__include="#"
3304 am__quote=
3305 _am_result=none
3306 # First try GNU make style include.
3307 echo "include confinc" > confmf
3308 # Ignore all kinds of additional output from 'make'.
3309 case `$am_make -s -f confmf 2> /dev/null` in #(
3310 *the\ am__doit\ target*)
3311 am__include=include
3312 am__quote=
3313 _am_result=GNU
3315 esac
3316 # Now try BSD make style include.
3317 if test "$am__include" = "#"; then
3318 echo '.include "confinc"' > confmf
3319 case `$am_make -s -f confmf 2> /dev/null` in #(
3320 *the\ am__doit\ target*)
3321 am__include=.include
3322 am__quote="\""
3323 _am_result=BSD
3325 esac
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3330 $as_echo "$_am_result" >&6; }
3331 rm -f confinc confmf
3333 # Check whether --enable-dependency-tracking was given.
3334 if test "${enable_dependency_tracking+set}" = set; then :
3335 enableval=$enable_dependency_tracking;
3338 if test "x$enable_dependency_tracking" != xno; then
3339 am_depcomp="$ac_aux_dir/depcomp"
3340 AMDEPBACKSLASH='\'
3341 am__nodep='_no'
3343 if test "x$enable_dependency_tracking" != xno; then
3344 AMDEP_TRUE=
3345 AMDEP_FALSE='#'
3346 else
3347 AMDEP_TRUE='#'
3348 AMDEP_FALSE=
3353 depcc="$CC" am_compiler_list=
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3356 $as_echo_n "checking dependency style of $depcc... " >&6; }
3357 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3358 $as_echo_n "(cached) " >&6
3359 else
3360 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3361 # We make a subdir and do the tests there. Otherwise we can end up
3362 # making bogus files that we don't know about and never remove. For
3363 # instance it was reported that on HP-UX the gcc test will end up
3364 # making a dummy file named 'D' -- because '-MD' means "put the output
3365 # in D".
3366 rm -rf conftest.dir
3367 mkdir conftest.dir
3368 # Copy depcomp to subdir because otherwise we won't find it if we're
3369 # using a relative directory.
3370 cp "$am_depcomp" conftest.dir
3371 cd conftest.dir
3372 # We will build objects and dependencies in a subdirectory because
3373 # it helps to detect inapplicable dependency modes. For instance
3374 # both Tru64's cc and ICC support -MD to output dependencies as a
3375 # side effect of compilation, but ICC will put the dependencies in
3376 # the current directory while Tru64 will put them in the object
3377 # directory.
3378 mkdir sub
3380 am_cv_CC_dependencies_compiler_type=none
3381 if test "$am_compiler_list" = ""; then
3382 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3384 am__universal=false
3385 case " $depcc " in #(
3386 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3387 esac
3389 for depmode in $am_compiler_list; do
3390 # Setup a source with many dependencies, because some compilers
3391 # like to wrap large dependency lists on column 80 (with \), and
3392 # we should not choose a depcomp mode which is confused by this.
3394 # We need to recreate these files for each test, as the compiler may
3395 # overwrite some of them when testing with obscure command lines.
3396 # This happens at least with the AIX C compiler.
3397 : > sub/conftest.c
3398 for i in 1 2 3 4 5 6; do
3399 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3400 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3401 # Solaris 10 /bin/sh.
3402 echo '/* dummy */' > sub/conftst$i.h
3403 done
3404 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3406 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3407 # mode. It turns out that the SunPro C++ compiler does not properly
3408 # handle '-M -o', and we need to detect this. Also, some Intel
3409 # versions had trouble with output in subdirs.
3410 am__obj=sub/conftest.${OBJEXT-o}
3411 am__minus_obj="-o $am__obj"
3412 case $depmode in
3413 gcc)
3414 # This depmode causes a compiler race in universal mode.
3415 test "$am__universal" = false || continue
3417 nosideeffect)
3418 # After this tag, mechanisms are not by side-effect, so they'll
3419 # only be used when explicitly requested.
3420 if test "x$enable_dependency_tracking" = xyes; then
3421 continue
3422 else
3423 break
3426 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3427 # This compiler won't grok '-c -o', but also, the minuso test has
3428 # not run yet. These depmodes are late enough in the game, and
3429 # so weak that their functioning should not be impacted.
3430 am__obj=conftest.${OBJEXT-o}
3431 am__minus_obj=
3433 none) break ;;
3434 esac
3435 if depmode=$depmode \
3436 source=sub/conftest.c object=$am__obj \
3437 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3438 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3439 >/dev/null 2>conftest.err &&
3440 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3441 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3442 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3443 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3444 # icc doesn't choke on unknown options, it will just issue warnings
3445 # or remarks (even with -Werror). So we grep stderr for any message
3446 # that says an option was ignored or not supported.
3447 # When given -MP, icc 7.0 and 7.1 complain thusly:
3448 # icc: Command line warning: ignoring option '-M'; no argument required
3449 # The diagnosis changed in icc 8.0:
3450 # icc: Command line remark: option '-MP' not supported
3451 if (grep 'ignoring option' conftest.err ||
3452 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3453 am_cv_CC_dependencies_compiler_type=$depmode
3454 break
3457 done
3459 cd ..
3460 rm -rf conftest.dir
3461 else
3462 am_cv_CC_dependencies_compiler_type=none
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3467 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3468 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3471 test "x$enable_dependency_tracking" != xno \
3472 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3473 am__fastdepCC_TRUE=
3474 am__fastdepCC_FALSE='#'
3475 else
3476 am__fastdepCC_TRUE='#'
3477 am__fastdepCC_FALSE=
3488 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3489 if test -n "$ac_tool_prefix"; then
3490 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3491 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3493 $as_echo_n "checking for $ac_word... " >&6; }
3494 if ${ac_cv_path_PKG_CONFIG+:} false; then :
3495 $as_echo_n "(cached) " >&6
3496 else
3497 case $PKG_CONFIG in
3498 [\\/]* | ?:[\\/]*)
3499 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3503 for as_dir in $PATH
3505 IFS=$as_save_IFS
3506 test -z "$as_dir" && as_dir=.
3507 for ac_exec_ext in '' $ac_executable_extensions; do
3508 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3509 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3511 break 2
3513 done
3514 done
3515 IFS=$as_save_IFS
3518 esac
3520 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3521 if test -n "$PKG_CONFIG"; then
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
3523 $as_echo "$PKG_CONFIG" >&6; }
3524 else
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3526 $as_echo "no" >&6; }
3531 if test -z "$ac_cv_path_PKG_CONFIG"; then
3532 ac_pt_PKG_CONFIG=$PKG_CONFIG
3533 # Extract the first word of "pkg-config", so it can be a program name with args.
3534 set dummy pkg-config; ac_word=$2
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3536 $as_echo_n "checking for $ac_word... " >&6; }
3537 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
3538 $as_echo_n "(cached) " >&6
3539 else
3540 case $ac_pt_PKG_CONFIG in
3541 [\\/]* | ?:[\\/]*)
3542 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3546 for as_dir in $PATH
3548 IFS=$as_save_IFS
3549 test -z "$as_dir" && as_dir=.
3550 for ac_exec_ext in '' $ac_executable_extensions; do
3551 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3552 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3554 break 2
3556 done
3557 done
3558 IFS=$as_save_IFS
3561 esac
3563 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3564 if test -n "$ac_pt_PKG_CONFIG"; then
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
3566 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
3567 else
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3569 $as_echo "no" >&6; }
3572 if test "x$ac_pt_PKG_CONFIG" = x; then
3573 PKG_CONFIG=""
3574 else
3575 case $cross_compiling:$ac_tool_warned in
3576 yes:)
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3578 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3579 ac_tool_warned=yes ;;
3580 esac
3581 PKG_CONFIG=$ac_pt_PKG_CONFIG
3583 else
3584 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3588 if test -n "$PKG_CONFIG"; then
3589 _pkg_min_version=0.9.0
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
3591 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
3592 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3594 $as_echo "yes" >&6; }
3595 else
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3597 $as_echo "no" >&6; }
3598 PKG_CONFIG=""
3602 pkg_failed=no
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk" >&5
3604 $as_echo_n "checking for gtk... " >&6; }
3606 if test -n "$gtk_CFLAGS"; then
3607 pkg_cv_gtk_CFLAGS="$gtk_CFLAGS"
3608 elif test -n "$PKG_CONFIG"; then
3609 if test -n "$PKG_CONFIG" && \
3610 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0\""; } >&5
3611 ($PKG_CONFIG --exists --print-errors "gtk+-3.0") 2>&5
3612 ac_status=$?
3613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3614 test $ac_status = 0; }; then
3615 pkg_cv_gtk_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0" 2>/dev/null`
3616 test "x$?" != "x0" && pkg_failed=yes
3617 else
3618 pkg_failed=yes
3620 else
3621 pkg_failed=untried
3623 if test -n "$gtk_LIBS"; then
3624 pkg_cv_gtk_LIBS="$gtk_LIBS"
3625 elif test -n "$PKG_CONFIG"; then
3626 if test -n "$PKG_CONFIG" && \
3627 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0\""; } >&5
3628 ($PKG_CONFIG --exists --print-errors "gtk+-3.0") 2>&5
3629 ac_status=$?
3630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3631 test $ac_status = 0; }; then
3632 pkg_cv_gtk_LIBS=`$PKG_CONFIG --libs "gtk+-3.0" 2>/dev/null`
3633 test "x$?" != "x0" && pkg_failed=yes
3634 else
3635 pkg_failed=yes
3637 else
3638 pkg_failed=untried
3643 if test $pkg_failed = yes; then
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3645 $as_echo "no" >&6; }
3647 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3648 _pkg_short_errors_supported=yes
3649 else
3650 _pkg_short_errors_supported=no
3652 if test $_pkg_short_errors_supported = yes; then
3653 gtk_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0" 2>&1`
3654 else
3655 gtk_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0" 2>&1`
3657 # Put the nasty error message in config.log where it belongs
3658 echo "$gtk_PKG_ERRORS" >&5
3660 as_fn_error $? "Package requirements (gtk+-3.0) were not met:
3662 $gtk_PKG_ERRORS
3664 Consider adjusting the PKG_CONFIG_PATH environment variable if you
3665 installed software in a non-standard prefix.
3667 Alternatively, you may set the environment variables gtk_CFLAGS
3668 and gtk_LIBS to avoid the need to call pkg-config.
3669 See the pkg-config man page for more details." "$LINENO" 5
3670 elif test $pkg_failed = untried; then
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3672 $as_echo "no" >&6; }
3673 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3674 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3675 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
3676 is in your PATH or set the PKG_CONFIG environment variable to the full
3677 path to pkg-config.
3679 Alternatively, you may set the environment variables gtk_CFLAGS
3680 and gtk_LIBS to avoid the need to call pkg-config.
3681 See the pkg-config man page for more details.
3683 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
3684 See \`config.log' for more details" "$LINENO" 5; }
3685 else
3686 gtk_CFLAGS=$pkg_cv_gtk_CFLAGS
3687 gtk_LIBS=$pkg_cv_gtk_LIBS
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3689 $as_echo "yes" >&6; }
3693 pkg_failed=no
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x11" >&5
3695 $as_echo_n "checking for x11... " >&6; }
3697 if test -n "$x11_CFLAGS"; then
3698 pkg_cv_x11_CFLAGS="$x11_CFLAGS"
3699 elif test -n "$PKG_CONFIG"; then
3700 if test -n "$PKG_CONFIG" && \
3701 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
3702 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
3703 ac_status=$?
3704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3705 test $ac_status = 0; }; then
3706 pkg_cv_x11_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null`
3707 test "x$?" != "x0" && pkg_failed=yes
3708 else
3709 pkg_failed=yes
3711 else
3712 pkg_failed=untried
3714 if test -n "$x11_LIBS"; then
3715 pkg_cv_x11_LIBS="$x11_LIBS"
3716 elif test -n "$PKG_CONFIG"; then
3717 if test -n "$PKG_CONFIG" && \
3718 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
3719 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
3720 ac_status=$?
3721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3722 test $ac_status = 0; }; then
3723 pkg_cv_x11_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null`
3724 test "x$?" != "x0" && pkg_failed=yes
3725 else
3726 pkg_failed=yes
3728 else
3729 pkg_failed=untried
3734 if test $pkg_failed = yes; then
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3736 $as_echo "no" >&6; }
3738 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3739 _pkg_short_errors_supported=yes
3740 else
3741 _pkg_short_errors_supported=no
3743 if test $_pkg_short_errors_supported = yes; then
3744 x11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11" 2>&1`
3745 else
3746 x11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11" 2>&1`
3748 # Put the nasty error message in config.log where it belongs
3749 echo "$x11_PKG_ERRORS" >&5
3751 as_fn_error $? "Package requirements (x11) were not met:
3753 $x11_PKG_ERRORS
3755 Consider adjusting the PKG_CONFIG_PATH environment variable if you
3756 installed software in a non-standard prefix.
3758 Alternatively, you may set the environment variables x11_CFLAGS
3759 and x11_LIBS to avoid the need to call pkg-config.
3760 See the pkg-config man page for more details." "$LINENO" 5
3761 elif test $pkg_failed = untried; then
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3763 $as_echo "no" >&6; }
3764 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3765 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3766 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
3767 is in your PATH or set the PKG_CONFIG environment variable to the full
3768 path to pkg-config.
3770 Alternatively, you may set the environment variables x11_CFLAGS
3771 and x11_LIBS to avoid the need to call pkg-config.
3772 See the pkg-config man page for more details.
3774 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
3775 See \`config.log' for more details" "$LINENO" 5; }
3776 else
3777 x11_CFLAGS=$pkg_cv_x11_CFLAGS
3778 x11_LIBS=$pkg_cv_x11_LIBS
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3780 $as_echo "yes" >&6; }
3783 ac_config_files="$ac_config_files Makefile"
3785 cat >confcache <<\_ACEOF
3786 # This file is a shell script that caches the results of configure
3787 # tests run on this system so they can be shared between configure
3788 # scripts and configure runs, see configure's option --config-cache.
3789 # It is not useful on other systems. If it contains results you don't
3790 # want to keep, you may remove or edit it.
3792 # config.status only pays attention to the cache file if you give it
3793 # the --recheck option to rerun configure.
3795 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3796 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3797 # following values.
3799 _ACEOF
3801 # The following way of writing the cache mishandles newlines in values,
3802 # but we know of no workaround that is simple, portable, and efficient.
3803 # So, we kill variables containing newlines.
3804 # Ultrix sh set writes to stderr and can't be redirected directly,
3805 # and sets the high bit in the cache file unless we assign to the vars.
3807 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3808 eval ac_val=\$$ac_var
3809 case $ac_val in #(
3810 *${as_nl}*)
3811 case $ac_var in #(
3812 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3813 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3814 esac
3815 case $ac_var in #(
3816 _ | IFS | as_nl) ;; #(
3817 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3818 *) { eval $ac_var=; unset $ac_var;} ;;
3819 esac ;;
3820 esac
3821 done
3823 (set) 2>&1 |
3824 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3825 *${as_nl}ac_space=\ *)
3826 # `set' does not quote correctly, so add quotes: double-quote
3827 # substitution turns \\\\ into \\, and sed turns \\ into \.
3828 sed -n \
3829 "s/'/'\\\\''/g;
3830 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3831 ;; #(
3833 # `set' quotes correctly as required by POSIX, so do not add quotes.
3834 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3836 esac |
3837 sort
3839 sed '
3840 /^ac_cv_env_/b end
3841 t clear
3842 :clear
3843 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3844 t end
3845 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3846 :end' >>confcache
3847 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3848 if test -w "$cache_file"; then
3849 if test "x$cache_file" != "x/dev/null"; then
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3851 $as_echo "$as_me: updating cache $cache_file" >&6;}
3852 if test ! -f "$cache_file" || test -h "$cache_file"; then
3853 cat confcache >"$cache_file"
3854 else
3855 case $cache_file in #(
3856 */* | ?:*)
3857 mv -f confcache "$cache_file"$$ &&
3858 mv -f "$cache_file"$$ "$cache_file" ;; #(
3860 mv -f confcache "$cache_file" ;;
3861 esac
3864 else
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3866 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3869 rm -f confcache
3871 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3872 # Let make expand exec_prefix.
3873 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3875 DEFS=-DHAVE_CONFIG_H
3877 ac_libobjs=
3878 ac_ltlibobjs=
3880 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3881 # 1. Remove the extension, and $U if already installed.
3882 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3883 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3884 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3885 # will be set to the directory where LIBOBJS objects are built.
3886 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3887 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3888 done
3889 LIBOBJS=$ac_libobjs
3891 LTLIBOBJS=$ac_ltlibobjs
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
3895 $as_echo_n "checking that generated files are newer than configure... " >&6; }
3896 if test -n "$am_sleep_pid"; then
3897 # Hide warnings about reused PIDs.
3898 wait $am_sleep_pid 2>/dev/null
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
3901 $as_echo "done" >&6; }
3902 if test -n "$EXEEXT"; then
3903 am__EXEEXT_TRUE=
3904 am__EXEEXT_FALSE='#'
3905 else
3906 am__EXEEXT_TRUE='#'
3907 am__EXEEXT_FALSE=
3910 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3911 as_fn_error $? "conditional \"AMDEP\" was never defined.
3912 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3914 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3915 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
3916 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3919 : "${CONFIG_STATUS=./config.status}"
3920 ac_write_fail=0
3921 ac_clean_files_save=$ac_clean_files
3922 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3924 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3925 as_write_fail=0
3926 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3927 #! $SHELL
3928 # Generated by $as_me.
3929 # Run this file to recreate the current configuration.
3930 # Compiler output produced by configure, useful for debugging
3931 # configure, is in config.log if it exists.
3933 debug=false
3934 ac_cs_recheck=false
3935 ac_cs_silent=false
3937 SHELL=\${CONFIG_SHELL-$SHELL}
3938 export SHELL
3939 _ASEOF
3940 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3941 ## -------------------- ##
3942 ## M4sh Initialization. ##
3943 ## -------------------- ##
3945 # Be more Bourne compatible
3946 DUALCASE=1; export DUALCASE # for MKS sh
3947 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3948 emulate sh
3949 NULLCMD=:
3950 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3951 # is contrary to our usage. Disable this feature.
3952 alias -g '${1+"$@"}'='"$@"'
3953 setopt NO_GLOB_SUBST
3954 else
3955 case `(set -o) 2>/dev/null` in #(
3956 *posix*) :
3957 set -o posix ;; #(
3958 *) :
3960 esac
3964 as_nl='
3966 export as_nl
3967 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3968 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3969 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3970 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3971 # Prefer a ksh shell builtin over an external printf program on Solaris,
3972 # but without wasting forks for bash or zsh.
3973 if test -z "$BASH_VERSION$ZSH_VERSION" \
3974 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3975 as_echo='print -r --'
3976 as_echo_n='print -rn --'
3977 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3978 as_echo='printf %s\n'
3979 as_echo_n='printf %s'
3980 else
3981 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3982 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3983 as_echo_n='/usr/ucb/echo -n'
3984 else
3985 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3986 as_echo_n_body='eval
3987 arg=$1;
3988 case $arg in #(
3989 *"$as_nl"*)
3990 expr "X$arg" : "X\\(.*\\)$as_nl";
3991 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3992 esac;
3993 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3995 export as_echo_n_body
3996 as_echo_n='sh -c $as_echo_n_body as_echo'
3998 export as_echo_body
3999 as_echo='sh -c $as_echo_body as_echo'
4002 # The user is always right.
4003 if test "${PATH_SEPARATOR+set}" != set; then
4004 PATH_SEPARATOR=:
4005 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4006 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4007 PATH_SEPARATOR=';'
4012 # IFS
4013 # We need space, tab and new line, in precisely that order. Quoting is
4014 # there to prevent editors from complaining about space-tab.
4015 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4016 # splitting by setting IFS to empty value.)
4017 IFS=" "" $as_nl"
4019 # Find who we are. Look in the path if we contain no directory separator.
4020 as_myself=
4021 case $0 in #((
4022 *[\\/]* ) as_myself=$0 ;;
4023 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4024 for as_dir in $PATH
4026 IFS=$as_save_IFS
4027 test -z "$as_dir" && as_dir=.
4028 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4029 done
4030 IFS=$as_save_IFS
4033 esac
4034 # We did not find ourselves, most probably we were run as `sh COMMAND'
4035 # in which case we are not to be found in the path.
4036 if test "x$as_myself" = x; then
4037 as_myself=$0
4039 if test ! -f "$as_myself"; then
4040 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4041 exit 1
4044 # Unset variables that we do not need and which cause bugs (e.g. in
4045 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4046 # suppresses any "Segmentation fault" message there. '((' could
4047 # trigger a bug in pdksh 5.2.14.
4048 for as_var in BASH_ENV ENV MAIL MAILPATH
4049 do eval test x\${$as_var+set} = xset \
4050 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4051 done
4052 PS1='$ '
4053 PS2='> '
4054 PS4='+ '
4056 # NLS nuisances.
4057 LC_ALL=C
4058 export LC_ALL
4059 LANGUAGE=C
4060 export LANGUAGE
4062 # CDPATH.
4063 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4066 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4067 # ----------------------------------------
4068 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4069 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4070 # script with STATUS, using 1 if that was 0.
4071 as_fn_error ()
4073 as_status=$1; test $as_status -eq 0 && as_status=1
4074 if test "$4"; then
4075 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4076 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4078 $as_echo "$as_me: error: $2" >&2
4079 as_fn_exit $as_status
4080 } # as_fn_error
4083 # as_fn_set_status STATUS
4084 # -----------------------
4085 # Set $? to STATUS, without forking.
4086 as_fn_set_status ()
4088 return $1
4089 } # as_fn_set_status
4091 # as_fn_exit STATUS
4092 # -----------------
4093 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4094 as_fn_exit ()
4096 set +e
4097 as_fn_set_status $1
4098 exit $1
4099 } # as_fn_exit
4101 # as_fn_unset VAR
4102 # ---------------
4103 # Portably unset VAR.
4104 as_fn_unset ()
4106 { eval $1=; unset $1;}
4108 as_unset=as_fn_unset
4109 # as_fn_append VAR VALUE
4110 # ----------------------
4111 # Append the text in VALUE to the end of the definition contained in VAR. Take
4112 # advantage of any shell optimizations that allow amortized linear growth over
4113 # repeated appends, instead of the typical quadratic growth present in naive
4114 # implementations.
4115 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4116 eval 'as_fn_append ()
4118 eval $1+=\$2
4120 else
4121 as_fn_append ()
4123 eval $1=\$$1\$2
4125 fi # as_fn_append
4127 # as_fn_arith ARG...
4128 # ------------------
4129 # Perform arithmetic evaluation on the ARGs, and store the result in the
4130 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4131 # must be portable across $(()) and expr.
4132 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4133 eval 'as_fn_arith ()
4135 as_val=$(( $* ))
4137 else
4138 as_fn_arith ()
4140 as_val=`expr "$@" || test $? -eq 1`
4142 fi # as_fn_arith
4145 if expr a : '\(a\)' >/dev/null 2>&1 &&
4146 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4147 as_expr=expr
4148 else
4149 as_expr=false
4152 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4153 as_basename=basename
4154 else
4155 as_basename=false
4158 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4159 as_dirname=dirname
4160 else
4161 as_dirname=false
4164 as_me=`$as_basename -- "$0" ||
4165 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4166 X"$0" : 'X\(//\)$' \| \
4167 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4168 $as_echo X/"$0" |
4169 sed '/^.*\/\([^/][^/]*\)\/*$/{
4170 s//\1/
4173 /^X\/\(\/\/\)$/{
4174 s//\1/
4177 /^X\/\(\/\).*/{
4178 s//\1/
4181 s/.*/./; q'`
4183 # Avoid depending upon Character Ranges.
4184 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4185 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4186 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4187 as_cr_digits='0123456789'
4188 as_cr_alnum=$as_cr_Letters$as_cr_digits
4190 ECHO_C= ECHO_N= ECHO_T=
4191 case `echo -n x` in #(((((
4192 -n*)
4193 case `echo 'xy\c'` in
4194 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4195 xy) ECHO_C='\c';;
4196 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4197 ECHO_T=' ';;
4198 esac;;
4200 ECHO_N='-n';;
4201 esac
4203 rm -f conf$$ conf$$.exe conf$$.file
4204 if test -d conf$$.dir; then
4205 rm -f conf$$.dir/conf$$.file
4206 else
4207 rm -f conf$$.dir
4208 mkdir conf$$.dir 2>/dev/null
4210 if (echo >conf$$.file) 2>/dev/null; then
4211 if ln -s conf$$.file conf$$ 2>/dev/null; then
4212 as_ln_s='ln -s'
4213 # ... but there are two gotchas:
4214 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4215 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4216 # In both cases, we have to default to `cp -pR'.
4217 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4218 as_ln_s='cp -pR'
4219 elif ln conf$$.file conf$$ 2>/dev/null; then
4220 as_ln_s=ln
4221 else
4222 as_ln_s='cp -pR'
4224 else
4225 as_ln_s='cp -pR'
4227 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4228 rmdir conf$$.dir 2>/dev/null
4231 # as_fn_mkdir_p
4232 # -------------
4233 # Create "$as_dir" as a directory, including parents if necessary.
4234 as_fn_mkdir_p ()
4237 case $as_dir in #(
4238 -*) as_dir=./$as_dir;;
4239 esac
4240 test -d "$as_dir" || eval $as_mkdir_p || {
4241 as_dirs=
4242 while :; do
4243 case $as_dir in #(
4244 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4245 *) as_qdir=$as_dir;;
4246 esac
4247 as_dirs="'$as_qdir' $as_dirs"
4248 as_dir=`$as_dirname -- "$as_dir" ||
4249 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4250 X"$as_dir" : 'X\(//\)[^/]' \| \
4251 X"$as_dir" : 'X\(//\)$' \| \
4252 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4253 $as_echo X"$as_dir" |
4254 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4255 s//\1/
4258 /^X\(\/\/\)[^/].*/{
4259 s//\1/
4262 /^X\(\/\/\)$/{
4263 s//\1/
4266 /^X\(\/\).*/{
4267 s//\1/
4270 s/.*/./; q'`
4271 test -d "$as_dir" && break
4272 done
4273 test -z "$as_dirs" || eval "mkdir $as_dirs"
4274 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4277 } # as_fn_mkdir_p
4278 if mkdir -p . 2>/dev/null; then
4279 as_mkdir_p='mkdir -p "$as_dir"'
4280 else
4281 test -d ./-p && rmdir ./-p
4282 as_mkdir_p=false
4286 # as_fn_executable_p FILE
4287 # -----------------------
4288 # Test if FILE is an executable regular file.
4289 as_fn_executable_p ()
4291 test -f "$1" && test -x "$1"
4292 } # as_fn_executable_p
4293 as_test_x='test -x'
4294 as_executable_p=as_fn_executable_p
4296 # Sed expression to map a string onto a valid CPP name.
4297 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4299 # Sed expression to map a string onto a valid variable name.
4300 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4303 exec 6>&1
4304 ## ----------------------------------- ##
4305 ## Main body of $CONFIG_STATUS script. ##
4306 ## ----------------------------------- ##
4307 _ASEOF
4308 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4310 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4311 # Save the log message, to keep $0 and so on meaningful, and to
4312 # report actual input values of CONFIG_FILES etc. instead of their
4313 # values after options handling.
4314 ac_log="
4315 This file was extended by wmshutdown $as_me 1.3, which was
4316 generated by GNU Autoconf 2.69. Invocation command line was
4318 CONFIG_FILES = $CONFIG_FILES
4319 CONFIG_HEADERS = $CONFIG_HEADERS
4320 CONFIG_LINKS = $CONFIG_LINKS
4321 CONFIG_COMMANDS = $CONFIG_COMMANDS
4322 $ $0 $@
4324 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4327 _ACEOF
4329 case $ac_config_files in *"
4330 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4331 esac
4333 case $ac_config_headers in *"
4334 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4335 esac
4338 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4339 # Files that config.status was made for.
4340 config_files="$ac_config_files"
4341 config_headers="$ac_config_headers"
4342 config_commands="$ac_config_commands"
4344 _ACEOF
4346 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4347 ac_cs_usage="\
4348 \`$as_me' instantiates files and other configuration actions
4349 from templates according to the current configuration. Unless the files
4350 and actions are specified as TAGs, all are instantiated by default.
4352 Usage: $0 [OPTION]... [TAG]...
4354 -h, --help print this help, then exit
4355 -V, --version print version number and configuration settings, then exit
4356 --config print configuration, then exit
4357 -q, --quiet, --silent
4358 do not print progress messages
4359 -d, --debug don't remove temporary files
4360 --recheck update $as_me by reconfiguring in the same conditions
4361 --file=FILE[:TEMPLATE]
4362 instantiate the configuration file FILE
4363 --header=FILE[:TEMPLATE]
4364 instantiate the configuration header FILE
4366 Configuration files:
4367 $config_files
4369 Configuration headers:
4370 $config_headers
4372 Configuration commands:
4373 $config_commands
4375 Report bugs to <dtorrance@monmouthcollege.edu>."
4377 _ACEOF
4378 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4379 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4380 ac_cs_version="\\
4381 wmshutdown config.status 1.3
4382 configured by $0, generated by GNU Autoconf 2.69,
4383 with options \\"\$ac_cs_config\\"
4385 Copyright (C) 2012 Free Software Foundation, Inc.
4386 This config.status script is free software; the Free Software Foundation
4387 gives unlimited permission to copy, distribute and modify it."
4389 ac_pwd='$ac_pwd'
4390 srcdir='$srcdir'
4391 INSTALL='$INSTALL'
4392 MKDIR_P='$MKDIR_P'
4393 AWK='$AWK'
4394 test -n "\$AWK" || AWK=awk
4395 _ACEOF
4397 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4398 # The default lists apply if the user does not specify any file.
4399 ac_need_defaults=:
4400 while test $# != 0
4402 case $1 in
4403 --*=?*)
4404 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4405 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4406 ac_shift=:
4408 --*=)
4409 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4410 ac_optarg=
4411 ac_shift=:
4414 ac_option=$1
4415 ac_optarg=$2
4416 ac_shift=shift
4418 esac
4420 case $ac_option in
4421 # Handling of the options.
4422 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4423 ac_cs_recheck=: ;;
4424 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4425 $as_echo "$ac_cs_version"; exit ;;
4426 --config | --confi | --conf | --con | --co | --c )
4427 $as_echo "$ac_cs_config"; exit ;;
4428 --debug | --debu | --deb | --de | --d | -d )
4429 debug=: ;;
4430 --file | --fil | --fi | --f )
4431 $ac_shift
4432 case $ac_optarg in
4433 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4434 '') as_fn_error $? "missing file argument" ;;
4435 esac
4436 as_fn_append CONFIG_FILES " '$ac_optarg'"
4437 ac_need_defaults=false;;
4438 --header | --heade | --head | --hea )
4439 $ac_shift
4440 case $ac_optarg in
4441 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4442 esac
4443 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
4444 ac_need_defaults=false;;
4445 --he | --h)
4446 # Conflict between --help and --header
4447 as_fn_error $? "ambiguous option: \`$1'
4448 Try \`$0 --help' for more information.";;
4449 --help | --hel | -h )
4450 $as_echo "$ac_cs_usage"; exit ;;
4451 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4452 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4453 ac_cs_silent=: ;;
4455 # This is an error.
4456 -*) as_fn_error $? "unrecognized option: \`$1'
4457 Try \`$0 --help' for more information." ;;
4459 *) as_fn_append ac_config_targets " $1"
4460 ac_need_defaults=false ;;
4462 esac
4463 shift
4464 done
4466 ac_configure_extra_args=
4468 if $ac_cs_silent; then
4469 exec 6>/dev/null
4470 ac_configure_extra_args="$ac_configure_extra_args --silent"
4473 _ACEOF
4474 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4475 if \$ac_cs_recheck; then
4476 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4477 shift
4478 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4479 CONFIG_SHELL='$SHELL'
4480 export CONFIG_SHELL
4481 exec "\$@"
4484 _ACEOF
4485 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4486 exec 5>>config.log
4488 echo
4489 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4490 ## Running $as_me. ##
4491 _ASBOX
4492 $as_echo "$ac_log"
4493 } >&5
4495 _ACEOF
4496 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4498 # INIT-COMMANDS
4500 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4502 _ACEOF
4504 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4506 # Handling of arguments.
4507 for ac_config_target in $ac_config_targets
4509 case $ac_config_target in
4510 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4511 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4512 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4514 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4515 esac
4516 done
4519 # If the user did not use the arguments to specify the items to instantiate,
4520 # then the envvar interface is used. Set only those that are not.
4521 # We use the long form for the default assignment because of an extremely
4522 # bizarre bug on SunOS 4.1.3.
4523 if $ac_need_defaults; then
4524 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4525 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4526 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4529 # Have a temporary directory for convenience. Make it in the build tree
4530 # simply because there is no reason against having it here, and in addition,
4531 # creating and moving files from /tmp can sometimes cause problems.
4532 # Hook for its removal unless debugging.
4533 # Note that there is a small window in which the directory will not be cleaned:
4534 # after its creation but before its name has been assigned to `$tmp'.
4535 $debug ||
4537 tmp= ac_tmp=
4538 trap 'exit_status=$?
4539 : "${ac_tmp:=$tmp}"
4540 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4542 trap 'as_fn_exit 1' 1 2 13 15
4544 # Create a (secure) tmp directory for tmp files.
4547 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4548 test -d "$tmp"
4549 } ||
4551 tmp=./conf$$-$RANDOM
4552 (umask 077 && mkdir "$tmp")
4553 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4554 ac_tmp=$tmp
4556 # Set up the scripts for CONFIG_FILES section.
4557 # No need to generate them if there are no CONFIG_FILES.
4558 # This happens for instance with `./config.status config.h'.
4559 if test -n "$CONFIG_FILES"; then
4562 ac_cr=`echo X | tr X '\015'`
4563 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4564 # But we know of no other shell where ac_cr would be empty at this
4565 # point, so we can use a bashism as a fallback.
4566 if test "x$ac_cr" = x; then
4567 eval ac_cr=\$\'\\r\'
4569 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4570 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4571 ac_cs_awk_cr='\\r'
4572 else
4573 ac_cs_awk_cr=$ac_cr
4576 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4577 _ACEOF
4581 echo "cat >conf$$subs.awk <<_ACEOF" &&
4582 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4583 echo "_ACEOF"
4584 } >conf$$subs.sh ||
4585 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4586 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4587 ac_delim='%!_!# '
4588 for ac_last_try in false false false false false :; do
4589 . ./conf$$subs.sh ||
4590 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4592 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4593 if test $ac_delim_n = $ac_delim_num; then
4594 break
4595 elif $ac_last_try; then
4596 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4597 else
4598 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4600 done
4601 rm -f conf$$subs.sh
4603 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4604 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4605 _ACEOF
4606 sed -n '
4608 s/^/S["/; s/!.*/"]=/
4611 s/^[^!]*!//
4612 :repl
4613 t repl
4614 s/'"$ac_delim"'$//
4615 t delim
4618 s/\(.\{148\}\)..*/\1/
4619 t more1
4620 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4623 b repl
4624 :more1
4625 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4628 s/.\{148\}//
4629 t nl
4630 :delim
4632 s/\(.\{148\}\)..*/\1/
4633 t more2
4634 s/["\\]/\\&/g; s/^/"/; s/$/"/
4637 :more2
4638 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4641 s/.\{148\}//
4642 t delim
4643 ' <conf$$subs.awk | sed '
4644 /^[^""]/{
4646 s/\n//
4648 ' >>$CONFIG_STATUS || ac_write_fail=1
4649 rm -f conf$$subs.awk
4650 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4651 _ACAWK
4652 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4653 for (key in S) S_is_set[key] = 1
4654 FS = "\a"
4658 line = $ 0
4659 nfields = split(line, field, "@")
4660 substed = 0
4661 len = length(field[1])
4662 for (i = 2; i < nfields; i++) {
4663 key = field[i]
4664 keylen = length(key)
4665 if (S_is_set[key]) {
4666 value = S[key]
4667 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4668 len += length(value) + length(field[++i])
4669 substed = 1
4670 } else
4671 len += 1 + keylen
4674 print line
4677 _ACAWK
4678 _ACEOF
4679 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4680 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4681 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4682 else
4684 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4685 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4686 _ACEOF
4688 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4689 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4690 # trailing colons and then remove the whole line if VPATH becomes empty
4691 # (actually we leave an empty line to preserve line numbers).
4692 if test "x$srcdir" = x.; then
4693 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4695 s///
4696 s/^/:/
4697 s/[ ]*$/:/
4698 s/:\$(srcdir):/:/g
4699 s/:\${srcdir}:/:/g
4700 s/:@srcdir@:/:/g
4701 s/^:*//
4702 s/:*$//
4704 s/\(=[ ]*\).*/\1/
4706 s/\n//
4707 s/^[^=]*=[ ]*$//
4711 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4712 fi # test -n "$CONFIG_FILES"
4714 # Set up the scripts for CONFIG_HEADERS section.
4715 # No need to generate them if there are no CONFIG_HEADERS.
4716 # This happens for instance with `./config.status Makefile'.
4717 if test -n "$CONFIG_HEADERS"; then
4718 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
4719 BEGIN {
4720 _ACEOF
4722 # Transform confdefs.h into an awk script `defines.awk', embedded as
4723 # here-document in config.status, that substitutes the proper values into
4724 # config.h.in to produce config.h.
4726 # Create a delimiter string that does not exist in confdefs.h, to ease
4727 # handling of long lines.
4728 ac_delim='%!_!# '
4729 for ac_last_try in false false :; do
4730 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
4731 if test -z "$ac_tt"; then
4732 break
4733 elif $ac_last_try; then
4734 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
4735 else
4736 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4738 done
4740 # For the awk script, D is an array of macro values keyed by name,
4741 # likewise P contains macro parameters if any. Preserve backslash
4742 # newline sequences.
4744 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4745 sed -n '
4746 s/.\{148\}/&'"$ac_delim"'/g
4747 t rset
4748 :rset
4749 s/^[ ]*#[ ]*define[ ][ ]*/ /
4750 t def
4752 :def
4753 s/\\$//
4754 t bsnl
4755 s/["\\]/\\&/g
4756 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4757 D["\1"]=" \3"/p
4758 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
4760 :bsnl
4761 s/["\\]/\\&/g
4762 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4763 D["\1"]=" \3\\\\\\n"\\/p
4764 t cont
4765 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4766 t cont
4768 :cont
4770 s/.\{148\}/&'"$ac_delim"'/g
4771 t clear
4772 :clear
4773 s/\\$//
4774 t bsnlc
4775 s/["\\]/\\&/g; s/^/"/; s/$/"/p
4777 :bsnlc
4778 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4779 b cont
4780 ' <confdefs.h | sed '
4781 s/'"$ac_delim"'/"\\\
4782 "/g' >>$CONFIG_STATUS || ac_write_fail=1
4784 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4785 for (key in D) D_is_set[key] = 1
4786 FS = "\a"
4788 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4789 line = \$ 0
4790 split(line, arg, " ")
4791 if (arg[1] == "#") {
4792 defundef = arg[2]
4793 mac1 = arg[3]
4794 } else {
4795 defundef = substr(arg[1], 2)
4796 mac1 = arg[2]
4798 split(mac1, mac2, "(") #)
4799 macro = mac2[1]
4800 prefix = substr(line, 1, index(line, defundef) - 1)
4801 if (D_is_set[macro]) {
4802 # Preserve the white space surrounding the "#".
4803 print prefix "define", macro P[macro] D[macro]
4804 next
4805 } else {
4806 # Replace #undef with comments. This is necessary, for example,
4807 # in the case of _POSIX_SOURCE, which is predefined and required
4808 # on some systems where configure will not decide to define it.
4809 if (defundef == "undef") {
4810 print "/*", prefix defundef, macro, "*/"
4811 next
4815 { print }
4816 _ACAWK
4817 _ACEOF
4818 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4819 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
4820 fi # test -n "$CONFIG_HEADERS"
4823 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
4824 shift
4825 for ac_tag
4827 case $ac_tag in
4828 :[FHLC]) ac_mode=$ac_tag; continue;;
4829 esac
4830 case $ac_mode$ac_tag in
4831 :[FHL]*:*);;
4832 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4833 :[FH]-) ac_tag=-:-;;
4834 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4835 esac
4836 ac_save_IFS=$IFS
4837 IFS=:
4838 set x $ac_tag
4839 IFS=$ac_save_IFS
4840 shift
4841 ac_file=$1
4842 shift
4844 case $ac_mode in
4845 :L) ac_source=$1;;
4846 :[FH])
4847 ac_file_inputs=
4848 for ac_f
4850 case $ac_f in
4851 -) ac_f="$ac_tmp/stdin";;
4852 *) # Look for the file first in the build tree, then in the source tree
4853 # (if the path is not absolute). The absolute path cannot be DOS-style,
4854 # because $ac_f cannot contain `:'.
4855 test -f "$ac_f" ||
4856 case $ac_f in
4857 [\\/$]*) false;;
4858 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4859 esac ||
4860 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4861 esac
4862 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4863 as_fn_append ac_file_inputs " '$ac_f'"
4864 done
4866 # Let's still pretend it is `configure' which instantiates (i.e., don't
4867 # use $as_me), people would be surprised to read:
4868 # /* config.h. Generated by config.status. */
4869 configure_input='Generated from '`
4870 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4871 `' by configure.'
4872 if test x"$ac_file" != x-; then
4873 configure_input="$ac_file. $configure_input"
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4875 $as_echo "$as_me: creating $ac_file" >&6;}
4877 # Neutralize special characters interpreted by sed in replacement strings.
4878 case $configure_input in #(
4879 *\&* | *\|* | *\\* )
4880 ac_sed_conf_input=`$as_echo "$configure_input" |
4881 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4882 *) ac_sed_conf_input=$configure_input;;
4883 esac
4885 case $ac_tag in
4886 *:-:* | *:-) cat >"$ac_tmp/stdin" \
4887 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4888 esac
4890 esac
4892 ac_dir=`$as_dirname -- "$ac_file" ||
4893 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4894 X"$ac_file" : 'X\(//\)[^/]' \| \
4895 X"$ac_file" : 'X\(//\)$' \| \
4896 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4897 $as_echo X"$ac_file" |
4898 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4899 s//\1/
4902 /^X\(\/\/\)[^/].*/{
4903 s//\1/
4906 /^X\(\/\/\)$/{
4907 s//\1/
4910 /^X\(\/\).*/{
4911 s//\1/
4914 s/.*/./; q'`
4915 as_dir="$ac_dir"; as_fn_mkdir_p
4916 ac_builddir=.
4918 case "$ac_dir" in
4919 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4921 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4922 # A ".." for each directory in $ac_dir_suffix.
4923 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4924 case $ac_top_builddir_sub in
4925 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4926 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4927 esac ;;
4928 esac
4929 ac_abs_top_builddir=$ac_pwd
4930 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4931 # for backward compatibility:
4932 ac_top_builddir=$ac_top_build_prefix
4934 case $srcdir in
4935 .) # We are building in place.
4936 ac_srcdir=.
4937 ac_top_srcdir=$ac_top_builddir_sub
4938 ac_abs_top_srcdir=$ac_pwd ;;
4939 [\\/]* | ?:[\\/]* ) # Absolute name.
4940 ac_srcdir=$srcdir$ac_dir_suffix;
4941 ac_top_srcdir=$srcdir
4942 ac_abs_top_srcdir=$srcdir ;;
4943 *) # Relative name.
4944 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4945 ac_top_srcdir=$ac_top_build_prefix$srcdir
4946 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4947 esac
4948 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4951 case $ac_mode in
4954 # CONFIG_FILE
4957 case $INSTALL in
4958 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4959 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4960 esac
4961 ac_MKDIR_P=$MKDIR_P
4962 case $MKDIR_P in
4963 [\\/$]* | ?:[\\/]* ) ;;
4964 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
4965 esac
4966 _ACEOF
4968 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4969 # If the template does not know about datarootdir, expand it.
4970 # FIXME: This hack should be removed a few years after 2.60.
4971 ac_datarootdir_hack=; ac_datarootdir_seen=
4972 ac_sed_dataroot='
4973 /datarootdir/ {
4977 /@datadir@/p
4978 /@docdir@/p
4979 /@infodir@/p
4980 /@localedir@/p
4981 /@mandir@/p'
4982 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4983 *datarootdir*) ac_datarootdir_seen=yes;;
4984 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4986 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4987 _ACEOF
4988 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4989 ac_datarootdir_hack='
4990 s&@datadir@&$datadir&g
4991 s&@docdir@&$docdir&g
4992 s&@infodir@&$infodir&g
4993 s&@localedir@&$localedir&g
4994 s&@mandir@&$mandir&g
4995 s&\\\${datarootdir}&$datarootdir&g' ;;
4996 esac
4997 _ACEOF
4999 # Neutralize VPATH when `$srcdir' = `.'.
5000 # Shell code in configure.ac might set extrasub.
5001 # FIXME: do we really want to maintain this feature?
5002 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5003 ac_sed_extra="$ac_vpsub
5004 $extrasub
5005 _ACEOF
5006 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5008 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5009 s|@configure_input@|$ac_sed_conf_input|;t t
5010 s&@top_builddir@&$ac_top_builddir_sub&;t t
5011 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5012 s&@srcdir@&$ac_srcdir&;t t
5013 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5014 s&@top_srcdir@&$ac_top_srcdir&;t t
5015 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5016 s&@builddir@&$ac_builddir&;t t
5017 s&@abs_builddir@&$ac_abs_builddir&;t t
5018 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5019 s&@INSTALL@&$ac_INSTALL&;t t
5020 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5021 $ac_datarootdir_hack
5023 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5024 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5026 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5027 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5028 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5029 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5031 which seems to be undefined. Please make sure it is defined" >&5
5032 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5033 which seems to be undefined. Please make sure it is defined" >&2;}
5035 rm -f "$ac_tmp/stdin"
5036 case $ac_file in
5037 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5038 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5039 esac \
5040 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5044 # CONFIG_HEADER
5046 if test x"$ac_file" != x-; then
5048 $as_echo "/* $configure_input */" \
5049 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5050 } >"$ac_tmp/config.h" \
5051 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5052 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5054 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5055 else
5056 rm -f "$ac_file"
5057 mv "$ac_tmp/config.h" "$ac_file" \
5058 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5060 else
5061 $as_echo "/* $configure_input */" \
5062 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5063 || as_fn_error $? "could not create -" "$LINENO" 5
5065 # Compute "$ac_file"'s index in $config_headers.
5066 _am_arg="$ac_file"
5067 _am_stamp_count=1
5068 for _am_header in $config_headers :; do
5069 case $_am_header in
5070 $_am_arg | $_am_arg:* )
5071 break ;;
5073 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5074 esac
5075 done
5076 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
5077 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5078 X"$_am_arg" : 'X\(//\)[^/]' \| \
5079 X"$_am_arg" : 'X\(//\)$' \| \
5080 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
5081 $as_echo X"$_am_arg" |
5082 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5083 s//\1/
5086 /^X\(\/\/\)[^/].*/{
5087 s//\1/
5090 /^X\(\/\/\)$/{
5091 s//\1/
5094 /^X\(\/\).*/{
5095 s//\1/
5098 s/.*/./; q'`/stamp-h$_am_stamp_count
5101 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5102 $as_echo "$as_me: executing $ac_file commands" >&6;}
5104 esac
5107 case $ac_file$ac_mode in
5108 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5109 # Older Autoconf quotes --file arguments for eval, but not when files
5110 # are listed without --file. Let's play safe and only enable the eval
5111 # if we detect the quoting.
5112 case $CONFIG_FILES in
5113 *\'*) eval set x "$CONFIG_FILES" ;;
5114 *) set x $CONFIG_FILES ;;
5115 esac
5116 shift
5117 for mf
5119 # Strip MF so we end up with the name of the file.
5120 mf=`echo "$mf" | sed -e 's/:.*$//'`
5121 # Check whether this is an Automake generated Makefile or not.
5122 # We used to match only the files named 'Makefile.in', but
5123 # some people rename them; so instead we look at the file content.
5124 # Grep'ing the first line is not enough: some people post-process
5125 # each Makefile.in and add a new line on top of each file to say so.
5126 # Grep'ing the whole file is not good either: AIX grep has a line
5127 # limit of 2048, but all sed's we know have understand at least 4000.
5128 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5129 dirpart=`$as_dirname -- "$mf" ||
5130 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5131 X"$mf" : 'X\(//\)[^/]' \| \
5132 X"$mf" : 'X\(//\)$' \| \
5133 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5134 $as_echo X"$mf" |
5135 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5136 s//\1/
5139 /^X\(\/\/\)[^/].*/{
5140 s//\1/
5143 /^X\(\/\/\)$/{
5144 s//\1/
5147 /^X\(\/\).*/{
5148 s//\1/
5151 s/.*/./; q'`
5152 else
5153 continue
5155 # Extract the definition of DEPDIR, am__include, and am__quote
5156 # from the Makefile without running 'make'.
5157 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5158 test -z "$DEPDIR" && continue
5159 am__include=`sed -n 's/^am__include = //p' < "$mf"`
5160 test -z "$am__include" && continue
5161 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5162 # Find all dependency output files, they are included files with
5163 # $(DEPDIR) in their names. We invoke sed twice because it is the
5164 # simplest approach to changing $(DEPDIR) to its actual value in the
5165 # expansion.
5166 for file in `sed -n "
5167 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5168 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
5169 # Make sure the directory exists.
5170 test -f "$dirpart/$file" && continue
5171 fdir=`$as_dirname -- "$file" ||
5172 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5173 X"$file" : 'X\(//\)[^/]' \| \
5174 X"$file" : 'X\(//\)$' \| \
5175 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5176 $as_echo X"$file" |
5177 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5178 s//\1/
5181 /^X\(\/\/\)[^/].*/{
5182 s//\1/
5185 /^X\(\/\/\)$/{
5186 s//\1/
5189 /^X\(\/\).*/{
5190 s//\1/
5193 s/.*/./; q'`
5194 as_dir=$dirpart/$fdir; as_fn_mkdir_p
5195 # echo "creating $dirpart/$file"
5196 echo '# dummy' > "$dirpart/$file"
5197 done
5198 done
5202 esac
5203 done # for ac_tag
5206 as_fn_exit 0
5207 _ACEOF
5208 ac_clean_files=$ac_clean_files_save
5210 test $ac_write_fail = 0 ||
5211 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5214 # configure is writing to config.log, and then calls config.status.
5215 # config.status does its own redirection, appending to config.log.
5216 # Unfortunately, on DOS this fails, as config.log is still kept open
5217 # by configure, so config.status won't be able to write to it; its
5218 # output is simply discarded. So we exec the FD to /dev/null,
5219 # effectively closing config.log, so it can be properly (re)opened and
5220 # appended to by config.status. When coming back to configure, we
5221 # need to make the FD available again.
5222 if test "$no_create" != yes; then
5223 ac_cs_success=:
5224 ac_config_status_args=
5225 test "$silent" = yes &&
5226 ac_config_status_args="$ac_config_status_args --quiet"
5227 exec 5>/dev/null
5228 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5229 exec 5>>config.log
5230 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5231 # would make configure fail if this is the last instruction.
5232 $ac_cs_success || as_fn_exit 1
5234 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5236 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}