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