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