Debian Codegraph @

configure

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