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