Debian Codegraph @

configure

raw
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for MultiSSH 2.1.
4 #
5 # Report bugs to <[email protected]>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
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 ## -------------------- ##
16
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 *) :
31 ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
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"
66 '
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
69 fi
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
72 fi
73
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=';'
80 }
81 fi
82
83
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"
90
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
97 do
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
103
104 ;;
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
110 fi
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
114 fi
115
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='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
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
159 fi
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 *) :
175 ;;
176 esac
177 fi
178 "
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; }
184
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 :
191
192 else
193 exitcode=1; echo positional parameters were not saved.
194 fi
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
205 fi
206 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
207
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
212 do
213 IFS=$as_save_IFS
214 test -z "$as_dir" && as_dir=.
215 as_found=:
216 case $as_dir in #(
217 /*)
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
226 fi
227 fi
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
237
238
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
259 fi
260
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 [email protected] and [email protected]
269 $0: about your system, including any error possibly output
270 $0: before this message. Then install a modern shell, or
271 $0: manually run the script under such a shell if you do
272 $0: have one."
273 fi
274 exit 1
275 fi
276 fi
277 fi
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
283
284 ## --------------------- ##
285 ## M4sh Shell Functions. ##
286 ## --------------------- ##
287 # as_fn_unset VAR
288 # ---------------
289 # Portably unset VAR.
290 as_fn_unset ()
291 {
292 { eval $1=; unset $1;}
293 }
294 as_unset=as_fn_unset
295
296 # as_fn_set_status STATUS
297 # -----------------------
298 # Set $? to STATUS, without forking.
299 as_fn_set_status ()
300 {
301 return $1
302 } # as_fn_set_status
303
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 ()
308 {
309 set +e
310 as_fn_set_status $1
311 exit $1
312 } # as_fn_exit
313
314 # as_fn_mkdir_p
315 # -------------
316 # Create "$as_dir" as a directory, including parents if necessary.
317 as_fn_mkdir_p ()
318 {
319
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/
339 q
340 }
341 /^X\(\/\/\)[^/].*/{
342 s//\1/
343 q
344 }
345 /^X\(\/\/\)$/{
346 s//\1/
347 q
348 }
349 /^X\(\/\).*/{
350 s//\1/
351 q
352 }
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"
358
359
360 } # as_fn_mkdir_p
361
362 # as_fn_executable_p FILE
363 # -----------------------
364 # Test if FILE is an executable regular file.
365 as_fn_executable_p ()
366 {
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 ()
377 {
378 eval $1+=\$2
379 }'
380 else
381 as_fn_append ()
382 {
383 eval $1=\$$1\$2
384 }
385 fi # as_fn_append
386
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 ()
394 {
395 as_val=$(( $* ))
396 }'
397 else
398 as_fn_arith ()
399 {
400 as_val=`expr "$@" || test $? -eq 1`
401 }
402 fi # as_fn_arith
403
404
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 ()
411 {
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
416 fi
417 $as_echo "$as_me: error: $2" >&2
418 as_fn_exit $as_status
419 } # as_fn_error
420
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
426 fi
427
428 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
429 as_basename=basename
430 else
431 as_basename=false
432 fi
433
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
438 fi
439
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/
447 q
448 }
449 /^X\/\(\/\/\)$/{
450 s//\1/
451 q
452 }
453 /^X\/\(\/\).*/{
454 s//\1/
455 q
456 }
457 s/.*/./; q'`
458
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
465
466
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 '
473 p
474 /[$]LINENO/=
475 ' <$as_myself |
476 sed '
477 s/[$]LINENO.*/&-/
478 t lineno
479 b
480 :lineno
481 N
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; }
489
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
500 }
501
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;;
511 *)
512 ECHO_N='-n';;
513 esac
514
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
521 fi
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'
535 fi
536 else
537 as_ln_s='cp -pR'
538 fi
539 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
540 rmdir conf$$.dir 2>/dev/null
541
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
547 fi
548
549 as_test_x='test -x'
550 as_executable_p=as_fn_executable_p
551
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'"
554
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'"
557
558
559 test -n "$DJDIR" || exec 7<&0 </dev/null
560 exec 6>&1
561
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`
566
567 #
568 # Initializations.
569 #
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=
578
579 # Identity of this package.
580 PACKAGE_NAME='MultiSSH'
581 PACKAGE_TARNAME='mssh'
582 PACKAGE_VERSION='2.1'
583 PACKAGE_STRING='MultiSSH 2.1'
584 PACKAGE_BUGREPORT='[email protected]'
585 PACKAGE_URL=''
586
587 ac_subst_vars='am__EXEEXT_FALSE
588 am__EXEEXT_TRUE
589 LTLIBOBJS
590 LIBOBJS
591 GCONF_SCHEMAS_INSTALL_FALSE
592 GCONF_SCHEMAS_INSTALL_TRUE
593 GCONF_SCHEMA_FILE_DIR
594 GCONF_SCHEMA_CONFIG_SOURCE
595 GCONFTOOL
596 MSSH_LIBS
597 MSSH_CFLAGS
598 PKG_CONFIG_LIBDIR
599 PKG_CONFIG_PATH
600 PKG_CONFIG
601 DATADIRNAME
602 am__fastdepCC_FALSE
603 am__fastdepCC_TRUE
604 CCDEPMODE
605 am__nodep
606 AMDEPBACKSLASH
607 AMDEP_FALSE
608 AMDEP_TRUE
609 am__quote
610 am__include
611 DEPDIR
612 OBJEXT
613 EXEEXT
614 ac_ct_CC
615 CPPFLAGS
616 LDFLAGS
617 CFLAGS
618 CC
619 ALL_LINGUAS
620 INTLTOOL_PERL
621 GMSGFMT
622 MSGFMT
623 MSGMERGE
624 XGETTEXT
625 INTLTOOL_POLICY_RULE
626 INTLTOOL_SERVICE_RULE
627 INTLTOOL_THEME_RULE
628 INTLTOOL_SCHEMAS_RULE
629 INTLTOOL_CAVES_RULE
630 INTLTOOL_XML_NOMERGE_RULE
631 INTLTOOL_XML_RULE
632 INTLTOOL_KBD_RULE
633 INTLTOOL_XAM_RULE
634 INTLTOOL_UI_RULE
635 INTLTOOL_SOUNDLIST_RULE
636 INTLTOOL_SHEET_RULE
637 INTLTOOL_SERVER_RULE
638 INTLTOOL_PONG_RULE
639 INTLTOOL_OAF_RULE
640 INTLTOOL_PROP_RULE
641 INTLTOOL_KEYS_RULE
642 INTLTOOL_DIRECTORY_RULE
643 INTLTOOL_DESKTOP_RULE
644 intltool__v_merge_options_0
645 intltool__v_merge_options_
646 INTLTOOL_V_MERGE_OPTIONS
647 INTLTOOL__v_MERGE_0
648 INTLTOOL__v_MERGE_
649 INTLTOOL_V_MERGE
650 INTLTOOL_EXTRACT
651 INTLTOOL_MERGE
652 INTLTOOL_UPDATE
653 USE_NLS
654 GETTEXT_PACKAGE
655 AM_BACKSLASH
656 AM_DEFAULT_VERBOSITY
657 AM_DEFAULT_V
658 AM_V
659 am__untar
660 am__tar
661 AMTAR
662 am__leading_dot
663 SET_MAKE
664 AWK
665 mkdir_p
666 MKDIR_P
667 INSTALL_STRIP_PROGRAM
668 STRIP
669 install_sh
670 MAKEINFO
671 AUTOHEADER
672 AUTOMAKE
673 AUTOCONF
674 ACLOCAL
675 VERSION
676 PACKAGE
677 CYGPATH_W
678 am__isrc
679 INSTALL_DATA
680 INSTALL_SCRIPT
681 INSTALL_PROGRAM
682 target_alias
683 host_alias
684 build_alias
685 LIBS
686 ECHO_T
687 ECHO_N
688 ECHO_C
689 DEFS
690 mandir
691 localedir
692 libdir
693 psdir
694 pdfdir
695 dvidir
696 htmldir
697 infodir
698 docdir
699 oldincludedir
700 includedir
701 localstatedir
702 sharedstatedir
703 sysconfdir
704 datadir
705 datarootdir
706 libexecdir
707 sbindir
708 bindir
709 program_transform_name
710 prefix
711 exec_prefix
712 PACKAGE_URL
713 PACKAGE_BUGREPORT
714 PACKAGE_STRING
715 PACKAGE_VERSION
716 PACKAGE_TARNAME
717 PACKAGE_NAME
718 PATH_SEPARATOR
719 SHELL'
720 ac_subst_files=''
721 ac_user_opts='
722 enable_option_checking
723 enable_silent_rules
724 enable_nls
725 enable_dependency_tracking
726 with_gconf_source
727 with_gconf_schema_file_dir
728 enable_schemas_install
729 '
730 ac_precious_vars='build_alias
731 host_alias
732 target_alias
733 CC
734 CFLAGS
735 LDFLAGS
736 LIBS
737 CPPFLAGS
738 PKG_CONFIG
739 PKG_CONFIG_PATH
740 PKG_CONFIG_LIBDIR
741 MSSH_CFLAGS
742 MSSH_LIBS'
743
744
745 # Initialize some variables set by options.
746 ac_init_help=
747 ac_init_version=false
748 ac_unrecognized_opts=
749 ac_unrecognized_sep=
750 # The variables have the same names as the options, with
751 # dashes changed to underlines.
752 cache_file=/dev/null
753 exec_prefix=NONE
754 no_create=
755 no_recursion=
756 prefix=NONE
757 program_prefix=NONE
758 program_suffix=NONE
759 program_transform_name=s,x,x,
760 silent=
761 site=
762 srcdir=
763 verbose=
764 x_includes=NONE
765 x_libraries=NONE
766
767 # Installation directory options.
768 # These are left unexpanded so users can "make install exec_prefix=/foo"
769 # and all the variables that are supposed to be based on exec_prefix
770 # by default will actually change.
771 # Use braces instead of parens because sh, perl, etc. also accept them.
772 # (The list follows the same order as the GNU Coding Standards.)
773 bindir='${exec_prefix}/bin'
774 sbindir='${exec_prefix}/sbin'
775 libexecdir='${exec_prefix}/libexec'
776 datarootdir='${prefix}/share'
777 datadir='${datarootdir}'
778 sysconfdir='${prefix}/etc'
779 sharedstatedir='${prefix}/com'
780 localstatedir='${prefix}/var'
781 includedir='${prefix}/include'
782 oldincludedir='/usr/include'
783 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
784 infodir='${datarootdir}/info'
785 htmldir='${docdir}'
786 dvidir='${docdir}'
787 pdfdir='${docdir}'
788 psdir='${docdir}'
789 libdir='${exec_prefix}/lib'
790 localedir='${datarootdir}/locale'
791 mandir='${datarootdir}/man'
792
793 ac_prev=
794 ac_dashdash=
795 for ac_option
796 do
797 # If the previous option needs an argument, assign it.
798 if test -n "$ac_prev"; then
799 eval $ac_prev=\$ac_option
800 ac_prev=
801 continue
802 fi
803
804 case $ac_option in
805 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
806 *=) ac_optarg= ;;
807 *) ac_optarg=yes ;;
808 esac
809
810 # Accept the important Cygnus configure options, so we can diagnose typos.
811
812 case $ac_dashdash$ac_option in
813 --)
814 ac_dashdash=yes ;;
815
816 -bindir | --bindir | --bindi | --bind | --bin | --bi)
817 ac_prev=bindir ;;
818 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
819 bindir=$ac_optarg ;;
820
821 -build | --build | --buil | --bui | --bu)
822 ac_prev=build_alias ;;
823 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
824 build_alias=$ac_optarg ;;
825
826 -cache-file | --cache-file | --cache-fil | --cache-fi \
827 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
828 ac_prev=cache_file ;;
829 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
830 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
831 cache_file=$ac_optarg ;;
832
833 --config-cache | -C)
834 cache_file=config.cache ;;
835
836 -datadir | --datadir | --datadi | --datad)
837 ac_prev=datadir ;;
838 -datadir=* | --datadir=* | --datadi=* | --datad=*)
839 datadir=$ac_optarg ;;
840
841 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
842 | --dataroo | --dataro | --datar)
843 ac_prev=datarootdir ;;
844 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
845 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
846 datarootdir=$ac_optarg ;;
847
848 -disable-* | --disable-*)
849 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
850 # Reject names that are not valid shell variable names.
851 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
852 as_fn_error $? "invalid feature name: $ac_useropt"
853 ac_useropt_orig=$ac_useropt
854 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
855 case $ac_user_opts in
856 *"
857 "enable_$ac_useropt"
858 "*) ;;
859 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
860 ac_unrecognized_sep=', ';;
861 esac
862 eval enable_$ac_useropt=no ;;
863
864 -docdir | --docdir | --docdi | --doc | --do)
865 ac_prev=docdir ;;
866 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
867 docdir=$ac_optarg ;;
868
869 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
870 ac_prev=dvidir ;;
871 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
872 dvidir=$ac_optarg ;;
873
874 -enable-* | --enable-*)
875 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
876 # Reject names that are not valid shell variable names.
877 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
878 as_fn_error $? "invalid feature name: $ac_useropt"
879 ac_useropt_orig=$ac_useropt
880 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
881 case $ac_user_opts in
882 *"
883 "enable_$ac_useropt"
884 "*) ;;
885 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
886 ac_unrecognized_sep=', ';;
887 esac
888 eval enable_$ac_useropt=\$ac_optarg ;;
889
890 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
891 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
892 | --exec | --exe | --ex)
893 ac_prev=exec_prefix ;;
894 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
895 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
896 | --exec=* | --exe=* | --ex=*)
897 exec_prefix=$ac_optarg ;;
898
899 -gas | --gas | --ga | --g)
900 # Obsolete; use --with-gas.
901 with_gas=yes ;;
902
903 -help | --help | --hel | --he | -h)
904 ac_init_help=long ;;
905 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
906 ac_init_help=recursive ;;
907 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
908 ac_init_help=short ;;
909
910 -host | --host | --hos | --ho)
911 ac_prev=host_alias ;;
912 -host=* | --host=* | --hos=* | --ho=*)
913 host_alias=$ac_optarg ;;
914
915 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
916 ac_prev=htmldir ;;
917 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
918 | --ht=*)
919 htmldir=$ac_optarg ;;
920
921 -includedir | --includedir | --includedi | --included | --include \
922 | --includ | --inclu | --incl | --inc)
923 ac_prev=includedir ;;
924 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
925 | --includ=* | --inclu=* | --incl=* | --inc=*)
926 includedir=$ac_optarg ;;
927
928 -infodir | --infodir | --infodi | --infod | --info | --inf)
929 ac_prev=infodir ;;
930 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
931 infodir=$ac_optarg ;;
932
933 -libdir | --libdir | --libdi | --libd)
934 ac_prev=libdir ;;
935 -libdir=* | --libdir=* | --libdi=* | --libd=*)
936 libdir=$ac_optarg ;;
937
938 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
939 | --libexe | --libex | --libe)
940 ac_prev=libexecdir ;;
941 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
942 | --libexe=* | --libex=* | --libe=*)
943 libexecdir=$ac_optarg ;;
944
945 -localedir | --localedir | --localedi | --localed | --locale)
946 ac_prev=localedir ;;
947 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
948 localedir=$ac_optarg ;;
949
950 -localstatedir | --localstatedir | --localstatedi | --localstated \
951 | --localstate | --localstat | --localsta | --localst | --locals)
952 ac_prev=localstatedir ;;
953 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
954 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
955 localstatedir=$ac_optarg ;;
956
957 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
958 ac_prev=mandir ;;
959 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
960 mandir=$ac_optarg ;;
961
962 -nfp | --nfp | --nf)
963 # Obsolete; use --without-fp.
964 with_fp=no ;;
965
966 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
967 | --no-cr | --no-c | -n)
968 no_create=yes ;;
969
970 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
971 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
972 no_recursion=yes ;;
973
974 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
975 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
976 | --oldin | --oldi | --old | --ol | --o)
977 ac_prev=oldincludedir ;;
978 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
979 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
980 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
981 oldincludedir=$ac_optarg ;;
982
983 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
984 ac_prev=prefix ;;
985 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
986 prefix=$ac_optarg ;;
987
988 -program-prefix | --program-prefix | --program-prefi | --program-pref \
989 | --program-pre | --program-pr | --program-p)
990 ac_prev=program_prefix ;;
991 -program-prefix=* | --program-prefix=* | --program-prefi=* \
992 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
993 program_prefix=$ac_optarg ;;
994
995 -program-suffix | --program-suffix | --program-suffi | --program-suff \
996 | --program-suf | --program-su | --program-s)
997 ac_prev=program_suffix ;;
998 -program-suffix=* | --program-suffix=* | --program-suffi=* \
999 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1000 program_suffix=$ac_optarg ;;
1001
1002 -program-transform-name | --program-transform-name \
1003 | --program-transform-nam | --program-transform-na \
1004 | --program-transform-n | --program-transform- \
1005 | --program-transform | --program-transfor \
1006 | --program-transfo | --program-transf \
1007 | --program-trans | --program-tran \
1008 | --progr-tra | --program-tr | --program-t)
1009 ac_prev=program_transform_name ;;
1010 -program-transform-name=* | --program-transform-name=* \
1011 | --program-transform-nam=* | --program-transform-na=* \
1012 | --program-transform-n=* | --program-transform-=* \
1013 | --program-transform=* | --program-transfor=* \
1014 | --program-transfo=* | --program-transf=* \
1015 | --program-trans=* | --program-tran=* \
1016 | --progr-tra=* | --program-tr=* | --program-t=*)
1017 program_transform_name=$ac_optarg ;;
1018
1019 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1020 ac_prev=pdfdir ;;
1021 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1022 pdfdir=$ac_optarg ;;
1023
1024 -psdir | --psdir | --psdi | --psd | --ps)
1025 ac_prev=psdir ;;
1026 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1027 psdir=$ac_optarg ;;
1028
1029 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1030 | -silent | --silent | --silen | --sile | --sil)
1031 silent=yes ;;
1032
1033 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1034 ac_prev=sbindir ;;
1035 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1036 | --sbi=* | --sb=*)
1037 sbindir=$ac_optarg ;;
1038
1039 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1040 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1041 | --sharedst | --shareds | --shared | --share | --shar \
1042 | --sha | --sh)
1043 ac_prev=sharedstatedir ;;
1044 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1045 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1046 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1047 | --sha=* | --sh=*)
1048 sharedstatedir=$ac_optarg ;;
1049
1050 -site | --site | --sit)
1051 ac_prev=site ;;
1052 -site=* | --site=* | --sit=*)
1053 site=$ac_optarg ;;
1054
1055 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1056 ac_prev=srcdir ;;
1057 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1058 srcdir=$ac_optarg ;;
1059
1060 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1061 | --syscon | --sysco | --sysc | --sys | --sy)
1062 ac_prev=sysconfdir ;;
1063 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1064 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1065 sysconfdir=$ac_optarg ;;
1066
1067 -target | --target | --targe | --targ | --tar | --ta | --t)
1068 ac_prev=target_alias ;;
1069 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1070 target_alias=$ac_optarg ;;
1071
1072 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1073 verbose=yes ;;
1074
1075 -version | --version | --versio | --versi | --vers | -V)
1076 ac_init_version=: ;;
1077
1078 -with-* | --with-*)
1079 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1080 # Reject names that are not valid shell variable names.
1081 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1082 as_fn_error $? "invalid package name: $ac_useropt"
1083 ac_useropt_orig=$ac_useropt
1084 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1085 case $ac_user_opts in
1086 *"
1087 "with_$ac_useropt"
1088 "*) ;;
1089 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1090 ac_unrecognized_sep=', ';;
1091 esac
1092 eval with_$ac_useropt=\$ac_optarg ;;
1093
1094 -without-* | --without-*)
1095 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1096 # Reject names that are not valid shell variable names.
1097 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1098 as_fn_error $? "invalid package name: $ac_useropt"
1099 ac_useropt_orig=$ac_useropt
1100 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1101 case $ac_user_opts in
1102 *"
1103 "with_$ac_useropt"
1104 "*) ;;
1105 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1106 ac_unrecognized_sep=', ';;
1107 esac
1108 eval with_$ac_useropt=no ;;
1109
1110 --x)
1111 # Obsolete; use --with-x.
1112 with_x=yes ;;
1113
1114 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1115 | --x-incl | --x-inc | --x-in | --x-i)
1116 ac_prev=x_includes ;;
1117 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1118 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1119 x_includes=$ac_optarg ;;
1120
1121 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1122 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1123 ac_prev=x_libraries ;;
1124 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1125 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1126 x_libraries=$ac_optarg ;;
1127
1128 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1129 Try \`$0 --help' for more information"
1130 ;;
1131
1132 *=*)
1133 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1134 # Reject names that are not valid shell variable names.
1135 case $ac_envvar in #(
1136 '' | [0-9]* | *[!_$as_cr_alnum]* )
1137 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1138 esac
1139 eval $ac_envvar=\$ac_optarg
1140 export $ac_envvar ;;
1141
1142 *)
1143 # FIXME: should be removed in autoconf 3.0.
1144 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1145 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1146 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1147 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1148 ;;
1149
1150 esac
1151 done
1152
1153 if test -n "$ac_prev"; then
1154 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1155 as_fn_error $? "missing argument to $ac_option"
1156 fi
1157
1158 if test -n "$ac_unrecognized_opts"; then
1159 case $enable_option_checking in
1160 no) ;;
1161 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1162 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1163 esac
1164 fi
1165
1166 # Check all directory arguments for consistency.
1167 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1168 datadir sysconfdir sharedstatedir localstatedir includedir \
1169 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1170 libdir localedir mandir
1171 do
1172 eval ac_val=\$$ac_var
1173 # Remove trailing slashes.
1174 case $ac_val in
1175 */ )
1176 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1177 eval $ac_var=\$ac_val;;
1178 esac
1179 # Be sure to have absolute directory names.
1180 case $ac_val in
1181 [\\/$]* | ?:[\\/]* ) continue;;
1182 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1183 esac
1184 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1185 done
1186
1187 # There might be people who depend on the old broken behavior: `$host'
1188 # used to hold the argument of --host etc.
1189 # FIXME: To remove some day.
1190 build=$build_alias
1191 host=$host_alias
1192 target=$target_alias
1193
1194 # FIXME: To remove some day.
1195 if test "x$host_alias" != x; then
1196 if test "x$build_alias" = x; then
1197 cross_compiling=maybe
1198 elif test "x$build_alias" != "x$host_alias"; then
1199 cross_compiling=yes
1200 fi
1201 fi
1202
1203 ac_tool_prefix=
1204 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1205
1206 test "$silent" = yes && exec 6>/dev/null
1207
1208
1209 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1210 ac_ls_di=`ls -di .` &&
1211 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1212 as_fn_error $? "working directory cannot be determined"
1213 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1214 as_fn_error $? "pwd does not report name of working directory"
1215
1216
1217 # Find the source files, if location was not specified.
1218 if test -z "$srcdir"; then
1219 ac_srcdir_defaulted=yes
1220 # Try the directory containing this script, then the parent directory.
1221 ac_confdir=`$as_dirname -- "$as_myself" ||
1222 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1223 X"$as_myself" : 'X\(//\)[^/]' \| \
1224 X"$as_myself" : 'X\(//\)$' \| \
1225 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1226 $as_echo X"$as_myself" |
1227 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1228 s//\1/
1229 q
1230 }
1231 /^X\(\/\/\)[^/].*/{
1232 s//\1/
1233 q
1234 }
1235 /^X\(\/\/\)$/{
1236 s//\1/
1237 q
1238 }
1239 /^X\(\/\).*/{
1240 s//\1/
1241 q
1242 }
1243 s/.*/./; q'`
1244 srcdir=$ac_confdir
1245 if test ! -r "$srcdir/$ac_unique_file"; then
1246 srcdir=..
1247 fi
1248 else
1249 ac_srcdir_defaulted=no
1250 fi
1251 if test ! -r "$srcdir/$ac_unique_file"; then
1252 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1253 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1254 fi
1255 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1256 ac_abs_confdir=`(
1257 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1258 pwd)`
1259 # When building in place, set srcdir=.
1260 if test "$ac_abs_confdir" = "$ac_pwd"; then
1261 srcdir=.
1262 fi
1263 # Remove unnecessary trailing slashes from srcdir.
1264 # Double slashes in file names in object file debugging info
1265 # mess up M-x gdb in Emacs.
1266 case $srcdir in
1267 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1268 esac
1269 for ac_var in $ac_precious_vars; do
1270 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1271 eval ac_env_${ac_var}_value=\$${ac_var}
1272 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1273 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1274 done
1275
1276 #
1277 # Report the --help message.
1278 #
1279 if test "$ac_init_help" = "long"; then
1280 # Omit some internal or obsolete options to make the list less imposing.
1281 # This message is too long to be a string in the A/UX 3.1 sh.
1282 cat <<_ACEOF
1283 \`configure' configures MultiSSH 2.1 to adapt to many kinds of systems.
1284
1285 Usage: $0 [OPTION]... [VAR=VALUE]...
1286
1287 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1288 VAR=VALUE. See below for descriptions of some of the useful variables.
1289
1290 Defaults for the options are specified in brackets.
1291
1292 Configuration:
1293 -h, --help display this help and exit
1294 --help=short display options specific to this package
1295 --help=recursive display the short help of all the included packages
1296 -V, --version display version information and exit
1297 -q, --quiet, --silent do not print \`checking ...' messages
1298 --cache-file=FILE cache test results in FILE [disabled]
1299 -C, --config-cache alias for \`--cache-file=config.cache'
1300 -n, --no-create do not create output files
1301 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1302
1303 Installation directories:
1304 --prefix=PREFIX install architecture-independent files in PREFIX
1305 [$ac_default_prefix]
1306 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1307 [PREFIX]
1308
1309 By default, \`make install' will install all the files in
1310 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1311 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1312 for instance \`--prefix=\$HOME'.
1313
1314 For better control, use the options below.
1315
1316 Fine tuning of the installation directories:
1317 --bindir=DIR user executables [EPREFIX/bin]
1318 --sbindir=DIR system admin executables [EPREFIX/sbin]
1319 --libexecdir=DIR program executables [EPREFIX/libexec]
1320 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1321 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1322 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1323 --libdir=DIR object code libraries [EPREFIX/lib]
1324 --includedir=DIR C header files [PREFIX/include]
1325 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1326 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1327 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1328 --infodir=DIR info documentation [DATAROOTDIR/info]
1329 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1330 --mandir=DIR man documentation [DATAROOTDIR/man]
1331 --docdir=DIR documentation root [DATAROOTDIR/doc/mssh]
1332 --htmldir=DIR html documentation [DOCDIR]
1333 --dvidir=DIR dvi documentation [DOCDIR]
1334 --pdfdir=DIR pdf documentation [DOCDIR]
1335 --psdir=DIR ps documentation [DOCDIR]
1336 _ACEOF
1337
1338 cat <<\_ACEOF
1339
1340 Program names:
1341 --program-prefix=PREFIX prepend PREFIX to installed program names
1342 --program-suffix=SUFFIX append SUFFIX to installed program names
1343 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1344 _ACEOF
1345 fi
1346
1347 if test -n "$ac_init_help"; then
1348 case $ac_init_help in
1349 short | recursive ) echo "Configuration of MultiSSH 2.1:";;
1350 esac
1351 cat <<\_ACEOF
1352
1353 Optional Features:
1354 --disable-option-checking ignore unrecognized --enable/--with options
1355 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1356 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1357 --enable-silent-rules less verbose build output (undo: "make V=1")
1358 --disable-silent-rules verbose build output (undo: "make V=0")
1359 --disable-nls do not use Native Language Support
1360 --enable-dependency-tracking
1361 do not reject slow dependency extractors
1362 --disable-dependency-tracking
1363 speeds up one-time build
1364 --disable-schemas-install
1365 Disable the schemas installation
1366
1367 Optional Packages:
1368 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1369 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1370 --with-gconf-source=sourceaddress
1371 Config database for installing schema files.
1372 --with-gconf-schema-file-dir=dir
1373 Directory for installing schema files.
1374
1375 Some influential environment variables:
1376 CC C compiler command
1377 CFLAGS C compiler flags
1378 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1379 nonstandard directory <lib dir>
1380 LIBS libraries to pass to the linker, e.g. -l<library>
1381 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1382 you have headers in a nonstandard directory <include dir>
1383 PKG_CONFIG path to pkg-config utility
1384 PKG_CONFIG_PATH
1385 directories to add to pkg-config's search path
1386 PKG_CONFIG_LIBDIR
1387 path overriding pkg-config's built-in search path
1388 MSSH_CFLAGS C compiler flags for MSSH, overriding pkg-config
1389 MSSH_LIBS linker flags for MSSH, overriding pkg-config
1390
1391 Use these variables to override the choices made by `configure' or to help
1392 it to find libraries and programs with nonstandard names/locations.
1393
1394 Report bugs to <[email protected]>.
1395 _ACEOF
1396 ac_status=$?
1397 fi
1398
1399 if test "$ac_init_help" = "recursive"; then
1400 # If there are subdirs, report their specific --help.
1401 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1402 test -d "$ac_dir" ||
1403 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1404 continue
1405 ac_builddir=.
1406
1407 case "$ac_dir" in
1408 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1409 *)
1410 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1411 # A ".." for each directory in $ac_dir_suffix.
1412 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1413 case $ac_top_builddir_sub in
1414 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1415 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1416 esac ;;
1417 esac
1418 ac_abs_top_builddir=$ac_pwd
1419 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1420 # for backward compatibility:
1421 ac_top_builddir=$ac_top_build_prefix
1422
1423 case $srcdir in
1424 .) # We are building in place.
1425 ac_srcdir=.
1426 ac_top_srcdir=$ac_top_builddir_sub
1427 ac_abs_top_srcdir=$ac_pwd ;;
1428 [\\/]* | ?:[\\/]* ) # Absolute name.
1429 ac_srcdir=$srcdir$ac_dir_suffix;
1430 ac_top_srcdir=$srcdir
1431 ac_abs_top_srcdir=$srcdir ;;
1432 *) # Relative name.
1433 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1434 ac_top_srcdir=$ac_top_build_prefix$srcdir
1435 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1436 esac
1437 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1438
1439 cd "$ac_dir" || { ac_status=$?; continue; }
1440 # Check for guested configure.
1441 if test -f "$ac_srcdir/configure.gnu"; then
1442 echo &&
1443 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1444 elif test -f "$ac_srcdir/configure"; then
1445 echo &&
1446 $SHELL "$ac_srcdir/configure" --help=recursive
1447 else
1448 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1449 fi || ac_status=$?
1450 cd "$ac_pwd" || { ac_status=$?; break; }
1451 done
1452 fi
1453
1454 test -n "$ac_init_help" && exit $ac_status
1455 if $ac_init_version; then
1456 cat <<\_ACEOF
1457 MultiSSH configure 2.1
1458 generated by GNU Autoconf 2.69
1459
1460 Copyright (C) 2012 Free Software Foundation, Inc.
1461 This configure script is free software; the Free Software Foundation
1462 gives unlimited permission to copy, distribute and modify it.
1463 _ACEOF
1464 exit
1465 fi
1466
1467 ## ------------------------ ##
1468 ## Autoconf initialization. ##
1469 ## ------------------------ ##
1470
1471 # ac_fn_c_try_compile LINENO
1472 # --------------------------
1473 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1474 ac_fn_c_try_compile ()
1475 {
1476 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1477 rm -f conftest.$ac_objext
1478 if { { ac_try="$ac_compile"
1479 case "(($ac_try" in
1480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1481 *) ac_try_echo=$ac_try;;
1482 esac
1483 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1484 $as_echo "$ac_try_echo"; } >&5
1485 (eval "$ac_compile") 2>conftest.err
1486 ac_status=$?
1487 if test -s conftest.err; then
1488 grep -v '^ *+' conftest.err >conftest.er1
1489 cat conftest.er1 >&5
1490 mv -f conftest.er1 conftest.err
1491 fi
1492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1493 test $ac_status = 0; } && {
1494 test -z "$ac_c_werror_flag" ||
1495 test ! -s conftest.err
1496 } && test -s conftest.$ac_objext; then :
1497 ac_retval=0
1498 else
1499 $as_echo "$as_me: failed program was:" >&5
1500 sed 's/^/| /' conftest.$ac_ext >&5
1501
1502 ac_retval=1
1503 fi
1504 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1505 as_fn_set_status $ac_retval
1506
1507 } # ac_fn_c_try_compile
1508
1509 # ac_fn_c_try_link LINENO
1510 # -----------------------
1511 # Try to link conftest.$ac_ext, and return whether this succeeded.
1512 ac_fn_c_try_link ()
1513 {
1514 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1515 rm -f conftest.$ac_objext conftest$ac_exeext
1516 if { { ac_try="$ac_link"
1517 case "(($ac_try" in
1518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1519 *) ac_try_echo=$ac_try;;
1520 esac
1521 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1522 $as_echo "$ac_try_echo"; } >&5
1523 (eval "$ac_link") 2>conftest.err
1524 ac_status=$?
1525 if test -s conftest.err; then
1526 grep -v '^ *+' conftest.err >conftest.er1
1527 cat conftest.er1 >&5
1528 mv -f conftest.er1 conftest.err
1529 fi
1530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1531 test $ac_status = 0; } && {
1532 test -z "$ac_c_werror_flag" ||
1533 test ! -s conftest.err
1534 } && test -s conftest$ac_exeext && {
1535 test "$cross_compiling" = yes ||
1536 test -x conftest$ac_exeext
1537 }; then :
1538 ac_retval=0
1539 else
1540 $as_echo "$as_me: failed program was:" >&5
1541 sed 's/^/| /' conftest.$ac_ext >&5
1542
1543 ac_retval=1
1544 fi
1545 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1546 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1547 # interfere with the next link command; also delete a directory that is
1548 # left behind by Apple's compiler. We do this before executing the actions.
1549 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1550 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1551 as_fn_set_status $ac_retval
1552
1553 } # ac_fn_c_try_link
1554
1555 # ac_fn_c_check_func LINENO FUNC VAR
1556 # ----------------------------------
1557 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1558 ac_fn_c_check_func ()
1559 {
1560 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1562 $as_echo_n "checking for $2... " >&6; }
1563 if eval \${$3+:} false; then :
1564 $as_echo_n "(cached) " >&6
1565 else
1566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1567 /* end confdefs.h. */
1568 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1570 #define $2 innocuous_$2
1571
1572 /* System header to define __stub macros and hopefully few prototypes,
1573 which can conflict with char $2 (); below.
1574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1575 <limits.h> exists even on freestanding compilers. */
1576
1577 #ifdef __STDC__
1578 # include <limits.h>
1579 #else
1580 # include <assert.h>
1581 #endif
1582
1583 #undef $2
1584
1585 /* Override any GCC internal prototype to avoid an error.
1586 Use char because int might match the return type of a GCC
1587 builtin and then its argument prototype would still apply. */
1588 #ifdef __cplusplus
1589 extern "C"
1590 #endif
1591 char $2 ();
1592 /* The GNU C library defines this for functions which it implements
1593 to always fail with ENOSYS. Some functions are actually named
1594 something starting with __ and the normal name is an alias. */
1595 #if defined __stub_$2 || defined __stub___$2
1596 choke me
1597 #endif
1598
1599 int
1600 main ()
1601 {
1602 return $2 ();
1603 ;
1604 return 0;
1605 }
1606 _ACEOF
1607 if ac_fn_c_try_link "$LINENO"; then :
1608 eval "$3=yes"
1609 else
1610 eval "$3=no"
1611 fi
1612 rm -f core conftest.err conftest.$ac_objext \
1613 conftest$ac_exeext conftest.$ac_ext
1614 fi
1615 eval ac_res=\$$3
1616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1617 $as_echo "$ac_res" >&6; }
1618 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1619
1620 } # ac_fn_c_check_func
1621 cat >config.log <<_ACEOF
1622 This file contains any messages produced by compilers while
1623 running configure, to aid debugging if configure makes a mistake.
1624
1625 It was created by MultiSSH $as_me 2.1, which was
1626 generated by GNU Autoconf 2.69. Invocation command line was
1627
1628 $ $0 $@
1629
1630 _ACEOF
1631 exec 5>>config.log
1632 {
1633 cat <<_ASUNAME
1634 ## --------- ##
1635 ## Platform. ##
1636 ## --------- ##
1637
1638 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1639 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1640 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1641 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1642 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1643
1644 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1645 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1646
1647 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1648 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1649 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1650 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1651 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1652 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1653 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1654
1655 _ASUNAME
1656
1657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1658 for as_dir in $PATH
1659 do
1660 IFS=$as_save_IFS
1661 test -z "$as_dir" && as_dir=.
1662 $as_echo "PATH: $as_dir"
1663 done
1664 IFS=$as_save_IFS
1665
1666 } >&5
1667
1668 cat >&5 <<_ACEOF
1669
1670
1671 ## ----------- ##
1672 ## Core tests. ##
1673 ## ----------- ##
1674
1675 _ACEOF
1676
1677
1678 # Keep a trace of the command line.
1679 # Strip out --no-create and --no-recursion so they do not pile up.
1680 # Strip out --silent because we don't want to record it for future runs.
1681 # Also quote any args containing shell meta-characters.
1682 # Make two passes to allow for proper duplicate-argument suppression.
1683 ac_configure_args=
1684 ac_configure_args0=
1685 ac_configure_args1=
1686 ac_must_keep_next=false
1687 for ac_pass in 1 2
1688 do
1689 for ac_arg
1690 do
1691 case $ac_arg in
1692 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1693 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1694 | -silent | --silent | --silen | --sile | --sil)
1695 continue ;;
1696 *\'*)
1697 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1698 esac
1699 case $ac_pass in
1700 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1701 2)
1702 as_fn_append ac_configure_args1 " '$ac_arg'"
1703 if test $ac_must_keep_next = true; then
1704 ac_must_keep_next=false # Got value, back to normal.
1705 else
1706 case $ac_arg in
1707 *=* | --config-cache | -C | -disable-* | --disable-* \
1708 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1709 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1710 | -with-* | --with-* | -without-* | --without-* | --x)
1711 case "$ac_configure_args0 " in
1712 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1713 esac
1714 ;;
1715 -* ) ac_must_keep_next=true ;;
1716 esac
1717 fi
1718 as_fn_append ac_configure_args " '$ac_arg'"
1719 ;;
1720 esac
1721 done
1722 done
1723 { ac_configure_args0=; unset ac_configure_args0;}
1724 { ac_configure_args1=; unset ac_configure_args1;}
1725
1726 # When interrupted or exit'd, cleanup temporary files, and complete
1727 # config.log. We remove comments because anyway the quotes in there
1728 # would cause problems or look ugly.
1729 # WARNING: Use '\'' to represent an apostrophe within the trap.
1730 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1731 trap 'exit_status=$?
1732 # Save into config.log some information that might help in debugging.
1733 {
1734 echo
1735
1736 $as_echo "## ---------------- ##
1737 ## Cache variables. ##
1738 ## ---------------- ##"
1739 echo
1740 # The following way of writing the cache mishandles newlines in values,
1741 (
1742 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1743 eval ac_val=\$$ac_var
1744 case $ac_val in #(
1745 *${as_nl}*)
1746 case $ac_var in #(
1747 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1748 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1749 esac
1750 case $ac_var in #(
1751 _ | IFS | as_nl) ;; #(
1752 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1753 *) { eval $ac_var=; unset $ac_var;} ;;
1754 esac ;;
1755 esac
1756 done
1757 (set) 2>&1 |
1758 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1759 *${as_nl}ac_space=\ *)
1760 sed -n \
1761 "s/'\''/'\''\\\\'\'''\''/g;
1762 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1763 ;; #(
1764 *)
1765 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1766 ;;
1767 esac |
1768 sort
1769 )
1770 echo
1771
1772 $as_echo "## ----------------- ##
1773 ## Output variables. ##
1774 ## ----------------- ##"
1775 echo
1776 for ac_var in $ac_subst_vars
1777 do
1778 eval ac_val=\$$ac_var
1779 case $ac_val in
1780 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1781 esac
1782 $as_echo "$ac_var='\''$ac_val'\''"
1783 done | sort
1784 echo
1785
1786 if test -n "$ac_subst_files"; then
1787 $as_echo "## ------------------- ##
1788 ## File substitutions. ##
1789 ## ------------------- ##"
1790 echo
1791 for ac_var in $ac_subst_files
1792 do
1793 eval ac_val=\$$ac_var
1794 case $ac_val in
1795 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1796 esac
1797 $as_echo "$ac_var='\''$ac_val'\''"
1798 done | sort
1799 echo
1800 fi
1801
1802 if test -s confdefs.h; then
1803 $as_echo "## ----------- ##
1804 ## confdefs.h. ##
1805 ## ----------- ##"
1806 echo
1807 cat confdefs.h
1808 echo
1809 fi
1810 test "$ac_signal" != 0 &&
1811 $as_echo "$as_me: caught signal $ac_signal"
1812 $as_echo "$as_me: exit $exit_status"
1813 } >&5
1814 rm -f core *.core core.conftest.* &&
1815 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1816 exit $exit_status
1817 ' 0
1818 for ac_signal in 1 2 13 15; do
1819 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1820 done
1821 ac_signal=0
1822
1823 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1824 rm -f -r conftest* confdefs.h
1825
1826 $as_echo "/* confdefs.h */" > confdefs.h
1827
1828 # Predefined preprocessor variables.
1829
1830 cat >>confdefs.h <<_ACEOF
1831 #define PACKAGE_NAME "$PACKAGE_NAME"
1832 _ACEOF
1833
1834 cat >>confdefs.h <<_ACEOF
1835 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1836 _ACEOF
1837
1838 cat >>confdefs.h <<_ACEOF
1839 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1840 _ACEOF
1841
1842 cat >>confdefs.h <<_ACEOF
1843 #define PACKAGE_STRING "$PACKAGE_STRING"
1844 _ACEOF
1845
1846 cat >>confdefs.h <<_ACEOF
1847 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1848 _ACEOF
1849
1850 cat >>confdefs.h <<_ACEOF
1851 #define PACKAGE_URL "$PACKAGE_URL"
1852 _ACEOF
1853
1854
1855 # Let the site file select an alternate cache file if it wants to.
1856 # Prefer an explicitly selected file to automatically selected ones.
1857 ac_site_file1=NONE
1858 ac_site_file2=NONE
1859 if test -n "$CONFIG_SITE"; then
1860 # We do not want a PATH search for config.site.
1861 case $CONFIG_SITE in #((
1862 -*) ac_site_file1=./$CONFIG_SITE;;
1863 */*) ac_site_file1=$CONFIG_SITE;;
1864 *) ac_site_file1=./$CONFIG_SITE;;
1865 esac
1866 elif test "x$prefix" != xNONE; then
1867 ac_site_file1=$prefix/share/config.site
1868 ac_site_file2=$prefix/etc/config.site
1869 else
1870 ac_site_file1=$ac_default_prefix/share/config.site
1871 ac_site_file2=$ac_default_prefix/etc/config.site
1872 fi
1873 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1874 do
1875 test "x$ac_site_file" = xNONE && continue
1876 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1878 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1879 sed 's/^/| /' "$ac_site_file" >&5
1880 . "$ac_site_file" \
1881 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1882 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1883 as_fn_error $? "failed to load site script $ac_site_file
1884 See \`config.log' for more details" "$LINENO" 5; }
1885 fi
1886 done
1887
1888 if test -r "$cache_file"; then
1889 # Some versions of bash will fail to source /dev/null (special files
1890 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1891 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1893 $as_echo "$as_me: loading cache $cache_file" >&6;}
1894 case $cache_file in
1895 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1896 *) . "./$cache_file";;
1897 esac
1898 fi
1899 else
1900 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1901 $as_echo "$as_me: creating cache $cache_file" >&6;}
1902 >$cache_file
1903 fi
1904
1905 # Check that the precious variables saved in the cache have kept the same
1906 # value.
1907 ac_cache_corrupted=false
1908 for ac_var in $ac_precious_vars; do
1909 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1910 eval ac_new_set=\$ac_env_${ac_var}_set
1911 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1912 eval ac_new_val=\$ac_env_${ac_var}_value
1913 case $ac_old_set,$ac_new_set in
1914 set,)
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1916 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1917 ac_cache_corrupted=: ;;
1918 ,set)
1919 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1920 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1921 ac_cache_corrupted=: ;;
1922 ,);;
1923 *)
1924 if test "x$ac_old_val" != "x$ac_new_val"; then
1925 # differences in whitespace do not lead to failure.
1926 ac_old_val_w=`echo x $ac_old_val`
1927 ac_new_val_w=`echo x $ac_new_val`
1928 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1930 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1931 ac_cache_corrupted=:
1932 else
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1934 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1935 eval $ac_var=\$ac_old_val
1936 fi
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1938 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1940 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1941 fi;;
1942 esac
1943 # Pass precious variables to config.status.
1944 if test "$ac_new_set" = set; then
1945 case $ac_new_val in
1946 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1947 *) ac_arg=$ac_var=$ac_new_val ;;
1948 esac
1949 case " $ac_configure_args " in
1950 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1951 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1952 esac
1953 fi
1954 done
1955 if $ac_cache_corrupted; then
1956 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1957 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1958 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1959 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1960 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1961 fi
1962 ## -------------------- ##
1963 ## Main body of script. ##
1964 ## -------------------- ##
1965
1966 ac_ext=c
1967 ac_cpp='$CPP $CPPFLAGS'
1968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1971
1972
1973 ac_config_headers="$ac_config_headers config.h"
1974
1975 am__api_version='1.14'
1976
1977 ac_aux_dir=
1978 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1979 if test -f "$ac_dir/install-sh"; then
1980 ac_aux_dir=$ac_dir
1981 ac_install_sh="$ac_aux_dir/install-sh -c"
1982 break
1983 elif test -f "$ac_dir/install.sh"; then
1984 ac_aux_dir=$ac_dir
1985 ac_install_sh="$ac_aux_dir/install.sh -c"
1986 break
1987 elif test -f "$ac_dir/shtool"; then
1988 ac_aux_dir=$ac_dir
1989 ac_install_sh="$ac_aux_dir/shtool install -c"
1990 break
1991 fi
1992 done
1993 if test -z "$ac_aux_dir"; then
1994 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1995 fi
1996
1997 # These three variables are undocumented and unsupported,
1998 # and are intended to be withdrawn in a future Autoconf release.
1999 # They can cause serious problems if a builder's source tree is in a directory
2000 # whose full name contains unusual characters.
2001 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2002 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2003 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2004
2005
2006 # Find a good install program. We prefer a C program (faster),
2007 # so one script is as good as another. But avoid the broken or
2008 # incompatible versions:
2009 # SysV /etc/install, /usr/sbin/install
2010 # SunOS /usr/etc/install
2011 # IRIX /sbin/install
2012 # AIX /bin/install
2013 # AmigaOS /C/install, which installs bootblocks on floppy discs
2014 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2015 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2016 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2017 # OS/2's system install, which has a completely different semantic
2018 # ./install, which can be erroneously created by make from ./install.sh.
2019 # Reject install programs that cannot install multiple files.
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2021 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2022 if test -z "$INSTALL"; then
2023 if ${ac_cv_path_install+:} false; then :
2024 $as_echo_n "(cached) " >&6
2025 else
2026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2027 for as_dir in $PATH
2028 do
2029 IFS=$as_save_IFS
2030 test -z "$as_dir" && as_dir=.
2031 # Account for people who put trailing slashes in PATH elements.
2032 case $as_dir/ in #((
2033 ./ | .// | /[cC]/* | \
2034 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2035 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2036 /usr/ucb/* ) ;;
2037 *)
2038 # OSF1 and SCO ODT 3.0 have their own names for install.
2039 # Don't use installbsd from OSF since it installs stuff as root
2040 # by default.
2041 for ac_prog in ginstall scoinst install; do
2042 for ac_exec_ext in '' $ac_executable_extensions; do
2043 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2044 if test $ac_prog = install &&
2045 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2046 # AIX install. It has an incompatible calling convention.
2047 :
2048 elif test $ac_prog = install &&
2049 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2050 # program-specific install script used by HP pwplus--don't use.
2051 :
2052 else
2053 rm -rf conftest.one conftest.two conftest.dir
2054 echo one > conftest.one
2055 echo two > conftest.two
2056 mkdir conftest.dir
2057 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2058 test -s conftest.one && test -s conftest.two &&
2059 test -s conftest.dir/conftest.one &&
2060 test -s conftest.dir/conftest.two
2061 then
2062 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2063 break 3
2064 fi
2065 fi
2066 fi
2067 done
2068 done
2069 ;;
2070 esac
2071
2072 done
2073 IFS=$as_save_IFS
2074
2075 rm -rf conftest.one conftest.two conftest.dir
2076
2077 fi
2078 if test "${ac_cv_path_install+set}" = set; then
2079 INSTALL=$ac_cv_path_install
2080 else
2081 # As a last resort, use the slow shell script. Don't cache a
2082 # value for INSTALL within a source directory, because that will
2083 # break other packages using the cache if that directory is
2084 # removed, or if the value is a relative name.
2085 INSTALL=$ac_install_sh
2086 fi
2087 fi
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2089 $as_echo "$INSTALL" >&6; }
2090
2091 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2092 # It thinks the first close brace ends the variable substitution.
2093 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2094
2095 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2096
2097 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2098
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2100 $as_echo_n "checking whether build environment is sane... " >&6; }
2101 # Reject unsafe characters in $srcdir or the absolute working directory
2102 # name. Accept space and tab only in the latter.
2103 am_lf='
2104 '
2105 case `pwd` in
2106 *[\\\"\#\$\&\'\`$am_lf]*)
2107 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2108 esac
2109 case $srcdir in
2110 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2111 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2112 esac
2113
2114 # Do 'set' in a subshell so we don't clobber the current shell's
2115 # arguments. Must try -L first in case configure is actually a
2116 # symlink; some systems play weird games with the mod time of symlinks
2117 # (eg FreeBSD returns the mod time of the symlink's containing
2118 # directory).
2119 if (
2120 am_has_slept=no
2121 for am_try in 1 2; do
2122 echo "timestamp, slept: $am_has_slept" > conftest.file
2123 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2124 if test "$*" = "X"; then
2125 # -L didn't work.
2126 set X `ls -t "$srcdir/configure" conftest.file`
2127 fi
2128 if test "$*" != "X $srcdir/configure conftest.file" \
2129 && test "$*" != "X conftest.file $srcdir/configure"; then
2130
2131 # If neither matched, then we have a broken ls. This can happen
2132 # if, for instance, CONFIG_SHELL is bash and it inherits a
2133 # broken ls alias from the environment. This has actually
2134 # happened. Such a system could not be considered "sane".
2135 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2136 alias in your environment" "$LINENO" 5
2137 fi
2138 if test "$2" = conftest.file || test $am_try -eq 2; then
2139 break
2140 fi
2141 # Just in case.
2142 sleep 1
2143 am_has_slept=yes
2144 done
2145 test "$2" = conftest.file
2146 )
2147 then
2148 # Ok.
2149 :
2150 else
2151 as_fn_error $? "newly created file is older than distributed files!
2152 Check your system clock" "$LINENO" 5
2153 fi
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2155 $as_echo "yes" >&6; }
2156 # If we didn't sleep, we still need to ensure time stamps of config.status and
2157 # generated files are strictly newer.
2158 am_sleep_pid=
2159 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2160 ( sleep 1 ) &
2161 am_sleep_pid=$!
2162 fi
2163
2164 rm -f conftest.file
2165
2166 test "$program_prefix" != NONE &&
2167 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2168 # Use a double $ so make ignores it.
2169 test "$program_suffix" != NONE &&
2170 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2171 # Double any \ or $.
2172 # By default was `s,x,x', remove it if useless.
2173 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2174 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2175
2176 # Expand $ac_aux_dir to an absolute path.
2177 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2178
2179 if test x"${MISSING+set}" != xset; then
2180 case $am_aux_dir in
2181 *\ * | *\ *)
2182 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2183 *)
2184 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2185 esac
2186 fi
2187 # Use eval to expand $SHELL
2188 if eval "$MISSING --is-lightweight"; then
2189 am_missing_run="$MISSING "
2190 else
2191 am_missing_run=
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2193 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2194 fi
2195
2196 if test x"${install_sh}" != xset; then
2197 case $am_aux_dir in
2198 *\ * | *\ *)
2199 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2200 *)
2201 install_sh="\${SHELL} $am_aux_dir/install-sh"
2202 esac
2203 fi
2204
2205 # Installed binaries are usually stripped using 'strip' when the user
2206 # run "make install-strip". However 'strip' might not be the right
2207 # tool to use in cross-compilation environments, therefore Automake
2208 # will honor the 'STRIP' environment variable to overrule this program.
2209 if test "$cross_compiling" != no; then
2210 if test -n "$ac_tool_prefix"; then
2211 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2212 set dummy ${ac_tool_prefix}strip; ac_word=$2
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2214 $as_echo_n "checking for $ac_word... " >&6; }
2215 if ${ac_cv_prog_STRIP+:} false; then :
2216 $as_echo_n "(cached) " >&6
2217 else
2218 if test -n "$STRIP"; then
2219 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2220 else
2221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2222 for as_dir in $PATH
2223 do
2224 IFS=$as_save_IFS
2225 test -z "$as_dir" && as_dir=.
2226 for ac_exec_ext in '' $ac_executable_extensions; do
2227 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2228 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2230 break 2
2231 fi
2232 done
2233 done
2234 IFS=$as_save_IFS
2235
2236 fi
2237 fi
2238 STRIP=$ac_cv_prog_STRIP
2239 if test -n "$STRIP"; then
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2241 $as_echo "$STRIP" >&6; }
2242 else
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2244 $as_echo "no" >&6; }
2245 fi
2246
2247
2248 fi
2249 if test -z "$ac_cv_prog_STRIP"; then
2250 ac_ct_STRIP=$STRIP
2251 # Extract the first word of "strip", so it can be a program name with args.
2252 set dummy strip; ac_word=$2
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2254 $as_echo_n "checking for $ac_word... " >&6; }
2255 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2256 $as_echo_n "(cached) " >&6
2257 else
2258 if test -n "$ac_ct_STRIP"; then
2259 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2260 else
2261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2262 for as_dir in $PATH
2263 do
2264 IFS=$as_save_IFS
2265 test -z "$as_dir" && as_dir=.
2266 for ac_exec_ext in '' $ac_executable_extensions; do
2267 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2268 ac_cv_prog_ac_ct_STRIP="strip"
2269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2270 break 2
2271 fi
2272 done
2273 done
2274 IFS=$as_save_IFS
2275
2276 fi
2277 fi
2278 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2279 if test -n "$ac_ct_STRIP"; then
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2281 $as_echo "$ac_ct_STRIP" >&6; }
2282 else
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2284 $as_echo "no" >&6; }
2285 fi
2286
2287 if test "x$ac_ct_STRIP" = x; then
2288 STRIP=":"
2289 else
2290 case $cross_compiling:$ac_tool_warned in
2291 yes:)
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2293 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2294 ac_tool_warned=yes ;;
2295 esac
2296 STRIP=$ac_ct_STRIP
2297 fi
2298 else
2299 STRIP="$ac_cv_prog_STRIP"
2300 fi
2301
2302 fi
2303 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2304
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2306 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2307 if test -z "$MKDIR_P"; then
2308 if ${ac_cv_path_mkdir+:} false; then :
2309 $as_echo_n "(cached) " >&6
2310 else
2311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2312 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2313 do
2314 IFS=$as_save_IFS
2315 test -z "$as_dir" && as_dir=.
2316 for ac_prog in mkdir gmkdir; do
2317 for ac_exec_ext in '' $ac_executable_extensions; do
2318 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2319 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2320 'mkdir (GNU coreutils) '* | \
2321 'mkdir (coreutils) '* | \
2322 'mkdir (fileutils) '4.1*)
2323 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2324 break 3;;
2325 esac
2326 done
2327 done
2328 done
2329 IFS=$as_save_IFS
2330
2331 fi
2332
2333 test -d ./--version && rmdir ./--version
2334 if test "${ac_cv_path_mkdir+set}" = set; then
2335 MKDIR_P="$ac_cv_path_mkdir -p"
2336 else
2337 # As a last resort, use the slow shell script. Don't cache a
2338 # value for MKDIR_P within a source directory, because that will
2339 # break other packages using the cache if that directory is
2340 # removed, or if the value is a relative name.
2341 MKDIR_P="$ac_install_sh -d"
2342 fi
2343 fi
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2345 $as_echo "$MKDIR_P" >&6; }
2346
2347 for ac_prog in gawk mawk nawk awk
2348 do
2349 # Extract the first word of "$ac_prog", so it can be a program name with args.
2350 set dummy $ac_prog; ac_word=$2
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2352 $as_echo_n "checking for $ac_word... " >&6; }
2353 if ${ac_cv_prog_AWK+:} false; then :
2354 $as_echo_n "(cached) " >&6
2355 else
2356 if test -n "$AWK"; then
2357 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2358 else
2359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2360 for as_dir in $PATH
2361 do
2362 IFS=$as_save_IFS
2363 test -z "$as_dir" && as_dir=.
2364 for ac_exec_ext in '' $ac_executable_extensions; do
2365 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2366 ac_cv_prog_AWK="$ac_prog"
2367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2368 break 2
2369 fi
2370 done
2371 done
2372 IFS=$as_save_IFS
2373
2374 fi
2375 fi
2376 AWK=$ac_cv_prog_AWK
2377 if test -n "$AWK"; then
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2379 $as_echo "$AWK" >&6; }
2380 else
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2382 $as_echo "no" >&6; }
2383 fi
2384
2385
2386 test -n "$AWK" && break
2387 done
2388
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2390 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2391 set x ${MAKE-make}
2392 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2393 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2394 $as_echo_n "(cached) " >&6
2395 else
2396 cat >conftest.make <<\_ACEOF
2397 SHELL = /bin/sh
2398 all:
2399 @echo '@@@%%%=$(MAKE)=@@@%%%'
2400 _ACEOF
2401 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2402 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2403 *@@@%%%=?*=@@@%%%*)
2404 eval ac_cv_prog_make_${ac_make}_set=yes;;
2405 *)
2406 eval ac_cv_prog_make_${ac_make}_set=no;;
2407 esac
2408 rm -f conftest.make
2409 fi
2410 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2412 $as_echo "yes" >&6; }
2413 SET_MAKE=
2414 else
2415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2416 $as_echo "no" >&6; }
2417 SET_MAKE="MAKE=${MAKE-make}"
2418 fi
2419
2420 rm -rf .tst 2>/dev/null
2421 mkdir .tst 2>/dev/null
2422 if test -d .tst; then
2423 am__leading_dot=.
2424 else
2425 am__leading_dot=_
2426 fi
2427 rmdir .tst 2>/dev/null
2428
2429 # Check whether --enable-silent-rules was given.
2430 if test "${enable_silent_rules+set}" = set; then :
2431 enableval=$enable_silent_rules;
2432 fi
2433
2434 case $enable_silent_rules in # (((
2435 yes) AM_DEFAULT_VERBOSITY=0;;
2436 no) AM_DEFAULT_VERBOSITY=1;;
2437 *) AM_DEFAULT_VERBOSITY=1;;
2438 esac
2439 am_make=${MAKE-make}
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2441 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2442 if ${am_cv_make_support_nested_variables+:} false; then :
2443 $as_echo_n "(cached) " >&6
2444 else
2445 if $as_echo 'TRUE=$(BAR$(V))
2446 BAR0=false
2447 BAR1=true
2448 V=1
2449 am__doit:
2450 @$(TRUE)
2451 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2452 am_cv_make_support_nested_variables=yes
2453 else
2454 am_cv_make_support_nested_variables=no
2455 fi
2456 fi
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2458 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2459 if test $am_cv_make_support_nested_variables = yes; then
2460 AM_V='$(V)'
2461 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2462 else
2463 AM_V=$AM_DEFAULT_VERBOSITY
2464 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2465 fi
2466 AM_BACKSLASH='\'
2467
2468 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2469 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2470 # is not polluted with repeated "-I."
2471 am__isrc=' -I$(srcdir)'
2472 # test to see if srcdir already configured
2473 if test -f $srcdir/config.status; then
2474 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2475 fi
2476 fi
2477
2478 # test whether we have cygpath
2479 if test -z "$CYGPATH_W"; then
2480 if (cygpath --version) >/dev/null 2>/dev/null; then
2481 CYGPATH_W='cygpath -w'
2482 else
2483 CYGPATH_W=echo
2484 fi
2485 fi
2486
2487
2488 # Define the identity of the package.
2489 PACKAGE='mssh'
2490 VERSION='2.1'
2491
2492
2493 cat >>confdefs.h <<_ACEOF
2494 #define PACKAGE "$PACKAGE"
2495 _ACEOF
2496
2497
2498 cat >>confdefs.h <<_ACEOF
2499 #define VERSION "$VERSION"
2500 _ACEOF
2501
2502 # Some tools Automake needs.
2503
2504 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2505
2506
2507 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2508
2509
2510 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2511
2512
2513 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2514
2515
2516 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2517
2518 # For better backward compatibility. To be removed once Automake 1.9.x
2519 # dies out for good. For more background, see:
2520 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2521 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2522 mkdir_p='$(MKDIR_P)'
2523
2524 # We need awk for the "check" target. The system "awk" is bad on
2525 # some platforms.
2526 # Always define AMTAR for backward compatibility. Yes, it's still used
2527 # in the wild :-( We should find a proper way to deprecate it ...
2528 AMTAR='$${TAR-tar}'
2529
2530
2531 # We'll loop over all known methods to create a tar archive until one works.
2532 _am_tools='gnutar pax cpio none'
2533
2534 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2535
2536
2537
2538
2539
2540
2541 # POSIX will say in a future version that running "rm -f" with no argument
2542 # is OK; and we want to be able to make that assumption in our Makefile
2543 # recipes. So use an aggressive probe to check that the usage we want is
2544 # actually supported "in the wild" to an acceptable degree.
2545 # See automake bug#10828.
2546 # To make any issue more visible, cause the running configure to be aborted
2547 # by default if the 'rm' program in use doesn't match our expectations; the
2548 # user can still override this though.
2549 if rm -f && rm -fr && rm -rf; then : OK; else
2550 cat >&2 <<'END'
2551 Oops!
2552
2553 Your 'rm' program seems unable to run without file operands specified
2554 on the command line, even when the '-f' option is present. This is contrary
2555 to the behaviour of most rm programs out there, and not conforming with
2556 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2557
2558 Please tell [email protected] about your system, including the value
2559 of your $PATH and any error possibly output before this message. This
2560 can help us improve future automake versions.
2561
2562 END
2563 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2564 echo 'Configuration will proceed anyway, since you have set the' >&2
2565 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2566 echo >&2
2567 else
2568 cat >&2 <<'END'
2569 Aborting the configuration process, to ensure you take notice of the issue.
2570
2571 You can download and install GNU coreutils to get an 'rm' implementation
2572 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2573
2574 If you want to complete the configuration process using your problematic
2575 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2576 to "yes", and re-run configure.
2577
2578 END
2579 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2580 fi
2581 fi
2582
2583
2584 GETTEXT_PACKAGE=mssh
2585
2586
2587 cat >>confdefs.h <<_ACEOF
2588 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
2589 _ACEOF
2590
2591
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
2593 $as_echo_n "checking whether NLS is requested... " >&6; }
2594 # Check whether --enable-nls was given.
2595 if test "${enable_nls+set}" = set; then :
2596 enableval=$enable_nls; USE_NLS=$enableval
2597 else
2598 USE_NLS=yes
2599 fi
2600
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
2602 $as_echo "$USE_NLS" >&6; }
2603
2604
2605 DEPDIR="${am__leading_dot}deps"
2606
2607 ac_config_commands="$ac_config_commands depfiles"
2608
2609
2610 am_make=${MAKE-make}
2611 cat > confinc << 'END'
2612 am__doit:
2613 @echo this is the am__doit target
2614 .PHONY: am__doit
2615 END
2616 # If we don't find an include directive, just comment out the code.
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2618 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2619 am__include="#"
2620 am__quote=
2621 _am_result=none
2622 # First try GNU make style include.
2623 echo "include confinc" > confmf
2624 # Ignore all kinds of additional output from 'make'.
2625 case `$am_make -s -f confmf 2> /dev/null` in #(
2626 *the\ am__doit\ target*)
2627 am__include=include
2628 am__quote=
2629 _am_result=GNU
2630 ;;
2631 esac
2632 # Now try BSD make style include.
2633 if test "$am__include" = "#"; then
2634 echo '.include "confinc"' > confmf
2635 case `$am_make -s -f confmf 2> /dev/null` in #(
2636 *the\ am__doit\ target*)
2637 am__include=.include
2638 am__quote="\""
2639 _am_result=BSD
2640 ;;
2641 esac
2642 fi
2643
2644
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2646 $as_echo "$_am_result" >&6; }
2647 rm -f confinc confmf
2648
2649 # Check whether --enable-dependency-tracking was given.
2650 if test "${enable_dependency_tracking+set}" = set; then :
2651 enableval=$enable_dependency_tracking;
2652 fi
2653
2654 if test "x$enable_dependency_tracking" != xno; then
2655 am_depcomp="$ac_aux_dir/depcomp"
2656 AMDEPBACKSLASH='\'
2657 am__nodep='_no'
2658 fi
2659 if test "x$enable_dependency_tracking" != xno; then
2660 AMDEP_TRUE=
2661 AMDEP_FALSE='#'
2662 else
2663 AMDEP_TRUE='#'
2664 AMDEP_FALSE=
2665 fi
2666
2667
2668 ac_ext=c
2669 ac_cpp='$CPP $CPPFLAGS'
2670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2673 if test -n "$ac_tool_prefix"; then
2674 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2675 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2677 $as_echo_n "checking for $ac_word... " >&6; }
2678 if ${ac_cv_prog_CC+:} false; then :
2679 $as_echo_n "(cached) " >&6
2680 else
2681 if test -n "$CC"; then
2682 ac_cv_prog_CC="$CC" # Let the user override the test.
2683 else
2684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2685 for as_dir in $PATH
2686 do
2687 IFS=$as_save_IFS
2688 test -z "$as_dir" && as_dir=.
2689 for ac_exec_ext in '' $ac_executable_extensions; do
2690 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2691 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2693 break 2
2694 fi
2695 done
2696 done
2697 IFS=$as_save_IFS
2698
2699 fi
2700 fi
2701 CC=$ac_cv_prog_CC
2702 if test -n "$CC"; then
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2704 $as_echo "$CC" >&6; }
2705 else
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2707 $as_echo "no" >&6; }
2708 fi
2709
2710
2711 fi
2712 if test -z "$ac_cv_prog_CC"; then
2713 ac_ct_CC=$CC
2714 # Extract the first word of "gcc", so it can be a program name with args.
2715 set dummy gcc; ac_word=$2
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2717 $as_echo_n "checking for $ac_word... " >&6; }
2718 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2719 $as_echo_n "(cached) " >&6
2720 else
2721 if test -n "$ac_ct_CC"; then
2722 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2723 else
2724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2725 for as_dir in $PATH
2726 do
2727 IFS=$as_save_IFS
2728 test -z "$as_dir" && as_dir=.
2729 for ac_exec_ext in '' $ac_executable_extensions; do
2730 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2731 ac_cv_prog_ac_ct_CC="gcc"
2732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2733 break 2
2734 fi
2735 done
2736 done
2737 IFS=$as_save_IFS
2738
2739 fi
2740 fi
2741 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2742 if test -n "$ac_ct_CC"; then
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2744 $as_echo "$ac_ct_CC" >&6; }
2745 else
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2747 $as_echo "no" >&6; }
2748 fi
2749
2750 if test "x$ac_ct_CC" = x; then
2751 CC=""
2752 else
2753 case $cross_compiling:$ac_tool_warned in
2754 yes:)
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2756 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2757 ac_tool_warned=yes ;;
2758 esac
2759 CC=$ac_ct_CC
2760 fi
2761 else
2762 CC="$ac_cv_prog_CC"
2763 fi
2764
2765 if test -z "$CC"; then
2766 if test -n "$ac_tool_prefix"; then
2767 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2768 set dummy ${ac_tool_prefix}cc; ac_word=$2
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2770 $as_echo_n "checking for $ac_word... " >&6; }
2771 if ${ac_cv_prog_CC+:} false; then :
2772 $as_echo_n "(cached) " >&6
2773 else
2774 if test -n "$CC"; then
2775 ac_cv_prog_CC="$CC" # Let the user override the test.
2776 else
2777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2778 for as_dir in $PATH
2779 do
2780 IFS=$as_save_IFS
2781 test -z "$as_dir" && as_dir=.
2782 for ac_exec_ext in '' $ac_executable_extensions; do
2783 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2784 ac_cv_prog_CC="${ac_tool_prefix}cc"
2785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2786 break 2
2787 fi
2788 done
2789 done
2790 IFS=$as_save_IFS
2791
2792 fi
2793 fi
2794 CC=$ac_cv_prog_CC
2795 if test -n "$CC"; then
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2797 $as_echo "$CC" >&6; }
2798 else
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2800 $as_echo "no" >&6; }
2801 fi
2802
2803
2804 fi
2805 fi
2806 if test -z "$CC"; then
2807 # Extract the first word of "cc", so it can be a program name with args.
2808 set dummy cc; ac_word=$2
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2810 $as_echo_n "checking for $ac_word... " >&6; }
2811 if ${ac_cv_prog_CC+:} false; then :
2812 $as_echo_n "(cached) " >&6
2813 else
2814 if test -n "$CC"; then
2815 ac_cv_prog_CC="$CC" # Let the user override the test.
2816 else
2817 ac_prog_rejected=no
2818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2819 for as_dir in $PATH
2820 do
2821 IFS=$as_save_IFS
2822 test -z "$as_dir" && as_dir=.
2823 for ac_exec_ext in '' $ac_executable_extensions; do
2824 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2825 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2826 ac_prog_rejected=yes
2827 continue
2828 fi
2829 ac_cv_prog_CC="cc"
2830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2831 break 2
2832 fi
2833 done
2834 done
2835 IFS=$as_save_IFS
2836
2837 if test $ac_prog_rejected = yes; then
2838 # We found a bogon in the path, so make sure we never use it.
2839 set dummy $ac_cv_prog_CC
2840 shift
2841 if test $# != 0; then
2842 # We chose a different compiler from the bogus one.
2843 # However, it has the same basename, so the bogon will be chosen
2844 # first if we set CC to just the basename; use the full file name.
2845 shift
2846 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2847 fi
2848 fi
2849 fi
2850 fi
2851 CC=$ac_cv_prog_CC
2852 if test -n "$CC"; then
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2854 $as_echo "$CC" >&6; }
2855 else
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2857 $as_echo "no" >&6; }
2858 fi
2859
2860
2861 fi
2862 if test -z "$CC"; then
2863 if test -n "$ac_tool_prefix"; then
2864 for ac_prog in cl.exe
2865 do
2866 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2867 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2869 $as_echo_n "checking for $ac_word... " >&6; }
2870 if ${ac_cv_prog_CC+:} false; then :
2871 $as_echo_n "(cached) " >&6
2872 else
2873 if test -n "$CC"; then
2874 ac_cv_prog_CC="$CC" # Let the user override the test.
2875 else
2876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2877 for as_dir in $PATH
2878 do
2879 IFS=$as_save_IFS
2880 test -z "$as_dir" && as_dir=.
2881 for ac_exec_ext in '' $ac_executable_extensions; do
2882 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2883 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2885 break 2
2886 fi
2887 done
2888 done
2889 IFS=$as_save_IFS
2890
2891 fi
2892 fi
2893 CC=$ac_cv_prog_CC
2894 if test -n "$CC"; then
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2896 $as_echo "$CC" >&6; }
2897 else
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2899 $as_echo "no" >&6; }
2900 fi
2901
2902
2903 test -n "$CC" && break
2904 done
2905 fi
2906 if test -z "$CC"; then
2907 ac_ct_CC=$CC
2908 for ac_prog in cl.exe
2909 do
2910 # Extract the first word of "$ac_prog", so it can be a program name with args.
2911 set dummy $ac_prog; ac_word=$2
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2913 $as_echo_n "checking for $ac_word... " >&6; }
2914 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2915 $as_echo_n "(cached) " >&6
2916 else
2917 if test -n "$ac_ct_CC"; then
2918 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2919 else
2920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2921 for as_dir in $PATH
2922 do
2923 IFS=$as_save_IFS
2924 test -z "$as_dir" && as_dir=.
2925 for ac_exec_ext in '' $ac_executable_extensions; do
2926 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2927 ac_cv_prog_ac_ct_CC="$ac_prog"
2928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2929 break 2
2930 fi
2931 done
2932 done
2933 IFS=$as_save_IFS
2934
2935 fi
2936 fi
2937 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2938 if test -n "$ac_ct_CC"; then
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2940 $as_echo "$ac_ct_CC" >&6; }
2941 else
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2943 $as_echo "no" >&6; }
2944 fi
2945
2946
2947 test -n "$ac_ct_CC" && break
2948 done
2949
2950 if test "x$ac_ct_CC" = x; then
2951 CC=""
2952 else
2953 case $cross_compiling:$ac_tool_warned in
2954 yes:)
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2956 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2957 ac_tool_warned=yes ;;
2958 esac
2959 CC=$ac_ct_CC
2960 fi
2961 fi
2962
2963 fi
2964
2965
2966 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2967 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2968 as_fn_error $? "no acceptable C compiler found in \$PATH
2969 See \`config.log' for more details" "$LINENO" 5; }
2970
2971 # Provide some information about the compiler.
2972 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2973 set X $ac_compile
2974 ac_compiler=$2
2975 for ac_option in --version -v -V -qversion; do
2976 { { ac_try="$ac_compiler $ac_option >&5"
2977 case "(($ac_try" in
2978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2979 *) ac_try_echo=$ac_try;;
2980 esac
2981 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2982 $as_echo "$ac_try_echo"; } >&5
2983 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2984 ac_status=$?
2985 if test -s conftest.err; then
2986 sed '10a\
2987 ... rest of stderr output deleted ...
2988 10q' conftest.err >conftest.er1
2989 cat conftest.er1 >&5
2990 fi
2991 rm -f conftest.er1 conftest.err
2992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2993 test $ac_status = 0; }
2994 done
2995
2996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2997 /* end confdefs.h. */
2998
2999 int
3000 main ()
3001 {
3002
3003 ;
3004 return 0;
3005 }
3006 _ACEOF
3007 ac_clean_files_save=$ac_clean_files
3008 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3009 # Try to create an executable without -o first, disregard a.out.
3010 # It will help us diagnose broken compilers, and finding out an intuition
3011 # of exeext.
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3013 $as_echo_n "checking whether the C compiler works... " >&6; }
3014 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3015
3016 # The possible output files:
3017 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3018
3019 ac_rmfiles=
3020 for ac_file in $ac_files
3021 do
3022 case $ac_file in
3023 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3024 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3025 esac
3026 done
3027 rm -f $ac_rmfiles
3028
3029 if { { ac_try="$ac_link_default"
3030 case "(($ac_try" in
3031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3032 *) ac_try_echo=$ac_try;;
3033 esac
3034 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3035 $as_echo "$ac_try_echo"; } >&5
3036 (eval "$ac_link_default") 2>&5
3037 ac_status=$?
3038 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3039 test $ac_status = 0; }; then :
3040 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3041 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3042 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3043 # so that the user can short-circuit this test for compilers unknown to
3044 # Autoconf.
3045 for ac_file in $ac_files ''
3046 do
3047 test -f "$ac_file" || continue
3048 case $ac_file in
3049 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3050 ;;
3051 [ab].out )
3052 # We found the default executable, but exeext='' is most
3053 # certainly right.
3054 break;;
3055 *.* )
3056 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3057 then :; else
3058 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3059 fi
3060 # We set ac_cv_exeext here because the later test for it is not
3061 # safe: cross compilers may not add the suffix if given an `-o'
3062 # argument, so we may need to know it at that point already.
3063 # Even if this section looks crufty: it has the advantage of
3064 # actually working.
3065 break;;
3066 * )
3067 break;;
3068 esac
3069 done
3070 test "$ac_cv_exeext" = no && ac_cv_exeext=
3071
3072 else
3073 ac_file=''
3074 fi
3075 if test -z "$ac_file"; then :
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3077 $as_echo "no" >&6; }
3078 $as_echo "$as_me: failed program was:" >&5
3079 sed 's/^/| /' conftest.$ac_ext >&5
3080
3081 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3082 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3083 as_fn_error 77 "C compiler cannot create executables
3084 See \`config.log' for more details" "$LINENO" 5; }
3085 else
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3087 $as_echo "yes" >&6; }
3088 fi
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3090 $as_echo_n "checking for C compiler default output file name... " >&6; }
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3092 $as_echo "$ac_file" >&6; }
3093 ac_exeext=$ac_cv_exeext
3094
3095 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3096 ac_clean_files=$ac_clean_files_save
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3098 $as_echo_n "checking for suffix of executables... " >&6; }
3099 if { { ac_try="$ac_link"
3100 case "(($ac_try" in
3101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3102 *) ac_try_echo=$ac_try;;
3103 esac
3104 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3105 $as_echo "$ac_try_echo"; } >&5
3106 (eval "$ac_link") 2>&5
3107 ac_status=$?
3108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3109 test $ac_status = 0; }; then :
3110 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3111 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3112 # work properly (i.e., refer to `conftest.exe'), while it won't with
3113 # `rm'.
3114 for ac_file in conftest.exe conftest conftest.*; do
3115 test -f "$ac_file" || continue
3116 case $ac_file in
3117 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3118 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3119 break;;
3120 * ) break;;
3121 esac
3122 done
3123 else
3124 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3125 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3126 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3127 See \`config.log' for more details" "$LINENO" 5; }
3128 fi
3129 rm -f conftest conftest$ac_cv_exeext
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3131 $as_echo "$ac_cv_exeext" >&6; }
3132
3133 rm -f conftest.$ac_ext
3134 EXEEXT=$ac_cv_exeext
3135 ac_exeext=$EXEEXT
3136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3137 /* end confdefs.h. */
3138 #include <stdio.h>
3139 int
3140 main ()
3141 {
3142 FILE *f = fopen ("conftest.out", "w");
3143 return ferror (f) || fclose (f) != 0;
3144
3145 ;
3146 return 0;
3147 }
3148 _ACEOF
3149 ac_clean_files="$ac_clean_files conftest.out"
3150 # Check that the compiler produces executables we can run. If not, either
3151 # the compiler is broken, or we cross compile.
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3153 $as_echo_n "checking whether we are cross compiling... " >&6; }
3154 if test "$cross_compiling" != yes; then
3155 { { ac_try="$ac_link"
3156 case "(($ac_try" in
3157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3158 *) ac_try_echo=$ac_try;;
3159 esac
3160 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3161 $as_echo "$ac_try_echo"; } >&5
3162 (eval "$ac_link") 2>&5
3163 ac_status=$?
3164 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3165 test $ac_status = 0; }
3166 if { ac_try='./conftest$ac_cv_exeext'
3167 { { case "(($ac_try" in
3168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3169 *) ac_try_echo=$ac_try;;
3170 esac
3171 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3172 $as_echo "$ac_try_echo"; } >&5
3173 (eval "$ac_try") 2>&5
3174 ac_status=$?
3175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3176 test $ac_status = 0; }; }; then
3177 cross_compiling=no
3178 else
3179 if test "$cross_compiling" = maybe; then
3180 cross_compiling=yes
3181 else
3182 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3183 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3184 as_fn_error $? "cannot run C compiled programs.
3185 If you meant to cross compile, use \`--host'.
3186 See \`config.log' for more details" "$LINENO" 5; }
3187 fi
3188 fi
3189 fi
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3191 $as_echo "$cross_compiling" >&6; }
3192
3193 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3194 ac_clean_files=$ac_clean_files_save
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3196 $as_echo_n "checking for suffix of object files... " >&6; }
3197 if ${ac_cv_objext+:} false; then :
3198 $as_echo_n "(cached) " >&6
3199 else
3200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3201 /* end confdefs.h. */
3202
3203 int
3204 main ()
3205 {
3206
3207 ;
3208 return 0;
3209 }
3210 _ACEOF
3211 rm -f conftest.o conftest.obj
3212 if { { ac_try="$ac_compile"
3213 case "(($ac_try" in
3214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3215 *) ac_try_echo=$ac_try;;
3216 esac
3217 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3218 $as_echo "$ac_try_echo"; } >&5
3219 (eval "$ac_compile") 2>&5
3220 ac_status=$?
3221 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3222 test $ac_status = 0; }; then :
3223 for ac_file in conftest.o conftest.obj conftest.*; do
3224 test -f "$ac_file" || continue;
3225 case $ac_file in
3226 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3227 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3228 break;;
3229 esac
3230 done
3231 else
3232 $as_echo "$as_me: failed program was:" >&5
3233 sed 's/^/| /' conftest.$ac_ext >&5
3234
3235 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3236 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3237 as_fn_error $? "cannot compute suffix of object files: cannot compile
3238 See \`config.log' for more details" "$LINENO" 5; }
3239 fi
3240 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3241 fi
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3243 $as_echo "$ac_cv_objext" >&6; }
3244 OBJEXT=$ac_cv_objext
3245 ac_objext=$OBJEXT
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3247 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3248 if ${ac_cv_c_compiler_gnu+:} false; then :
3249 $as_echo_n "(cached) " >&6
3250 else
3251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3252 /* end confdefs.h. */
3253
3254 int
3255 main ()
3256 {
3257 #ifndef __GNUC__
3258 choke me
3259 #endif
3260
3261 ;
3262 return 0;
3263 }
3264 _ACEOF
3265 if ac_fn_c_try_compile "$LINENO"; then :
3266 ac_compiler_gnu=yes
3267 else
3268 ac_compiler_gnu=no
3269 fi
3270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3271 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3272
3273 fi
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3275 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3276 if test $ac_compiler_gnu = yes; then
3277 GCC=yes
3278 else
3279 GCC=
3280 fi
3281 ac_test_CFLAGS=${CFLAGS+set}
3282 ac_save_CFLAGS=$CFLAGS
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3284 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3285 if ${ac_cv_prog_cc_g+:} false; then :
3286 $as_echo_n "(cached) " >&6
3287 else
3288 ac_save_c_werror_flag=$ac_c_werror_flag
3289 ac_c_werror_flag=yes
3290 ac_cv_prog_cc_g=no
3291 CFLAGS="-g"
3292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3293 /* end confdefs.h. */
3294
3295 int
3296 main ()
3297 {
3298
3299 ;
3300 return 0;
3301 }
3302 _ACEOF
3303 if ac_fn_c_try_compile "$LINENO"; then :
3304 ac_cv_prog_cc_g=yes
3305 else
3306 CFLAGS=""
3307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3308 /* end confdefs.h. */
3309
3310 int
3311 main ()
3312 {
3313
3314 ;
3315 return 0;
3316 }
3317 _ACEOF
3318 if ac_fn_c_try_compile "$LINENO"; then :
3319
3320 else
3321 ac_c_werror_flag=$ac_save_c_werror_flag
3322 CFLAGS="-g"
3323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3324 /* end confdefs.h. */
3325
3326 int
3327 main ()
3328 {
3329
3330 ;
3331 return 0;
3332 }
3333 _ACEOF
3334 if ac_fn_c_try_compile "$LINENO"; then :
3335 ac_cv_prog_cc_g=yes
3336 fi
3337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3338 fi
3339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3340 fi
3341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3342 ac_c_werror_flag=$ac_save_c_werror_flag
3343 fi
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3345 $as_echo "$ac_cv_prog_cc_g" >&6; }
3346 if test "$ac_test_CFLAGS" = set; then
3347 CFLAGS=$ac_save_CFLAGS
3348 elif test $ac_cv_prog_cc_g = yes; then
3349 if test "$GCC" = yes; then
3350 CFLAGS="-g -O2"
3351 else
3352 CFLAGS="-g"
3353 fi
3354 else
3355 if test "$GCC" = yes; then
3356 CFLAGS="-O2"
3357 else
3358 CFLAGS=
3359 fi
3360 fi
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3362 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3363 if ${ac_cv_prog_cc_c89+:} false; then :
3364 $as_echo_n "(cached) " >&6
3365 else
3366 ac_cv_prog_cc_c89=no
3367 ac_save_CC=$CC
3368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3369 /* end confdefs.h. */
3370 #include <stdarg.h>
3371 #include <stdio.h>
3372 struct stat;
3373 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3374 struct buf { int x; };
3375 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3376 static char *e (p, i)
3377 char **p;
3378 int i;
3379 {
3380 return p[i];
3381 }
3382 static char *f (char * (*g) (char **, int), char **p, ...)
3383 {
3384 char *s;
3385 va_list v;
3386 va_start (v,p);
3387 s = g (p, va_arg (v,int));
3388 va_end (v);
3389 return s;
3390 }
3391
3392 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3393 function prototypes and stuff, but not '\xHH' hex character constants.
3394 These don't provoke an error unfortunately, instead are silently treated
3395 as 'x'. The following induces an error, until -std is added to get
3396 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3397 array size at least. It's necessary to write '\x00'==0 to get something
3398 that's true only with -std. */
3399 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3400
3401 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3402 inside strings and character constants. */
3403 #define FOO(x) 'x'
3404 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3405
3406 int test (int i, double x);
3407 struct s1 {int (*f) (int a);};
3408 struct s2 {int (*f) (double a);};
3409 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3410 int argc;
3411 char **argv;
3412 int
3413 main ()
3414 {
3415 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3416 ;
3417 return 0;
3418 }
3419 _ACEOF
3420 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3421 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3422 do
3423 CC="$ac_save_CC $ac_arg"
3424 if ac_fn_c_try_compile "$LINENO"; then :
3425 ac_cv_prog_cc_c89=$ac_arg
3426 fi
3427 rm -f core conftest.err conftest.$ac_objext
3428 test "x$ac_cv_prog_cc_c89" != "xno" && break
3429 done
3430 rm -f conftest.$ac_ext
3431 CC=$ac_save_CC
3432
3433 fi
3434 # AC_CACHE_VAL
3435 case "x$ac_cv_prog_cc_c89" in
3436 x)
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3438 $as_echo "none needed" >&6; } ;;
3439 xno)
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3441 $as_echo "unsupported" >&6; } ;;
3442 *)
3443 CC="$CC $ac_cv_prog_cc_c89"
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3445 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3446 esac
3447 if test "x$ac_cv_prog_cc_c89" != xno; then :
3448
3449 fi
3450
3451 ac_ext=c
3452 ac_cpp='$CPP $CPPFLAGS'
3453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3456
3457 ac_ext=c
3458 ac_cpp='$CPP $CPPFLAGS'
3459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3463 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3464 if ${am_cv_prog_cc_c_o+:} false; then :
3465 $as_echo_n "(cached) " >&6
3466 else
3467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3468 /* end confdefs.h. */
3469
3470 int
3471 main ()
3472 {
3473
3474 ;
3475 return 0;
3476 }
3477 _ACEOF
3478 # Make sure it works both with $CC and with simple cc.
3479 # Following AC_PROG_CC_C_O, we do the test twice because some
3480 # compilers refuse to overwrite an existing .o file with -o,
3481 # though they will create one.
3482 am_cv_prog_cc_c_o=yes
3483 for am_i in 1 2; do
3484 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3485 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3486 ac_status=$?
3487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3488 (exit $ac_status); } \
3489 && test -f conftest2.$ac_objext; then
3490 : OK
3491 else
3492 am_cv_prog_cc_c_o=no
3493 break
3494 fi
3495 done
3496 rm -f core conftest*
3497 unset am_i
3498 fi
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3500 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3501 if test "$am_cv_prog_cc_c_o" != yes; then
3502 # Losing compiler, so override with the script.
3503 # FIXME: It is wrong to rewrite CC.
3504 # But if we don't then we get into trouble of one sort or another.
3505 # A longer-term fix would be to have automake use am__CC in this case,
3506 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3507 CC="$am_aux_dir/compile $CC"
3508 fi
3509 ac_ext=c
3510 ac_cpp='$CPP $CPPFLAGS'
3511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3514
3515
3516 depcc="$CC" am_compiler_list=
3517
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3519 $as_echo_n "checking dependency style of $depcc... " >&6; }
3520 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3521 $as_echo_n "(cached) " >&6
3522 else
3523 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3524 # We make a subdir and do the tests there. Otherwise we can end up
3525 # making bogus files that we don't know about and never remove. For
3526 # instance it was reported that on HP-UX the gcc test will end up
3527 # making a dummy file named 'D' -- because '-MD' means "put the output
3528 # in D".
3529 rm -rf conftest.dir
3530 mkdir conftest.dir
3531 # Copy depcomp to subdir because otherwise we won't find it if we're
3532 # using a relative directory.
3533 cp "$am_depcomp" conftest.dir
3534 cd conftest.dir
3535 # We will build objects and dependencies in a subdirectory because
3536 # it helps to detect inapplicable dependency modes. For instance
3537 # both Tru64's cc and ICC support -MD to output dependencies as a
3538 # side effect of compilation, but ICC will put the dependencies in
3539 # the current directory while Tru64 will put them in the object
3540 # directory.
3541 mkdir sub
3542
3543 am_cv_CC_dependencies_compiler_type=none
3544 if test "$am_compiler_list" = ""; then
3545 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3546 fi
3547 am__universal=false
3548 case " $depcc " in #(
3549 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3550 esac
3551
3552 for depmode in $am_compiler_list; do
3553 # Setup a source with many dependencies, because some compilers
3554 # like to wrap large dependency lists on column 80 (with \), and
3555 # we should not choose a depcomp mode which is confused by this.
3556 #
3557 # We need to recreate these files for each test, as the compiler may
3558 # overwrite some of them when testing with obscure command lines.
3559 # This happens at least with the AIX C compiler.
3560 : > sub/conftest.c
3561 for i in 1 2 3 4 5 6; do
3562 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3563 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3564 # Solaris 10 /bin/sh.
3565 echo '/* dummy */' > sub/conftst$i.h
3566 done
3567 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3568
3569 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3570 # mode. It turns out that the SunPro C++ compiler does not properly
3571 # handle '-M -o', and we need to detect this. Also, some Intel
3572 # versions had trouble with output in subdirs.
3573 am__obj=sub/conftest.${OBJEXT-o}
3574 am__minus_obj="-o $am__obj"
3575 case $depmode in
3576 gcc)
3577 # This depmode causes a compiler race in universal mode.
3578 test "$am__universal" = false || continue
3579 ;;
3580 nosideeffect)
3581 # After this tag, mechanisms are not by side-effect, so they'll
3582 # only be used when explicitly requested.
3583 if test "x$enable_dependency_tracking" = xyes; then
3584 continue
3585 else
3586 break
3587 fi
3588 ;;
3589 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3590 # This compiler won't grok '-c -o', but also, the minuso test has
3591 # not run yet. These depmodes are late enough in the game, and
3592 # so weak that their functioning should not be impacted.
3593 am__obj=conftest.${OBJEXT-o}
3594 am__minus_obj=
3595 ;;
3596 none) break ;;
3597 esac
3598 if depmode=$depmode \
3599 source=sub/conftest.c object=$am__obj \
3600 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3601 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3602 >/dev/null 2>conftest.err &&
3603 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3604 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3605 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3606 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3607 # icc doesn't choke on unknown options, it will just issue warnings
3608 # or remarks (even with -Werror). So we grep stderr for any message
3609 # that says an option was ignored or not supported.
3610 # When given -MP, icc 7.0 and 7.1 complain thusly:
3611 # icc: Command line warning: ignoring option '-M'; no argument required
3612 # The diagnosis changed in icc 8.0:
3613 # icc: Command line remark: option '-MP' not supported
3614 if (grep 'ignoring option' conftest.err ||
3615 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3616 am_cv_CC_dependencies_compiler_type=$depmode
3617 break
3618 fi
3619 fi
3620 done
3621
3622 cd ..
3623 rm -rf conftest.dir
3624 else
3625 am_cv_CC_dependencies_compiler_type=none
3626 fi
3627
3628 fi
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3630 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3631 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3632
3633 if
3634 test "x$enable_dependency_tracking" != xno \
3635 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3636 am__fastdepCC_TRUE=
3637 am__fastdepCC_FALSE='#'
3638 else
3639 am__fastdepCC_TRUE='#'
3640 am__fastdepCC_FALSE=
3641 fi
3642
3643
3644
3645
3646
3647 case "$am__api_version" in
3648 1.01234)
3649 as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
3650 ;;
3651 *)
3652 ;;
3653 esac
3654
3655 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.26 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3656 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
3657 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3658 if test -n "0.26"; then
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.26" >&5
3660 $as_echo_n "checking for intltool >= 0.26... " >&6; }
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
3662 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
3663 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
3664 as_fn_error $? "Your intltool is too old. You need intltool 0.26 or later." "$LINENO" 5
3665 fi
3666
3667 # Extract the first word of "intltool-update", so it can be a program name with args.
3668 set dummy intltool-update; ac_word=$2
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3670 $as_echo_n "checking for $ac_word... " >&6; }
3671 if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
3672 $as_echo_n "(cached) " >&6
3673 else
3674 case $INTLTOOL_UPDATE in
3675 [\\/]* | ?:[\\/]*)
3676 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
3677 ;;
3678 *)
3679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3680 for as_dir in $PATH
3681 do
3682 IFS=$as_save_IFS
3683 test -z "$as_dir" && as_dir=.
3684 for ac_exec_ext in '' $ac_executable_extensions; do
3685 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3686 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
3687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3688 break 2
3689 fi
3690 done
3691 done
3692 IFS=$as_save_IFS
3693
3694 ;;
3695 esac
3696 fi
3697 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
3698 if test -n "$INTLTOOL_UPDATE"; then
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
3700 $as_echo "$INTLTOOL_UPDATE" >&6; }
3701 else
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3703 $as_echo "no" >&6; }
3704 fi
3705
3706
3707 # Extract the first word of "intltool-merge", so it can be a program name with args.
3708 set dummy intltool-merge; ac_word=$2
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3710 $as_echo_n "checking for $ac_word... " >&6; }
3711 if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
3712 $as_echo_n "(cached) " >&6
3713 else
3714 case $INTLTOOL_MERGE in
3715 [\\/]* | ?:[\\/]*)
3716 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
3717 ;;
3718 *)
3719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3720 for as_dir in $PATH
3721 do
3722 IFS=$as_save_IFS
3723 test -z "$as_dir" && as_dir=.
3724 for ac_exec_ext in '' $ac_executable_extensions; do
3725 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3726 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
3727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3728 break 2
3729 fi
3730 done
3731 done
3732 IFS=$as_save_IFS
3733
3734 ;;
3735 esac
3736 fi
3737 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
3738 if test -n "$INTLTOOL_MERGE"; then
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
3740 $as_echo "$INTLTOOL_MERGE" >&6; }
3741 else
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3743 $as_echo "no" >&6; }
3744 fi
3745
3746
3747 # Extract the first word of "intltool-extract", so it can be a program name with args.
3748 set dummy intltool-extract; ac_word=$2
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3750 $as_echo_n "checking for $ac_word... " >&6; }
3751 if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
3752 $as_echo_n "(cached) " >&6
3753 else
3754 case $INTLTOOL_EXTRACT in
3755 [\\/]* | ?:[\\/]*)
3756 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
3757 ;;
3758 *)
3759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3760 for as_dir in $PATH
3761 do
3762 IFS=$as_save_IFS
3763 test -z "$as_dir" && as_dir=.
3764 for ac_exec_ext in '' $ac_executable_extensions; do
3765 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3766 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
3767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3768 break 2
3769 fi
3770 done
3771 done
3772 IFS=$as_save_IFS
3773
3774 ;;
3775 esac
3776 fi
3777 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
3778 if test -n "$INTLTOOL_EXTRACT"; then
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
3780 $as_echo "$INTLTOOL_EXTRACT" >&6; }
3781 else
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3783 $as_echo "no" >&6; }
3784 fi
3785
3786
3787 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
3788 as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
3789 fi
3790
3791 if test -z "$AM_DEFAULT_VERBOSITY"; then
3792 AM_DEFAULT_VERBOSITY=1
3793 fi
3794
3795
3796 INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
3797 INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
3798 INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;'
3799
3800
3801
3802
3803 INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
3804 intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
3805 intltool__v_merge_options_0='-q'
3806
3807
3808
3809
3810 INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3811 INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3812 INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3813 INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3814 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
3815 INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3816 INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3817 INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3818 INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3819 INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3820 INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3821 if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
3822 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
3823 else
3824 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
3825 fi
3826 INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3827 INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3828 INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3829 INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3830 INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3831 INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3832 INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930 # Check the gettext tools to make sure they are GNU
3931 # Extract the first word of "xgettext", so it can be a program name with args.
3932 set dummy xgettext; ac_word=$2
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3934 $as_echo_n "checking for $ac_word... " >&6; }
3935 if ${ac_cv_path_XGETTEXT+:} false; then :
3936 $as_echo_n "(cached) " >&6
3937 else
3938 case $XGETTEXT in
3939 [\\/]* | ?:[\\/]*)
3940 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
3941 ;;
3942 *)
3943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3944 for as_dir in $PATH
3945 do
3946 IFS=$as_save_IFS
3947 test -z "$as_dir" && as_dir=.
3948 for ac_exec_ext in '' $ac_executable_extensions; do
3949 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3950 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
3951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3952 break 2
3953 fi
3954 done
3955 done
3956 IFS=$as_save_IFS
3957
3958 ;;
3959 esac
3960 fi
3961 XGETTEXT=$ac_cv_path_XGETTEXT
3962 if test -n "$XGETTEXT"; then
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
3964 $as_echo "$XGETTEXT" >&6; }
3965 else
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3967 $as_echo "no" >&6; }
3968 fi
3969
3970
3971 # Extract the first word of "msgmerge", so it can be a program name with args.
3972 set dummy msgmerge; ac_word=$2
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3974 $as_echo_n "checking for $ac_word... " >&6; }
3975 if ${ac_cv_path_MSGMERGE+:} false; then :
3976 $as_echo_n "(cached) " >&6
3977 else
3978 case $MSGMERGE in
3979 [\\/]* | ?:[\\/]*)
3980 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
3981 ;;
3982 *)
3983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3984 for as_dir in $PATH
3985 do
3986 IFS=$as_save_IFS
3987 test -z "$as_dir" && as_dir=.
3988 for ac_exec_ext in '' $ac_executable_extensions; do
3989 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3990 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
3991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3992 break 2
3993 fi
3994 done
3995 done
3996 IFS=$as_save_IFS
3997
3998 ;;
3999 esac
4000 fi
4001 MSGMERGE=$ac_cv_path_MSGMERGE
4002 if test -n "$MSGMERGE"; then
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4004 $as_echo "$MSGMERGE" >&6; }
4005 else
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4007 $as_echo "no" >&6; }
4008 fi
4009
4010
4011 # Extract the first word of "msgfmt", so it can be a program name with args.
4012 set dummy msgfmt; ac_word=$2
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4014 $as_echo_n "checking for $ac_word... " >&6; }
4015 if ${ac_cv_path_MSGFMT+:} false; then :
4016 $as_echo_n "(cached) " >&6
4017 else
4018 case $MSGFMT in
4019 [\\/]* | ?:[\\/]*)
4020 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4021 ;;
4022 *)
4023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4024 for as_dir in $PATH
4025 do
4026 IFS=$as_save_IFS
4027 test -z "$as_dir" && as_dir=.
4028 for ac_exec_ext in '' $ac_executable_extensions; do
4029 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4030 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
4031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4032 break 2
4033 fi
4034 done
4035 done
4036 IFS=$as_save_IFS
4037
4038 ;;
4039 esac
4040 fi
4041 MSGFMT=$ac_cv_path_MSGFMT
4042 if test -n "$MSGFMT"; then
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4044 $as_echo "$MSGFMT" >&6; }
4045 else
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4047 $as_echo "no" >&6; }
4048 fi
4049
4050
4051 # Extract the first word of "gmsgfmt", so it can be a program name with args.
4052 set dummy gmsgfmt; ac_word=$2
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4054 $as_echo_n "checking for $ac_word... " >&6; }
4055 if ${ac_cv_path_GMSGFMT+:} false; then :
4056 $as_echo_n "(cached) " >&6
4057 else
4058 case $GMSGFMT in
4059 [\\/]* | ?:[\\/]*)
4060 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4061 ;;
4062 *)
4063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4064 for as_dir in $PATH
4065 do
4066 IFS=$as_save_IFS
4067 test -z "$as_dir" && as_dir=.
4068 for ac_exec_ext in '' $ac_executable_extensions; do
4069 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4070 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4072 break 2
4073 fi
4074 done
4075 done
4076 IFS=$as_save_IFS
4077
4078 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4079 ;;
4080 esac
4081 fi
4082 GMSGFMT=$ac_cv_path_GMSGFMT
4083 if test -n "$GMSGFMT"; then
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4085 $as_echo "$GMSGFMT" >&6; }
4086 else
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4088 $as_echo "no" >&6; }
4089 fi
4090
4091
4092 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
4093 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
4094 fi
4095 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
4096 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
4097 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
4098 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
4099 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
4100 fi
4101
4102 # Extract the first word of "perl", so it can be a program name with args.
4103 set dummy perl; ac_word=$2
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4105 $as_echo_n "checking for $ac_word... " >&6; }
4106 if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
4107 $as_echo_n "(cached) " >&6
4108 else
4109 case $INTLTOOL_PERL in
4110 [\\/]* | ?:[\\/]*)
4111 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
4112 ;;
4113 *)
4114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4115 for as_dir in $PATH
4116 do
4117 IFS=$as_save_IFS
4118 test -z "$as_dir" && as_dir=.
4119 for ac_exec_ext in '' $ac_executable_extensions; do
4120 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4121 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
4122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4123 break 2
4124 fi
4125 done
4126 done
4127 IFS=$as_save_IFS
4128
4129 ;;
4130 esac
4131 fi
4132 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
4133 if test -n "$INTLTOOL_PERL"; then
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
4135 $as_echo "$INTLTOOL_PERL" >&6; }
4136 else
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4138 $as_echo "no" >&6; }
4139 fi
4140
4141
4142 if test -z "$INTLTOOL_PERL"; then
4143 as_fn_error $? "perl not found" "$LINENO" 5
4144 fi
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
4146 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
4147 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
4148 if test $? -ne 0; then
4149 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
4150 else
4151 IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
4153 $as_echo "$IT_PERL_VERSION" >&6; }
4154 fi
4155 if test "x" != "xno-xml"; then
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
4157 $as_echo_n "checking for XML::Parser... " >&6; }
4158 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
4160 $as_echo "ok" >&6; }
4161 else
4162 as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
4163 fi
4164 fi
4165
4166 # Substitute ALL_LINGUAS so we can use it in po/Makefile
4167
4168
4169 # Set DATADIRNAME correctly if it is not set yet
4170 # (copied from glib-gettext.m4)
4171 if test -z "$DATADIRNAME"; then
4172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4173 /* end confdefs.h. */
4174
4175 int
4176 main ()
4177 {
4178 extern int _nl_msg_cat_cntr;
4179 return _nl_msg_cat_cntr
4180 ;
4181 return 0;
4182 }
4183 _ACEOF
4184 if ac_fn_c_try_link "$LINENO"; then :
4185 DATADIRNAME=share
4186 else
4187 case $host in
4188 *-*-solaris*)
4189 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
4190 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
4191 DATADIRNAME=share
4192 else
4193 DATADIRNAME=lib
4194 fi
4195
4196 ;;
4197 *)
4198 DATADIRNAME=lib
4199 ;;
4200 esac
4201 fi
4202 rm -f core conftest.err conftest.$ac_objext \
4203 conftest$ac_exeext conftest.$ac_ext
4204 fi
4205
4206
4207
4208
4209
4210
4211 #AM_GNU_GETTEXT([external])
4212
4213
4214 #AC_SUBST([GETTEXT_PACKAGE], [mssh])
4215 #AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], ["$GETTEXT_PACKAGE"], [Define to the gettext package name.])
4216
4217 ac_ext=c
4218 ac_cpp='$CPP $CPPFLAGS'
4219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4222 if test -n "$ac_tool_prefix"; then
4223 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4224 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4226 $as_echo_n "checking for $ac_word... " >&6; }
4227 if ${ac_cv_prog_CC+:} false; then :
4228 $as_echo_n "(cached) " >&6
4229 else
4230 if test -n "$CC"; then
4231 ac_cv_prog_CC="$CC" # Let the user override the test.
4232 else
4233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4234 for as_dir in $PATH
4235 do
4236 IFS=$as_save_IFS
4237 test -z "$as_dir" && as_dir=.
4238 for ac_exec_ext in '' $ac_executable_extensions; do
4239 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4240 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4242 break 2
4243 fi
4244 done
4245 done
4246 IFS=$as_save_IFS
4247
4248 fi
4249 fi
4250 CC=$ac_cv_prog_CC
4251 if test -n "$CC"; then
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4253 $as_echo "$CC" >&6; }
4254 else
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4256 $as_echo "no" >&6; }
4257 fi
4258
4259
4260 fi
4261 if test -z "$ac_cv_prog_CC"; then
4262 ac_ct_CC=$CC
4263 # Extract the first word of "gcc", so it can be a program name with args.
4264 set dummy gcc; ac_word=$2
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4266 $as_echo_n "checking for $ac_word... " >&6; }
4267 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4268 $as_echo_n "(cached) " >&6
4269 else
4270 if test -n "$ac_ct_CC"; then
4271 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4272 else
4273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4274 for as_dir in $PATH
4275 do
4276 IFS=$as_save_IFS
4277 test -z "$as_dir" && as_dir=.
4278 for ac_exec_ext in '' $ac_executable_extensions; do
4279 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4280 ac_cv_prog_ac_ct_CC="gcc"
4281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4282 break 2
4283 fi
4284 done
4285 done
4286 IFS=$as_save_IFS
4287
4288 fi
4289 fi
4290 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4291 if test -n "$ac_ct_CC"; then
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4293 $as_echo "$ac_ct_CC" >&6; }
4294 else
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4296 $as_echo "no" >&6; }
4297 fi
4298
4299 if test "x$ac_ct_CC" = x; then
4300 CC=""
4301 else
4302 case $cross_compiling:$ac_tool_warned in
4303 yes:)
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4305 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4306 ac_tool_warned=yes ;;
4307 esac
4308 CC=$ac_ct_CC
4309 fi
4310 else
4311 CC="$ac_cv_prog_CC"
4312 fi
4313
4314 if test -z "$CC"; then
4315 if test -n "$ac_tool_prefix"; then
4316 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4317 set dummy ${ac_tool_prefix}cc; ac_word=$2
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4319 $as_echo_n "checking for $ac_word... " >&6; }
4320 if ${ac_cv_prog_CC+:} false; then :
4321 $as_echo_n "(cached) " >&6
4322 else
4323 if test -n "$CC"; then
4324 ac_cv_prog_CC="$CC" # Let the user override the test.
4325 else
4326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4327 for as_dir in $PATH
4328 do
4329 IFS=$as_save_IFS
4330 test -z "$as_dir" && as_dir=.
4331 for ac_exec_ext in '' $ac_executable_extensions; do
4332 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4333 ac_cv_prog_CC="${ac_tool_prefix}cc"
4334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4335 break 2
4336 fi
4337 done
4338 done
4339 IFS=$as_save_IFS
4340
4341 fi
4342 fi
4343 CC=$ac_cv_prog_CC
4344 if test -n "$CC"; then
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4346 $as_echo "$CC" >&6; }
4347 else
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4349 $as_echo "no" >&6; }
4350 fi
4351
4352
4353 fi
4354 fi
4355 if test -z "$CC"; then
4356 # Extract the first word of "cc", so it can be a program name with args.
4357 set dummy cc; ac_word=$2
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4359 $as_echo_n "checking for $ac_word... " >&6; }
4360 if ${ac_cv_prog_CC+:} false; then :
4361 $as_echo_n "(cached) " >&6
4362 else
4363 if test -n "$CC"; then
4364 ac_cv_prog_CC="$CC" # Let the user override the test.
4365 else
4366 ac_prog_rejected=no
4367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4368 for as_dir in $PATH
4369 do
4370 IFS=$as_save_IFS
4371 test -z "$as_dir" && as_dir=.
4372 for ac_exec_ext in '' $ac_executable_extensions; do
4373 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4374 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4375 ac_prog_rejected=yes
4376 continue
4377 fi
4378 ac_cv_prog_CC="cc"
4379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4380 break 2
4381 fi
4382 done
4383 done
4384 IFS=$as_save_IFS
4385
4386 if test $ac_prog_rejected = yes; then
4387 # We found a bogon in the path, so make sure we never use it.
4388 set dummy $ac_cv_prog_CC
4389 shift
4390 if test $# != 0; then
4391 # We chose a different compiler from the bogus one.
4392 # However, it has the same basename, so the bogon will be chosen
4393 # first if we set CC to just the basename; use the full file name.
4394 shift
4395 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4396 fi
4397 fi
4398 fi
4399 fi
4400 CC=$ac_cv_prog_CC
4401 if test -n "$CC"; then
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4403 $as_echo "$CC" >&6; }
4404 else
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4406 $as_echo "no" >&6; }
4407 fi
4408
4409
4410 fi
4411 if test -z "$CC"; then
4412 if test -n "$ac_tool_prefix"; then
4413 for ac_prog in cl.exe
4414 do
4415 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4416 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4418 $as_echo_n "checking for $ac_word... " >&6; }
4419 if ${ac_cv_prog_CC+:} false; then :
4420 $as_echo_n "(cached) " >&6
4421 else
4422 if test -n "$CC"; then
4423 ac_cv_prog_CC="$CC" # Let the user override the test.
4424 else
4425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4426 for as_dir in $PATH
4427 do
4428 IFS=$as_save_IFS
4429 test -z "$as_dir" && as_dir=.
4430 for ac_exec_ext in '' $ac_executable_extensions; do
4431 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4432 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4434 break 2
4435 fi
4436 done
4437 done
4438 IFS=$as_save_IFS
4439
4440 fi
4441 fi
4442 CC=$ac_cv_prog_CC
4443 if test -n "$CC"; then
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4445 $as_echo "$CC" >&6; }
4446 else
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4448 $as_echo "no" >&6; }
4449 fi
4450
4451
4452 test -n "$CC" && break
4453 done
4454 fi
4455 if test -z "$CC"; then
4456 ac_ct_CC=$CC
4457 for ac_prog in cl.exe
4458 do
4459 # Extract the first word of "$ac_prog", so it can be a program name with args.
4460 set dummy $ac_prog; ac_word=$2
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4462 $as_echo_n "checking for $ac_word... " >&6; }
4463 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4464 $as_echo_n "(cached) " >&6
4465 else
4466 if test -n "$ac_ct_CC"; then
4467 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4468 else
4469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4470 for as_dir in $PATH
4471 do
4472 IFS=$as_save_IFS
4473 test -z "$as_dir" && as_dir=.
4474 for ac_exec_ext in '' $ac_executable_extensions; do
4475 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4476 ac_cv_prog_ac_ct_CC="$ac_prog"
4477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4478 break 2
4479 fi
4480 done
4481 done
4482 IFS=$as_save_IFS
4483
4484 fi
4485 fi
4486 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4487 if test -n "$ac_ct_CC"; then
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4489 $as_echo "$ac_ct_CC" >&6; }
4490 else
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4492 $as_echo "no" >&6; }
4493 fi
4494
4495
4496 test -n "$ac_ct_CC" && break
4497 done
4498
4499 if test "x$ac_ct_CC" = x; then
4500 CC=""
4501 else
4502 case $cross_compiling:$ac_tool_warned in
4503 yes:)
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4505 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4506 ac_tool_warned=yes ;;
4507 esac
4508 CC=$ac_ct_CC
4509 fi
4510 fi
4511
4512 fi
4513
4514
4515 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4516 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4517 as_fn_error $? "no acceptable C compiler found in \$PATH
4518 See \`config.log' for more details" "$LINENO" 5; }
4519
4520 # Provide some information about the compiler.
4521 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4522 set X $ac_compile
4523 ac_compiler=$2
4524 for ac_option in --version -v -V -qversion; do
4525 { { ac_try="$ac_compiler $ac_option >&5"
4526 case "(($ac_try" in
4527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4528 *) ac_try_echo=$ac_try;;
4529 esac
4530 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4531 $as_echo "$ac_try_echo"; } >&5
4532 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4533 ac_status=$?
4534 if test -s conftest.err; then
4535 sed '10a\
4536 ... rest of stderr output deleted ...
4537 10q' conftest.err >conftest.er1
4538 cat conftest.er1 >&5
4539 fi
4540 rm -f conftest.er1 conftest.err
4541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4542 test $ac_status = 0; }
4543 done
4544
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4546 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4547 if ${ac_cv_c_compiler_gnu+:} false; then :
4548 $as_echo_n "(cached) " >&6
4549 else
4550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4551 /* end confdefs.h. */
4552
4553 int
4554 main ()
4555 {
4556 #ifndef __GNUC__
4557 choke me
4558 #endif
4559
4560 ;
4561 return 0;
4562 }
4563 _ACEOF
4564 if ac_fn_c_try_compile "$LINENO"; then :
4565 ac_compiler_gnu=yes
4566 else
4567 ac_compiler_gnu=no
4568 fi
4569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4570 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4571
4572 fi
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4574 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4575 if test $ac_compiler_gnu = yes; then
4576 GCC=yes
4577 else
4578 GCC=
4579 fi
4580 ac_test_CFLAGS=${CFLAGS+set}
4581 ac_save_CFLAGS=$CFLAGS
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4583 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4584 if ${ac_cv_prog_cc_g+:} false; then :
4585 $as_echo_n "(cached) " >&6
4586 else
4587 ac_save_c_werror_flag=$ac_c_werror_flag
4588 ac_c_werror_flag=yes
4589 ac_cv_prog_cc_g=no
4590 CFLAGS="-g"
4591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4592 /* end confdefs.h. */
4593
4594 int
4595 main ()
4596 {
4597
4598 ;
4599 return 0;
4600 }
4601 _ACEOF
4602 if ac_fn_c_try_compile "$LINENO"; then :
4603 ac_cv_prog_cc_g=yes
4604 else
4605 CFLAGS=""
4606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4607 /* end confdefs.h. */
4608
4609 int
4610 main ()
4611 {
4612
4613 ;
4614 return 0;
4615 }
4616 _ACEOF
4617 if ac_fn_c_try_compile "$LINENO"; then :
4618
4619 else
4620 ac_c_werror_flag=$ac_save_c_werror_flag
4621 CFLAGS="-g"
4622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4623 /* end confdefs.h. */
4624
4625 int
4626 main ()
4627 {
4628
4629 ;
4630 return 0;
4631 }
4632 _ACEOF
4633 if ac_fn_c_try_compile "$LINENO"; then :
4634 ac_cv_prog_cc_g=yes
4635 fi
4636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4637 fi
4638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4639 fi
4640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4641 ac_c_werror_flag=$ac_save_c_werror_flag
4642 fi
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4644 $as_echo "$ac_cv_prog_cc_g" >&6; }
4645 if test "$ac_test_CFLAGS" = set; then
4646 CFLAGS=$ac_save_CFLAGS
4647 elif test $ac_cv_prog_cc_g = yes; then
4648 if test "$GCC" = yes; then
4649 CFLAGS="-g -O2"
4650 else
4651 CFLAGS="-g"
4652 fi
4653 else
4654 if test "$GCC" = yes; then
4655 CFLAGS="-O2"
4656 else
4657 CFLAGS=
4658 fi
4659 fi
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4661 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4662 if ${ac_cv_prog_cc_c89+:} false; then :
4663 $as_echo_n "(cached) " >&6
4664 else
4665 ac_cv_prog_cc_c89=no
4666 ac_save_CC=$CC
4667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4668 /* end confdefs.h. */
4669 #include <stdarg.h>
4670 #include <stdio.h>
4671 struct stat;
4672 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4673 struct buf { int x; };
4674 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4675 static char *e (p, i)
4676 char **p;
4677 int i;
4678 {
4679 return p[i];
4680 }
4681 static char *f (char * (*g) (char **, int), char **p, ...)
4682 {
4683 char *s;
4684 va_list v;
4685 va_start (v,p);
4686 s = g (p, va_arg (v,int));
4687 va_end (v);
4688 return s;
4689 }
4690
4691 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4692 function prototypes and stuff, but not '\xHH' hex character constants.
4693 These don't provoke an error unfortunately, instead are silently treated
4694 as 'x'. The following induces an error, until -std is added to get
4695 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4696 array size at least. It's necessary to write '\x00'==0 to get something
4697 that's true only with -std. */
4698 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4699
4700 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4701 inside strings and character constants. */
4702 #define FOO(x) 'x'
4703 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4704
4705 int test (int i, double x);
4706 struct s1 {int (*f) (int a);};
4707 struct s2 {int (*f) (double a);};
4708 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4709 int argc;
4710 char **argv;
4711 int
4712 main ()
4713 {
4714 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4715 ;
4716 return 0;
4717 }
4718 _ACEOF
4719 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4720 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4721 do
4722 CC="$ac_save_CC $ac_arg"
4723 if ac_fn_c_try_compile "$LINENO"; then :
4724 ac_cv_prog_cc_c89=$ac_arg
4725 fi
4726 rm -f core conftest.err conftest.$ac_objext
4727 test "x$ac_cv_prog_cc_c89" != "xno" && break
4728 done
4729 rm -f conftest.$ac_ext
4730 CC=$ac_save_CC
4731
4732 fi
4733 # AC_CACHE_VAL
4734 case "x$ac_cv_prog_cc_c89" in
4735 x)
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4737 $as_echo "none needed" >&6; } ;;
4738 xno)
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4740 $as_echo "unsupported" >&6; } ;;
4741 *)
4742 CC="$CC $ac_cv_prog_cc_c89"
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4744 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4745 esac
4746 if test "x$ac_cv_prog_cc_c89" != xno; then :
4747
4748 fi
4749
4750 ac_ext=c
4751 ac_cpp='$CPP $CPPFLAGS'
4752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4755
4756 ac_ext=c
4757 ac_cpp='$CPP $CPPFLAGS'
4758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4762 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4763 if ${am_cv_prog_cc_c_o+:} false; then :
4764 $as_echo_n "(cached) " >&6
4765 else
4766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4767 /* end confdefs.h. */
4768
4769 int
4770 main ()
4771 {
4772
4773 ;
4774 return 0;
4775 }
4776 _ACEOF
4777 # Make sure it works both with $CC and with simple cc.
4778 # Following AC_PROG_CC_C_O, we do the test twice because some
4779 # compilers refuse to overwrite an existing .o file with -o,
4780 # though they will create one.
4781 am_cv_prog_cc_c_o=yes
4782 for am_i in 1 2; do
4783 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4784 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4785 ac_status=$?
4786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4787 (exit $ac_status); } \
4788 && test -f conftest2.$ac_objext; then
4789 : OK
4790 else
4791 am_cv_prog_cc_c_o=no
4792 break
4793 fi
4794 done
4795 rm -f core conftest*
4796 unset am_i
4797 fi
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4799 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4800 if test "$am_cv_prog_cc_c_o" != yes; then
4801 # Losing compiler, so override with the script.
4802 # FIXME: It is wrong to rewrite CC.
4803 # But if we don't then we get into trouble of one sort or another.
4804 # A longer-term fix would be to have automake use am__CC in this case,
4805 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4806 CC="$am_aux_dir/compile $CC"
4807 fi
4808 ac_ext=c
4809 ac_cpp='$CPP $CPPFLAGS'
4810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4813
4814
4815 depcc="$CC" am_compiler_list=
4816
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4818 $as_echo_n "checking dependency style of $depcc... " >&6; }
4819 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4820 $as_echo_n "(cached) " >&6
4821 else
4822 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4823 # We make a subdir and do the tests there. Otherwise we can end up
4824 # making bogus files that we don't know about and never remove. For
4825 # instance it was reported that on HP-UX the gcc test will end up
4826 # making a dummy file named 'D' -- because '-MD' means "put the output
4827 # in D".
4828 rm -rf conftest.dir
4829 mkdir conftest.dir
4830 # Copy depcomp to subdir because otherwise we won't find it if we're
4831 # using a relative directory.
4832 cp "$am_depcomp" conftest.dir
4833 cd conftest.dir
4834 # We will build objects and dependencies in a subdirectory because
4835 # it helps to detect inapplicable dependency modes. For instance
4836 # both Tru64's cc and ICC support -MD to output dependencies as a
4837 # side effect of compilation, but ICC will put the dependencies in
4838 # the current directory while Tru64 will put them in the object
4839 # directory.
4840 mkdir sub
4841
4842 am_cv_CC_dependencies_compiler_type=none
4843 if test "$am_compiler_list" = ""; then
4844 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4845 fi
4846 am__universal=false
4847 case " $depcc " in #(
4848 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4849 esac
4850
4851 for depmode in $am_compiler_list; do
4852 # Setup a source with many dependencies, because some compilers
4853 # like to wrap large dependency lists on column 80 (with \), and
4854 # we should not choose a depcomp mode which is confused by this.
4855 #
4856 # We need to recreate these files for each test, as the compiler may
4857 # overwrite some of them when testing with obscure command lines.
4858 # This happens at least with the AIX C compiler.
4859 : > sub/conftest.c
4860 for i in 1 2 3 4 5 6; do
4861 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4862 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4863 # Solaris 10 /bin/sh.
4864 echo '/* dummy */' > sub/conftst$i.h
4865 done
4866 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4867
4868 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4869 # mode. It turns out that the SunPro C++ compiler does not properly
4870 # handle '-M -o', and we need to detect this. Also, some Intel
4871 # versions had trouble with output in subdirs.
4872 am__obj=sub/conftest.${OBJEXT-o}
4873 am__minus_obj="-o $am__obj"
4874 case $depmode in
4875 gcc)
4876 # This depmode causes a compiler race in universal mode.
4877 test "$am__universal" = false || continue
4878 ;;
4879 nosideeffect)
4880 # After this tag, mechanisms are not by side-effect, so they'll
4881 # only be used when explicitly requested.
4882 if test "x$enable_dependency_tracking" = xyes; then
4883 continue
4884 else
4885 break
4886 fi
4887 ;;
4888 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4889 # This compiler won't grok '-c -o', but also, the minuso test has
4890 # not run yet. These depmodes are late enough in the game, and
4891 # so weak that their functioning should not be impacted.
4892 am__obj=conftest.${OBJEXT-o}
4893 am__minus_obj=
4894 ;;
4895 none) break ;;
4896 esac
4897 if depmode=$depmode \
4898 source=sub/conftest.c object=$am__obj \
4899 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4900 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4901 >/dev/null 2>conftest.err &&
4902 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4903 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4904 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4905 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4906 # icc doesn't choke on unknown options, it will just issue warnings
4907 # or remarks (even with -Werror). So we grep stderr for any message
4908 # that says an option was ignored or not supported.
4909 # When given -MP, icc 7.0 and 7.1 complain thusly:
4910 # icc: Command line warning: ignoring option '-M'; no argument required
4911 # The diagnosis changed in icc 8.0:
4912 # icc: Command line remark: option '-MP' not supported
4913 if (grep 'ignoring option' conftest.err ||
4914 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4915 am_cv_CC_dependencies_compiler_type=$depmode
4916 break
4917 fi
4918 fi
4919 done
4920
4921 cd ..
4922 rm -rf conftest.dir
4923 else
4924 am_cv_CC_dependencies_compiler_type=none
4925 fi
4926
4927 fi
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4929 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4930 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4931
4932 if
4933 test "x$enable_dependency_tracking" != xno \
4934 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4935 am__fastdepCC_TRUE=
4936 am__fastdepCC_FALSE='#'
4937 else
4938 am__fastdepCC_TRUE='#'
4939 am__fastdepCC_FALSE=
4940 fi
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4952 if test -n "$ac_tool_prefix"; then
4953 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4954 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4956 $as_echo_n "checking for $ac_word... " >&6; }
4957 if ${ac_cv_path_PKG_CONFIG+:} false; then :
4958 $as_echo_n "(cached) " >&6
4959 else
4960 case $PKG_CONFIG in
4961 [\\/]* | ?:[\\/]*)
4962 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4963 ;;
4964 *)
4965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4966 for as_dir in $PATH
4967 do
4968 IFS=$as_save_IFS
4969 test -z "$as_dir" && as_dir=.
4970 for ac_exec_ext in '' $ac_executable_extensions; do
4971 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4972 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4974 break 2
4975 fi
4976 done
4977 done
4978 IFS=$as_save_IFS
4979
4980 ;;
4981 esac
4982 fi
4983 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4984 if test -n "$PKG_CONFIG"; then
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4986 $as_echo "$PKG_CONFIG" >&6; }
4987 else
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4989 $as_echo "no" >&6; }
4990 fi
4991
4992
4993 fi
4994 if test -z "$ac_cv_path_PKG_CONFIG"; then
4995 ac_pt_PKG_CONFIG=$PKG_CONFIG
4996 # Extract the first word of "pkg-config", so it can be a program name with args.
4997 set dummy pkg-config; ac_word=$2
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4999 $as_echo_n "checking for $ac_word... " >&6; }
5000 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
5001 $as_echo_n "(cached) " >&6
5002 else
5003 case $ac_pt_PKG_CONFIG in
5004 [\\/]* | ?:[\\/]*)
5005 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5006 ;;
5007 *)
5008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5009 for as_dir in $PATH
5010 do
5011 IFS=$as_save_IFS
5012 test -z "$as_dir" && as_dir=.
5013 for ac_exec_ext in '' $ac_executable_extensions; do
5014 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5015 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5017 break 2
5018 fi
5019 done
5020 done
5021 IFS=$as_save_IFS
5022
5023 ;;
5024 esac
5025 fi
5026 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
5027 if test -n "$ac_pt_PKG_CONFIG"; then
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
5029 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
5030 else
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5032 $as_echo "no" >&6; }
5033 fi
5034
5035 if test "x$ac_pt_PKG_CONFIG" = x; then
5036 PKG_CONFIG=""
5037 else
5038 case $cross_compiling:$ac_tool_warned in
5039 yes:)
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5041 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5042 ac_tool_warned=yes ;;
5043 esac
5044 PKG_CONFIG=$ac_pt_PKG_CONFIG
5045 fi
5046 else
5047 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
5048 fi
5049
5050 fi
5051 if test -n "$PKG_CONFIG"; then
5052 _pkg_min_version=0.9.0
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
5054 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5055 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5057 $as_echo "yes" >&6; }
5058 else
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5060 $as_echo "no" >&6; }
5061 PKG_CONFIG=""
5062 fi
5063 fi
5064
5065 pkg_failed=no
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MSSH" >&5
5067 $as_echo_n "checking for MSSH... " >&6; }
5068
5069 if test -n "$MSSH_CFLAGS"; then
5070 pkg_cv_MSSH_CFLAGS="$MSSH_CFLAGS"
5071 elif test -n "$PKG_CONFIG"; then
5072 if test -n "$PKG_CONFIG" && \
5073 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 vte-2.90 gconf-2.0\""; } >&5
5074 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 vte-2.90 gconf-2.0") 2>&5
5075 ac_status=$?
5076 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5077 test $ac_status = 0; }; then
5078 pkg_cv_MSSH_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 vte-2.90 gconf-2.0" 2>/dev/null`
5079 test "x$?" != "x0" && pkg_failed=yes
5080 else
5081 pkg_failed=yes
5082 fi
5083 else
5084 pkg_failed=untried
5085 fi
5086 if test -n "$MSSH_LIBS"; then
5087 pkg_cv_MSSH_LIBS="$MSSH_LIBS"
5088 elif test -n "$PKG_CONFIG"; then
5089 if test -n "$PKG_CONFIG" && \
5090 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 vte-2.90 gconf-2.0\""; } >&5
5091 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 vte-2.90 gconf-2.0") 2>&5
5092 ac_status=$?
5093 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5094 test $ac_status = 0; }; then
5095 pkg_cv_MSSH_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 vte-2.90 gconf-2.0" 2>/dev/null`
5096 test "x$?" != "x0" && pkg_failed=yes
5097 else
5098 pkg_failed=yes
5099 fi
5100 else
5101 pkg_failed=untried
5102 fi
5103
5104
5105
5106 if test $pkg_failed = yes; then
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5108 $as_echo "no" >&6; }
5109
5110 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5111 _pkg_short_errors_supported=yes
5112 else
5113 _pkg_short_errors_supported=no
5114 fi
5115 if test $_pkg_short_errors_supported = yes; then
5116 MSSH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 vte-2.90 gconf-2.0" 2>&1`
5117 else
5118 MSSH_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 vte-2.90 gconf-2.0" 2>&1`
5119 fi
5120 # Put the nasty error message in config.log where it belongs
5121 echo "$MSSH_PKG_ERRORS" >&5
5122
5123 as_fn_error $? "Package requirements (gtk+-3.0 vte-2.90 gconf-2.0) were not met:
5124
5125 $MSSH_PKG_ERRORS
5126
5127 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5128 installed software in a non-standard prefix.
5129
5130 Alternatively, you may set the environment variables MSSH_CFLAGS
5131 and MSSH_LIBS to avoid the need to call pkg-config.
5132 See the pkg-config man page for more details." "$LINENO" 5
5133 elif test $pkg_failed = untried; then
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5135 $as_echo "no" >&6; }
5136 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5137 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5138 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
5139 is in your PATH or set the PKG_CONFIG environment variable to the full
5140 path to pkg-config.
5141
5142 Alternatively, you may set the environment variables MSSH_CFLAGS
5143 and MSSH_LIBS to avoid the need to call pkg-config.
5144 See the pkg-config man page for more details.
5145
5146 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5147 See \`config.log' for more details" "$LINENO" 5; }
5148 else
5149 MSSH_CFLAGS=$pkg_cv_MSSH_CFLAGS
5150 MSSH_LIBS=$pkg_cv_MSSH_LIBS
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5152 $as_echo "yes" >&6; }
5153
5154 fi
5155
5156
5157
5158 # Extract the first word of "gconftool-2", so it can be a program name with args.
5159 set dummy gconftool-2; ac_word=$2
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5161 $as_echo_n "checking for $ac_word... " >&6; }
5162 if ${ac_cv_path_GCONFTOOL+:} false; then :
5163 $as_echo_n "(cached) " >&6
5164 else
5165 case $GCONFTOOL in
5166 [\\/]* | ?:[\\/]*)
5167 ac_cv_path_GCONFTOOL="$GCONFTOOL" # Let the user override the test with a path.
5168 ;;
5169 *)
5170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5171 for as_dir in $PATH
5172 do
5173 IFS=$as_save_IFS
5174 test -z "$as_dir" && as_dir=.
5175 for ac_exec_ext in '' $ac_executable_extensions; do
5176 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5177 ac_cv_path_GCONFTOOL="$as_dir/$ac_word$ac_exec_ext"
5178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5179 break 2
5180 fi
5181 done
5182 done
5183 IFS=$as_save_IFS
5184
5185 test -z "$ac_cv_path_GCONFTOOL" && ac_cv_path_GCONFTOOL="no"
5186 ;;
5187 esac
5188 fi
5189 GCONFTOOL=$ac_cv_path_GCONFTOOL
5190 if test -n "$GCONFTOOL"; then
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONFTOOL" >&5
5192 $as_echo "$GCONFTOOL" >&6; }
5193 else
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5195 $as_echo "no" >&6; }
5196 fi
5197
5198
5199
5200 if test x"$GCONFTOOL" = xno; then
5201 as_fn_error $? "gconftool-2 executable not found in your path - should be installed with GConf" "$LINENO" 5
5202 fi
5203
5204
5205 if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
5206 GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
5207 else
5208 GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
5209 fi
5210
5211
5212 # Check whether --with-gconf-source was given.
5213 if test "${with_gconf_source+set}" = set; then :
5214 withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval"
5215 fi
5216
5217
5218
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
5220 $as_echo "Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; }
5221
5222 if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
5223 GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
5224 fi
5225
5226
5227 # Check whether --with-gconf-schema-file-dir was given.
5228 if test "${with_gconf_schema_file_dir+set}" = set; then :
5229 withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval"
5230 fi
5231
5232
5233
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
5235 $as_echo "Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; }
5236
5237 # Check whether --enable-schemas-install was given.
5238 if test "${enable_schemas_install+set}" = set; then :
5239 enableval=$enable_schemas_install; case ${enableval} in
5240 yes|no) ;;
5241 *) as_fn_error $? "bad value ${enableval} for --enable-schemas-install" "$LINENO" 5 ;;
5242 esac
5243 fi
5244
5245 if test "$enable_schemas_install" != no; then
5246 GCONF_SCHEMAS_INSTALL_TRUE=
5247 GCONF_SCHEMAS_INSTALL_FALSE='#'
5248 else
5249 GCONF_SCHEMAS_INSTALL_TRUE='#'
5250 GCONF_SCHEMAS_INSTALL_FALSE=
5251 fi
5252
5253
5254
5255 ac_config_files="$ac_config_files po/Makefile.in Makefile src/Makefile"
5256
5257 cat >confcache <<\_ACEOF
5258 # This file is a shell script that caches the results of configure
5259 # tests run on this system so they can be shared between configure
5260 # scripts and configure runs, see configure's option --config-cache.
5261 # It is not useful on other systems. If it contains results you don't
5262 # want to keep, you may remove or edit it.
5263 #
5264 # config.status only pays attention to the cache file if you give it
5265 # the --recheck option to rerun configure.
5266 #
5267 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5268 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5269 # following values.
5270
5271 _ACEOF
5272
5273 # The following way of writing the cache mishandles newlines in values,
5274 # but we know of no workaround that is simple, portable, and efficient.
5275 # So, we kill variables containing newlines.
5276 # Ultrix sh set writes to stderr and can't be redirected directly,
5277 # and sets the high bit in the cache file unless we assign to the vars.
5278 (
5279 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5280 eval ac_val=\$$ac_var
5281 case $ac_val in #(
5282 *${as_nl}*)
5283 case $ac_var in #(
5284 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5285 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5286 esac
5287 case $ac_var in #(
5288 _ | IFS | as_nl) ;; #(
5289 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5290 *) { eval $ac_var=; unset $ac_var;} ;;
5291 esac ;;
5292 esac
5293 done
5294
5295 (set) 2>&1 |
5296 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5297 *${as_nl}ac_space=\ *)
5298 # `set' does not quote correctly, so add quotes: double-quote
5299 # substitution turns \\\\ into \\, and sed turns \\ into \.
5300 sed -n \
5301 "s/'/'\\\\''/g;
5302 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5303 ;; #(
5304 *)
5305 # `set' quotes correctly as required by POSIX, so do not add quotes.
5306 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5307 ;;
5308 esac |
5309 sort
5310 ) |
5311 sed '
5312 /^ac_cv_env_/b end
5313 t clear
5314 :clear
5315 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5316 t end
5317 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5318 :end' >>confcache
5319 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5320 if test -w "$cache_file"; then
5321 if test "x$cache_file" != "x/dev/null"; then
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5323 $as_echo "$as_me: updating cache $cache_file" >&6;}
5324 if test ! -f "$cache_file" || test -h "$cache_file"; then
5325 cat confcache >"$cache_file"
5326 else
5327 case $cache_file in #(
5328 */* | ?:*)
5329 mv -f confcache "$cache_file"$$ &&
5330 mv -f "$cache_file"$$ "$cache_file" ;; #(
5331 *)
5332 mv -f confcache "$cache_file" ;;
5333 esac
5334 fi
5335 fi
5336 else
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5338 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5339 fi
5340 fi
5341 rm -f confcache
5342
5343 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5344 # Let make expand exec_prefix.
5345 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5346
5347 DEFS=-DHAVE_CONFIG_H
5348
5349 ac_libobjs=
5350 ac_ltlibobjs=
5351 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5352 # 1. Remove the extension, and $U if already installed.
5353 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5354 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5355 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5356 # will be set to the directory where LIBOBJS objects are built.
5357 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5358 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5359 done
5360 LIBOBJS=$ac_libobjs
5361
5362 LTLIBOBJS=$ac_ltlibobjs
5363
5364
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
5366 $as_echo_n "checking that generated files are newer than configure... " >&6; }
5367 if test -n "$am_sleep_pid"; then
5368 # Hide warnings about reused PIDs.
5369 wait $am_sleep_pid 2>/dev/null
5370 fi
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
5372 $as_echo "done" >&6; }
5373 if test -n "$EXEEXT"; then
5374 am__EXEEXT_TRUE=
5375 am__EXEEXT_FALSE='#'
5376 else
5377 am__EXEEXT_TRUE='#'
5378 am__EXEEXT_FALSE=
5379 fi
5380
5381 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5382 as_fn_error $? "conditional \"AMDEP\" was never defined.
5383 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5384 fi
5385 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5386 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5387 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5388 fi
5389
5390 ac_config_commands="$ac_config_commands po/stamp-it"
5391
5392
5393 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5394 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5395 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5396 fi
5397 if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
5398 as_fn_error $? "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
5399 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5400 fi
5401
5402 : "${CONFIG_STATUS=./config.status}"
5403 ac_write_fail=0
5404 ac_clean_files_save=$ac_clean_files
5405 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5407 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5408 as_write_fail=0
5409 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5410 #! $SHELL
5411 # Generated by $as_me.
5412 # Run this file to recreate the current configuration.
5413 # Compiler output produced by configure, useful for debugging
5414 # configure, is in config.log if it exists.
5415
5416 debug=false
5417 ac_cs_recheck=false
5418 ac_cs_silent=false
5419
5420 SHELL=\${CONFIG_SHELL-$SHELL}
5421 export SHELL
5422 _ASEOF
5423 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5424 ## -------------------- ##
5425 ## M4sh Initialization. ##
5426 ## -------------------- ##
5427
5428 # Be more Bourne compatible
5429 DUALCASE=1; export DUALCASE # for MKS sh
5430 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5431 emulate sh
5432 NULLCMD=:
5433 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5434 # is contrary to our usage. Disable this feature.
5435 alias -g '${1+"$@"}'='"$@"'
5436 setopt NO_GLOB_SUBST
5437 else
5438 case `(set -o) 2>/dev/null` in #(
5439 *posix*) :
5440 set -o posix ;; #(
5441 *) :
5442 ;;
5443 esac
5444 fi
5445
5446
5447 as_nl='
5448 '
5449 export as_nl
5450 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5451 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5452 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5453 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5454 # Prefer a ksh shell builtin over an external printf program on Solaris,
5455 # but without wasting forks for bash or zsh.
5456 if test -z "$BASH_VERSION$ZSH_VERSION" \
5457 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5458 as_echo='print -r --'
5459 as_echo_n='print -rn --'
5460 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5461 as_echo='printf %s\n'
5462 as_echo_n='printf %s'
5463 else
5464 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5465 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5466 as_echo_n='/usr/ucb/echo -n'
5467 else
5468 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5469 as_echo_n_body='eval
5470 arg=$1;
5471 case $arg in #(
5472 *"$as_nl"*)
5473 expr "X$arg" : "X\\(.*\\)$as_nl";
5474 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5475 esac;
5476 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5477 '
5478 export as_echo_n_body
5479 as_echo_n='sh -c $as_echo_n_body as_echo'
5480 fi
5481 export as_echo_body
5482 as_echo='sh -c $as_echo_body as_echo'
5483 fi
5484
5485 # The user is always right.
5486 if test "${PATH_SEPARATOR+set}" != set; then
5487 PATH_SEPARATOR=:
5488 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5489 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5490 PATH_SEPARATOR=';'
5491 }
5492 fi
5493
5494
5495 # IFS
5496 # We need space, tab and new line, in precisely that order. Quoting is
5497 # there to prevent editors from complaining about space-tab.
5498 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5499 # splitting by setting IFS to empty value.)
5500 IFS=" "" $as_nl"
5501
5502 # Find who we are. Look in the path if we contain no directory separator.
5503 as_myself=
5504 case $0 in #((
5505 *[\\/]* ) as_myself=$0 ;;
5506 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5507 for as_dir in $PATH
5508 do
5509 IFS=$as_save_IFS
5510 test -z "$as_dir" && as_dir=.
5511 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5512 done
5513 IFS=$as_save_IFS
5514
5515 ;;
5516 esac
5517 # We did not find ourselves, most probably we were run as `sh COMMAND'
5518 # in which case we are not to be found in the path.
5519 if test "x$as_myself" = x; then
5520 as_myself=$0
5521 fi
5522 if test ! -f "$as_myself"; then
5523 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5524 exit 1
5525 fi
5526
5527 # Unset variables that we do not need and which cause bugs (e.g. in
5528 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5529 # suppresses any "Segmentation fault" message there. '((' could
5530 # trigger a bug in pdksh 5.2.14.
5531 for as_var in BASH_ENV ENV MAIL MAILPATH
5532 do eval test x\${$as_var+set} = xset \
5533 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5534 done
5535 PS1='$ '
5536 PS2='> '
5537 PS4='+ '
5538
5539 # NLS nuisances.
5540 LC_ALL=C
5541 export LC_ALL
5542 LANGUAGE=C
5543 export LANGUAGE
5544
5545 # CDPATH.
5546 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5547
5548
5549 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5550 # ----------------------------------------
5551 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5552 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5553 # script with STATUS, using 1 if that was 0.
5554 as_fn_error ()
5555 {
5556 as_status=$1; test $as_status -eq 0 && as_status=1
5557 if test "$4"; then
5558 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5559 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5560 fi
5561 $as_echo "$as_me: error: $2" >&2
5562 as_fn_exit $as_status
5563 } # as_fn_error
5564
5565
5566 # as_fn_set_status STATUS
5567 # -----------------------
5568 # Set $? to STATUS, without forking.
5569 as_fn_set_status ()
5570 {
5571 return $1
5572 } # as_fn_set_status
5573
5574 # as_fn_exit STATUS
5575 # -----------------
5576 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5577 as_fn_exit ()
5578 {
5579 set +e
5580 as_fn_set_status $1
5581 exit $1
5582 } # as_fn_exit
5583
5584 # as_fn_unset VAR
5585 # ---------------
5586 # Portably unset VAR.
5587 as_fn_unset ()
5588 {
5589 { eval $1=; unset $1;}
5590 }
5591 as_unset=as_fn_unset
5592 # as_fn_append VAR VALUE
5593 # ----------------------
5594 # Append the text in VALUE to the end of the definition contained in VAR. Take
5595 # advantage of any shell optimizations that allow amortized linear growth over
5596 # repeated appends, instead of the typical quadratic growth present in naive
5597 # implementations.
5598 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5599 eval 'as_fn_append ()
5600 {
5601 eval $1+=\$2
5602 }'
5603 else
5604 as_fn_append ()
5605 {
5606 eval $1=\$$1\$2
5607 }
5608 fi # as_fn_append
5609
5610 # as_fn_arith ARG...
5611 # ------------------
5612 # Perform arithmetic evaluation on the ARGs, and store the result in the
5613 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5614 # must be portable across $(()) and expr.
5615 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5616 eval 'as_fn_arith ()
5617 {
5618 as_val=$(( $* ))
5619 }'
5620 else
5621 as_fn_arith ()
5622 {
5623 as_val=`expr "$@" || test $? -eq 1`
5624 }
5625 fi # as_fn_arith
5626
5627
5628 if expr a : '\(a\)' >/dev/null 2>&1 &&
5629 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5630 as_expr=expr
5631 else
5632 as_expr=false
5633 fi
5634
5635 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5636 as_basename=basename
5637 else
5638 as_basename=false
5639 fi
5640
5641 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5642 as_dirname=dirname
5643 else
5644 as_dirname=false
5645 fi
5646
5647 as_me=`$as_basename -- "$0" ||
5648 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5649 X"$0" : 'X\(//\)$' \| \
5650 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5651 $as_echo X/"$0" |
5652 sed '/^.*\/\([^/][^/]*\)\/*$/{
5653 s//\1/
5654 q
5655 }
5656 /^X\/\(\/\/\)$/{
5657 s//\1/
5658 q
5659 }
5660 /^X\/\(\/\).*/{
5661 s//\1/
5662 q
5663 }
5664 s/.*/./; q'`
5665
5666 # Avoid depending upon Character Ranges.
5667 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5668 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5669 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5670 as_cr_digits='0123456789'
5671 as_cr_alnum=$as_cr_Letters$as_cr_digits
5672
5673 ECHO_C= ECHO_N= ECHO_T=
5674 case `echo -n x` in #(((((
5675 -n*)
5676 case `echo 'xy\c'` in
5677 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5678 xy) ECHO_C='\c';;
5679 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5680 ECHO_T=' ';;
5681 esac;;
5682 *)
5683 ECHO_N='-n';;
5684 esac
5685
5686 rm -f conf$$ conf$$.exe conf$$.file
5687 if test -d conf$$.dir; then
5688 rm -f conf$$.dir/conf$$.file
5689 else
5690 rm -f conf$$.dir
5691 mkdir conf$$.dir 2>/dev/null
5692 fi
5693 if (echo >conf$$.file) 2>/dev/null; then
5694 if ln -s conf$$.file conf$$ 2>/dev/null; then
5695 as_ln_s='ln -s'
5696 # ... but there are two gotchas:
5697 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5698 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5699 # In both cases, we have to default to `cp -pR'.
5700 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5701 as_ln_s='cp -pR'
5702 elif ln conf$$.file conf$$ 2>/dev/null; then
5703 as_ln_s=ln
5704 else
5705 as_ln_s='cp -pR'
5706 fi
5707 else
5708 as_ln_s='cp -pR'
5709 fi
5710 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5711 rmdir conf$$.dir 2>/dev/null
5712
5713
5714 # as_fn_mkdir_p
5715 # -------------
5716 # Create "$as_dir" as a directory, including parents if necessary.
5717 as_fn_mkdir_p ()
5718 {
5719
5720 case $as_dir in #(
5721 -*) as_dir=./$as_dir;;
5722 esac
5723 test -d "$as_dir" || eval $as_mkdir_p || {
5724 as_dirs=
5725 while :; do
5726 case $as_dir in #(
5727 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5728 *) as_qdir=$as_dir;;
5729 esac
5730 as_dirs="'$as_qdir' $as_dirs"
5731 as_dir=`$as_dirname -- "$as_dir" ||
5732 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5733 X"$as_dir" : 'X\(//\)[^/]' \| \
5734 X"$as_dir" : 'X\(//\)$' \| \
5735 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5736 $as_echo X"$as_dir" |
5737 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5738 s//\1/
5739 q
5740 }
5741 /^X\(\/\/\)[^/].*/{
5742 s//\1/
5743 q
5744 }
5745 /^X\(\/\/\)$/{
5746 s//\1/
5747 q
5748 }
5749 /^X\(\/\).*/{
5750 s//\1/
5751 q
5752 }
5753 s/.*/./; q'`
5754 test -d "$as_dir" && break
5755 done
5756 test -z "$as_dirs" || eval "mkdir $as_dirs"
5757 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5758
5759
5760 } # as_fn_mkdir_p
5761 if mkdir -p . 2>/dev/null; then
5762 as_mkdir_p='mkdir -p "$as_dir"'
5763 else
5764 test -d ./-p && rmdir ./-p
5765 as_mkdir_p=false
5766 fi
5767
5768
5769 # as_fn_executable_p FILE
5770 # -----------------------
5771 # Test if FILE is an executable regular file.
5772 as_fn_executable_p ()
5773 {
5774 test -f "$1" && test -x "$1"
5775 } # as_fn_executable_p
5776 as_test_x='test -x'
5777 as_executable_p=as_fn_executable_p
5778
5779 # Sed expression to map a string onto a valid CPP name.
5780 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5781
5782 # Sed expression to map a string onto a valid variable name.
5783 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5784
5785
5786 exec 6>&1
5787 ## ----------------------------------- ##
5788 ## Main body of $CONFIG_STATUS script. ##
5789 ## ----------------------------------- ##
5790 _ASEOF
5791 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5792
5793 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5794 # Save the log message, to keep $0 and so on meaningful, and to
5795 # report actual input values of CONFIG_FILES etc. instead of their
5796 # values after options handling.
5797 ac_log="
5798 This file was extended by MultiSSH $as_me 2.1, which was
5799 generated by GNU Autoconf 2.69. Invocation command line was
5800
5801 CONFIG_FILES = $CONFIG_FILES
5802 CONFIG_HEADERS = $CONFIG_HEADERS
5803 CONFIG_LINKS = $CONFIG_LINKS
5804 CONFIG_COMMANDS = $CONFIG_COMMANDS
5805 $ $0 $@
5806
5807 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5808 "
5809
5810 _ACEOF
5811
5812 case $ac_config_files in *"
5813 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5814 esac
5815
5816 case $ac_config_headers in *"
5817 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5818 esac
5819
5820
5821 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5822 # Files that config.status was made for.
5823 config_files="$ac_config_files"
5824 config_headers="$ac_config_headers"
5825 config_commands="$ac_config_commands"
5826
5827 _ACEOF
5828
5829 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5830 ac_cs_usage="\
5831 \`$as_me' instantiates files and other configuration actions
5832 from templates according to the current configuration. Unless the files
5833 and actions are specified as TAGs, all are instantiated by default.
5834
5835 Usage: $0 [OPTION]... [TAG]...
5836
5837 -h, --help print this help, then exit
5838 -V, --version print version number and configuration settings, then exit
5839 --config print configuration, then exit
5840 -q, --quiet, --silent
5841 do not print progress messages
5842 -d, --debug don't remove temporary files
5843 --recheck update $as_me by reconfiguring in the same conditions
5844 --file=FILE[:TEMPLATE]
5845 instantiate the configuration file FILE
5846 --header=FILE[:TEMPLATE]
5847 instantiate the configuration header FILE
5848
5849 Configuration files:
5850 $config_files
5851
5852 Configuration headers:
5853 $config_headers
5854
5855 Configuration commands:
5856 $config_commands
5857
5858 Report bugs to <[email protected]>."
5859
5860 _ACEOF
5861 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5862 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5863 ac_cs_version="\\
5864 MultiSSH config.status 2.1
5865 configured by $0, generated by GNU Autoconf 2.69,
5866 with options \\"\$ac_cs_config\\"
5867
5868 Copyright (C) 2012 Free Software Foundation, Inc.
5869 This config.status script is free software; the Free Software Foundation
5870 gives unlimited permission to copy, distribute and modify it."
5871
5872 ac_pwd='$ac_pwd'
5873 srcdir='$srcdir'
5874 INSTALL='$INSTALL'
5875 MKDIR_P='$MKDIR_P'
5876 AWK='$AWK'
5877 test -n "\$AWK" || AWK=awk
5878 _ACEOF
5879
5880 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5881 # The default lists apply if the user does not specify any file.
5882 ac_need_defaults=:
5883 while test $# != 0
5884 do
5885 case $1 in
5886 --*=?*)
5887 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5888 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5889 ac_shift=:
5890 ;;
5891 --*=)
5892 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5893 ac_optarg=
5894 ac_shift=:
5895 ;;
5896 *)
5897 ac_option=$1
5898 ac_optarg=$2
5899 ac_shift=shift
5900 ;;
5901 esac
5902
5903 case $ac_option in
5904 # Handling of the options.
5905 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5906 ac_cs_recheck=: ;;
5907 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5908 $as_echo "$ac_cs_version"; exit ;;
5909 --config | --confi | --conf | --con | --co | --c )
5910 $as_echo "$ac_cs_config"; exit ;;
5911 --debug | --debu | --deb | --de | --d | -d )
5912 debug=: ;;
5913 --file | --fil | --fi | --f )
5914 $ac_shift
5915 case $ac_optarg in
5916 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5917 '') as_fn_error $? "missing file argument" ;;
5918 esac
5919 as_fn_append CONFIG_FILES " '$ac_optarg'"
5920 ac_need_defaults=false;;
5921 --header | --heade | --head | --hea )
5922 $ac_shift
5923 case $ac_optarg in
5924 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5925 esac
5926 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5927 ac_need_defaults=false;;
5928 --he | --h)
5929 # Conflict between --help and --header
5930 as_fn_error $? "ambiguous option: \`$1'
5931 Try \`$0 --help' for more information.";;
5932 --help | --hel | -h )
5933 $as_echo "$ac_cs_usage"; exit ;;
5934 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5935 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5936 ac_cs_silent=: ;;
5937
5938 # This is an error.
5939 -*) as_fn_error $? "unrecognized option: \`$1'
5940 Try \`$0 --help' for more information." ;;
5941
5942 *) as_fn_append ac_config_targets " $1"
5943 ac_need_defaults=false ;;
5944
5945 esac
5946 shift
5947 done
5948
5949 ac_configure_extra_args=
5950
5951 if $ac_cs_silent; then
5952 exec 6>/dev/null
5953 ac_configure_extra_args="$ac_configure_extra_args --silent"
5954 fi
5955
5956 _ACEOF
5957 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5958 if \$ac_cs_recheck; then
5959 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5960 shift
5961 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5962 CONFIG_SHELL='$SHELL'
5963 export CONFIG_SHELL
5964 exec "\$@"
5965 fi
5966
5967 _ACEOF
5968 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5969 exec 5>>config.log
5970 {
5971 echo
5972 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5973 ## Running $as_me. ##
5974 _ASBOX
5975 $as_echo "$ac_log"
5976 } >&5
5977
5978 _ACEOF
5979 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5980 #
5981 # INIT-COMMANDS
5982 #
5983 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5984
5985 _ACEOF
5986
5987 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5988
5989 # Handling of arguments.
5990 for ac_config_target in $ac_config_targets
5991 do
5992 case $ac_config_target in
5993 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5994 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5995 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
5996 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5997 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5998 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
5999
6000 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6001 esac
6002 done
6003
6004
6005 # If the user did not use the arguments to specify the items to instantiate,
6006 # then the envvar interface is used. Set only those that are not.
6007 # We use the long form for the default assignment because of an extremely
6008 # bizarre bug on SunOS 4.1.3.
6009 if $ac_need_defaults; then
6010 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6011 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6012 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6013 fi
6014
6015 # Have a temporary directory for convenience. Make it in the build tree
6016 # simply because there is no reason against having it here, and in addition,
6017 # creating and moving files from /tmp can sometimes cause problems.
6018 # Hook for its removal unless debugging.
6019 # Note that there is a small window in which the directory will not be cleaned:
6020 # after its creation but before its name has been assigned to `$tmp'.
6021 $debug ||
6022 {
6023 tmp= ac_tmp=
6024 trap 'exit_status=$?
6025 : "${ac_tmp:=$tmp}"
6026 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6027 ' 0
6028 trap 'as_fn_exit 1' 1 2 13 15
6029 }
6030 # Create a (secure) tmp directory for tmp files.
6031
6032 {
6033 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6034 test -d "$tmp"
6035 } ||
6036 {
6037 tmp=./conf$$-$RANDOM
6038 (umask 077 && mkdir "$tmp")
6039 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6040 ac_tmp=$tmp
6041
6042 # Set up the scripts for CONFIG_FILES section.
6043 # No need to generate them if there are no CONFIG_FILES.
6044 # This happens for instance with `./config.status config.h'.
6045 if test -n "$CONFIG_FILES"; then
6046
6047
6048 ac_cr=`echo X | tr X '\015'`
6049 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6050 # But we know of no other shell where ac_cr would be empty at this
6051 # point, so we can use a bashism as a fallback.
6052 if test "x$ac_cr" = x; then
6053 eval ac_cr=\$\'\\r\'
6054 fi
6055 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6056 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6057 ac_cs_awk_cr='\\r'
6058 else
6059 ac_cs_awk_cr=$ac_cr
6060 fi
6061
6062 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6063 _ACEOF
6064
6065
6066 {
6067 echo "cat >conf$$subs.awk <<_ACEOF" &&
6068 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6069 echo "_ACEOF"
6070 } >conf$$subs.sh ||
6071 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6072 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6073 ac_delim='%!_!# '
6074 for ac_last_try in false false false false false :; do
6075 . ./conf$$subs.sh ||
6076 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6077
6078 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6079 if test $ac_delim_n = $ac_delim_num; then
6080 break
6081 elif $ac_last_try; then
6082 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6083 else
6084 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6085 fi
6086 done
6087 rm -f conf$$subs.sh
6088
6089 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6090 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6091 _ACEOF
6092 sed -n '
6093 h
6094 s/^/S["/; s/!.*/"]=/
6095 p
6096 g
6097 s/^[^!]*!//
6098 :repl
6099 t repl
6100 s/'"$ac_delim"'$//
6101 t delim
6102 :nl
6103 h
6104 s/\(.\{148\}\)..*/\1/
6105 t more1
6106 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6107 p
6108 n
6109 b repl
6110 :more1
6111 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6112 p
6113 g
6114 s/.\{148\}//
6115 t nl
6116 :delim
6117 h
6118 s/\(.\{148\}\)..*/\1/
6119 t more2
6120 s/["\\]/\\&/g; s/^/"/; s/$/"/
6121 p
6122 b
6123 :more2
6124 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6125 p
6126 g
6127 s/.\{148\}//
6128 t delim
6129 ' <conf$$subs.awk | sed '
6130 /^[^""]/{
6131 N
6132 s/\n//
6133 }
6134 ' >>$CONFIG_STATUS || ac_write_fail=1
6135 rm -f conf$$subs.awk
6136 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6137 _ACAWK
6138 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6139 for (key in S) S_is_set[key] = 1
6140 FS = ""
6141
6142 }
6143 {
6144 line = $ 0
6145 nfields = split(line, field, "@")
6146 substed = 0
6147 len = length(field[1])
6148 for (i = 2; i < nfields; i++) {
6149 key = field[i]
6150 keylen = length(key)
6151 if (S_is_set[key]) {
6152 value = S[key]
6153 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6154 len += length(value) + length(field[++i])
6155 substed = 1
6156 } else
6157 len += 1 + keylen
6158 }
6159
6160 print line
6161 }
6162
6163 _ACAWK
6164 _ACEOF
6165 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6166 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6167 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6168 else
6169 cat
6170 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6171 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6172 _ACEOF
6173
6174 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6175 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6176 # trailing colons and then remove the whole line if VPATH becomes empty
6177 # (actually we leave an empty line to preserve line numbers).
6178 if test "x$srcdir" = x.; then
6179 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6180 h
6181 s///
6182 s/^/:/
6183 s/[ ]*$/:/
6184 s/:\$(srcdir):/:/g
6185 s/:\${srcdir}:/:/g
6186 s/:@srcdir@:/:/g
6187 s/^:*//
6188 s/:*$//
6189 x
6190 s/\(=[ ]*\).*/\1/
6191 G
6192 s/\n//
6193 s/^[^=]*=[ ]*$//
6194 }'
6195 fi
6196
6197 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6198 fi # test -n "$CONFIG_FILES"
6199
6200 # Set up the scripts for CONFIG_HEADERS section.
6201 # No need to generate them if there are no CONFIG_HEADERS.
6202 # This happens for instance with `./config.status Makefile'.
6203 if test -n "$CONFIG_HEADERS"; then
6204 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6205 BEGIN {
6206 _ACEOF
6207
6208 # Transform confdefs.h into an awk script `defines.awk', embedded as
6209 # here-document in config.status, that substitutes the proper values into
6210 # config.h.in to produce config.h.
6211
6212 # Create a delimiter string that does not exist in confdefs.h, to ease
6213 # handling of long lines.
6214 ac_delim='%!_!# '
6215 for ac_last_try in false false :; do
6216 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6217 if test -z "$ac_tt"; then
6218 break
6219 elif $ac_last_try; then
6220 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6221 else
6222 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6223 fi
6224 done
6225
6226 # For the awk script, D is an array of macro values keyed by name,
6227 # likewise P contains macro parameters if any. Preserve backslash
6228 # newline sequences.
6229
6230 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6231 sed -n '
6232 s/.\{148\}/&'"$ac_delim"'/g
6233 t rset
6234 :rset
6235 s/^[ ]*#[ ]*define[ ][ ]*/ /
6236 t def
6237 d
6238 :def
6239 s/\\$//
6240 t bsnl
6241 s/["\\]/\\&/g
6242 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6243 D["\1"]=" \3"/p
6244 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6245 d
6246 :bsnl
6247 s/["\\]/\\&/g
6248 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6249 D["\1"]=" \3\\\\\\n"\\/p
6250 t cont
6251 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6252 t cont
6253 d
6254 :cont
6255 n
6256 s/.\{148\}/&'"$ac_delim"'/g
6257 t clear
6258 :clear
6259 s/\\$//
6260 t bsnlc
6261 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6262 d
6263 :bsnlc
6264 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6265 b cont
6266 ' <confdefs.h | sed '
6267 s/'"$ac_delim"'/"\\\
6268 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6269
6270 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6271 for (key in D) D_is_set[key] = 1
6272 FS = ""
6273 }
6274 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6275 line = \$ 0
6276 split(line, arg, " ")
6277 if (arg[1] == "#") {
6278 defundef = arg[2]
6279 mac1 = arg[3]
6280 } else {
6281 defundef = substr(arg[1], 2)
6282 mac1 = arg[2]
6283 }
6284 split(mac1, mac2, "(") #)
6285 macro = mac2[1]
6286 prefix = substr(line, 1, index(line, defundef) - 1)
6287 if (D_is_set[macro]) {
6288 # Preserve the white space surrounding the "#".
6289 print prefix "define", macro P[macro] D[macro]
6290 next
6291 } else {
6292 # Replace #undef with comments. This is necessary, for example,
6293 # in the case of _POSIX_SOURCE, which is predefined and required
6294 # on some systems where configure will not decide to define it.
6295 if (defundef == "undef") {
6296 print "/*", prefix defundef, macro, "*/"
6297 next
6298 }
6299 }
6300 }
6301 { print }
6302 _ACAWK
6303 _ACEOF
6304 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6305 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6306 fi # test -n "$CONFIG_HEADERS"
6307
6308
6309 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6310 shift
6311 for ac_tag
6312 do
6313 case $ac_tag in
6314 :[FHLC]) ac_mode=$ac_tag; continue;;
6315 esac
6316 case $ac_mode$ac_tag in
6317 :[FHL]*:*);;
6318 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6319 :[FH]-) ac_tag=-:-;;
6320 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6321 esac
6322 ac_save_IFS=$IFS
6323 IFS=:
6324 set x $ac_tag
6325 IFS=$ac_save_IFS
6326 shift
6327 ac_file=$1
6328 shift
6329
6330 case $ac_mode in
6331 :L) ac_source=$1;;
6332 :[FH])
6333 ac_file_inputs=
6334 for ac_f
6335 do
6336 case $ac_f in
6337 -) ac_f="$ac_tmp/stdin";;
6338 *) # Look for the file first in the build tree, then in the source tree
6339 # (if the path is not absolute). The absolute path cannot be DOS-style,
6340 # because $ac_f cannot contain `:'.
6341 test -f "$ac_f" ||
6342 case $ac_f in
6343 [\\/$]*) false;;
6344 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6345 esac ||
6346 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6347 esac
6348 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6349 as_fn_append ac_file_inputs " '$ac_f'"
6350 done
6351
6352 # Let's still pretend it is `configure' which instantiates (i.e., don't
6353 # use $as_me), people would be surprised to read:
6354 # /* config.h. Generated by config.status. */
6355 configure_input='Generated from '`
6356 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6357 `' by configure.'
6358 if test x"$ac_file" != x-; then
6359 configure_input="$ac_file. $configure_input"
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6361 $as_echo "$as_me: creating $ac_file" >&6;}
6362 fi
6363 # Neutralize special characters interpreted by sed in replacement strings.
6364 case $configure_input in #(
6365 *\&* | *\|* | *\\* )
6366 ac_sed_conf_input=`$as_echo "$configure_input" |
6367 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6368 *) ac_sed_conf_input=$configure_input;;
6369 esac
6370
6371 case $ac_tag in
6372 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6373 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6374 esac
6375 ;;
6376 esac
6377
6378 ac_dir=`$as_dirname -- "$ac_file" ||
6379 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6380 X"$ac_file" : 'X\(//\)[^/]' \| \
6381 X"$ac_file" : 'X\(//\)$' \| \
6382 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6383 $as_echo X"$ac_file" |
6384 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6385 s//\1/
6386 q
6387 }
6388 /^X\(\/\/\)[^/].*/{
6389 s//\1/
6390 q
6391 }
6392 /^X\(\/\/\)$/{
6393 s//\1/
6394 q
6395 }
6396 /^X\(\/\).*/{
6397 s//\1/
6398 q
6399 }
6400 s/.*/./; q'`
6401 as_dir="$ac_dir"; as_fn_mkdir_p
6402 ac_builddir=.
6403
6404 case "$ac_dir" in
6405 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6406 *)
6407 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6408 # A ".." for each directory in $ac_dir_suffix.
6409 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6410 case $ac_top_builddir_sub in
6411 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6412 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6413 esac ;;
6414 esac
6415 ac_abs_top_builddir=$ac_pwd
6416 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6417 # for backward compatibility:
6418 ac_top_builddir=$ac_top_build_prefix
6419
6420 case $srcdir in
6421 .) # We are building in place.
6422 ac_srcdir=.
6423 ac_top_srcdir=$ac_top_builddir_sub
6424 ac_abs_top_srcdir=$ac_pwd ;;
6425 [\\/]* | ?:[\\/]* ) # Absolute name.
6426 ac_srcdir=$srcdir$ac_dir_suffix;
6427 ac_top_srcdir=$srcdir
6428 ac_abs_top_srcdir=$srcdir ;;
6429 *) # Relative name.
6430 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6431 ac_top_srcdir=$ac_top_build_prefix$srcdir
6432 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6433 esac
6434 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6435
6436
6437 case $ac_mode in
6438 :F)
6439 #
6440 # CONFIG_FILE
6441 #
6442
6443 case $INSTALL in
6444 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6445 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6446 esac
6447 ac_MKDIR_P=$MKDIR_P
6448 case $MKDIR_P in
6449 [\\/$]* | ?:[\\/]* ) ;;
6450 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6451 esac
6452 _ACEOF
6453
6454 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6455 # If the template does not know about datarootdir, expand it.
6456 # FIXME: This hack should be removed a few years after 2.60.
6457 ac_datarootdir_hack=; ac_datarootdir_seen=
6458 ac_sed_dataroot='
6459 /datarootdir/ {
6460 p
6461 q
6462 }
6463 /@datadir@/p
6464 /@docdir@/p
6465 /@infodir@/p
6466 /@localedir@/p
6467 /@mandir@/p'
6468 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6469 *datarootdir*) ac_datarootdir_seen=yes;;
6470 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6472 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6473 _ACEOF
6474 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6475 ac_datarootdir_hack='
6476 s&@datadir@&$datadir&g
6477 s&@docdir@&$docdir&g
6478 s&@infodir@&$infodir&g
6479 s&@localedir@&$localedir&g
6480 s&@mandir@&$mandir&g
6481 s&\\\${datarootdir}&$datarootdir&g' ;;
6482 esac
6483 _ACEOF
6484
6485 # Neutralize VPATH when `$srcdir' = `.'.
6486 # Shell code in configure.ac might set extrasub.
6487 # FIXME: do we really want to maintain this feature?
6488 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6489 ac_sed_extra="$ac_vpsub
6490 $extrasub
6491 _ACEOF
6492 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6493 :t
6494 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6495 s|@configure_input@|$ac_sed_conf_input|;t t
6496 s&@top_builddir@&$ac_top_builddir_sub&;t t
6497 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6498 s&@srcdir@&$ac_srcdir&;t t
6499 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6500 s&@top_srcdir@&$ac_top_srcdir&;t t
6501 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6502 s&@builddir@&$ac_builddir&;t t
6503 s&@abs_builddir@&$ac_abs_builddir&;t t
6504 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6505 s&@INSTALL@&$ac_INSTALL&;t t
6506 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6507 $ac_datarootdir_hack
6508 "
6509 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6510 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6511
6512 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6513 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6514 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6515 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6517 which seems to be undefined. Please make sure it is defined" >&5
6518 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6519 which seems to be undefined. Please make sure it is defined" >&2;}
6520
6521 rm -f "$ac_tmp/stdin"
6522 case $ac_file in
6523 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6524 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6525 esac \
6526 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6527 ;;
6528 :H)
6529 #
6530 # CONFIG_HEADER
6531 #
6532 if test x"$ac_file" != x-; then
6533 {
6534 $as_echo "/* $configure_input */" \
6535 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6536 } >"$ac_tmp/config.h" \
6537 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6538 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6540 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6541 else
6542 rm -f "$ac_file"
6543 mv "$ac_tmp/config.h" "$ac_file" \
6544 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6545 fi
6546 else
6547 $as_echo "/* $configure_input */" \
6548 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6549 || as_fn_error $? "could not create -" "$LINENO" 5
6550 fi
6551 # Compute "$ac_file"'s index in $config_headers.
6552 _am_arg="$ac_file"
6553 _am_stamp_count=1
6554 for _am_header in $config_headers :; do
6555 case $_am_header in
6556 $_am_arg | $_am_arg:* )
6557 break ;;
6558 * )
6559 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6560 esac
6561 done
6562 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6563 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6564 X"$_am_arg" : 'X\(//\)[^/]' \| \
6565 X"$_am_arg" : 'X\(//\)$' \| \
6566 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6567 $as_echo X"$_am_arg" |
6568 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6569 s//\1/
6570 q
6571 }
6572 /^X\(\/\/\)[^/].*/{
6573 s//\1/
6574 q
6575 }
6576 /^X\(\/\/\)$/{
6577 s//\1/
6578 q
6579 }
6580 /^X\(\/\).*/{
6581 s//\1/
6582 q
6583 }
6584 s/.*/./; q'`/stamp-h$_am_stamp_count
6585 ;;
6586
6587 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6588 $as_echo "$as_me: executing $ac_file commands" >&6;}
6589 ;;
6590 esac
6591
6592
6593 case $ac_file$ac_mode in
6594 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6595 # Older Autoconf quotes --file arguments for eval, but not when files
6596 # are listed without --file. Let's play safe and only enable the eval
6597 # if we detect the quoting.
6598 case $CONFIG_FILES in
6599 *\'*) eval set x "$CONFIG_FILES" ;;
6600 *) set x $CONFIG_FILES ;;
6601 esac
6602 shift
6603 for mf
6604 do
6605 # Strip MF so we end up with the name of the file.
6606 mf=`echo "$mf" | sed -e 's/:.*$//'`
6607 # Check whether this is an Automake generated Makefile or not.
6608 # We used to match only the files named 'Makefile.in', but
6609 # some people rename them; so instead we look at the file content.
6610 # Grep'ing the first line is not enough: some people post-process
6611 # each Makefile.in and add a new line on top of each file to say so.
6612 # Grep'ing the whole file is not good either: AIX grep has a line
6613 # limit of 2048, but all sed's we know have understand at least 4000.
6614 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6615 dirpart=`$as_dirname -- "$mf" ||
6616 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6617 X"$mf" : 'X\(//\)[^/]' \| \
6618 X"$mf" : 'X\(//\)$' \| \
6619 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6620 $as_echo X"$mf" |
6621 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6622 s//\1/
6623 q
6624 }
6625 /^X\(\/\/\)[^/].*/{
6626 s//\1/
6627 q
6628 }
6629 /^X\(\/\/\)$/{
6630 s//\1/
6631 q
6632 }
6633 /^X\(\/\).*/{
6634 s//\1/
6635 q
6636 }
6637 s/.*/./; q'`
6638 else
6639 continue
6640 fi
6641 # Extract the definition of DEPDIR, am__include, and am__quote
6642 # from the Makefile without running 'make'.
6643 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6644 test -z "$DEPDIR" && continue
6645 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6646 test -z "$am__include" && continue
6647 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6648 # Find all dependency output files, they are included files with
6649 # $(DEPDIR) in their names. We invoke sed twice because it is the
6650 # simplest approach to changing $(DEPDIR) to its actual value in the
6651 # expansion.
6652 for file in `sed -n "
6653 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6654 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
6655 # Make sure the directory exists.
6656 test -f "$dirpart/$file" && continue
6657 fdir=`$as_dirname -- "$file" ||
6658 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6659 X"$file" : 'X\(//\)[^/]' \| \
6660 X"$file" : 'X\(//\)$' \| \
6661 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6662 $as_echo X"$file" |
6663 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6664 s//\1/
6665 q
6666 }
6667 /^X\(\/\/\)[^/].*/{
6668 s//\1/
6669 q
6670 }
6671 /^X\(\/\/\)$/{
6672 s//\1/
6673 q
6674 }
6675 /^X\(\/\).*/{
6676 s//\1/
6677 q
6678 }
6679 s/.*/./; q'`
6680 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6681 # echo "creating $dirpart/$file"
6682 echo '# dummy' > "$dirpart/$file"
6683 done
6684 done
6685 }
6686 ;;
6687 "po/stamp-it":C)
6688 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
6689 as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
6690 fi
6691 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
6692 >"po/stamp-it.tmp"
6693 sed '/^#/d
6694 s/^[[].*] *//
6695 /^[ ]*$/d
6696 '"s|^| $ac_top_srcdir/|" \
6697 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
6698
6699 sed '/^POTFILES =/,/[^\\]$/ {
6700 /^POTFILES =/!d
6701 r po/POTFILES
6702 }
6703 ' "po/Makefile.in" >"po/Makefile"
6704 rm -f "po/Makefile.tmp"
6705 mv "po/stamp-it.tmp" "po/stamp-it"
6706 ;;
6707
6708 esac
6709 done # for ac_tag
6710
6711
6712 as_fn_exit 0
6713 _ACEOF
6714 ac_clean_files=$ac_clean_files_save
6715
6716 test $ac_write_fail = 0 ||
6717 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6718
6719
6720 # configure is writing to config.log, and then calls config.status.
6721 # config.status does its own redirection, appending to config.log.
6722 # Unfortunately, on DOS this fails, as config.log is still kept open
6723 # by configure, so config.status won't be able to write to it; its
6724 # output is simply discarded. So we exec the FD to /dev/null,
6725 # effectively closing config.log, so it can be properly (re)opened and
6726 # appended to by config.status. When coming back to configure, we
6727 # need to make the FD available again.
6728 if test "$no_create" != yes; then
6729 ac_cs_success=:
6730 ac_config_status_args=
6731 test "$silent" = yes &&
6732 ac_config_status_args="$ac_config_status_args --quiet"
6733 exec 5>/dev/null
6734 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6735 exec 5>>config.log
6736 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6737 # would make configure fail if this is the last instruction.
6738 $ac_cs_success || as_fn_exit 1
6739 fi
6740 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6742 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6743 fi
6744