blob: 915f01606fd1bbc24f6aa8ad4bae65fac2ea9b0d [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 Thompsonca45e552013-06-26 17:40:06 -0700588DOXYGEN_PAPER_SIZE
589DX_COND_latex_FALSE
590DX_COND_latex_TRUE
591DX_COND_pdf_FALSE
592DX_COND_pdf_TRUE
593DX_PDFLATEX
594DX_FLAG_pdf
595DX_COND_ps_FALSE
596DX_COND_ps_TRUE
597DX_EGREP
598DX_DVIPS
599DX_MAKEINDEX
600DX_LATEX
601DX_FLAG_ps
602DX_COND_html_FALSE
603DX_COND_html_TRUE
604DX_FLAG_html
605DX_COND_chi_FALSE
606DX_COND_chi_TRUE
607DX_FLAG_chi
608DX_COND_chm_FALSE
609DX_COND_chm_TRUE
610DX_HHC
611DX_FLAG_chm
612DX_COND_xml_FALSE
613DX_COND_xml_TRUE
614DX_FLAG_xml
615DX_COND_rtf_FALSE
616DX_COND_rtf_TRUE
617DX_FLAG_rtf
618DX_COND_man_FALSE
619DX_COND_man_TRUE
620DX_FLAG_man
621DX_COND_dot_FALSE
622DX_COND_dot_TRUE
623DX_DOT
624DX_FLAG_dot
625DX_COND_doc_FALSE
626DX_COND_doc_TRUE
627DX_PERL
628DX_DOXYGEN
629DX_FLAG_doc
630DX_ENV
631DX_DOCDIR
632DX_CONFIG
633DX_PROJECT
Jeff Thompson1b8f4c92013-06-19 16:18:46 -0700634HAVE_CXX11
Jeff Thompson36174062013-06-21 16:03:44 -0700635am__fastdepCC_FALSE
636am__fastdepCC_TRUE
637CCDEPMODE
638ac_ct_CC
639CFLAGS
640CC
Jeff Thompson3b3aabf2013-06-21 16:50:20 -0700641ac_ct_AR
642AR
643RANLIB
Jeff Thompson39128c62013-06-19 14:08:51 -0700644am__fastdepCXX_FALSE
645am__fastdepCXX_TRUE
646CXXDEPMODE
647am__nodep
648AMDEPBACKSLASH
649AMDEP_FALSE
650AMDEP_TRUE
651am__quote
652am__include
653DEPDIR
654OBJEXT
655EXEEXT
656ac_ct_CXX
657CPPFLAGS
658LDFLAGS
659CXXFLAGS
660CXX
Jeff Thompson47053ad2013-08-05 10:36:53 -0700661MAINT
662MAINTAINER_MODE_FALSE
663MAINTAINER_MODE_TRUE
Jeff Thompson39128c62013-06-19 14:08:51 -0700664AM_BACKSLASH
665AM_DEFAULT_VERBOSITY
666AM_DEFAULT_V
667AM_V
668am__untar
669am__tar
670AMTAR
671am__leading_dot
672SET_MAKE
673AWK
674mkdir_p
675MKDIR_P
676INSTALL_STRIP_PROGRAM
677STRIP
678install_sh
679MAKEINFO
680AUTOHEADER
681AUTOMAKE
682AUTOCONF
683ACLOCAL
684VERSION
685PACKAGE
686CYGPATH_W
687am__isrc
688INSTALL_DATA
689INSTALL_SCRIPT
690INSTALL_PROGRAM
691target_alias
692host_alias
693build_alias
694LIBS
695ECHO_T
696ECHO_N
697ECHO_C
698DEFS
699mandir
700localedir
701libdir
702psdir
703pdfdir
704dvidir
705htmldir
706infodir
707docdir
708oldincludedir
709includedir
710localstatedir
711sharedstatedir
712sysconfdir
713datadir
714datarootdir
715libexecdir
716sbindir
717bindir
718program_transform_name
719prefix
720exec_prefix
721PACKAGE_URL
722PACKAGE_BUGREPORT
723PACKAGE_STRING
724PACKAGE_VERSION
725PACKAGE_TARNAME
726PACKAGE_NAME
727PATH_SEPARATOR
728SHELL'
729ac_subst_files=''
730ac_user_opts='
731enable_option_checking
732enable_silent_rules
Jeff Thompson47053ad2013-08-05 10:36:53 -0700733enable_maintainer_mode
Jeff Thompson39128c62013-06-19 14:08:51 -0700734enable_dependency_tracking
Jeff Thompsonca45e552013-06-26 17:40:06 -0700735enable_doxygen_doc
736enable_doxygen_dot
737enable_doxygen_man
738enable_doxygen_rtf
739enable_doxygen_xml
740enable_doxygen_chm
741enable_doxygen_chi
742enable_doxygen_html
743enable_doxygen_ps
744enable_doxygen_pdf
Jeff Thompson39128c62013-06-19 14:08:51 -0700745'
746 ac_precious_vars='build_alias
747host_alias
748target_alias
749CXX
750CXXFLAGS
751LDFLAGS
752LIBS
753CPPFLAGS
Jeff Thompson36174062013-06-21 16:03:44 -0700754CCC
755CC
Jeff Thompsonca45e552013-06-26 17:40:06 -0700756CFLAGS
757DOXYGEN_PAPER_SIZE'
Jeff Thompson39128c62013-06-19 14:08:51 -0700758
759
760# Initialize some variables set by options.
761ac_init_help=
762ac_init_version=false
763ac_unrecognized_opts=
764ac_unrecognized_sep=
765# The variables have the same names as the options, with
766# dashes changed to underlines.
767cache_file=/dev/null
768exec_prefix=NONE
769no_create=
770no_recursion=
771prefix=NONE
772program_prefix=NONE
773program_suffix=NONE
774program_transform_name=s,x,x,
775silent=
776site=
777srcdir=
778verbose=
779x_includes=NONE
780x_libraries=NONE
781
782# Installation directory options.
783# These are left unexpanded so users can "make install exec_prefix=/foo"
784# and all the variables that are supposed to be based on exec_prefix
785# by default will actually change.
786# Use braces instead of parens because sh, perl, etc. also accept them.
787# (The list follows the same order as the GNU Coding Standards.)
788bindir='${exec_prefix}/bin'
789sbindir='${exec_prefix}/sbin'
790libexecdir='${exec_prefix}/libexec'
791datarootdir='${prefix}/share'
792datadir='${datarootdir}'
793sysconfdir='${prefix}/etc'
794sharedstatedir='${prefix}/com'
795localstatedir='${prefix}/var'
796includedir='${prefix}/include'
797oldincludedir='/usr/include'
798docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
799infodir='${datarootdir}/info'
800htmldir='${docdir}'
801dvidir='${docdir}'
802pdfdir='${docdir}'
803psdir='${docdir}'
804libdir='${exec_prefix}/lib'
805localedir='${datarootdir}/locale'
806mandir='${datarootdir}/man'
807
808ac_prev=
809ac_dashdash=
810for ac_option
811do
812 # If the previous option needs an argument, assign it.
813 if test -n "$ac_prev"; then
814 eval $ac_prev=\$ac_option
815 ac_prev=
816 continue
817 fi
818
819 case $ac_option in
820 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
821 *=) ac_optarg= ;;
822 *) ac_optarg=yes ;;
823 esac
824
825 # Accept the important Cygnus configure options, so we can diagnose typos.
826
827 case $ac_dashdash$ac_option in
828 --)
829 ac_dashdash=yes ;;
830
831 -bindir | --bindir | --bindi | --bind | --bin | --bi)
832 ac_prev=bindir ;;
833 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
834 bindir=$ac_optarg ;;
835
836 -build | --build | --buil | --bui | --bu)
837 ac_prev=build_alias ;;
838 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
839 build_alias=$ac_optarg ;;
840
841 -cache-file | --cache-file | --cache-fil | --cache-fi \
842 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
843 ac_prev=cache_file ;;
844 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
845 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
846 cache_file=$ac_optarg ;;
847
848 --config-cache | -C)
849 cache_file=config.cache ;;
850
851 -datadir | --datadir | --datadi | --datad)
852 ac_prev=datadir ;;
853 -datadir=* | --datadir=* | --datadi=* | --datad=*)
854 datadir=$ac_optarg ;;
855
856 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
857 | --dataroo | --dataro | --datar)
858 ac_prev=datarootdir ;;
859 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
860 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
861 datarootdir=$ac_optarg ;;
862
863 -disable-* | --disable-*)
864 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
865 # Reject names that are not valid shell variable names.
866 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
867 as_fn_error $? "invalid feature name: $ac_useropt"
868 ac_useropt_orig=$ac_useropt
869 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
870 case $ac_user_opts in
871 *"
872"enable_$ac_useropt"
873"*) ;;
874 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
875 ac_unrecognized_sep=', ';;
876 esac
877 eval enable_$ac_useropt=no ;;
878
879 -docdir | --docdir | --docdi | --doc | --do)
880 ac_prev=docdir ;;
881 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
882 docdir=$ac_optarg ;;
883
884 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
885 ac_prev=dvidir ;;
886 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
887 dvidir=$ac_optarg ;;
888
889 -enable-* | --enable-*)
890 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
891 # Reject names that are not valid shell variable names.
892 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
893 as_fn_error $? "invalid feature name: $ac_useropt"
894 ac_useropt_orig=$ac_useropt
895 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
896 case $ac_user_opts in
897 *"
898"enable_$ac_useropt"
899"*) ;;
900 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
901 ac_unrecognized_sep=', ';;
902 esac
903 eval enable_$ac_useropt=\$ac_optarg ;;
904
905 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
906 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
907 | --exec | --exe | --ex)
908 ac_prev=exec_prefix ;;
909 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
910 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
911 | --exec=* | --exe=* | --ex=*)
912 exec_prefix=$ac_optarg ;;
913
914 -gas | --gas | --ga | --g)
915 # Obsolete; use --with-gas.
916 with_gas=yes ;;
917
918 -help | --help | --hel | --he | -h)
919 ac_init_help=long ;;
920 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
921 ac_init_help=recursive ;;
922 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
923 ac_init_help=short ;;
924
925 -host | --host | --hos | --ho)
926 ac_prev=host_alias ;;
927 -host=* | --host=* | --hos=* | --ho=*)
928 host_alias=$ac_optarg ;;
929
930 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
931 ac_prev=htmldir ;;
932 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
933 | --ht=*)
934 htmldir=$ac_optarg ;;
935
936 -includedir | --includedir | --includedi | --included | --include \
937 | --includ | --inclu | --incl | --inc)
938 ac_prev=includedir ;;
939 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
940 | --includ=* | --inclu=* | --incl=* | --inc=*)
941 includedir=$ac_optarg ;;
942
943 -infodir | --infodir | --infodi | --infod | --info | --inf)
944 ac_prev=infodir ;;
945 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
946 infodir=$ac_optarg ;;
947
948 -libdir | --libdir | --libdi | --libd)
949 ac_prev=libdir ;;
950 -libdir=* | --libdir=* | --libdi=* | --libd=*)
951 libdir=$ac_optarg ;;
952
953 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
954 | --libexe | --libex | --libe)
955 ac_prev=libexecdir ;;
956 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
957 | --libexe=* | --libex=* | --libe=*)
958 libexecdir=$ac_optarg ;;
959
960 -localedir | --localedir | --localedi | --localed | --locale)
961 ac_prev=localedir ;;
962 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
963 localedir=$ac_optarg ;;
964
965 -localstatedir | --localstatedir | --localstatedi | --localstated \
966 | --localstate | --localstat | --localsta | --localst | --locals)
967 ac_prev=localstatedir ;;
968 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
969 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
970 localstatedir=$ac_optarg ;;
971
972 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
973 ac_prev=mandir ;;
974 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
975 mandir=$ac_optarg ;;
976
977 -nfp | --nfp | --nf)
978 # Obsolete; use --without-fp.
979 with_fp=no ;;
980
981 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
982 | --no-cr | --no-c | -n)
983 no_create=yes ;;
984
985 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
986 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
987 no_recursion=yes ;;
988
989 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
990 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
991 | --oldin | --oldi | --old | --ol | --o)
992 ac_prev=oldincludedir ;;
993 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
994 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
995 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
996 oldincludedir=$ac_optarg ;;
997
998 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
999 ac_prev=prefix ;;
1000 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1001 prefix=$ac_optarg ;;
1002
1003 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1004 | --program-pre | --program-pr | --program-p)
1005 ac_prev=program_prefix ;;
1006 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1007 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1008 program_prefix=$ac_optarg ;;
1009
1010 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1011 | --program-suf | --program-su | --program-s)
1012 ac_prev=program_suffix ;;
1013 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1014 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1015 program_suffix=$ac_optarg ;;
1016
1017 -program-transform-name | --program-transform-name \
1018 | --program-transform-nam | --program-transform-na \
1019 | --program-transform-n | --program-transform- \
1020 | --program-transform | --program-transfor \
1021 | --program-transfo | --program-transf \
1022 | --program-trans | --program-tran \
1023 | --progr-tra | --program-tr | --program-t)
1024 ac_prev=program_transform_name ;;
1025 -program-transform-name=* | --program-transform-name=* \
1026 | --program-transform-nam=* | --program-transform-na=* \
1027 | --program-transform-n=* | --program-transform-=* \
1028 | --program-transform=* | --program-transfor=* \
1029 | --program-transfo=* | --program-transf=* \
1030 | --program-trans=* | --program-tran=* \
1031 | --progr-tra=* | --program-tr=* | --program-t=*)
1032 program_transform_name=$ac_optarg ;;
1033
1034 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1035 ac_prev=pdfdir ;;
1036 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1037 pdfdir=$ac_optarg ;;
1038
1039 -psdir | --psdir | --psdi | --psd | --ps)
1040 ac_prev=psdir ;;
1041 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1042 psdir=$ac_optarg ;;
1043
1044 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1045 | -silent | --silent | --silen | --sile | --sil)
1046 silent=yes ;;
1047
1048 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1049 ac_prev=sbindir ;;
1050 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1051 | --sbi=* | --sb=*)
1052 sbindir=$ac_optarg ;;
1053
1054 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1055 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1056 | --sharedst | --shareds | --shared | --share | --shar \
1057 | --sha | --sh)
1058 ac_prev=sharedstatedir ;;
1059 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1060 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1061 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1062 | --sha=* | --sh=*)
1063 sharedstatedir=$ac_optarg ;;
1064
1065 -site | --site | --sit)
1066 ac_prev=site ;;
1067 -site=* | --site=* | --sit=*)
1068 site=$ac_optarg ;;
1069
1070 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1071 ac_prev=srcdir ;;
1072 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1073 srcdir=$ac_optarg ;;
1074
1075 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1076 | --syscon | --sysco | --sysc | --sys | --sy)
1077 ac_prev=sysconfdir ;;
1078 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1079 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1080 sysconfdir=$ac_optarg ;;
1081
1082 -target | --target | --targe | --targ | --tar | --ta | --t)
1083 ac_prev=target_alias ;;
1084 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1085 target_alias=$ac_optarg ;;
1086
1087 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1088 verbose=yes ;;
1089
1090 -version | --version | --versio | --versi | --vers | -V)
1091 ac_init_version=: ;;
1092
1093 -with-* | --with-*)
1094 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1095 # Reject names that are not valid shell variable names.
1096 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1097 as_fn_error $? "invalid package name: $ac_useropt"
1098 ac_useropt_orig=$ac_useropt
1099 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1100 case $ac_user_opts in
1101 *"
1102"with_$ac_useropt"
1103"*) ;;
1104 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1105 ac_unrecognized_sep=', ';;
1106 esac
1107 eval with_$ac_useropt=\$ac_optarg ;;
1108
1109 -without-* | --without-*)
1110 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1111 # Reject names that are not valid shell variable names.
1112 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1113 as_fn_error $? "invalid package name: $ac_useropt"
1114 ac_useropt_orig=$ac_useropt
1115 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1116 case $ac_user_opts in
1117 *"
1118"with_$ac_useropt"
1119"*) ;;
1120 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1121 ac_unrecognized_sep=', ';;
1122 esac
1123 eval with_$ac_useropt=no ;;
1124
1125 --x)
1126 # Obsolete; use --with-x.
1127 with_x=yes ;;
1128
1129 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1130 | --x-incl | --x-inc | --x-in | --x-i)
1131 ac_prev=x_includes ;;
1132 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1133 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1134 x_includes=$ac_optarg ;;
1135
1136 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1137 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1138 ac_prev=x_libraries ;;
1139 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1140 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1141 x_libraries=$ac_optarg ;;
1142
1143 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1144Try \`$0 --help' for more information"
1145 ;;
1146
1147 *=*)
1148 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1149 # Reject names that are not valid shell variable names.
1150 case $ac_envvar in #(
1151 '' | [0-9]* | *[!_$as_cr_alnum]* )
1152 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1153 esac
1154 eval $ac_envvar=\$ac_optarg
1155 export $ac_envvar ;;
1156
1157 *)
1158 # FIXME: should be removed in autoconf 3.0.
1159 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1160 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1161 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1162 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1163 ;;
1164
1165 esac
1166done
1167
1168if test -n "$ac_prev"; then
1169 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1170 as_fn_error $? "missing argument to $ac_option"
1171fi
1172
1173if test -n "$ac_unrecognized_opts"; then
1174 case $enable_option_checking in
1175 no) ;;
1176 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1177 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1178 esac
1179fi
1180
1181# Check all directory arguments for consistency.
1182for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1183 datadir sysconfdir sharedstatedir localstatedir includedir \
1184 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1185 libdir localedir mandir
1186do
1187 eval ac_val=\$$ac_var
1188 # Remove trailing slashes.
1189 case $ac_val in
1190 */ )
1191 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1192 eval $ac_var=\$ac_val;;
1193 esac
1194 # Be sure to have absolute directory names.
1195 case $ac_val in
1196 [\\/$]* | ?:[\\/]* ) continue;;
1197 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1198 esac
1199 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1200done
1201
1202# There might be people who depend on the old broken behavior: `$host'
1203# used to hold the argument of --host etc.
1204# FIXME: To remove some day.
1205build=$build_alias
1206host=$host_alias
1207target=$target_alias
1208
1209# FIXME: To remove some day.
1210if test "x$host_alias" != x; then
1211 if test "x$build_alias" = x; then
1212 cross_compiling=maybe
1213 elif test "x$build_alias" != "x$host_alias"; then
1214 cross_compiling=yes
1215 fi
1216fi
1217
1218ac_tool_prefix=
1219test -n "$host_alias" && ac_tool_prefix=$host_alias-
1220
1221test "$silent" = yes && exec 6>/dev/null
1222
1223
1224ac_pwd=`pwd` && test -n "$ac_pwd" &&
1225ac_ls_di=`ls -di .` &&
1226ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1227 as_fn_error $? "working directory cannot be determined"
1228test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1229 as_fn_error $? "pwd does not report name of working directory"
1230
1231
1232# Find the source files, if location was not specified.
1233if test -z "$srcdir"; then
1234 ac_srcdir_defaulted=yes
1235 # Try the directory containing this script, then the parent directory.
1236 ac_confdir=`$as_dirname -- "$as_myself" ||
1237$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1238 X"$as_myself" : 'X\(//\)[^/]' \| \
1239 X"$as_myself" : 'X\(//\)$' \| \
1240 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1241$as_echo X"$as_myself" |
1242 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1243 s//\1/
1244 q
1245 }
1246 /^X\(\/\/\)[^/].*/{
1247 s//\1/
1248 q
1249 }
1250 /^X\(\/\/\)$/{
1251 s//\1/
1252 q
1253 }
1254 /^X\(\/\).*/{
1255 s//\1/
1256 q
1257 }
1258 s/.*/./; q'`
1259 srcdir=$ac_confdir
1260 if test ! -r "$srcdir/$ac_unique_file"; then
1261 srcdir=..
1262 fi
1263else
1264 ac_srcdir_defaulted=no
1265fi
1266if test ! -r "$srcdir/$ac_unique_file"; then
1267 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1268 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1269fi
1270ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1271ac_abs_confdir=`(
1272 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1273 pwd)`
1274# When building in place, set srcdir=.
1275if test "$ac_abs_confdir" = "$ac_pwd"; then
1276 srcdir=.
1277fi
1278# Remove unnecessary trailing slashes from srcdir.
1279# Double slashes in file names in object file debugging info
1280# mess up M-x gdb in Emacs.
1281case $srcdir in
1282*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1283esac
1284for ac_var in $ac_precious_vars; do
1285 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1286 eval ac_env_${ac_var}_value=\$${ac_var}
1287 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1288 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1289done
1290
1291#
1292# Report the --help message.
1293#
1294if test "$ac_init_help" = "long"; then
1295 # Omit some internal or obsolete options to make the list less imposing.
1296 # This message is too long to be a string in the A/UX 3.1 sh.
1297 cat <<_ACEOF
1298\`configure' configures ndn-cpp 0.5 to adapt to many kinds of systems.
1299
1300Usage: $0 [OPTION]... [VAR=VALUE]...
1301
1302To assign environment variables (e.g., CC, CFLAGS...), specify them as
1303VAR=VALUE. See below for descriptions of some of the useful variables.
1304
1305Defaults for the options are specified in brackets.
1306
1307Configuration:
1308 -h, --help display this help and exit
1309 --help=short display options specific to this package
1310 --help=recursive display the short help of all the included packages
1311 -V, --version display version information and exit
1312 -q, --quiet, --silent do not print \`checking ...' messages
1313 --cache-file=FILE cache test results in FILE [disabled]
1314 -C, --config-cache alias for \`--cache-file=config.cache'
1315 -n, --no-create do not create output files
1316 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1317
1318Installation directories:
1319 --prefix=PREFIX install architecture-independent files in PREFIX
1320 [$ac_default_prefix]
1321 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1322 [PREFIX]
1323
1324By default, \`make install' will install all the files in
1325\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1326an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1327for instance \`--prefix=\$HOME'.
1328
1329For better control, use the options below.
1330
1331Fine tuning of the installation directories:
1332 --bindir=DIR user executables [EPREFIX/bin]
1333 --sbindir=DIR system admin executables [EPREFIX/sbin]
1334 --libexecdir=DIR program executables [EPREFIX/libexec]
1335 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1336 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1337 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1338 --libdir=DIR object code libraries [EPREFIX/lib]
1339 --includedir=DIR C header files [PREFIX/include]
1340 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1341 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1342 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1343 --infodir=DIR info documentation [DATAROOTDIR/info]
1344 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1345 --mandir=DIR man documentation [DATAROOTDIR/man]
1346 --docdir=DIR documentation root [DATAROOTDIR/doc/ndn-cpp]
1347 --htmldir=DIR html documentation [DOCDIR]
1348 --dvidir=DIR dvi documentation [DOCDIR]
1349 --pdfdir=DIR pdf documentation [DOCDIR]
1350 --psdir=DIR ps documentation [DOCDIR]
1351_ACEOF
1352
1353 cat <<\_ACEOF
1354
1355Program names:
1356 --program-prefix=PREFIX prepend PREFIX to installed program names
1357 --program-suffix=SUFFIX append SUFFIX to installed program names
1358 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1359_ACEOF
1360fi
1361
1362if test -n "$ac_init_help"; then
1363 case $ac_init_help in
1364 short | recursive ) echo "Configuration of ndn-cpp 0.5:";;
1365 esac
1366 cat <<\_ACEOF
1367
1368Optional Features:
1369 --disable-option-checking ignore unrecognized --enable/--with options
1370 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1371 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1372 --enable-silent-rules less verbose build output (undo: "make V=1")
1373 --disable-silent-rules verbose build output (undo: "make V=0")
Jeff Thompson47053ad2013-08-05 10:36:53 -07001374 --enable-maintainer-mode
1375 enable make rules and dependencies not useful (and
1376 sometimes confusing) to the casual installer
Jeff Thompson39128c62013-06-19 14:08:51 -07001377 --enable-dependency-tracking
1378 do not reject slow dependency extractors
1379 --disable-dependency-tracking
1380 speeds up one-time build
Jeff Thompsonca45e552013-06-26 17:40:06 -07001381 --disable-doxygen-doc don't generate any doxygen documentation
1382 --enable-doxygen-dot generate graphics for doxygen documentation
1383 --enable-doxygen-man generate doxygen manual pages
1384 --enable-doxygen-rtf generate doxygen RTF documentation
1385 --enable-doxygen-xml generate doxygen XML documentation
1386 --enable-doxygen-chm generate doxygen compressed HTML help documentation
1387 --enable-doxygen-chi generate doxygen seperate compressed HTML help index
1388 file
1389 --disable-doxygen-html don't generate doxygen plain HTML documentation
1390 --enable-doxygen-ps generate doxygen PostScript documentation
1391 --enable-doxygen-pdf generate doxygen PDF documentation
Jeff Thompson39128c62013-06-19 14:08:51 -07001392
1393Some influential environment variables:
1394 CXX C++ compiler command
1395 CXXFLAGS C++ compiler flags
1396 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1397 nonstandard directory <lib dir>
1398 LIBS libraries to pass to the linker, e.g. -l<library>
1399 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1400 you have headers in a nonstandard directory <include dir>
Jeff Thompson36174062013-06-21 16:03:44 -07001401 CC C compiler command
1402 CFLAGS C compiler flags
Jeff Thompsonca45e552013-06-26 17:40:06 -07001403 DOXYGEN_PAPER_SIZE
1404 a4wide (default), a4, letter, legal or executive
Jeff Thompson39128c62013-06-19 14:08:51 -07001405
1406Use these variables to override the choices made by `configure' or to help
1407it to find libraries and programs with nonstandard names/locations.
1408
1409Report bugs to the package provider.
1410ndn-cpp home page: <https://github.com/named-data/ndn-cpp>.
1411_ACEOF
1412ac_status=$?
1413fi
1414
1415if test "$ac_init_help" = "recursive"; then
1416 # If there are subdirs, report their specific --help.
1417 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1418 test -d "$ac_dir" ||
1419 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1420 continue
1421 ac_builddir=.
1422
1423case "$ac_dir" in
1424.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1425*)
1426 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1427 # A ".." for each directory in $ac_dir_suffix.
1428 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1429 case $ac_top_builddir_sub in
1430 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1431 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1432 esac ;;
1433esac
1434ac_abs_top_builddir=$ac_pwd
1435ac_abs_builddir=$ac_pwd$ac_dir_suffix
1436# for backward compatibility:
1437ac_top_builddir=$ac_top_build_prefix
1438
1439case $srcdir in
1440 .) # We are building in place.
1441 ac_srcdir=.
1442 ac_top_srcdir=$ac_top_builddir_sub
1443 ac_abs_top_srcdir=$ac_pwd ;;
1444 [\\/]* | ?:[\\/]* ) # Absolute name.
1445 ac_srcdir=$srcdir$ac_dir_suffix;
1446 ac_top_srcdir=$srcdir
1447 ac_abs_top_srcdir=$srcdir ;;
1448 *) # Relative name.
1449 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1450 ac_top_srcdir=$ac_top_build_prefix$srcdir
1451 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1452esac
1453ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1454
1455 cd "$ac_dir" || { ac_status=$?; continue; }
1456 # Check for guested configure.
1457 if test -f "$ac_srcdir/configure.gnu"; then
1458 echo &&
1459 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1460 elif test -f "$ac_srcdir/configure"; then
1461 echo &&
1462 $SHELL "$ac_srcdir/configure" --help=recursive
1463 else
1464 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1465 fi || ac_status=$?
1466 cd "$ac_pwd" || { ac_status=$?; break; }
1467 done
1468fi
1469
1470test -n "$ac_init_help" && exit $ac_status
1471if $ac_init_version; then
1472 cat <<\_ACEOF
1473ndn-cpp configure 0.5
1474generated by GNU Autoconf 2.69
1475
1476Copyright (C) 2012 Free Software Foundation, Inc.
1477This configure script is free software; the Free Software Foundation
1478gives unlimited permission to copy, distribute and modify it.
1479_ACEOF
1480 exit
1481fi
1482
1483## ------------------------ ##
1484## Autoconf initialization. ##
1485## ------------------------ ##
1486
1487# ac_fn_cxx_try_compile LINENO
1488# ----------------------------
1489# Try to compile conftest.$ac_ext, and return whether this succeeded.
1490ac_fn_cxx_try_compile ()
1491{
1492 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1493 rm -f conftest.$ac_objext
1494 if { { ac_try="$ac_compile"
1495case "(($ac_try" in
1496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1497 *) ac_try_echo=$ac_try;;
1498esac
1499eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1500$as_echo "$ac_try_echo"; } >&5
1501 (eval "$ac_compile") 2>conftest.err
1502 ac_status=$?
1503 if test -s conftest.err; then
1504 grep -v '^ *+' conftest.err >conftest.er1
1505 cat conftest.er1 >&5
1506 mv -f conftest.er1 conftest.err
1507 fi
1508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1509 test $ac_status = 0; } && {
1510 test -z "$ac_cxx_werror_flag" ||
1511 test ! -s conftest.err
1512 } && test -s conftest.$ac_objext; then :
1513 ac_retval=0
1514else
1515 $as_echo "$as_me: failed program was:" >&5
1516sed 's/^/| /' conftest.$ac_ext >&5
1517
1518 ac_retval=1
1519fi
1520 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1521 as_fn_set_status $ac_retval
1522
1523} # ac_fn_cxx_try_compile
Jeff Thompson36174062013-06-21 16:03:44 -07001524
1525# ac_fn_c_try_compile LINENO
1526# --------------------------
1527# Try to compile conftest.$ac_ext, and return whether this succeeded.
1528ac_fn_c_try_compile ()
1529{
1530 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1531 rm -f conftest.$ac_objext
1532 if { { ac_try="$ac_compile"
1533case "(($ac_try" in
1534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1535 *) ac_try_echo=$ac_try;;
1536esac
1537eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1538$as_echo "$ac_try_echo"; } >&5
1539 (eval "$ac_compile") 2>conftest.err
1540 ac_status=$?
1541 if test -s conftest.err; then
1542 grep -v '^ *+' conftest.err >conftest.er1
1543 cat conftest.er1 >&5
1544 mv -f conftest.er1 conftest.err
1545 fi
1546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1547 test $ac_status = 0; } && {
1548 test -z "$ac_c_werror_flag" ||
1549 test ! -s conftest.err
1550 } && test -s conftest.$ac_objext; then :
1551 ac_retval=0
1552else
1553 $as_echo "$as_me: failed program was:" >&5
1554sed 's/^/| /' conftest.$ac_ext >&5
1555
1556 ac_retval=1
1557fi
1558 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1559 as_fn_set_status $ac_retval
1560
1561} # ac_fn_c_try_compile
Jeff Thompson39128c62013-06-19 14:08:51 -07001562cat >config.log <<_ACEOF
1563This file contains any messages produced by compilers while
1564running configure, to aid debugging if configure makes a mistake.
1565
1566It was created by ndn-cpp $as_me 0.5, which was
1567generated by GNU Autoconf 2.69. Invocation command line was
1568
1569 $ $0 $@
1570
1571_ACEOF
1572exec 5>>config.log
1573{
1574cat <<_ASUNAME
1575## --------- ##
1576## Platform. ##
1577## --------- ##
1578
1579hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1580uname -m = `(uname -m) 2>/dev/null || echo unknown`
1581uname -r = `(uname -r) 2>/dev/null || echo unknown`
1582uname -s = `(uname -s) 2>/dev/null || echo unknown`
1583uname -v = `(uname -v) 2>/dev/null || echo unknown`
1584
1585/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1586/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1587
1588/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1589/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1590/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1591/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1592/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1593/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1594/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1595
1596_ASUNAME
1597
1598as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1599for as_dir in $PATH
1600do
1601 IFS=$as_save_IFS
1602 test -z "$as_dir" && as_dir=.
1603 $as_echo "PATH: $as_dir"
1604 done
1605IFS=$as_save_IFS
1606
1607} >&5
1608
1609cat >&5 <<_ACEOF
1610
1611
1612## ----------- ##
1613## Core tests. ##
1614## ----------- ##
1615
1616_ACEOF
1617
1618
1619# Keep a trace of the command line.
1620# Strip out --no-create and --no-recursion so they do not pile up.
1621# Strip out --silent because we don't want to record it for future runs.
1622# Also quote any args containing shell meta-characters.
1623# Make two passes to allow for proper duplicate-argument suppression.
1624ac_configure_args=
1625ac_configure_args0=
1626ac_configure_args1=
1627ac_must_keep_next=false
1628for ac_pass in 1 2
1629do
1630 for ac_arg
1631 do
1632 case $ac_arg in
1633 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1634 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1635 | -silent | --silent | --silen | --sile | --sil)
1636 continue ;;
1637 *\'*)
1638 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1639 esac
1640 case $ac_pass in
1641 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1642 2)
1643 as_fn_append ac_configure_args1 " '$ac_arg'"
1644 if test $ac_must_keep_next = true; then
1645 ac_must_keep_next=false # Got value, back to normal.
1646 else
1647 case $ac_arg in
1648 *=* | --config-cache | -C | -disable-* | --disable-* \
1649 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1650 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1651 | -with-* | --with-* | -without-* | --without-* | --x)
1652 case "$ac_configure_args0 " in
1653 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1654 esac
1655 ;;
1656 -* ) ac_must_keep_next=true ;;
1657 esac
1658 fi
1659 as_fn_append ac_configure_args " '$ac_arg'"
1660 ;;
1661 esac
1662 done
1663done
1664{ ac_configure_args0=; unset ac_configure_args0;}
1665{ ac_configure_args1=; unset ac_configure_args1;}
1666
1667# When interrupted or exit'd, cleanup temporary files, and complete
1668# config.log. We remove comments because anyway the quotes in there
1669# would cause problems or look ugly.
1670# WARNING: Use '\'' to represent an apostrophe within the trap.
1671# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1672trap 'exit_status=$?
1673 # Save into config.log some information that might help in debugging.
1674 {
1675 echo
1676
1677 $as_echo "## ---------------- ##
1678## Cache variables. ##
1679## ---------------- ##"
1680 echo
1681 # The following way of writing the cache mishandles newlines in values,
1682(
1683 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1684 eval ac_val=\$$ac_var
1685 case $ac_val in #(
1686 *${as_nl}*)
1687 case $ac_var in #(
1688 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1689$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1690 esac
1691 case $ac_var in #(
1692 _ | IFS | as_nl) ;; #(
1693 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1694 *) { eval $ac_var=; unset $ac_var;} ;;
1695 esac ;;
1696 esac
1697 done
1698 (set) 2>&1 |
1699 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1700 *${as_nl}ac_space=\ *)
1701 sed -n \
1702 "s/'\''/'\''\\\\'\'''\''/g;
1703 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1704 ;; #(
1705 *)
1706 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1707 ;;
1708 esac |
1709 sort
1710)
1711 echo
1712
1713 $as_echo "## ----------------- ##
1714## Output variables. ##
1715## ----------------- ##"
1716 echo
1717 for ac_var in $ac_subst_vars
1718 do
1719 eval ac_val=\$$ac_var
1720 case $ac_val in
1721 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1722 esac
1723 $as_echo "$ac_var='\''$ac_val'\''"
1724 done | sort
1725 echo
1726
1727 if test -n "$ac_subst_files"; then
1728 $as_echo "## ------------------- ##
1729## File substitutions. ##
1730## ------------------- ##"
1731 echo
1732 for ac_var in $ac_subst_files
1733 do
1734 eval ac_val=\$$ac_var
1735 case $ac_val in
1736 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1737 esac
1738 $as_echo "$ac_var='\''$ac_val'\''"
1739 done | sort
1740 echo
1741 fi
1742
1743 if test -s confdefs.h; then
1744 $as_echo "## ----------- ##
1745## confdefs.h. ##
1746## ----------- ##"
1747 echo
1748 cat confdefs.h
1749 echo
1750 fi
1751 test "$ac_signal" != 0 &&
1752 $as_echo "$as_me: caught signal $ac_signal"
1753 $as_echo "$as_me: exit $exit_status"
1754 } >&5
1755 rm -f core *.core core.conftest.* &&
1756 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1757 exit $exit_status
1758' 0
1759for ac_signal in 1 2 13 15; do
1760 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1761done
1762ac_signal=0
1763
1764# confdefs.h avoids OS command line length limits that DEFS can exceed.
1765rm -f -r conftest* confdefs.h
1766
1767$as_echo "/* confdefs.h */" > confdefs.h
1768
1769# Predefined preprocessor variables.
1770
1771cat >>confdefs.h <<_ACEOF
1772#define PACKAGE_NAME "$PACKAGE_NAME"
1773_ACEOF
1774
1775cat >>confdefs.h <<_ACEOF
1776#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1777_ACEOF
1778
1779cat >>confdefs.h <<_ACEOF
1780#define PACKAGE_VERSION "$PACKAGE_VERSION"
1781_ACEOF
1782
1783cat >>confdefs.h <<_ACEOF
1784#define PACKAGE_STRING "$PACKAGE_STRING"
1785_ACEOF
1786
1787cat >>confdefs.h <<_ACEOF
1788#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1789_ACEOF
1790
1791cat >>confdefs.h <<_ACEOF
1792#define PACKAGE_URL "$PACKAGE_URL"
1793_ACEOF
1794
1795
1796# Let the site file select an alternate cache file if it wants to.
1797# Prefer an explicitly selected file to automatically selected ones.
1798ac_site_file1=NONE
1799ac_site_file2=NONE
1800if test -n "$CONFIG_SITE"; then
1801 # We do not want a PATH search for config.site.
1802 case $CONFIG_SITE in #((
1803 -*) ac_site_file1=./$CONFIG_SITE;;
1804 */*) ac_site_file1=$CONFIG_SITE;;
1805 *) ac_site_file1=./$CONFIG_SITE;;
1806 esac
1807elif test "x$prefix" != xNONE; then
1808 ac_site_file1=$prefix/share/config.site
1809 ac_site_file2=$prefix/etc/config.site
1810else
1811 ac_site_file1=$ac_default_prefix/share/config.site
1812 ac_site_file2=$ac_default_prefix/etc/config.site
1813fi
1814for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1815do
1816 test "x$ac_site_file" = xNONE && continue
1817 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1819$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1820 sed 's/^/| /' "$ac_site_file" >&5
1821 . "$ac_site_file" \
1822 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1823$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1824as_fn_error $? "failed to load site script $ac_site_file
1825See \`config.log' for more details" "$LINENO" 5; }
1826 fi
1827done
1828
1829if test -r "$cache_file"; then
1830 # Some versions of bash will fail to source /dev/null (special files
1831 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1832 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1834$as_echo "$as_me: loading cache $cache_file" >&6;}
1835 case $cache_file in
1836 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1837 *) . "./$cache_file";;
1838 esac
1839 fi
1840else
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1842$as_echo "$as_me: creating cache $cache_file" >&6;}
1843 >$cache_file
1844fi
1845
1846# Check that the precious variables saved in the cache have kept the same
1847# value.
1848ac_cache_corrupted=false
1849for ac_var in $ac_precious_vars; do
1850 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1851 eval ac_new_set=\$ac_env_${ac_var}_set
1852 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1853 eval ac_new_val=\$ac_env_${ac_var}_value
1854 case $ac_old_set,$ac_new_set in
1855 set,)
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1857$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1858 ac_cache_corrupted=: ;;
1859 ,set)
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1861$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1862 ac_cache_corrupted=: ;;
1863 ,);;
1864 *)
1865 if test "x$ac_old_val" != "x$ac_new_val"; then
1866 # differences in whitespace do not lead to failure.
1867 ac_old_val_w=`echo x $ac_old_val`
1868 ac_new_val_w=`echo x $ac_new_val`
1869 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1871$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1872 ac_cache_corrupted=:
1873 else
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1875$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1876 eval $ac_var=\$ac_old_val
1877 fi
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1879$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1881$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1882 fi;;
1883 esac
1884 # Pass precious variables to config.status.
1885 if test "$ac_new_set" = set; then
1886 case $ac_new_val in
1887 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1888 *) ac_arg=$ac_var=$ac_new_val ;;
1889 esac
1890 case " $ac_configure_args " in
1891 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1892 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1893 esac
1894 fi
1895done
1896if $ac_cache_corrupted; then
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1898$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1899 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1900$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1901 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1902fi
1903## -------------------- ##
1904## Main body of script. ##
1905## -------------------- ##
1906
1907ac_ext=c
1908ac_cpp='$CPP $CPPFLAGS'
1909ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1910ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1911ac_compiler_gnu=$ac_cv_c_compiler_gnu
1912
1913
1914
1915am__api_version='1.13'
1916
1917ac_aux_dir=
1918for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1919 if test -f "$ac_dir/install-sh"; then
1920 ac_aux_dir=$ac_dir
1921 ac_install_sh="$ac_aux_dir/install-sh -c"
1922 break
1923 elif test -f "$ac_dir/install.sh"; then
1924 ac_aux_dir=$ac_dir
1925 ac_install_sh="$ac_aux_dir/install.sh -c"
1926 break
1927 elif test -f "$ac_dir/shtool"; then
1928 ac_aux_dir=$ac_dir
1929 ac_install_sh="$ac_aux_dir/shtool install -c"
1930 break
1931 fi
1932done
1933if test -z "$ac_aux_dir"; then
1934 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1935fi
1936
1937# These three variables are undocumented and unsupported,
1938# and are intended to be withdrawn in a future Autoconf release.
1939# They can cause serious problems if a builder's source tree is in a directory
1940# whose full name contains unusual characters.
1941ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1942ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1943ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1944
1945
1946# Find a good install program. We prefer a C program (faster),
1947# so one script is as good as another. But avoid the broken or
1948# incompatible versions:
1949# SysV /etc/install, /usr/sbin/install
1950# SunOS /usr/etc/install
1951# IRIX /sbin/install
1952# AIX /bin/install
1953# AmigaOS /C/install, which installs bootblocks on floppy discs
1954# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1955# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1956# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1957# OS/2's system install, which has a completely different semantic
1958# ./install, which can be erroneously created by make from ./install.sh.
1959# Reject install programs that cannot install multiple files.
1960{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1961$as_echo_n "checking for a BSD-compatible install... " >&6; }
1962if test -z "$INSTALL"; then
1963if ${ac_cv_path_install+:} false; then :
1964 $as_echo_n "(cached) " >&6
1965else
1966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1967for as_dir in $PATH
1968do
1969 IFS=$as_save_IFS
1970 test -z "$as_dir" && as_dir=.
1971 # Account for people who put trailing slashes in PATH elements.
1972case $as_dir/ in #((
1973 ./ | .// | /[cC]/* | \
1974 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1975 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1976 /usr/ucb/* ) ;;
1977 *)
1978 # OSF1 and SCO ODT 3.0 have their own names for install.
1979 # Don't use installbsd from OSF since it installs stuff as root
1980 # by default.
1981 for ac_prog in ginstall scoinst install; do
1982 for ac_exec_ext in '' $ac_executable_extensions; do
1983 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1984 if test $ac_prog = install &&
1985 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1986 # AIX install. It has an incompatible calling convention.
1987 :
1988 elif test $ac_prog = install &&
1989 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1990 # program-specific install script used by HP pwplus--don't use.
1991 :
1992 else
1993 rm -rf conftest.one conftest.two conftest.dir
1994 echo one > conftest.one
1995 echo two > conftest.two
1996 mkdir conftest.dir
1997 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1998 test -s conftest.one && test -s conftest.two &&
1999 test -s conftest.dir/conftest.one &&
2000 test -s conftest.dir/conftest.two
2001 then
2002 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2003 break 3
2004 fi
2005 fi
2006 fi
2007 done
2008 done
2009 ;;
2010esac
2011
2012 done
2013IFS=$as_save_IFS
2014
2015rm -rf conftest.one conftest.two conftest.dir
2016
2017fi
2018 if test "${ac_cv_path_install+set}" = set; then
2019 INSTALL=$ac_cv_path_install
2020 else
2021 # As a last resort, use the slow shell script. Don't cache a
2022 # value for INSTALL within a source directory, because that will
2023 # break other packages using the cache if that directory is
2024 # removed, or if the value is a relative name.
2025 INSTALL=$ac_install_sh
2026 fi
2027fi
2028{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2029$as_echo "$INSTALL" >&6; }
2030
2031# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2032# It thinks the first close brace ends the variable substitution.
2033test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2034
2035test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2036
2037test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2038
2039{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2040$as_echo_n "checking whether build environment is sane... " >&6; }
2041# Reject unsafe characters in $srcdir or the absolute working directory
2042# name. Accept space and tab only in the latter.
2043am_lf='
2044'
2045case `pwd` in
2046 *[\\\"\#\$\&\'\`$am_lf]*)
2047 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2048esac
2049case $srcdir in
2050 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2051 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2052esac
2053
2054# Do 'set' in a subshell so we don't clobber the current shell's
2055# arguments. Must try -L first in case configure is actually a
2056# symlink; some systems play weird games with the mod time of symlinks
2057# (eg FreeBSD returns the mod time of the symlink's containing
2058# directory).
2059if (
2060 am_has_slept=no
2061 for am_try in 1 2; do
2062 echo "timestamp, slept: $am_has_slept" > conftest.file
2063 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2064 if test "$*" = "X"; then
2065 # -L didn't work.
2066 set X `ls -t "$srcdir/configure" conftest.file`
2067 fi
2068 if test "$*" != "X $srcdir/configure conftest.file" \
2069 && test "$*" != "X conftest.file $srcdir/configure"; then
2070
2071 # If neither matched, then we have a broken ls. This can happen
2072 # if, for instance, CONFIG_SHELL is bash and it inherits a
2073 # broken ls alias from the environment. This has actually
2074 # happened. Such a system could not be considered "sane".
2075 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2076 alias in your environment" "$LINENO" 5
2077 fi
2078 if test "$2" = conftest.file || test $am_try -eq 2; then
2079 break
2080 fi
2081 # Just in case.
2082 sleep 1
2083 am_has_slept=yes
2084 done
2085 test "$2" = conftest.file
2086 )
2087then
2088 # Ok.
2089 :
2090else
2091 as_fn_error $? "newly created file is older than distributed files!
2092Check your system clock" "$LINENO" 5
2093fi
2094{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2095$as_echo "yes" >&6; }
2096# If we didn't sleep, we still need to ensure time stamps of config.status and
2097# generated files are strictly newer.
2098am_sleep_pid=
2099if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2100 ( sleep 1 ) &
2101 am_sleep_pid=$!
2102fi
2103
2104rm -f conftest.file
2105
2106test "$program_prefix" != NONE &&
2107 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2108# Use a double $ so make ignores it.
2109test "$program_suffix" != NONE &&
2110 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2111# Double any \ or $.
2112# By default was `s,x,x', remove it if useless.
2113ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2114program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2115
2116# expand $ac_aux_dir to an absolute path
2117am_aux_dir=`cd $ac_aux_dir && pwd`
2118
2119if test x"${MISSING+set}" != xset; then
2120 case $am_aux_dir in
2121 *\ * | *\ *)
2122 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2123 *)
2124 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2125 esac
2126fi
2127# Use eval to expand $SHELL
2128if eval "$MISSING --is-lightweight"; then
2129 am_missing_run="$MISSING "
2130else
2131 am_missing_run=
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2133$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2134fi
2135
2136if test x"${install_sh}" != xset; then
2137 case $am_aux_dir in
2138 *\ * | *\ *)
2139 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2140 *)
2141 install_sh="\${SHELL} $am_aux_dir/install-sh"
2142 esac
2143fi
2144
2145# Installed binaries are usually stripped using 'strip' when the user
2146# run "make install-strip". However 'strip' might not be the right
2147# tool to use in cross-compilation environments, therefore Automake
2148# will honor the 'STRIP' environment variable to overrule this program.
2149if test "$cross_compiling" != no; then
2150 if test -n "$ac_tool_prefix"; then
2151 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2152set dummy ${ac_tool_prefix}strip; ac_word=$2
2153{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2154$as_echo_n "checking for $ac_word... " >&6; }
2155if ${ac_cv_prog_STRIP+:} false; then :
2156 $as_echo_n "(cached) " >&6
2157else
2158 if test -n "$STRIP"; then
2159 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2160else
2161as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2162for as_dir in $PATH
2163do
2164 IFS=$as_save_IFS
2165 test -z "$as_dir" && as_dir=.
2166 for ac_exec_ext in '' $ac_executable_extensions; do
2167 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2168 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2170 break 2
2171 fi
2172done
2173 done
2174IFS=$as_save_IFS
2175
2176fi
2177fi
2178STRIP=$ac_cv_prog_STRIP
2179if test -n "$STRIP"; then
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2181$as_echo "$STRIP" >&6; }
2182else
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2184$as_echo "no" >&6; }
2185fi
2186
2187
2188fi
2189if test -z "$ac_cv_prog_STRIP"; then
2190 ac_ct_STRIP=$STRIP
2191 # Extract the first word of "strip", so it can be a program name with args.
2192set dummy strip; ac_word=$2
2193{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2194$as_echo_n "checking for $ac_word... " >&6; }
2195if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2196 $as_echo_n "(cached) " >&6
2197else
2198 if test -n "$ac_ct_STRIP"; then
2199 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2200else
2201as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2202for as_dir in $PATH
2203do
2204 IFS=$as_save_IFS
2205 test -z "$as_dir" && as_dir=.
2206 for ac_exec_ext in '' $ac_executable_extensions; do
2207 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2208 ac_cv_prog_ac_ct_STRIP="strip"
2209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2210 break 2
2211 fi
2212done
2213 done
2214IFS=$as_save_IFS
2215
2216fi
2217fi
2218ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2219if test -n "$ac_ct_STRIP"; then
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2221$as_echo "$ac_ct_STRIP" >&6; }
2222else
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2224$as_echo "no" >&6; }
2225fi
2226
2227 if test "x$ac_ct_STRIP" = x; then
2228 STRIP=":"
2229 else
2230 case $cross_compiling:$ac_tool_warned in
2231yes:)
2232{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2233$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2234ac_tool_warned=yes ;;
2235esac
2236 STRIP=$ac_ct_STRIP
2237 fi
2238else
2239 STRIP="$ac_cv_prog_STRIP"
2240fi
2241
2242fi
2243INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2244
2245{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2246$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2247if test -z "$MKDIR_P"; then
2248 if ${ac_cv_path_mkdir+:} false; then :
2249 $as_echo_n "(cached) " >&6
2250else
2251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2252for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2253do
2254 IFS=$as_save_IFS
2255 test -z "$as_dir" && as_dir=.
2256 for ac_prog in mkdir gmkdir; do
2257 for ac_exec_ext in '' $ac_executable_extensions; do
2258 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2259 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2260 'mkdir (GNU coreutils) '* | \
2261 'mkdir (coreutils) '* | \
2262 'mkdir (fileutils) '4.1*)
2263 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2264 break 3;;
2265 esac
2266 done
2267 done
2268 done
2269IFS=$as_save_IFS
2270
2271fi
2272
2273 test -d ./--version && rmdir ./--version
2274 if test "${ac_cv_path_mkdir+set}" = set; then
2275 MKDIR_P="$ac_cv_path_mkdir -p"
2276 else
2277 # As a last resort, use the slow shell script. Don't cache a
2278 # value for MKDIR_P within a source directory, because that will
2279 # break other packages using the cache if that directory is
2280 # removed, or if the value is a relative name.
2281 MKDIR_P="$ac_install_sh -d"
2282 fi
2283fi
2284{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2285$as_echo "$MKDIR_P" >&6; }
2286
2287for ac_prog in gawk mawk nawk awk
2288do
2289 # Extract the first word of "$ac_prog", so it can be a program name with args.
2290set dummy $ac_prog; ac_word=$2
2291{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2292$as_echo_n "checking for $ac_word... " >&6; }
2293if ${ac_cv_prog_AWK+:} false; then :
2294 $as_echo_n "(cached) " >&6
2295else
2296 if test -n "$AWK"; then
2297 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2298else
2299as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2300for as_dir in $PATH
2301do
2302 IFS=$as_save_IFS
2303 test -z "$as_dir" && as_dir=.
2304 for ac_exec_ext in '' $ac_executable_extensions; do
2305 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2306 ac_cv_prog_AWK="$ac_prog"
2307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2308 break 2
2309 fi
2310done
2311 done
2312IFS=$as_save_IFS
2313
2314fi
2315fi
2316AWK=$ac_cv_prog_AWK
2317if test -n "$AWK"; then
2318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2319$as_echo "$AWK" >&6; }
2320else
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2322$as_echo "no" >&6; }
2323fi
2324
2325
2326 test -n "$AWK" && break
2327done
2328
2329{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2330$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2331set x ${MAKE-make}
2332ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2333if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2334 $as_echo_n "(cached) " >&6
2335else
2336 cat >conftest.make <<\_ACEOF
2337SHELL = /bin/sh
2338all:
2339 @echo '@@@%%%=$(MAKE)=@@@%%%'
2340_ACEOF
2341# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2342case `${MAKE-make} -f conftest.make 2>/dev/null` in
2343 *@@@%%%=?*=@@@%%%*)
2344 eval ac_cv_prog_make_${ac_make}_set=yes;;
2345 *)
2346 eval ac_cv_prog_make_${ac_make}_set=no;;
2347esac
2348rm -f conftest.make
2349fi
2350if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2352$as_echo "yes" >&6; }
2353 SET_MAKE=
2354else
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2356$as_echo "no" >&6; }
2357 SET_MAKE="MAKE=${MAKE-make}"
2358fi
2359
2360rm -rf .tst 2>/dev/null
2361mkdir .tst 2>/dev/null
2362if test -d .tst; then
2363 am__leading_dot=.
2364else
2365 am__leading_dot=_
2366fi
2367rmdir .tst 2>/dev/null
2368
2369# Check whether --enable-silent-rules was given.
2370if test "${enable_silent_rules+set}" = set; then :
2371 enableval=$enable_silent_rules;
2372fi
2373
2374case $enable_silent_rules in # (((
2375 yes) AM_DEFAULT_VERBOSITY=0;;
2376 no) AM_DEFAULT_VERBOSITY=1;;
2377 *) AM_DEFAULT_VERBOSITY=1;;
2378esac
2379am_make=${MAKE-make}
2380{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2381$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2382if ${am_cv_make_support_nested_variables+:} false; then :
2383 $as_echo_n "(cached) " >&6
2384else
2385 if $as_echo 'TRUE=$(BAR$(V))
2386BAR0=false
2387BAR1=true
2388V=1
2389am__doit:
2390 @$(TRUE)
2391.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2392 am_cv_make_support_nested_variables=yes
2393else
2394 am_cv_make_support_nested_variables=no
2395fi
2396fi
2397{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2398$as_echo "$am_cv_make_support_nested_variables" >&6; }
2399if test $am_cv_make_support_nested_variables = yes; then
2400 AM_V='$(V)'
2401 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2402else
2403 AM_V=$AM_DEFAULT_VERBOSITY
2404 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2405fi
2406AM_BACKSLASH='\'
2407
2408if test "`cd $srcdir && pwd`" != "`pwd`"; then
2409 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2410 # is not polluted with repeated "-I."
2411 am__isrc=' -I$(srcdir)'
2412 # test to see if srcdir already configured
2413 if test -f $srcdir/config.status; then
2414 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2415 fi
2416fi
2417
2418# test whether we have cygpath
2419if test -z "$CYGPATH_W"; then
2420 if (cygpath --version) >/dev/null 2>/dev/null; then
2421 CYGPATH_W='cygpath -w'
2422 else
2423 CYGPATH_W=echo
2424 fi
2425fi
2426
2427
2428# Define the identity of the package.
2429 PACKAGE='ndn-cpp'
2430 VERSION='0.5'
2431
2432
2433# Some tools Automake needs.
2434
2435ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2436
2437
2438AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2439
2440
2441AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2442
2443
2444AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2445
2446
2447MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2448
2449# For better backward compatibility. To be removed once Automake 1.9.x
2450# dies out for good. For more background, see:
2451# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2452# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2453mkdir_p='$(MKDIR_P)'
2454
2455# We need awk for the "check" target. The system "awk" is bad on
2456# some platforms.
2457# Always define AMTAR for backward compatibility. Yes, it's still used
2458# in the wild :-( We should find a proper way to deprecate it ...
2459AMTAR='$${TAR-tar}'
2460
2461
2462# We'll loop over all known methods to create a tar archive until one works.
2463_am_tools='gnutar pax cpio none'
2464
2465am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2466
2467
2468
2469
2470
2471
2472
2473ac_config_headers="$ac_config_headers config.h"
2474
Jeff Thompson47053ad2013-08-05 10:36:53 -07002475
2476{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2477$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2478 # Check whether --enable-maintainer-mode was given.
2479if test "${enable_maintainer_mode+set}" = set; then :
2480 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2481else
2482 USE_MAINTAINER_MODE=no
2483fi
2484
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2486$as_echo "$USE_MAINTAINER_MODE" >&6; }
2487 if test $USE_MAINTAINER_MODE = yes; then
2488 MAINTAINER_MODE_TRUE=
2489 MAINTAINER_MODE_FALSE='#'
2490else
2491 MAINTAINER_MODE_TRUE='#'
2492 MAINTAINER_MODE_FALSE=
2493fi
2494
2495 MAINT=$MAINTAINER_MODE_TRUE
2496
2497
Jeff Thompson39128c62013-06-19 14:08:51 -07002498ac_ext=cpp
2499ac_cpp='$CXXCPP $CPPFLAGS'
2500ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2501ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2502ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2503if test -z "$CXX"; then
2504 if test -n "$CCC"; then
2505 CXX=$CCC
2506 else
2507 if test -n "$ac_tool_prefix"; then
2508 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2509 do
2510 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2511set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2512{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2513$as_echo_n "checking for $ac_word... " >&6; }
2514if ${ac_cv_prog_CXX+:} false; then :
2515 $as_echo_n "(cached) " >&6
2516else
2517 if test -n "$CXX"; then
2518 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2519else
2520as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2521for as_dir in $PATH
2522do
2523 IFS=$as_save_IFS
2524 test -z "$as_dir" && as_dir=.
2525 for ac_exec_ext in '' $ac_executable_extensions; do
2526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2527 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2529 break 2
2530 fi
2531done
2532 done
2533IFS=$as_save_IFS
2534
2535fi
2536fi
2537CXX=$ac_cv_prog_CXX
2538if test -n "$CXX"; then
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2540$as_echo "$CXX" >&6; }
2541else
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2543$as_echo "no" >&6; }
2544fi
2545
2546
2547 test -n "$CXX" && break
2548 done
2549fi
2550if test -z "$CXX"; then
2551 ac_ct_CXX=$CXX
2552 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2553do
2554 # Extract the first word of "$ac_prog", so it can be a program name with args.
2555set dummy $ac_prog; ac_word=$2
2556{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2557$as_echo_n "checking for $ac_word... " >&6; }
2558if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2559 $as_echo_n "(cached) " >&6
2560else
2561 if test -n "$ac_ct_CXX"; then
2562 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2563else
2564as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2565for as_dir in $PATH
2566do
2567 IFS=$as_save_IFS
2568 test -z "$as_dir" && as_dir=.
2569 for ac_exec_ext in '' $ac_executable_extensions; do
2570 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2571 ac_cv_prog_ac_ct_CXX="$ac_prog"
2572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2573 break 2
2574 fi
2575done
2576 done
2577IFS=$as_save_IFS
2578
2579fi
2580fi
2581ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2582if test -n "$ac_ct_CXX"; then
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2584$as_echo "$ac_ct_CXX" >&6; }
2585else
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2587$as_echo "no" >&6; }
2588fi
2589
2590
2591 test -n "$ac_ct_CXX" && break
2592done
2593
2594 if test "x$ac_ct_CXX" = x; then
2595 CXX="g++"
2596 else
2597 case $cross_compiling:$ac_tool_warned in
2598yes:)
2599{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2600$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2601ac_tool_warned=yes ;;
2602esac
2603 CXX=$ac_ct_CXX
2604 fi
2605fi
2606
2607 fi
2608fi
2609# Provide some information about the compiler.
2610$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2611set X $ac_compile
2612ac_compiler=$2
2613for ac_option in --version -v -V -qversion; do
2614 { { ac_try="$ac_compiler $ac_option >&5"
2615case "(($ac_try" in
2616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2617 *) ac_try_echo=$ac_try;;
2618esac
2619eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2620$as_echo "$ac_try_echo"; } >&5
2621 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2622 ac_status=$?
2623 if test -s conftest.err; then
2624 sed '10a\
2625... rest of stderr output deleted ...
2626 10q' conftest.err >conftest.er1
2627 cat conftest.er1 >&5
2628 fi
2629 rm -f conftest.er1 conftest.err
2630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2631 test $ac_status = 0; }
2632done
2633
2634cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2635/* end confdefs.h. */
2636
2637int
2638main ()
2639{
2640
2641 ;
2642 return 0;
2643}
2644_ACEOF
2645ac_clean_files_save=$ac_clean_files
2646ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2647# Try to create an executable without -o first, disregard a.out.
2648# It will help us diagnose broken compilers, and finding out an intuition
2649# of exeext.
2650{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2651$as_echo_n "checking whether the C++ compiler works... " >&6; }
2652ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2653
2654# The possible output files:
2655ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2656
2657ac_rmfiles=
2658for ac_file in $ac_files
2659do
2660 case $ac_file in
2661 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2662 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2663 esac
2664done
2665rm -f $ac_rmfiles
2666
2667if { { ac_try="$ac_link_default"
2668case "(($ac_try" in
2669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2670 *) ac_try_echo=$ac_try;;
2671esac
2672eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2673$as_echo "$ac_try_echo"; } >&5
2674 (eval "$ac_link_default") 2>&5
2675 ac_status=$?
2676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2677 test $ac_status = 0; }; then :
2678 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2679# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2680# in a Makefile. We should not override ac_cv_exeext if it was cached,
2681# so that the user can short-circuit this test for compilers unknown to
2682# Autoconf.
2683for ac_file in $ac_files ''
2684do
2685 test -f "$ac_file" || continue
2686 case $ac_file in
2687 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2688 ;;
2689 [ab].out )
2690 # We found the default executable, but exeext='' is most
2691 # certainly right.
2692 break;;
2693 *.* )
2694 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2695 then :; else
2696 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2697 fi
2698 # We set ac_cv_exeext here because the later test for it is not
2699 # safe: cross compilers may not add the suffix if given an `-o'
2700 # argument, so we may need to know it at that point already.
2701 # Even if this section looks crufty: it has the advantage of
2702 # actually working.
2703 break;;
2704 * )
2705 break;;
2706 esac
2707done
2708test "$ac_cv_exeext" = no && ac_cv_exeext=
2709
2710else
2711 ac_file=''
2712fi
2713if test -z "$ac_file"; then :
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2715$as_echo "no" >&6; }
2716$as_echo "$as_me: failed program was:" >&5
2717sed 's/^/| /' conftest.$ac_ext >&5
2718
2719{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2720$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2721as_fn_error 77 "C++ compiler cannot create executables
2722See \`config.log' for more details" "$LINENO" 5; }
2723else
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2725$as_echo "yes" >&6; }
2726fi
2727{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2728$as_echo_n "checking for C++ compiler default output file name... " >&6; }
2729{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2730$as_echo "$ac_file" >&6; }
2731ac_exeext=$ac_cv_exeext
2732
2733rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2734ac_clean_files=$ac_clean_files_save
2735{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2736$as_echo_n "checking for suffix of executables... " >&6; }
2737if { { ac_try="$ac_link"
2738case "(($ac_try" in
2739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2740 *) ac_try_echo=$ac_try;;
2741esac
2742eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2743$as_echo "$ac_try_echo"; } >&5
2744 (eval "$ac_link") 2>&5
2745 ac_status=$?
2746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2747 test $ac_status = 0; }; then :
2748 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2749# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2750# work properly (i.e., refer to `conftest.exe'), while it won't with
2751# `rm'.
2752for ac_file in conftest.exe conftest conftest.*; do
2753 test -f "$ac_file" || continue
2754 case $ac_file in
2755 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2756 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2757 break;;
2758 * ) break;;
2759 esac
2760done
2761else
2762 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2763$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2764as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2765See \`config.log' for more details" "$LINENO" 5; }
2766fi
2767rm -f conftest conftest$ac_cv_exeext
2768{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2769$as_echo "$ac_cv_exeext" >&6; }
2770
2771rm -f conftest.$ac_ext
2772EXEEXT=$ac_cv_exeext
2773ac_exeext=$EXEEXT
2774cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2775/* end confdefs.h. */
2776#include <stdio.h>
2777int
2778main ()
2779{
2780FILE *f = fopen ("conftest.out", "w");
2781 return ferror (f) || fclose (f) != 0;
2782
2783 ;
2784 return 0;
2785}
2786_ACEOF
2787ac_clean_files="$ac_clean_files conftest.out"
2788# Check that the compiler produces executables we can run. If not, either
2789# the compiler is broken, or we cross compile.
2790{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2791$as_echo_n "checking whether we are cross compiling... " >&6; }
2792if test "$cross_compiling" != yes; then
2793 { { ac_try="$ac_link"
2794case "(($ac_try" in
2795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2796 *) ac_try_echo=$ac_try;;
2797esac
2798eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2799$as_echo "$ac_try_echo"; } >&5
2800 (eval "$ac_link") 2>&5
2801 ac_status=$?
2802 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2803 test $ac_status = 0; }
2804 if { ac_try='./conftest$ac_cv_exeext'
2805 { { case "(($ac_try" in
2806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2807 *) ac_try_echo=$ac_try;;
2808esac
2809eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2810$as_echo "$ac_try_echo"; } >&5
2811 (eval "$ac_try") 2>&5
2812 ac_status=$?
2813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2814 test $ac_status = 0; }; }; then
2815 cross_compiling=no
2816 else
2817 if test "$cross_compiling" = maybe; then
2818 cross_compiling=yes
2819 else
2820 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2821$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2822as_fn_error $? "cannot run C++ compiled programs.
2823If you meant to cross compile, use \`--host'.
2824See \`config.log' for more details" "$LINENO" 5; }
2825 fi
2826 fi
2827fi
2828{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2829$as_echo "$cross_compiling" >&6; }
2830
2831rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2832ac_clean_files=$ac_clean_files_save
2833{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2834$as_echo_n "checking for suffix of object files... " >&6; }
2835if ${ac_cv_objext+:} false; then :
2836 $as_echo_n "(cached) " >&6
2837else
2838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2839/* end confdefs.h. */
2840
2841int
2842main ()
2843{
2844
2845 ;
2846 return 0;
2847}
2848_ACEOF
2849rm -f conftest.o conftest.obj
2850if { { ac_try="$ac_compile"
2851case "(($ac_try" in
2852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2853 *) ac_try_echo=$ac_try;;
2854esac
2855eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2856$as_echo "$ac_try_echo"; } >&5
2857 (eval "$ac_compile") 2>&5
2858 ac_status=$?
2859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2860 test $ac_status = 0; }; then :
2861 for ac_file in conftest.o conftest.obj conftest.*; do
2862 test -f "$ac_file" || continue;
2863 case $ac_file in
2864 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2865 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2866 break;;
2867 esac
2868done
2869else
2870 $as_echo "$as_me: failed program was:" >&5
2871sed 's/^/| /' conftest.$ac_ext >&5
2872
2873{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2874$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2875as_fn_error $? "cannot compute suffix of object files: cannot compile
2876See \`config.log' for more details" "$LINENO" 5; }
2877fi
2878rm -f conftest.$ac_cv_objext conftest.$ac_ext
2879fi
2880{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2881$as_echo "$ac_cv_objext" >&6; }
2882OBJEXT=$ac_cv_objext
2883ac_objext=$OBJEXT
2884{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2885$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2886if ${ac_cv_cxx_compiler_gnu+:} false; then :
2887 $as_echo_n "(cached) " >&6
2888else
2889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2890/* end confdefs.h. */
2891
2892int
2893main ()
2894{
2895#ifndef __GNUC__
2896 choke me
2897#endif
2898
2899 ;
2900 return 0;
2901}
2902_ACEOF
2903if ac_fn_cxx_try_compile "$LINENO"; then :
2904 ac_compiler_gnu=yes
2905else
2906 ac_compiler_gnu=no
2907fi
2908rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2909ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2910
2911fi
2912{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
2913$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2914if test $ac_compiler_gnu = yes; then
2915 GXX=yes
2916else
2917 GXX=
2918fi
2919ac_test_CXXFLAGS=${CXXFLAGS+set}
2920ac_save_CXXFLAGS=$CXXFLAGS
2921{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
2922$as_echo_n "checking whether $CXX accepts -g... " >&6; }
2923if ${ac_cv_prog_cxx_g+:} false; then :
2924 $as_echo_n "(cached) " >&6
2925else
2926 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2927 ac_cxx_werror_flag=yes
2928 ac_cv_prog_cxx_g=no
2929 CXXFLAGS="-g"
2930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2931/* end confdefs.h. */
2932
2933int
2934main ()
2935{
2936
2937 ;
2938 return 0;
2939}
2940_ACEOF
2941if ac_fn_cxx_try_compile "$LINENO"; then :
2942 ac_cv_prog_cxx_g=yes
2943else
2944 CXXFLAGS=""
2945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2946/* end confdefs.h. */
2947
2948int
2949main ()
2950{
2951
2952 ;
2953 return 0;
2954}
2955_ACEOF
2956if ac_fn_cxx_try_compile "$LINENO"; then :
2957
2958else
2959 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2960 CXXFLAGS="-g"
2961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2962/* end confdefs.h. */
2963
2964int
2965main ()
2966{
2967
2968 ;
2969 return 0;
2970}
2971_ACEOF
2972if ac_fn_cxx_try_compile "$LINENO"; then :
2973 ac_cv_prog_cxx_g=yes
2974fi
2975rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2976fi
2977rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2978fi
2979rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2980 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2981fi
2982{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
2983$as_echo "$ac_cv_prog_cxx_g" >&6; }
2984if test "$ac_test_CXXFLAGS" = set; then
2985 CXXFLAGS=$ac_save_CXXFLAGS
2986elif test $ac_cv_prog_cxx_g = yes; then
2987 if test "$GXX" = yes; then
2988 CXXFLAGS="-g -O2"
2989 else
2990 CXXFLAGS="-g"
2991 fi
2992else
2993 if test "$GXX" = yes; then
2994 CXXFLAGS="-O2"
2995 else
2996 CXXFLAGS=
2997 fi
2998fi
2999ac_ext=c
3000ac_cpp='$CPP $CPPFLAGS'
3001ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3002ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3003ac_compiler_gnu=$ac_cv_c_compiler_gnu
3004DEPDIR="${am__leading_dot}deps"
3005
3006ac_config_commands="$ac_config_commands depfiles"
3007
3008
3009am_make=${MAKE-make}
3010cat > confinc << 'END'
3011am__doit:
3012 @echo this is the am__doit target
3013.PHONY: am__doit
3014END
3015# If we don't find an include directive, just comment out the code.
3016{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3017$as_echo_n "checking for style of include used by $am_make... " >&6; }
3018am__include="#"
3019am__quote=
3020_am_result=none
3021# First try GNU make style include.
3022echo "include confinc" > confmf
3023# Ignore all kinds of additional output from 'make'.
3024case `$am_make -s -f confmf 2> /dev/null` in #(
3025*the\ am__doit\ target*)
3026 am__include=include
3027 am__quote=
3028 _am_result=GNU
3029 ;;
3030esac
3031# Now try BSD make style include.
3032if test "$am__include" = "#"; then
3033 echo '.include "confinc"' > confmf
3034 case `$am_make -s -f confmf 2> /dev/null` in #(
3035 *the\ am__doit\ target*)
3036 am__include=.include
3037 am__quote="\""
3038 _am_result=BSD
3039 ;;
3040 esac
3041fi
3042
3043
3044{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3045$as_echo "$_am_result" >&6; }
3046rm -f confinc confmf
3047
3048# Check whether --enable-dependency-tracking was given.
3049if test "${enable_dependency_tracking+set}" = set; then :
3050 enableval=$enable_dependency_tracking;
3051fi
3052
3053if test "x$enable_dependency_tracking" != xno; then
3054 am_depcomp="$ac_aux_dir/depcomp"
3055 AMDEPBACKSLASH='\'
3056 am__nodep='_no'
3057fi
3058 if test "x$enable_dependency_tracking" != xno; then
3059 AMDEP_TRUE=
3060 AMDEP_FALSE='#'
3061else
3062 AMDEP_TRUE='#'
3063 AMDEP_FALSE=
3064fi
3065
3066
3067
3068depcc="$CXX" am_compiler_list=
3069
3070{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3071$as_echo_n "checking dependency style of $depcc... " >&6; }
3072if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3073 $as_echo_n "(cached) " >&6
3074else
3075 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3076 # We make a subdir and do the tests there. Otherwise we can end up
3077 # making bogus files that we don't know about and never remove. For
3078 # instance it was reported that on HP-UX the gcc test will end up
3079 # making a dummy file named 'D' -- because '-MD' means "put the output
3080 # in D".
3081 rm -rf conftest.dir
3082 mkdir conftest.dir
3083 # Copy depcomp to subdir because otherwise we won't find it if we're
3084 # using a relative directory.
3085 cp "$am_depcomp" conftest.dir
3086 cd conftest.dir
3087 # We will build objects and dependencies in a subdirectory because
3088 # it helps to detect inapplicable dependency modes. For instance
3089 # both Tru64's cc and ICC support -MD to output dependencies as a
3090 # side effect of compilation, but ICC will put the dependencies in
3091 # the current directory while Tru64 will put them in the object
3092 # directory.
3093 mkdir sub
3094
3095 am_cv_CXX_dependencies_compiler_type=none
3096 if test "$am_compiler_list" = ""; then
3097 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3098 fi
3099 am__universal=false
3100 case " $depcc " in #(
3101 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3102 esac
3103
3104 for depmode in $am_compiler_list; do
3105 # Setup a source with many dependencies, because some compilers
3106 # like to wrap large dependency lists on column 80 (with \), and
3107 # we should not choose a depcomp mode which is confused by this.
3108 #
3109 # We need to recreate these files for each test, as the compiler may
3110 # overwrite some of them when testing with obscure command lines.
3111 # This happens at least with the AIX C compiler.
3112 : > sub/conftest.c
3113 for i in 1 2 3 4 5 6; do
3114 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3115 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3116 # Solaris 10 /bin/sh.
3117 echo '/* dummy */' > sub/conftst$i.h
3118 done
3119 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3120
3121 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3122 # mode. It turns out that the SunPro C++ compiler does not properly
3123 # handle '-M -o', and we need to detect this. Also, some Intel
3124 # versions had trouble with output in subdirs.
3125 am__obj=sub/conftest.${OBJEXT-o}
3126 am__minus_obj="-o $am__obj"
3127 case $depmode in
3128 gcc)
3129 # This depmode causes a compiler race in universal mode.
3130 test "$am__universal" = false || continue
3131 ;;
3132 nosideeffect)
3133 # After this tag, mechanisms are not by side-effect, so they'll
3134 # only be used when explicitly requested.
3135 if test "x$enable_dependency_tracking" = xyes; then
3136 continue
3137 else
3138 break
3139 fi
3140 ;;
3141 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3142 # This compiler won't grok '-c -o', but also, the minuso test has
3143 # not run yet. These depmodes are late enough in the game, and
3144 # so weak that their functioning should not be impacted.
3145 am__obj=conftest.${OBJEXT-o}
3146 am__minus_obj=
3147 ;;
3148 none) break ;;
3149 esac
3150 if depmode=$depmode \
3151 source=sub/conftest.c object=$am__obj \
3152 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3153 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3154 >/dev/null 2>conftest.err &&
3155 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3156 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3157 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3158 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3159 # icc doesn't choke on unknown options, it will just issue warnings
3160 # or remarks (even with -Werror). So we grep stderr for any message
3161 # that says an option was ignored or not supported.
3162 # When given -MP, icc 7.0 and 7.1 complain thusly:
3163 # icc: Command line warning: ignoring option '-M'; no argument required
3164 # The diagnosis changed in icc 8.0:
3165 # icc: Command line remark: option '-MP' not supported
3166 if (grep 'ignoring option' conftest.err ||
3167 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3168 am_cv_CXX_dependencies_compiler_type=$depmode
3169 break
3170 fi
3171 fi
3172 done
3173
3174 cd ..
3175 rm -rf conftest.dir
3176else
3177 am_cv_CXX_dependencies_compiler_type=none
3178fi
3179
3180fi
3181{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3182$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3183CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3184
3185 if
3186 test "x$enable_dependency_tracking" != xno \
3187 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3188 am__fastdepCXX_TRUE=
3189 am__fastdepCXX_FALSE='#'
3190else
3191 am__fastdepCXX_TRUE='#'
3192 am__fastdepCXX_FALSE=
3193fi
3194
3195
Jeff Thompson3b3aabf2013-06-21 16:50:20 -07003196if test -n "$ac_tool_prefix"; then
3197 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3198set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3199{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3200$as_echo_n "checking for $ac_word... " >&6; }
3201if ${ac_cv_prog_RANLIB+:} false; then :
Jeff Thompson36174062013-06-21 16:03:44 -07003202 $as_echo_n "(cached) " >&6
3203else
Jeff Thompson3b3aabf2013-06-21 16:50:20 -07003204 if test -n "$RANLIB"; then
3205 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3206else
3207as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3208for as_dir in $PATH
3209do
3210 IFS=$as_save_IFS
3211 test -z "$as_dir" && as_dir=.
3212 for ac_exec_ext in '' $ac_executable_extensions; do
3213 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3214 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3216 break 2
3217 fi
3218done
3219 done
3220IFS=$as_save_IFS
Jeff Thompson36174062013-06-21 16:03:44 -07003221
3222fi
Jeff Thompson3b3aabf2013-06-21 16:50:20 -07003223fi
3224RANLIB=$ac_cv_prog_RANLIB
3225if test -n "$RANLIB"; then
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3227$as_echo "$RANLIB" >&6; }
3228else
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3230$as_echo "no" >&6; }
3231fi
Jeff Thompson36174062013-06-21 16:03:44 -07003232
3233
Jeff Thompson3b3aabf2013-06-21 16:50:20 -07003234fi
3235if test -z "$ac_cv_prog_RANLIB"; then
3236 ac_ct_RANLIB=$RANLIB
3237 # Extract the first word of "ranlib", so it can be a program name with args.
3238set dummy ranlib; ac_word=$2
3239{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3240$as_echo_n "checking for $ac_word... " >&6; }
3241if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
Jeff Thompson36174062013-06-21 16:03:44 -07003242 $as_echo_n "(cached) " >&6
3243else
Jeff Thompson3b3aabf2013-06-21 16:50:20 -07003244 if test -n "$ac_ct_RANLIB"; then
3245 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
Jeff Thompson36174062013-06-21 16:03:44 -07003246else
Jeff Thompson3b3aabf2013-06-21 16:50:20 -07003247as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3248for as_dir in $PATH
3249do
3250 IFS=$as_save_IFS
3251 test -z "$as_dir" && as_dir=.
3252 for ac_exec_ext in '' $ac_executable_extensions; do
3253 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3254 ac_cv_prog_ac_ct_RANLIB="ranlib"
3255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3256 break 2
3257 fi
3258done
3259 done
3260IFS=$as_save_IFS
Jeff Thompson36174062013-06-21 16:03:44 -07003261
3262fi
Jeff Thompson3b3aabf2013-06-21 16:50:20 -07003263fi
3264ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3265if test -n "$ac_ct_RANLIB"; then
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3267$as_echo "$ac_ct_RANLIB" >&6; }
Jeff Thompson36174062013-06-21 16:03:44 -07003268else
Jeff Thompson3b3aabf2013-06-21 16:50:20 -07003269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3270$as_echo "no" >&6; }
Jeff Thompson36174062013-06-21 16:03:44 -07003271fi
3272
Jeff Thompson3b3aabf2013-06-21 16:50:20 -07003273 if test "x$ac_ct_RANLIB" = x; then
3274 RANLIB=":"
3275 else
3276 case $cross_compiling:$ac_tool_warned in
3277yes:)
3278{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3279$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3280ac_tool_warned=yes ;;
Jeff Thompson36174062013-06-21 16:03:44 -07003281esac
Jeff Thompson3b3aabf2013-06-21 16:50:20 -07003282 RANLIB=$ac_ct_RANLIB
3283 fi
3284else
3285 RANLIB="$ac_cv_prog_RANLIB"
3286fi
Jeff Thompson36174062013-06-21 16:03:44 -07003287
3288ac_ext=c
3289ac_cpp='$CPP $CPPFLAGS'
3290ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3291ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3292ac_compiler_gnu=$ac_cv_c_compiler_gnu
3293if test -n "$ac_tool_prefix"; then
3294 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3295set dummy ${ac_tool_prefix}gcc; ac_word=$2
3296{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3297$as_echo_n "checking for $ac_word... " >&6; }
3298if ${ac_cv_prog_CC+:} false; then :
3299 $as_echo_n "(cached) " >&6
3300else
3301 if test -n "$CC"; then
3302 ac_cv_prog_CC="$CC" # Let the user override the test.
3303else
3304as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3305for as_dir in $PATH
3306do
3307 IFS=$as_save_IFS
3308 test -z "$as_dir" && as_dir=.
3309 for ac_exec_ext in '' $ac_executable_extensions; do
3310 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3311 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3313 break 2
3314 fi
3315done
3316 done
3317IFS=$as_save_IFS
3318
3319fi
3320fi
3321CC=$ac_cv_prog_CC
3322if test -n "$CC"; then
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3324$as_echo "$CC" >&6; }
3325else
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3327$as_echo "no" >&6; }
3328fi
3329
3330
3331fi
3332if test -z "$ac_cv_prog_CC"; then
3333 ac_ct_CC=$CC
3334 # Extract the first word of "gcc", so it can be a program name with args.
3335set dummy gcc; ac_word=$2
3336{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3337$as_echo_n "checking for $ac_word... " >&6; }
3338if ${ac_cv_prog_ac_ct_CC+:} false; then :
3339 $as_echo_n "(cached) " >&6
3340else
3341 if test -n "$ac_ct_CC"; then
3342 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3343else
3344as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3345for as_dir in $PATH
3346do
3347 IFS=$as_save_IFS
3348 test -z "$as_dir" && as_dir=.
3349 for ac_exec_ext in '' $ac_executable_extensions; do
3350 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3351 ac_cv_prog_ac_ct_CC="gcc"
3352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3353 break 2
3354 fi
3355done
3356 done
3357IFS=$as_save_IFS
3358
3359fi
3360fi
3361ac_ct_CC=$ac_cv_prog_ac_ct_CC
3362if test -n "$ac_ct_CC"; then
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3364$as_echo "$ac_ct_CC" >&6; }
3365else
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3367$as_echo "no" >&6; }
3368fi
3369
3370 if test "x$ac_ct_CC" = x; then
3371 CC=""
3372 else
3373 case $cross_compiling:$ac_tool_warned in
3374yes:)
3375{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3376$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3377ac_tool_warned=yes ;;
3378esac
3379 CC=$ac_ct_CC
3380 fi
3381else
3382 CC="$ac_cv_prog_CC"
3383fi
3384
3385if test -z "$CC"; then
3386 if test -n "$ac_tool_prefix"; then
3387 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3388set dummy ${ac_tool_prefix}cc; ac_word=$2
3389{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3390$as_echo_n "checking for $ac_word... " >&6; }
3391if ${ac_cv_prog_CC+:} false; then :
3392 $as_echo_n "(cached) " >&6
3393else
3394 if test -n "$CC"; then
3395 ac_cv_prog_CC="$CC" # Let the user override the test.
3396else
3397as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3398for as_dir in $PATH
3399do
3400 IFS=$as_save_IFS
3401 test -z "$as_dir" && as_dir=.
3402 for ac_exec_ext in '' $ac_executable_extensions; do
3403 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3404 ac_cv_prog_CC="${ac_tool_prefix}cc"
3405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3406 break 2
3407 fi
3408done
3409 done
3410IFS=$as_save_IFS
3411
3412fi
3413fi
3414CC=$ac_cv_prog_CC
3415if test -n "$CC"; then
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3417$as_echo "$CC" >&6; }
3418else
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3420$as_echo "no" >&6; }
3421fi
3422
3423
3424 fi
3425fi
3426if test -z "$CC"; then
3427 # Extract the first word of "cc", so it can be a program name with args.
3428set dummy cc; ac_word=$2
3429{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3430$as_echo_n "checking for $ac_word... " >&6; }
3431if ${ac_cv_prog_CC+:} false; then :
3432 $as_echo_n "(cached) " >&6
3433else
3434 if test -n "$CC"; then
3435 ac_cv_prog_CC="$CC" # Let the user override the test.
3436else
3437 ac_prog_rejected=no
3438as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3439for as_dir in $PATH
3440do
3441 IFS=$as_save_IFS
3442 test -z "$as_dir" && as_dir=.
3443 for ac_exec_ext in '' $ac_executable_extensions; do
3444 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3445 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3446 ac_prog_rejected=yes
3447 continue
3448 fi
3449 ac_cv_prog_CC="cc"
3450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3451 break 2
3452 fi
3453done
3454 done
3455IFS=$as_save_IFS
3456
3457if test $ac_prog_rejected = yes; then
3458 # We found a bogon in the path, so make sure we never use it.
3459 set dummy $ac_cv_prog_CC
3460 shift
3461 if test $# != 0; then
3462 # We chose a different compiler from the bogus one.
3463 # However, it has the same basename, so the bogon will be chosen
3464 # first if we set CC to just the basename; use the full file name.
3465 shift
3466 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3467 fi
3468fi
3469fi
3470fi
3471CC=$ac_cv_prog_CC
3472if test -n "$CC"; then
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3474$as_echo "$CC" >&6; }
3475else
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3477$as_echo "no" >&6; }
3478fi
3479
3480
3481fi
3482if test -z "$CC"; then
3483 if test -n "$ac_tool_prefix"; then
3484 for ac_prog in cl.exe
3485 do
3486 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3487set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3488{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3489$as_echo_n "checking for $ac_word... " >&6; }
3490if ${ac_cv_prog_CC+:} false; then :
3491 $as_echo_n "(cached) " >&6
3492else
3493 if test -n "$CC"; then
3494 ac_cv_prog_CC="$CC" # Let the user override the test.
3495else
3496as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3497for as_dir in $PATH
3498do
3499 IFS=$as_save_IFS
3500 test -z "$as_dir" && as_dir=.
3501 for ac_exec_ext in '' $ac_executable_extensions; do
3502 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3503 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3505 break 2
3506 fi
3507done
3508 done
3509IFS=$as_save_IFS
3510
3511fi
3512fi
3513CC=$ac_cv_prog_CC
3514if test -n "$CC"; then
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3516$as_echo "$CC" >&6; }
3517else
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3519$as_echo "no" >&6; }
3520fi
3521
3522
3523 test -n "$CC" && break
3524 done
3525fi
3526if test -z "$CC"; then
3527 ac_ct_CC=$CC
3528 for ac_prog in cl.exe
3529do
3530 # Extract the first word of "$ac_prog", so it can be a program name with args.
3531set dummy $ac_prog; ac_word=$2
3532{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3533$as_echo_n "checking for $ac_word... " >&6; }
3534if ${ac_cv_prog_ac_ct_CC+:} false; then :
3535 $as_echo_n "(cached) " >&6
3536else
3537 if test -n "$ac_ct_CC"; then
3538 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3539else
3540as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3541for as_dir in $PATH
3542do
3543 IFS=$as_save_IFS
3544 test -z "$as_dir" && as_dir=.
3545 for ac_exec_ext in '' $ac_executable_extensions; do
3546 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3547 ac_cv_prog_ac_ct_CC="$ac_prog"
3548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3549 break 2
3550 fi
3551done
3552 done
3553IFS=$as_save_IFS
3554
3555fi
3556fi
3557ac_ct_CC=$ac_cv_prog_ac_ct_CC
3558if test -n "$ac_ct_CC"; then
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3560$as_echo "$ac_ct_CC" >&6; }
3561else
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3563$as_echo "no" >&6; }
3564fi
3565
3566
3567 test -n "$ac_ct_CC" && break
3568done
3569
3570 if test "x$ac_ct_CC" = x; then
3571 CC=""
3572 else
3573 case $cross_compiling:$ac_tool_warned in
3574yes:)
3575{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3576$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3577ac_tool_warned=yes ;;
3578esac
3579 CC=$ac_ct_CC
3580 fi
3581fi
3582
3583fi
3584
3585
3586test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3587$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3588as_fn_error $? "no acceptable C compiler found in \$PATH
3589See \`config.log' for more details" "$LINENO" 5; }
3590
3591# Provide some information about the compiler.
3592$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3593set X $ac_compile
3594ac_compiler=$2
3595for ac_option in --version -v -V -qversion; do
3596 { { ac_try="$ac_compiler $ac_option >&5"
3597case "(($ac_try" in
3598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3599 *) ac_try_echo=$ac_try;;
3600esac
3601eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3602$as_echo "$ac_try_echo"; } >&5
3603 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3604 ac_status=$?
3605 if test -s conftest.err; then
3606 sed '10a\
3607... rest of stderr output deleted ...
3608 10q' conftest.err >conftest.er1
3609 cat conftest.er1 >&5
3610 fi
3611 rm -f conftest.er1 conftest.err
3612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3613 test $ac_status = 0; }
3614done
3615
3616{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3617$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3618if ${ac_cv_c_compiler_gnu+:} false; then :
3619 $as_echo_n "(cached) " >&6
3620else
3621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3622/* end confdefs.h. */
3623
3624int
3625main ()
3626{
3627#ifndef __GNUC__
3628 choke me
3629#endif
3630
3631 ;
3632 return 0;
3633}
3634_ACEOF
3635if ac_fn_c_try_compile "$LINENO"; then :
3636 ac_compiler_gnu=yes
3637else
3638 ac_compiler_gnu=no
3639fi
3640rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3641ac_cv_c_compiler_gnu=$ac_compiler_gnu
3642
3643fi
3644{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3645$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3646if test $ac_compiler_gnu = yes; then
3647 GCC=yes
3648else
3649 GCC=
3650fi
3651ac_test_CFLAGS=${CFLAGS+set}
3652ac_save_CFLAGS=$CFLAGS
3653{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3654$as_echo_n "checking whether $CC accepts -g... " >&6; }
3655if ${ac_cv_prog_cc_g+:} false; then :
3656 $as_echo_n "(cached) " >&6
3657else
3658 ac_save_c_werror_flag=$ac_c_werror_flag
3659 ac_c_werror_flag=yes
3660 ac_cv_prog_cc_g=no
3661 CFLAGS="-g"
3662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3663/* end confdefs.h. */
3664
3665int
3666main ()
3667{
3668
3669 ;
3670 return 0;
3671}
3672_ACEOF
3673if ac_fn_c_try_compile "$LINENO"; then :
3674 ac_cv_prog_cc_g=yes
3675else
3676 CFLAGS=""
3677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3678/* end confdefs.h. */
3679
3680int
3681main ()
3682{
3683
3684 ;
3685 return 0;
3686}
3687_ACEOF
3688if ac_fn_c_try_compile "$LINENO"; then :
3689
3690else
3691 ac_c_werror_flag=$ac_save_c_werror_flag
3692 CFLAGS="-g"
3693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3694/* end confdefs.h. */
3695
3696int
3697main ()
3698{
3699
3700 ;
3701 return 0;
3702}
3703_ACEOF
3704if ac_fn_c_try_compile "$LINENO"; then :
3705 ac_cv_prog_cc_g=yes
3706fi
3707rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3708fi
3709rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3710fi
3711rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3712 ac_c_werror_flag=$ac_save_c_werror_flag
3713fi
3714{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3715$as_echo "$ac_cv_prog_cc_g" >&6; }
3716if test "$ac_test_CFLAGS" = set; then
3717 CFLAGS=$ac_save_CFLAGS
3718elif test $ac_cv_prog_cc_g = yes; then
3719 if test "$GCC" = yes; then
3720 CFLAGS="-g -O2"
3721 else
3722 CFLAGS="-g"
3723 fi
3724else
3725 if test "$GCC" = yes; then
3726 CFLAGS="-O2"
3727 else
3728 CFLAGS=
3729 fi
3730fi
3731{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3732$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3733if ${ac_cv_prog_cc_c89+:} false; then :
3734 $as_echo_n "(cached) " >&6
3735else
3736 ac_cv_prog_cc_c89=no
3737ac_save_CC=$CC
3738cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3739/* end confdefs.h. */
3740#include <stdarg.h>
3741#include <stdio.h>
3742struct stat;
3743/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3744struct buf { int x; };
3745FILE * (*rcsopen) (struct buf *, struct stat *, int);
3746static char *e (p, i)
3747 char **p;
3748 int i;
3749{
3750 return p[i];
3751}
3752static char *f (char * (*g) (char **, int), char **p, ...)
3753{
3754 char *s;
3755 va_list v;
3756 va_start (v,p);
3757 s = g (p, va_arg (v,int));
3758 va_end (v);
3759 return s;
3760}
3761
3762/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3763 function prototypes and stuff, but not '\xHH' hex character constants.
3764 These don't provoke an error unfortunately, instead are silently treated
3765 as 'x'. The following induces an error, until -std is added to get
3766 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3767 array size at least. It's necessary to write '\x00'==0 to get something
3768 that's true only with -std. */
3769int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3770
3771/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3772 inside strings and character constants. */
3773#define FOO(x) 'x'
3774int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3775
3776int test (int i, double x);
3777struct s1 {int (*f) (int a);};
3778struct s2 {int (*f) (double a);};
3779int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3780int argc;
3781char **argv;
3782int
3783main ()
3784{
3785return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3786 ;
3787 return 0;
3788}
3789_ACEOF
3790for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3791 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3792do
3793 CC="$ac_save_CC $ac_arg"
3794 if ac_fn_c_try_compile "$LINENO"; then :
3795 ac_cv_prog_cc_c89=$ac_arg
3796fi
3797rm -f core conftest.err conftest.$ac_objext
3798 test "x$ac_cv_prog_cc_c89" != "xno" && break
3799done
3800rm -f conftest.$ac_ext
3801CC=$ac_save_CC
3802
3803fi
3804# AC_CACHE_VAL
3805case "x$ac_cv_prog_cc_c89" in
3806 x)
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3808$as_echo "none needed" >&6; } ;;
3809 xno)
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3811$as_echo "unsupported" >&6; } ;;
3812 *)
3813 CC="$CC $ac_cv_prog_cc_c89"
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3815$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3816esac
3817if test "x$ac_cv_prog_cc_c89" != xno; then :
3818
3819fi
3820
Jeff Thompson3b3aabf2013-06-21 16:50:20 -07003821ac_ext=c
3822ac_cpp='$CPP $CPPFLAGS'
3823ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3824ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3825ac_compiler_gnu=$ac_cv_c_compiler_gnu
Jeff Thompson36174062013-06-21 16:03:44 -07003826
3827depcc="$CC" am_compiler_list=
3828
3829{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3830$as_echo_n "checking dependency style of $depcc... " >&6; }
3831if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3832 $as_echo_n "(cached) " >&6
3833else
3834 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3835 # We make a subdir and do the tests there. Otherwise we can end up
3836 # making bogus files that we don't know about and never remove. For
3837 # instance it was reported that on HP-UX the gcc test will end up
3838 # making a dummy file named 'D' -- because '-MD' means "put the output
3839 # in D".
3840 rm -rf conftest.dir
3841 mkdir conftest.dir
3842 # Copy depcomp to subdir because otherwise we won't find it if we're
3843 # using a relative directory.
3844 cp "$am_depcomp" conftest.dir
3845 cd conftest.dir
3846 # We will build objects and dependencies in a subdirectory because
3847 # it helps to detect inapplicable dependency modes. For instance
3848 # both Tru64's cc and ICC support -MD to output dependencies as a
3849 # side effect of compilation, but ICC will put the dependencies in
3850 # the current directory while Tru64 will put them in the object
3851 # directory.
3852 mkdir sub
3853
3854 am_cv_CC_dependencies_compiler_type=none
3855 if test "$am_compiler_list" = ""; then
3856 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3857 fi
3858 am__universal=false
3859 case " $depcc " in #(
3860 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3861 esac
3862
3863 for depmode in $am_compiler_list; do
3864 # Setup a source with many dependencies, because some compilers
3865 # like to wrap large dependency lists on column 80 (with \), and
3866 # we should not choose a depcomp mode which is confused by this.
3867 #
3868 # We need to recreate these files for each test, as the compiler may
3869 # overwrite some of them when testing with obscure command lines.
3870 # This happens at least with the AIX C compiler.
3871 : > sub/conftest.c
3872 for i in 1 2 3 4 5 6; do
3873 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3874 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3875 # Solaris 10 /bin/sh.
3876 echo '/* dummy */' > sub/conftst$i.h
3877 done
3878 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3879
3880 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3881 # mode. It turns out that the SunPro C++ compiler does not properly
3882 # handle '-M -o', and we need to detect this. Also, some Intel
3883 # versions had trouble with output in subdirs.
3884 am__obj=sub/conftest.${OBJEXT-o}
3885 am__minus_obj="-o $am__obj"
3886 case $depmode in
3887 gcc)
3888 # This depmode causes a compiler race in universal mode.
3889 test "$am__universal" = false || continue
3890 ;;
3891 nosideeffect)
3892 # After this tag, mechanisms are not by side-effect, so they'll
3893 # only be used when explicitly requested.
3894 if test "x$enable_dependency_tracking" = xyes; then
3895 continue
3896 else
3897 break
3898 fi
3899 ;;
3900 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3901 # This compiler won't grok '-c -o', but also, the minuso test has
3902 # not run yet. These depmodes are late enough in the game, and
3903 # so weak that their functioning should not be impacted.
3904 am__obj=conftest.${OBJEXT-o}
3905 am__minus_obj=
3906 ;;
3907 none) break ;;
3908 esac
3909 if depmode=$depmode \
3910 source=sub/conftest.c object=$am__obj \
3911 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3912 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3913 >/dev/null 2>conftest.err &&
3914 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3915 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3916 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3917 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3918 # icc doesn't choke on unknown options, it will just issue warnings
3919 # or remarks (even with -Werror). So we grep stderr for any message
3920 # that says an option was ignored or not supported.
3921 # When given -MP, icc 7.0 and 7.1 complain thusly:
3922 # icc: Command line warning: ignoring option '-M'; no argument required
3923 # The diagnosis changed in icc 8.0:
3924 # icc: Command line remark: option '-MP' not supported
3925 if (grep 'ignoring option' conftest.err ||
3926 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3927 am_cv_CC_dependencies_compiler_type=$depmode
3928 break
3929 fi
3930 fi
3931 done
3932
3933 cd ..
3934 rm -rf conftest.dir
3935else
3936 am_cv_CC_dependencies_compiler_type=none
3937fi
3938
3939fi
3940{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3941$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3942CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3943
3944 if
3945 test "x$enable_dependency_tracking" != xno \
3946 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3947 am__fastdepCC_TRUE=
3948 am__fastdepCC_FALSE='#'
3949else
3950 am__fastdepCC_TRUE='#'
3951 am__fastdepCC_FALSE=
3952fi
3953
3954
Jeff Thompson36174062013-06-21 16:03:44 -07003955
3956if test -n "$ac_tool_prefix"; then
Jeff Thompson3b3aabf2013-06-21 16:50:20 -07003957 for ac_prog in ar lib "link -lib"
Jeff Thompson36174062013-06-21 16:03:44 -07003958 do
3959 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3960set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3961{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3962$as_echo_n "checking for $ac_word... " >&6; }
3963if ${ac_cv_prog_AR+:} false; then :
3964 $as_echo_n "(cached) " >&6
3965else
3966 if test -n "$AR"; then
3967 ac_cv_prog_AR="$AR" # Let the user override the test.
3968else
3969as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3970for as_dir in $PATH
3971do
3972 IFS=$as_save_IFS
3973 test -z "$as_dir" && as_dir=.
3974 for ac_exec_ext in '' $ac_executable_extensions; do
3975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3976 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
3977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3978 break 2
3979 fi
3980done
3981 done
3982IFS=$as_save_IFS
3983
3984fi
3985fi
3986AR=$ac_cv_prog_AR
3987if test -n "$AR"; then
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3989$as_echo "$AR" >&6; }
3990else
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3992$as_echo "no" >&6; }
3993fi
3994
3995
3996 test -n "$AR" && break
3997 done
3998fi
3999if test -z "$AR"; then
4000 ac_ct_AR=$AR
Jeff Thompson3b3aabf2013-06-21 16:50:20 -07004001 for ac_prog in ar lib "link -lib"
Jeff Thompson36174062013-06-21 16:03:44 -07004002do
4003 # Extract the first word of "$ac_prog", so it can be a program name with args.
4004set dummy $ac_prog; ac_word=$2
4005{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4006$as_echo_n "checking for $ac_word... " >&6; }
4007if ${ac_cv_prog_ac_ct_AR+:} false; then :
4008 $as_echo_n "(cached) " >&6
4009else
4010 if test -n "$ac_ct_AR"; then
4011 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4012else
4013as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4014for as_dir in $PATH
4015do
4016 IFS=$as_save_IFS
4017 test -z "$as_dir" && as_dir=.
4018 for ac_exec_ext in '' $ac_executable_extensions; do
4019 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4020 ac_cv_prog_ac_ct_AR="$ac_prog"
4021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4022 break 2
4023 fi
4024done
4025 done
4026IFS=$as_save_IFS
4027
4028fi
4029fi
4030ac_ct_AR=$ac_cv_prog_ac_ct_AR
4031if test -n "$ac_ct_AR"; then
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4033$as_echo "$ac_ct_AR" >&6; }
4034else
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4036$as_echo "no" >&6; }
4037fi
4038
4039
4040 test -n "$ac_ct_AR" && break
4041done
4042
4043 if test "x$ac_ct_AR" = x; then
4044 AR="false"
4045 else
4046 case $cross_compiling:$ac_tool_warned in
4047yes:)
4048{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4049$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4050ac_tool_warned=yes ;;
4051esac
4052 AR=$ac_ct_AR
4053 fi
4054fi
4055
4056: ${AR=ar}
Jeff Thompson36174062013-06-21 16:03:44 -07004057
Jeff Thompson3b3aabf2013-06-21 16:50:20 -07004058{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4059$as_echo_n "checking the archiver ($AR) interface... " >&6; }
4060if ${am_cv_ar_interface+:} false; then :
Jeff Thompson36174062013-06-21 16:03:44 -07004061 $as_echo_n "(cached) " >&6
4062else
Jeff Thompson3b3aabf2013-06-21 16:50:20 -07004063 am_cv_ar_interface=ar
Jeff Thompson36174062013-06-21 16:03:44 -07004064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4065/* end confdefs.h. */
Jeff Thompson3b3aabf2013-06-21 16:50:20 -07004066int some_variable = 0;
Jeff Thompson36174062013-06-21 16:03:44 -07004067_ACEOF
Jeff Thompson3b3aabf2013-06-21 16:50:20 -07004068if ac_fn_c_try_compile "$LINENO"; then :
4069 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4070 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4071 (eval $am_ar_try) 2>&5
Jeff Thompson36174062013-06-21 16:03:44 -07004072 ac_status=$?
4073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4074 test $ac_status = 0; }
4075 if test "$ac_status" -eq 0; then
Jeff Thompson3b3aabf2013-06-21 16:50:20 -07004076 am_cv_ar_interface=ar
4077 else
4078 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4079 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4080 (eval $am_ar_try) 2>&5
Jeff Thompson36174062013-06-21 16:03:44 -07004081 ac_status=$?
4082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4083 test $ac_status = 0; }
Jeff Thompson3b3aabf2013-06-21 16:50:20 -07004084 if test "$ac_status" -eq 0; then
4085 am_cv_ar_interface=lib
4086 else
4087 am_cv_ar_interface=unknown
Jeff Thompson36174062013-06-21 16:03:44 -07004088 fi
4089 fi
Jeff Thompson3b3aabf2013-06-21 16:50:20 -07004090 rm -f conftest.lib libconftest.a
Jeff Thompson36174062013-06-21 16:03:44 -07004091
4092fi
4093rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4094
4095fi
Jeff Thompson3b3aabf2013-06-21 16:50:20 -07004096{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4097$as_echo "$am_cv_ar_interface" >&6; }
Jeff Thompson36174062013-06-21 16:03:44 -07004098
Jeff Thompson3b3aabf2013-06-21 16:50:20 -07004099case $am_cv_ar_interface in
4100ar)
Jeff Thompson36174062013-06-21 16:03:44 -07004101 ;;
Jeff Thompson3b3aabf2013-06-21 16:50:20 -07004102lib)
4103 # Microsoft lib, so override with the ar-lib wrapper script.
4104 # FIXME: It is wrong to rewrite AR.
4105 # But if we don't then we get into trouble of one sort or another.
4106 # A longer-term fix would be to have automake use am__AR in this case,
4107 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4108 # similar.
4109 AR="$am_aux_dir/ar-lib $AR"
Jeff Thompson36174062013-06-21 16:03:44 -07004110 ;;
Jeff Thompson3b3aabf2013-06-21 16:50:20 -07004111unknown)
4112 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
Jeff Thompson36174062013-06-21 16:03:44 -07004113 ;;
4114esac
4115
Jeff Thompson1a1b4c02013-06-28 22:28:51 -07004116if test "x$CC" != xcc; then
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4118$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4119else
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4121$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4122fi
4123set dummy $CC; ac_cc=`$as_echo "$2" |
4124 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4125if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4126 $as_echo_n "(cached) " >&6
4127else
4128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4129/* end confdefs.h. */
4130
4131int
4132main ()
4133{
4134
4135 ;
4136 return 0;
4137}
4138_ACEOF
4139# Make sure it works both with $CC and with simple cc.
4140# We do the test twice because some compilers refuse to overwrite an
4141# existing .o file with -o, though they will create one.
4142ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4143rm -f conftest2.*
4144if { { case "(($ac_try" in
4145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4146 *) ac_try_echo=$ac_try;;
4147esac
4148eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4149$as_echo "$ac_try_echo"; } >&5
4150 (eval "$ac_try") 2>&5
4151 ac_status=$?
4152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4153 test $ac_status = 0; } &&
4154 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4156 *) ac_try_echo=$ac_try;;
4157esac
4158eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4159$as_echo "$ac_try_echo"; } >&5
4160 (eval "$ac_try") 2>&5
4161 ac_status=$?
4162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4163 test $ac_status = 0; };
4164then
4165 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4166 if test "x$CC" != xcc; then
4167 # Test first that cc exists at all.
4168 if { ac_try='cc -c conftest.$ac_ext >&5'
4169 { { case "(($ac_try" in
4170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4171 *) ac_try_echo=$ac_try;;
4172esac
4173eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4174$as_echo "$ac_try_echo"; } >&5
4175 (eval "$ac_try") 2>&5
4176 ac_status=$?
4177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4178 test $ac_status = 0; }; }; then
4179 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4180 rm -f conftest2.*
4181 if { { case "(($ac_try" in
4182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4183 *) ac_try_echo=$ac_try;;
4184esac
4185eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4186$as_echo "$ac_try_echo"; } >&5
4187 (eval "$ac_try") 2>&5
4188 ac_status=$?
4189 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4190 test $ac_status = 0; } &&
4191 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4193 *) ac_try_echo=$ac_try;;
4194esac
4195eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4196$as_echo "$ac_try_echo"; } >&5
4197 (eval "$ac_try") 2>&5
4198 ac_status=$?
4199 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4200 test $ac_status = 0; };
4201 then
4202 # cc works too.
4203 :
4204 else
4205 # cc exists but doesn't like -o.
4206 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4207 fi
4208 fi
4209 fi
4210else
4211 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4212fi
4213rm -f core conftest*
4214
4215fi
4216if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4218$as_echo "yes" >&6; }
4219else
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4221$as_echo "no" >&6; }
4222
4223$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4224
4225fi
4226
4227# FIXME: we rely on the cache variable name because
4228# there is no other way.
4229set dummy $CC
4230am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4231eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4232if test "$am_t" != yes; then
4233 # Losing compiler, so override with the script.
4234 # FIXME: It is wrong to rewrite CC.
4235 # But if we don't then we get into trouble of one sort or another.
4236 # A longer-term fix would be to have automake use am__CC in this case,
4237 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4238 CC="$am_aux_dir/compile $CC"
4239fi
4240
4241
Jeff Thompson36174062013-06-21 16:03:44 -07004242ac_ext=cpp
4243ac_cpp='$CXXCPP $CPPFLAGS'
4244ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4245ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4246ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4247
Jeff Thompson36174062013-06-21 16:03:44 -07004248
Jeff Thompson39128c62013-06-19 14:08:51 -07004249
Jeff Thompson1b8f4c92013-06-19 16:18:46 -07004250 ax_cxx_compile_cxx11_required=falsednl
4251 ac_ext=cpp
4252ac_cpp='$CXXCPP $CPPFLAGS'
4253ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4254ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4255ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4256 ac_success=no
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
4258$as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; }
4259if ${ax_cv_cxx_compile_cxx11+:} false; then :
4260 $as_echo_n "(cached) " >&6
4261else
4262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4263/* end confdefs.h. */
4264
4265 template <typename T>
4266 struct check
4267 {
4268 static_assert(sizeof(int) <= sizeof(T), "not big enough");
4269 };
4270
4271 typedef check<check<bool>> right_angle_brackets;
4272
4273 int a;
4274 decltype(a) b;
4275
4276 typedef check<int> check_type;
4277 check_type c;
4278 check_type&& cr = static_cast<check_type&&>(c);
4279
4280 auto d = a;
4281
4282_ACEOF
4283if ac_fn_cxx_try_compile "$LINENO"; then :
4284 ax_cv_cxx_compile_cxx11=yes
4285else
4286 ax_cv_cxx_compile_cxx11=no
4287fi
4288rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4289fi
4290{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5
4291$as_echo "$ax_cv_cxx_compile_cxx11" >&6; }
4292 if test x$ax_cv_cxx_compile_cxx11 = xyes; then
4293 ac_success=yes
4294 fi
4295
4296 if test x$ac_success = xno; then
4297 for switch in -std=gnu++11 -std=gnu++0x; do
4298 cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
4300$as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
4301if eval \${$cachevar+:} false; then :
4302 $as_echo_n "(cached) " >&6
4303else
4304 ac_save_CXXFLAGS="$CXXFLAGS"
4305 CXXFLAGS="$CXXFLAGS $switch"
4306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4307/* end confdefs.h. */
4308
4309 template <typename T>
4310 struct check
4311 {
4312 static_assert(sizeof(int) <= sizeof(T), "not big enough");
4313 };
4314
4315 typedef check<check<bool>> right_angle_brackets;
4316
4317 int a;
4318 decltype(a) b;
4319
4320 typedef check<int> check_type;
4321 check_type c;
4322 check_type&& cr = static_cast<check_type&&>(c);
4323
4324 auto d = a;
4325
4326_ACEOF
4327if ac_fn_cxx_try_compile "$LINENO"; then :
4328 eval $cachevar=yes
4329else
4330 eval $cachevar=no
4331fi
4332rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4333 CXXFLAGS="$ac_save_CXXFLAGS"
4334fi
4335eval ac_res=\$$cachevar
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4337$as_echo "$ac_res" >&6; }
4338 if eval test x\$$cachevar = xyes; then
4339 CXXFLAGS="$CXXFLAGS $switch"
4340 ac_success=yes
4341 break
4342 fi
4343 done
4344 fi
4345
4346 if test x$ac_success = xno; then
4347 for switch in -std=c++11 -std=c++0x; do
4348 cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
4350$as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
4351if eval \${$cachevar+:} false; then :
4352 $as_echo_n "(cached) " >&6
4353else
4354 ac_save_CXXFLAGS="$CXXFLAGS"
4355 CXXFLAGS="$CXXFLAGS $switch"
4356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4357/* end confdefs.h. */
4358
4359 template <typename T>
4360 struct check
4361 {
4362 static_assert(sizeof(int) <= sizeof(T), "not big enough");
4363 };
4364
4365 typedef check<check<bool>> right_angle_brackets;
4366
4367 int a;
4368 decltype(a) b;
4369
4370 typedef check<int> check_type;
4371 check_type c;
4372 check_type&& cr = static_cast<check_type&&>(c);
4373
4374 auto d = a;
4375
4376_ACEOF
4377if ac_fn_cxx_try_compile "$LINENO"; then :
4378 eval $cachevar=yes
4379else
4380 eval $cachevar=no
4381fi
4382rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4383 CXXFLAGS="$ac_save_CXXFLAGS"
4384fi
4385eval ac_res=\$$cachevar
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4387$as_echo "$ac_res" >&6; }
4388 if eval test x\$$cachevar = xyes; then
4389 CXXFLAGS="$CXXFLAGS $switch"
4390 ac_success=yes
4391 break
4392 fi
4393 done
4394 fi
4395 ac_ext=cpp
4396ac_cpp='$CXXCPP $CPPFLAGS'
4397ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4398ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4399ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4400
4401 if test x$ax_cxx_compile_cxx11_required = xtrue; then
4402 if test x$ac_success = xno; then
4403 as_fn_error $? "*** A compiler with support for C++11 language features is required." "$LINENO" 5
4404 fi
4405 else
4406 if test x$ac_success = xno; then
4407 HAVE_CXX11=0
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5
4409$as_echo "$as_me: No compiler with C++11 support was found" >&6;}
4410 else
4411 HAVE_CXX11=1
4412
4413$as_echo "#define HAVE_CXX11 1" >>confdefs.h
4414
4415 fi
4416
4417
4418 fi
4419
4420
Jeff Thompson39128c62013-06-19 14:08:51 -07004421{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::shared_ptr" >&5
4422$as_echo_n "checking for std::shared_ptr... " >&6; }
Jeff Thompson39128c62013-06-19 14:08:51 -07004423cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4424/* end confdefs.h. */
4425#include <memory>
4426 std::shared_ptr<int> have_shared_ptr;
4427int
4428main ()
4429{
4430
4431 ;
4432 return 0;
4433}
4434
4435_ACEOF
4436if ac_fn_cxx_try_compile "$LINENO"; then :
4437
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4439$as_echo "yes" >&6; }
4440
4441cat >>confdefs.h <<_ACEOF
4442#define HAVE_STD_SHARED_PTR 1
4443_ACEOF
4444
4445
4446else
4447
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4449$as_echo "no" >&6; }
4450
4451cat >>confdefs.h <<_ACEOF
4452#define HAVE_STD_SHARED_PTR 0
4453_ACEOF
4454
4455
4456fi
4457rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
Jeff Thompson9e9ea9f2013-06-22 10:31:18 -07004458{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for boost::shared_ptr" >&5
4459$as_echo_n "checking for boost::shared_ptr... " >&6; }
Jeff Thompson39128c62013-06-19 14:08:51 -07004460cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4461/* end confdefs.h. */
4462#include <boost/shared_ptr.hpp>
4463 boost::shared_ptr<int> have_shared_ptr;
4464int
4465main ()
4466{
4467
4468 ;
4469 return 0;
4470}
4471
4472_ACEOF
4473if ac_fn_cxx_try_compile "$LINENO"; then :
4474
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4476$as_echo "yes" >&6; }
4477
4478cat >>confdefs.h <<_ACEOF
4479#define HAVE_BOOST_SHARED_PTR 1
4480_ACEOF
4481
4482
4483else
4484
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4486$as_echo "no" >&6; }
4487
4488cat >>confdefs.h <<_ACEOF
4489#define HAVE_BOOST_SHARED_PTR 0
4490_ACEOF
4491
4492
4493fi
4494rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4495
Jeff Thompsond4a1e162013-07-11 12:41:31 -07004496{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for memcmp" >&5
4497$as_echo_n "checking for memcmp... " >&6; }
4498cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4499/* end confdefs.h. */
4500#include <memory.h>
4501 void test() { unsigned char buffer[1]; memcmp(buffer, buffer, 1); }
4502int
4503main ()
4504{
4505
4506 ;
4507 return 0;
4508}
4509
4510_ACEOF
4511if ac_fn_cxx_try_compile "$LINENO"; then :
4512
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4514$as_echo "yes" >&6; }
4515
4516cat >>confdefs.h <<_ACEOF
4517#define HAVE_MEMCMP 1
4518_ACEOF
4519
4520
4521else
4522
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4524$as_echo "no" >&6; }
4525
4526cat >>confdefs.h <<_ACEOF
4527#define HAVE_MEMCMP 0
4528_ACEOF
4529
4530
4531fi
4532rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
Jeff Thompsonc804d522013-06-27 16:54:27 -07004533{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for memcpy" >&5
4534$as_echo_n "checking for memcpy... " >&6; }
4535cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4536/* end confdefs.h. */
4537#include <memory.h>
4538 void test() { unsigned char buffer[1]; memcpy(buffer, buffer, 1); }
4539int
4540main ()
4541{
4542
4543 ;
4544 return 0;
4545}
4546
4547_ACEOF
4548if ac_fn_cxx_try_compile "$LINENO"; then :
4549
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4551$as_echo "yes" >&6; }
4552
4553cat >>confdefs.h <<_ACEOF
4554#define HAVE_MEMCPY 1
4555_ACEOF
4556
4557
4558else
4559
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4561$as_echo "no" >&6; }
4562
4563cat >>confdefs.h <<_ACEOF
4564#define HAVE_MEMCPY 0
4565_ACEOF
4566
4567
4568fi
4569rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4570{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for memset" >&5
4571$as_echo_n "checking for memset... " >&6; }
4572cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4573/* end confdefs.h. */
4574#include <memory.h>
4575 void test() { unsigned char buffer[1]; memset(buffer, 0, 1); }
4576int
4577main ()
4578{
4579
4580 ;
4581 return 0;
4582}
4583
4584_ACEOF
4585if ac_fn_cxx_try_compile "$LINENO"; then :
4586
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4588$as_echo "yes" >&6; }
4589
4590cat >>confdefs.h <<_ACEOF
4591#define HAVE_MEMSET 1
4592_ACEOF
4593
4594
4595else
4596
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4598$as_echo "no" >&6; }
4599
4600cat >>confdefs.h <<_ACEOF
4601#define HAVE_MEMSET 0
4602_ACEOF
4603
4604
4605fi
4606rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4607
Jeff Thompsonca45e552013-06-26 17:40:06 -07004608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618# Files:
4619DX_PROJECT=$PACKAGE_NAME
4620
4621DX_CONFIG=Doxyfile
4622
4623DX_DOCDIR=doxygen-doc
4624
4625
4626# Environment variables used inside doxygen.cfg:
4627DX_ENV="$DX_ENV SRCDIR='$srcdir'"
4628
4629DX_ENV="$DX_ENV PROJECT='$DX_PROJECT'"
4630
4631DX_ENV="$DX_ENV DOCDIR='$DX_DOCDIR'"
4632
4633DX_ENV="$DX_ENV VERSION='$PACKAGE_VERSION'"
4634
4635
4636# Doxygen itself:
4637
4638
4639
4640 # Check whether --enable-doxygen-doc was given.
4641if test "${enable_doxygen_doc+set}" = set; then :
4642 enableval=$enable_doxygen_doc;
4643case "$enableval" in
4644#(
4645y|Y|yes|Yes|YES)
4646 DX_FLAG_doc=1
4647
4648
4649;; #(
4650n|N|no|No|NO)
4651 DX_FLAG_doc=0
4652
4653;; #(
4654*)
4655 as_fn_error $? "invalid value '$enableval' given to doxygen-doc" "$LINENO" 5
4656;;
4657esac
4658
4659else
4660
4661DX_FLAG_doc=1
4662
4663
4664
4665fi
4666
4667if test "$DX_FLAG_doc" = 1; then
4668
4669if test -n "$ac_tool_prefix"; then
4670 # Extract the first word of "${ac_tool_prefix}doxygen", so it can be a program name with args.
4671set dummy ${ac_tool_prefix}doxygen; ac_word=$2
4672{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4673$as_echo_n "checking for $ac_word... " >&6; }
4674if ${ac_cv_path_DX_DOXYGEN+:} false; then :
4675 $as_echo_n "(cached) " >&6
4676else
4677 case $DX_DOXYGEN in
4678 [\\/]* | ?:[\\/]*)
4679 ac_cv_path_DX_DOXYGEN="$DX_DOXYGEN" # Let the user override the test with a path.
4680 ;;
4681 *)
4682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4683for as_dir in $PATH
4684do
4685 IFS=$as_save_IFS
4686 test -z "$as_dir" && as_dir=.
4687 for ac_exec_ext in '' $ac_executable_extensions; do
4688 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4689 ac_cv_path_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
4690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4691 break 2
4692 fi
4693done
4694 done
4695IFS=$as_save_IFS
4696
4697 ;;
4698esac
4699fi
4700DX_DOXYGEN=$ac_cv_path_DX_DOXYGEN
4701if test -n "$DX_DOXYGEN"; then
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOXYGEN" >&5
4703$as_echo "$DX_DOXYGEN" >&6; }
4704else
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4706$as_echo "no" >&6; }
4707fi
4708
4709
4710fi
4711if test -z "$ac_cv_path_DX_DOXYGEN"; then
4712 ac_pt_DX_DOXYGEN=$DX_DOXYGEN
4713 # Extract the first word of "doxygen", so it can be a program name with args.
4714set dummy doxygen; ac_word=$2
4715{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4716$as_echo_n "checking for $ac_word... " >&6; }
4717if ${ac_cv_path_ac_pt_DX_DOXYGEN+:} false; then :
4718 $as_echo_n "(cached) " >&6
4719else
4720 case $ac_pt_DX_DOXYGEN in
4721 [\\/]* | ?:[\\/]*)
4722 ac_cv_path_ac_pt_DX_DOXYGEN="$ac_pt_DX_DOXYGEN" # Let the user override the test with a path.
4723 ;;
4724 *)
4725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4726for as_dir in $PATH
4727do
4728 IFS=$as_save_IFS
4729 test -z "$as_dir" && as_dir=.
4730 for ac_exec_ext in '' $ac_executable_extensions; do
4731 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4732 ac_cv_path_ac_pt_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
4733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4734 break 2
4735 fi
4736done
4737 done
4738IFS=$as_save_IFS
4739
4740 ;;
4741esac
4742fi
4743ac_pt_DX_DOXYGEN=$ac_cv_path_ac_pt_DX_DOXYGEN
4744if test -n "$ac_pt_DX_DOXYGEN"; then
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOXYGEN" >&5
4746$as_echo "$ac_pt_DX_DOXYGEN" >&6; }
4747else
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4749$as_echo "no" >&6; }
4750fi
4751
4752 if test "x$ac_pt_DX_DOXYGEN" = x; then
4753 DX_DOXYGEN=""
4754 else
4755 case $cross_compiling:$ac_tool_warned in
4756yes:)
4757{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4758$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4759ac_tool_warned=yes ;;
4760esac
4761 DX_DOXYGEN=$ac_pt_DX_DOXYGEN
4762 fi
4763else
4764 DX_DOXYGEN="$ac_cv_path_DX_DOXYGEN"
4765fi
4766
4767if test "$DX_FLAG_doc$DX_DOXYGEN" = 1; then
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: doxygen not found - will not generate any doxygen documentation" >&5
4769$as_echo "$as_me: WARNING: doxygen not found - will not generate any doxygen documentation" >&2;}
4770 DX_FLAG_doc=0
4771
4772fi
4773
4774
4775if test -n "$ac_tool_prefix"; then
4776 # Extract the first word of "${ac_tool_prefix}perl", so it can be a program name with args.
4777set dummy ${ac_tool_prefix}perl; ac_word=$2
4778{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4779$as_echo_n "checking for $ac_word... " >&6; }
4780if ${ac_cv_path_DX_PERL+:} false; then :
4781 $as_echo_n "(cached) " >&6
4782else
4783 case $DX_PERL in
4784 [\\/]* | ?:[\\/]*)
4785 ac_cv_path_DX_PERL="$DX_PERL" # Let the user override the test with a path.
4786 ;;
4787 *)
4788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4789for as_dir in $PATH
4790do
4791 IFS=$as_save_IFS
4792 test -z "$as_dir" && as_dir=.
4793 for ac_exec_ext in '' $ac_executable_extensions; do
4794 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4795 ac_cv_path_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
4796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4797 break 2
4798 fi
4799done
4800 done
4801IFS=$as_save_IFS
4802
4803 ;;
4804esac
4805fi
4806DX_PERL=$ac_cv_path_DX_PERL
4807if test -n "$DX_PERL"; then
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PERL" >&5
4809$as_echo "$DX_PERL" >&6; }
4810else
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4812$as_echo "no" >&6; }
4813fi
4814
4815
4816fi
4817if test -z "$ac_cv_path_DX_PERL"; then
4818 ac_pt_DX_PERL=$DX_PERL
4819 # Extract the first word of "perl", so it can be a program name with args.
4820set dummy perl; ac_word=$2
4821{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4822$as_echo_n "checking for $ac_word... " >&6; }
4823if ${ac_cv_path_ac_pt_DX_PERL+:} false; then :
4824 $as_echo_n "(cached) " >&6
4825else
4826 case $ac_pt_DX_PERL in
4827 [\\/]* | ?:[\\/]*)
4828 ac_cv_path_ac_pt_DX_PERL="$ac_pt_DX_PERL" # Let the user override the test with a path.
4829 ;;
4830 *)
4831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4832for as_dir in $PATH
4833do
4834 IFS=$as_save_IFS
4835 test -z "$as_dir" && as_dir=.
4836 for ac_exec_ext in '' $ac_executable_extensions; do
4837 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4838 ac_cv_path_ac_pt_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
4839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4840 break 2
4841 fi
4842done
4843 done
4844IFS=$as_save_IFS
4845
4846 ;;
4847esac
4848fi
4849ac_pt_DX_PERL=$ac_cv_path_ac_pt_DX_PERL
4850if test -n "$ac_pt_DX_PERL"; then
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PERL" >&5
4852$as_echo "$ac_pt_DX_PERL" >&6; }
4853else
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4855$as_echo "no" >&6; }
4856fi
4857
4858 if test "x$ac_pt_DX_PERL" = x; then
4859 DX_PERL=""
4860 else
4861 case $cross_compiling:$ac_tool_warned in
4862yes:)
4863{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4864$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4865ac_tool_warned=yes ;;
4866esac
4867 DX_PERL=$ac_pt_DX_PERL
4868 fi
4869else
4870 DX_PERL="$ac_cv_path_DX_PERL"
4871fi
4872
4873if test "$DX_FLAG_doc$DX_PERL" = 1; then
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - will not generate any doxygen documentation" >&5
4875$as_echo "$as_me: WARNING: perl not found - will not generate any doxygen documentation" >&2;}
4876 DX_FLAG_doc=0
4877
4878fi
4879
4880 :
4881fi
4882 if test "$DX_FLAG_doc" = 1; then
4883 DX_COND_doc_TRUE=
4884 DX_COND_doc_FALSE='#'
4885else
4886 DX_COND_doc_TRUE='#'
4887 DX_COND_doc_FALSE=
4888fi
4889
4890if test "$DX_FLAG_doc" = 1; then
4891 DX_ENV="$DX_ENV PERL_PATH='$DX_PERL'"
4892
4893 :
4894else
4895
4896 :
4897fi
4898
4899
4900# Dot for graphics:
4901
4902
4903
4904 # Check whether --enable-doxygen-dot was given.
4905if test "${enable_doxygen_dot+set}" = set; then :
4906 enableval=$enable_doxygen_dot;
4907case "$enableval" in
4908#(
4909y|Y|yes|Yes|YES)
4910 DX_FLAG_dot=1
4911
4912
4913test "$DX_FLAG_doc" = "1" \
4914|| as_fn_error $? "doxygen-dot requires doxygen-dot" "$LINENO" 5
4915
4916;; #(
4917n|N|no|No|NO)
4918 DX_FLAG_dot=0
4919
4920;; #(
4921*)
4922 as_fn_error $? "invalid value '$enableval' given to doxygen-dot" "$LINENO" 5
4923;;
4924esac
4925
4926else
4927
4928DX_FLAG_dot=0
4929
4930
4931test "$DX_FLAG_doc" = "1" || DX_FLAG_dot=0
4932
4933
4934
4935fi
4936
4937if test "$DX_FLAG_dot" = 1; then
4938
4939if test -n "$ac_tool_prefix"; then
4940 # Extract the first word of "${ac_tool_prefix}dot", so it can be a program name with args.
4941set dummy ${ac_tool_prefix}dot; ac_word=$2
4942{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4943$as_echo_n "checking for $ac_word... " >&6; }
4944if ${ac_cv_path_DX_DOT+:} false; then :
4945 $as_echo_n "(cached) " >&6
4946else
4947 case $DX_DOT in
4948 [\\/]* | ?:[\\/]*)
4949 ac_cv_path_DX_DOT="$DX_DOT" # Let the user override the test with a path.
4950 ;;
4951 *)
4952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4953for as_dir in $PATH
4954do
4955 IFS=$as_save_IFS
4956 test -z "$as_dir" && as_dir=.
4957 for ac_exec_ext in '' $ac_executable_extensions; do
4958 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4959 ac_cv_path_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
4960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4961 break 2
4962 fi
4963done
4964 done
4965IFS=$as_save_IFS
4966
4967 ;;
4968esac
4969fi
4970DX_DOT=$ac_cv_path_DX_DOT
4971if test -n "$DX_DOT"; then
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOT" >&5
4973$as_echo "$DX_DOT" >&6; }
4974else
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4976$as_echo "no" >&6; }
4977fi
4978
4979
4980fi
4981if test -z "$ac_cv_path_DX_DOT"; then
4982 ac_pt_DX_DOT=$DX_DOT
4983 # Extract the first word of "dot", so it can be a program name with args.
4984set dummy dot; ac_word=$2
4985{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4986$as_echo_n "checking for $ac_word... " >&6; }
4987if ${ac_cv_path_ac_pt_DX_DOT+:} false; then :
4988 $as_echo_n "(cached) " >&6
4989else
4990 case $ac_pt_DX_DOT in
4991 [\\/]* | ?:[\\/]*)
4992 ac_cv_path_ac_pt_DX_DOT="$ac_pt_DX_DOT" # Let the user override the test with a path.
4993 ;;
4994 *)
4995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4996for as_dir in $PATH
4997do
4998 IFS=$as_save_IFS
4999 test -z "$as_dir" && as_dir=.
5000 for ac_exec_ext in '' $ac_executable_extensions; do
5001 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5002 ac_cv_path_ac_pt_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
5003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5004 break 2
5005 fi
5006done
5007 done
5008IFS=$as_save_IFS
5009
5010 ;;
5011esac
5012fi
5013ac_pt_DX_DOT=$ac_cv_path_ac_pt_DX_DOT
5014if test -n "$ac_pt_DX_DOT"; then
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOT" >&5
5016$as_echo "$ac_pt_DX_DOT" >&6; }
5017else
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5019$as_echo "no" >&6; }
5020fi
5021
5022 if test "x$ac_pt_DX_DOT" = x; then
5023 DX_DOT=""
5024 else
5025 case $cross_compiling:$ac_tool_warned in
5026yes:)
5027{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5028$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5029ac_tool_warned=yes ;;
5030esac
5031 DX_DOT=$ac_pt_DX_DOT
5032 fi
5033else
5034 DX_DOT="$ac_cv_path_DX_DOT"
5035fi
5036
5037if test "$DX_FLAG_dot$DX_DOT" = 1; then
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dot not found - will not generate graphics for doxygen documentation" >&5
5039$as_echo "$as_me: WARNING: dot not found - will not generate graphics for doxygen documentation" >&2;}
5040 DX_FLAG_dot=0
5041
5042fi
5043
5044 :
5045fi
5046 if test "$DX_FLAG_dot" = 1; then
5047 DX_COND_dot_TRUE=
5048 DX_COND_dot_FALSE='#'
5049else
5050 DX_COND_dot_TRUE='#'
5051 DX_COND_dot_FALSE=
5052fi
5053
5054if test "$DX_FLAG_dot" = 1; then
5055 DX_ENV="$DX_ENV HAVE_DOT='YES'"
5056
5057 DX_ENV="$DX_ENV DOT_PATH='`expr ".$DX_DOT" : '\(\.\)[^/]*$' \| "x$DX_DOT" : 'x\(.*\)/[^/]*$'`'"
5058
5059 :
5060else
5061 DX_ENV="$DX_ENV HAVE_DOT='NO'"
5062
5063 :
5064fi
5065
5066
5067# Man pages generation:
5068
5069
5070
5071 # Check whether --enable-doxygen-man was given.
5072if test "${enable_doxygen_man+set}" = set; then :
5073 enableval=$enable_doxygen_man;
5074case "$enableval" in
5075#(
5076y|Y|yes|Yes|YES)
5077 DX_FLAG_man=1
5078
5079
5080test "$DX_FLAG_doc" = "1" \
5081|| as_fn_error $? "doxygen-man requires doxygen-man" "$LINENO" 5
5082
5083;; #(
5084n|N|no|No|NO)
5085 DX_FLAG_man=0
5086
5087;; #(
5088*)
5089 as_fn_error $? "invalid value '$enableval' given to doxygen-man" "$LINENO" 5
5090;;
5091esac
5092
5093else
5094
5095DX_FLAG_man=0
5096
5097
5098test "$DX_FLAG_doc" = "1" || DX_FLAG_man=0
5099
5100
5101
5102fi
5103
5104if test "$DX_FLAG_man" = 1; then
5105
5106 :
5107fi
5108 if test "$DX_FLAG_man" = 1; then
5109 DX_COND_man_TRUE=
5110 DX_COND_man_FALSE='#'
5111else
5112 DX_COND_man_TRUE='#'
5113 DX_COND_man_FALSE=
5114fi
5115
5116if test "$DX_FLAG_man" = 1; then
5117 DX_ENV="$DX_ENV GENERATE_MAN='YES'"
5118
5119 :
5120else
5121 DX_ENV="$DX_ENV GENERATE_MAN='NO'"
5122
5123 :
5124fi
5125
5126
5127# RTF file generation:
5128
5129
5130
5131 # Check whether --enable-doxygen-rtf was given.
5132if test "${enable_doxygen_rtf+set}" = set; then :
5133 enableval=$enable_doxygen_rtf;
5134case "$enableval" in
5135#(
5136y|Y|yes|Yes|YES)
5137 DX_FLAG_rtf=1
5138
5139
5140test "$DX_FLAG_doc" = "1" \
5141|| as_fn_error $? "doxygen-rtf requires doxygen-rtf" "$LINENO" 5
5142
5143;; #(
5144n|N|no|No|NO)
5145 DX_FLAG_rtf=0
5146
5147;; #(
5148*)
5149 as_fn_error $? "invalid value '$enableval' given to doxygen-rtf" "$LINENO" 5
5150;;
5151esac
5152
5153else
5154
5155DX_FLAG_rtf=0
5156
5157
5158test "$DX_FLAG_doc" = "1" || DX_FLAG_rtf=0
5159
5160
5161
5162fi
5163
5164if test "$DX_FLAG_rtf" = 1; then
5165
5166 :
5167fi
5168 if test "$DX_FLAG_rtf" = 1; then
5169 DX_COND_rtf_TRUE=
5170 DX_COND_rtf_FALSE='#'
5171else
5172 DX_COND_rtf_TRUE='#'
5173 DX_COND_rtf_FALSE=
5174fi
5175
5176if test "$DX_FLAG_rtf" = 1; then
5177 DX_ENV="$DX_ENV GENERATE_RTF='YES'"
5178
5179 :
5180else
5181 DX_ENV="$DX_ENV GENERATE_RTF='NO'"
5182
5183 :
5184fi
5185
5186
5187# XML file generation:
5188
5189
5190
5191 # Check whether --enable-doxygen-xml was given.
5192if test "${enable_doxygen_xml+set}" = set; then :
5193 enableval=$enable_doxygen_xml;
5194case "$enableval" in
5195#(
5196y|Y|yes|Yes|YES)
5197 DX_FLAG_xml=1
5198
5199
5200test "$DX_FLAG_doc" = "1" \
5201|| as_fn_error $? "doxygen-xml requires doxygen-xml" "$LINENO" 5
5202
5203;; #(
5204n|N|no|No|NO)
5205 DX_FLAG_xml=0
5206
5207;; #(
5208*)
5209 as_fn_error $? "invalid value '$enableval' given to doxygen-xml" "$LINENO" 5
5210;;
5211esac
5212
5213else
5214
5215DX_FLAG_xml=0
5216
5217
5218test "$DX_FLAG_doc" = "1" || DX_FLAG_xml=0
5219
5220
5221
5222fi
5223
5224if test "$DX_FLAG_xml" = 1; then
5225
5226 :
5227fi
5228 if test "$DX_FLAG_xml" = 1; then
5229 DX_COND_xml_TRUE=
5230 DX_COND_xml_FALSE='#'
5231else
5232 DX_COND_xml_TRUE='#'
5233 DX_COND_xml_FALSE=
5234fi
5235
5236if test "$DX_FLAG_xml" = 1; then
5237 DX_ENV="$DX_ENV GENERATE_XML='YES'"
5238
5239 :
5240else
5241 DX_ENV="$DX_ENV GENERATE_XML='NO'"
5242
5243 :
5244fi
5245
5246
5247# (Compressed) HTML help generation:
5248
5249
5250
5251 # Check whether --enable-doxygen-chm was given.
5252if test "${enable_doxygen_chm+set}" = set; then :
5253 enableval=$enable_doxygen_chm;
5254case "$enableval" in
5255#(
5256y|Y|yes|Yes|YES)
5257 DX_FLAG_chm=1
5258
5259
5260test "$DX_FLAG_doc" = "1" \
5261|| as_fn_error $? "doxygen-chm requires doxygen-chm" "$LINENO" 5
5262
5263;; #(
5264n|N|no|No|NO)
5265 DX_FLAG_chm=0
5266
5267;; #(
5268*)
5269 as_fn_error $? "invalid value '$enableval' given to doxygen-chm" "$LINENO" 5
5270;;
5271esac
5272
5273else
5274
5275DX_FLAG_chm=0
5276
5277
5278test "$DX_FLAG_doc" = "1" || DX_FLAG_chm=0
5279
5280
5281
5282fi
5283
5284if test "$DX_FLAG_chm" = 1; then
5285
5286if test -n "$ac_tool_prefix"; then
5287 # Extract the first word of "${ac_tool_prefix}hhc", so it can be a program name with args.
5288set dummy ${ac_tool_prefix}hhc; ac_word=$2
5289{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5290$as_echo_n "checking for $ac_word... " >&6; }
5291if ${ac_cv_path_DX_HHC+:} false; then :
5292 $as_echo_n "(cached) " >&6
5293else
5294 case $DX_HHC in
5295 [\\/]* | ?:[\\/]*)
5296 ac_cv_path_DX_HHC="$DX_HHC" # Let the user override the test with a path.
5297 ;;
5298 *)
5299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5300for as_dir in $PATH
5301do
5302 IFS=$as_save_IFS
5303 test -z "$as_dir" && as_dir=.
5304 for ac_exec_ext in '' $ac_executable_extensions; do
5305 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5306 ac_cv_path_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
5307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5308 break 2
5309 fi
5310done
5311 done
5312IFS=$as_save_IFS
5313
5314 ;;
5315esac
5316fi
5317DX_HHC=$ac_cv_path_DX_HHC
5318if test -n "$DX_HHC"; then
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_HHC" >&5
5320$as_echo "$DX_HHC" >&6; }
5321else
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5323$as_echo "no" >&6; }
5324fi
5325
5326
5327fi
5328if test -z "$ac_cv_path_DX_HHC"; then
5329 ac_pt_DX_HHC=$DX_HHC
5330 # Extract the first word of "hhc", so it can be a program name with args.
5331set dummy hhc; ac_word=$2
5332{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5333$as_echo_n "checking for $ac_word... " >&6; }
5334if ${ac_cv_path_ac_pt_DX_HHC+:} false; then :
5335 $as_echo_n "(cached) " >&6
5336else
5337 case $ac_pt_DX_HHC in
5338 [\\/]* | ?:[\\/]*)
5339 ac_cv_path_ac_pt_DX_HHC="$ac_pt_DX_HHC" # Let the user override the test with a path.
5340 ;;
5341 *)
5342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5343for as_dir in $PATH
5344do
5345 IFS=$as_save_IFS
5346 test -z "$as_dir" && as_dir=.
5347 for ac_exec_ext in '' $ac_executable_extensions; do
5348 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5349 ac_cv_path_ac_pt_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
5350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5351 break 2
5352 fi
5353done
5354 done
5355IFS=$as_save_IFS
5356
5357 ;;
5358esac
5359fi
5360ac_pt_DX_HHC=$ac_cv_path_ac_pt_DX_HHC
5361if test -n "$ac_pt_DX_HHC"; then
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_HHC" >&5
5363$as_echo "$ac_pt_DX_HHC" >&6; }
5364else
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5366$as_echo "no" >&6; }
5367fi
5368
5369 if test "x$ac_pt_DX_HHC" = x; then
5370 DX_HHC=""
5371 else
5372 case $cross_compiling:$ac_tool_warned in
5373yes:)
5374{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5375$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5376ac_tool_warned=yes ;;
5377esac
5378 DX_HHC=$ac_pt_DX_HHC
5379 fi
5380else
5381 DX_HHC="$ac_cv_path_DX_HHC"
5382fi
5383
5384if test "$DX_FLAG_chm$DX_HHC" = 1; then
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&5
5386$as_echo "$as_me: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&2;}
5387 DX_FLAG_chm=0
5388
5389fi
5390
5391 :
5392fi
5393 if test "$DX_FLAG_chm" = 1; then
5394 DX_COND_chm_TRUE=
5395 DX_COND_chm_FALSE='#'
5396else
5397 DX_COND_chm_TRUE='#'
5398 DX_COND_chm_FALSE=
5399fi
5400
5401if test "$DX_FLAG_chm" = 1; then
5402 DX_ENV="$DX_ENV HHC_PATH='$DX_HHC'"
5403
5404 DX_ENV="$DX_ENV GENERATE_HTML='YES'"
5405
5406 DX_ENV="$DX_ENV GENERATE_HTMLHELP='YES'"
5407
5408 :
5409else
5410 DX_ENV="$DX_ENV GENERATE_HTMLHELP='NO'"
5411
5412 :
5413fi
5414
5415
5416# Seperate CHI file generation.
5417
5418
5419
5420 # Check whether --enable-doxygen-chi was given.
5421if test "${enable_doxygen_chi+set}" = set; then :
5422 enableval=$enable_doxygen_chi;
5423case "$enableval" in
5424#(
5425y|Y|yes|Yes|YES)
5426 DX_FLAG_chi=1
5427
5428
5429test "$DX_FLAG_chm" = "1" \
5430|| as_fn_error $? "doxygen-chi requires doxygen-chi" "$LINENO" 5
5431
5432;; #(
5433n|N|no|No|NO)
5434 DX_FLAG_chi=0
5435
5436;; #(
5437*)
5438 as_fn_error $? "invalid value '$enableval' given to doxygen-chi" "$LINENO" 5
5439;;
5440esac
5441
5442else
5443
5444DX_FLAG_chi=0
5445
5446
5447test "$DX_FLAG_chm" = "1" || DX_FLAG_chi=0
5448
5449
5450
5451fi
5452
5453if test "$DX_FLAG_chi" = 1; then
5454
5455 :
5456fi
5457 if test "$DX_FLAG_chi" = 1; then
5458 DX_COND_chi_TRUE=
5459 DX_COND_chi_FALSE='#'
5460else
5461 DX_COND_chi_TRUE='#'
5462 DX_COND_chi_FALSE=
5463fi
5464
5465if test "$DX_FLAG_chi" = 1; then
5466 DX_ENV="$DX_ENV GENERATE_CHI='YES'"
5467
5468 :
5469else
5470 DX_ENV="$DX_ENV GENERATE_CHI='NO'"
5471
5472 :
5473fi
5474
5475
5476# Plain HTML pages generation:
5477
5478
5479
5480 # Check whether --enable-doxygen-html was given.
5481if test "${enable_doxygen_html+set}" = set; then :
5482 enableval=$enable_doxygen_html;
5483case "$enableval" in
5484#(
5485y|Y|yes|Yes|YES)
5486 DX_FLAG_html=1
5487
5488
5489test "$DX_FLAG_doc" = "1" \
5490|| as_fn_error $? "doxygen-html requires doxygen-html" "$LINENO" 5
5491
5492test "$DX_FLAG_chm" = "0" \
5493|| as_fn_error $? "doxygen-html contradicts doxygen-html" "$LINENO" 5
5494
5495;; #(
5496n|N|no|No|NO)
5497 DX_FLAG_html=0
5498
5499;; #(
5500*)
5501 as_fn_error $? "invalid value '$enableval' given to doxygen-html" "$LINENO" 5
5502;;
5503esac
5504
5505else
5506
5507DX_FLAG_html=1
5508
5509
5510test "$DX_FLAG_doc" = "1" || DX_FLAG_html=0
5511
5512
5513test "$DX_FLAG_chm" = "0" || DX_FLAG_html=0
5514
5515
5516
5517fi
5518
5519if test "$DX_FLAG_html" = 1; then
5520
5521 :
5522fi
5523 if test "$DX_FLAG_html" = 1; then
5524 DX_COND_html_TRUE=
5525 DX_COND_html_FALSE='#'
5526else
5527 DX_COND_html_TRUE='#'
5528 DX_COND_html_FALSE=
5529fi
5530
5531if test "$DX_FLAG_html" = 1; then
5532 DX_ENV="$DX_ENV GENERATE_HTML='YES'"
5533
5534 :
5535else
5536 test "$DX_FLAG_chm" = 1 || DX_ENV="$DX_ENV GENERATE_HTML='NO'"
5537
5538 :
5539fi
5540
5541
5542# PostScript file generation:
5543
5544
5545
5546 # Check whether --enable-doxygen-ps was given.
5547if test "${enable_doxygen_ps+set}" = set; then :
5548 enableval=$enable_doxygen_ps;
5549case "$enableval" in
5550#(
5551y|Y|yes|Yes|YES)
5552 DX_FLAG_ps=1
5553
5554
5555test "$DX_FLAG_doc" = "1" \
5556|| as_fn_error $? "doxygen-ps requires doxygen-ps" "$LINENO" 5
5557
5558;; #(
5559n|N|no|No|NO)
5560 DX_FLAG_ps=0
5561
5562;; #(
5563*)
5564 as_fn_error $? "invalid value '$enableval' given to doxygen-ps" "$LINENO" 5
5565;;
5566esac
5567
5568else
5569
5570DX_FLAG_ps=0
5571
5572
5573test "$DX_FLAG_doc" = "1" || DX_FLAG_ps=0
5574
5575
5576
5577fi
5578
5579if test "$DX_FLAG_ps" = 1; then
5580
5581if test -n "$ac_tool_prefix"; then
5582 # Extract the first word of "${ac_tool_prefix}latex", so it can be a program name with args.
5583set dummy ${ac_tool_prefix}latex; ac_word=$2
5584{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5585$as_echo_n "checking for $ac_word... " >&6; }
5586if ${ac_cv_path_DX_LATEX+:} false; then :
5587 $as_echo_n "(cached) " >&6
5588else
5589 case $DX_LATEX in
5590 [\\/]* | ?:[\\/]*)
5591 ac_cv_path_DX_LATEX="$DX_LATEX" # Let the user override the test with a path.
5592 ;;
5593 *)
5594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5595for as_dir in $PATH
5596do
5597 IFS=$as_save_IFS
5598 test -z "$as_dir" && as_dir=.
5599 for ac_exec_ext in '' $ac_executable_extensions; do
5600 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5601 ac_cv_path_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
5602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5603 break 2
5604 fi
5605done
5606 done
5607IFS=$as_save_IFS
5608
5609 ;;
5610esac
5611fi
5612DX_LATEX=$ac_cv_path_DX_LATEX
5613if test -n "$DX_LATEX"; then
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_LATEX" >&5
5615$as_echo "$DX_LATEX" >&6; }
5616else
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5618$as_echo "no" >&6; }
5619fi
5620
5621
5622fi
5623if test -z "$ac_cv_path_DX_LATEX"; then
5624 ac_pt_DX_LATEX=$DX_LATEX
5625 # Extract the first word of "latex", so it can be a program name with args.
5626set dummy latex; ac_word=$2
5627{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5628$as_echo_n "checking for $ac_word... " >&6; }
5629if ${ac_cv_path_ac_pt_DX_LATEX+:} false; then :
5630 $as_echo_n "(cached) " >&6
5631else
5632 case $ac_pt_DX_LATEX in
5633 [\\/]* | ?:[\\/]*)
5634 ac_cv_path_ac_pt_DX_LATEX="$ac_pt_DX_LATEX" # Let the user override the test with a path.
5635 ;;
5636 *)
5637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5638for as_dir in $PATH
5639do
5640 IFS=$as_save_IFS
5641 test -z "$as_dir" && as_dir=.
5642 for ac_exec_ext in '' $ac_executable_extensions; do
5643 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5644 ac_cv_path_ac_pt_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
5645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5646 break 2
5647 fi
5648done
5649 done
5650IFS=$as_save_IFS
5651
5652 ;;
5653esac
5654fi
5655ac_pt_DX_LATEX=$ac_cv_path_ac_pt_DX_LATEX
5656if test -n "$ac_pt_DX_LATEX"; then
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_LATEX" >&5
5658$as_echo "$ac_pt_DX_LATEX" >&6; }
5659else
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5661$as_echo "no" >&6; }
5662fi
5663
5664 if test "x$ac_pt_DX_LATEX" = x; then
5665 DX_LATEX=""
5666 else
5667 case $cross_compiling:$ac_tool_warned in
5668yes:)
5669{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5670$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5671ac_tool_warned=yes ;;
5672esac
5673 DX_LATEX=$ac_pt_DX_LATEX
5674 fi
5675else
5676 DX_LATEX="$ac_cv_path_DX_LATEX"
5677fi
5678
5679if test "$DX_FLAG_ps$DX_LATEX" = 1; then
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: latex not found - will not generate doxygen PostScript documentation" >&5
5681$as_echo "$as_me: WARNING: latex not found - will not generate doxygen PostScript documentation" >&2;}
5682 DX_FLAG_ps=0
5683
5684fi
5685
5686
5687if test -n "$ac_tool_prefix"; then
5688 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
5689set dummy ${ac_tool_prefix}makeindex; ac_word=$2
5690{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5691$as_echo_n "checking for $ac_word... " >&6; }
5692if ${ac_cv_path_DX_MAKEINDEX+:} false; then :
5693 $as_echo_n "(cached) " >&6
5694else
5695 case $DX_MAKEINDEX in
5696 [\\/]* | ?:[\\/]*)
5697 ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
5698 ;;
5699 *)
5700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5701for as_dir in $PATH
5702do
5703 IFS=$as_save_IFS
5704 test -z "$as_dir" && as_dir=.
5705 for ac_exec_ext in '' $ac_executable_extensions; do
5706 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5707 ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
5708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5709 break 2
5710 fi
5711done
5712 done
5713IFS=$as_save_IFS
5714
5715 ;;
5716esac
5717fi
5718DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
5719if test -n "$DX_MAKEINDEX"; then
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
5721$as_echo "$DX_MAKEINDEX" >&6; }
5722else
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5724$as_echo "no" >&6; }
5725fi
5726
5727
5728fi
5729if test -z "$ac_cv_path_DX_MAKEINDEX"; then
5730 ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
5731 # Extract the first word of "makeindex", so it can be a program name with args.
5732set dummy makeindex; ac_word=$2
5733{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5734$as_echo_n "checking for $ac_word... " >&6; }
5735if ${ac_cv_path_ac_pt_DX_MAKEINDEX+:} false; then :
5736 $as_echo_n "(cached) " >&6
5737else
5738 case $ac_pt_DX_MAKEINDEX in
5739 [\\/]* | ?:[\\/]*)
5740 ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
5741 ;;
5742 *)
5743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5744for as_dir in $PATH
5745do
5746 IFS=$as_save_IFS
5747 test -z "$as_dir" && as_dir=.
5748 for ac_exec_ext in '' $ac_executable_extensions; do
5749 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5750 ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
5751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5752 break 2
5753 fi
5754done
5755 done
5756IFS=$as_save_IFS
5757
5758 ;;
5759esac
5760fi
5761ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
5762if test -n "$ac_pt_DX_MAKEINDEX"; then
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
5764$as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
5765else
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5767$as_echo "no" >&6; }
5768fi
5769
5770 if test "x$ac_pt_DX_MAKEINDEX" = x; then
5771 DX_MAKEINDEX=""
5772 else
5773 case $cross_compiling:$ac_tool_warned in
5774yes:)
5775{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5776$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5777ac_tool_warned=yes ;;
5778esac
5779 DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
5780 fi
5781else
5782 DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
5783fi
5784
5785if test "$DX_FLAG_ps$DX_MAKEINDEX" = 1; then
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&5
5787$as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&2;}
5788 DX_FLAG_ps=0
5789
5790fi
5791
5792
5793if test -n "$ac_tool_prefix"; then
5794 # Extract the first word of "${ac_tool_prefix}dvips", so it can be a program name with args.
5795set dummy ${ac_tool_prefix}dvips; ac_word=$2
5796{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5797$as_echo_n "checking for $ac_word... " >&6; }
5798if ${ac_cv_path_DX_DVIPS+:} false; then :
5799 $as_echo_n "(cached) " >&6
5800else
5801 case $DX_DVIPS in
5802 [\\/]* | ?:[\\/]*)
5803 ac_cv_path_DX_DVIPS="$DX_DVIPS" # Let the user override the test with a path.
5804 ;;
5805 *)
5806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5807for as_dir in $PATH
5808do
5809 IFS=$as_save_IFS
5810 test -z "$as_dir" && as_dir=.
5811 for ac_exec_ext in '' $ac_executable_extensions; do
5812 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5813 ac_cv_path_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
5814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5815 break 2
5816 fi
5817done
5818 done
5819IFS=$as_save_IFS
5820
5821 ;;
5822esac
5823fi
5824DX_DVIPS=$ac_cv_path_DX_DVIPS
5825if test -n "$DX_DVIPS"; then
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DVIPS" >&5
5827$as_echo "$DX_DVIPS" >&6; }
5828else
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5830$as_echo "no" >&6; }
5831fi
5832
5833
5834fi
5835if test -z "$ac_cv_path_DX_DVIPS"; then
5836 ac_pt_DX_DVIPS=$DX_DVIPS
5837 # Extract the first word of "dvips", so it can be a program name with args.
5838set dummy dvips; ac_word=$2
5839{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5840$as_echo_n "checking for $ac_word... " >&6; }
5841if ${ac_cv_path_ac_pt_DX_DVIPS+:} false; then :
5842 $as_echo_n "(cached) " >&6
5843else
5844 case $ac_pt_DX_DVIPS in
5845 [\\/]* | ?:[\\/]*)
5846 ac_cv_path_ac_pt_DX_DVIPS="$ac_pt_DX_DVIPS" # Let the user override the test with a path.
5847 ;;
5848 *)
5849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5850for as_dir in $PATH
5851do
5852 IFS=$as_save_IFS
5853 test -z "$as_dir" && as_dir=.
5854 for ac_exec_ext in '' $ac_executable_extensions; do
5855 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5856 ac_cv_path_ac_pt_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
5857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5858 break 2
5859 fi
5860done
5861 done
5862IFS=$as_save_IFS
5863
5864 ;;
5865esac
5866fi
5867ac_pt_DX_DVIPS=$ac_cv_path_ac_pt_DX_DVIPS
5868if test -n "$ac_pt_DX_DVIPS"; then
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DVIPS" >&5
5870$as_echo "$ac_pt_DX_DVIPS" >&6; }
5871else
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5873$as_echo "no" >&6; }
5874fi
5875
5876 if test "x$ac_pt_DX_DVIPS" = x; then
5877 DX_DVIPS=""
5878 else
5879 case $cross_compiling:$ac_tool_warned in
5880yes:)
5881{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5882$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5883ac_tool_warned=yes ;;
5884esac
5885 DX_DVIPS=$ac_pt_DX_DVIPS
5886 fi
5887else
5888 DX_DVIPS="$ac_cv_path_DX_DVIPS"
5889fi
5890
5891if test "$DX_FLAG_ps$DX_DVIPS" = 1; then
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&5
5893$as_echo "$as_me: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&2;}
5894 DX_FLAG_ps=0
5895
5896fi
5897
5898
5899if test -n "$ac_tool_prefix"; then
5900 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
5901set dummy ${ac_tool_prefix}egrep; ac_word=$2
5902{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5903$as_echo_n "checking for $ac_word... " >&6; }
5904if ${ac_cv_path_DX_EGREP+:} false; then :
5905 $as_echo_n "(cached) " >&6
5906else
5907 case $DX_EGREP in
5908 [\\/]* | ?:[\\/]*)
5909 ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
5910 ;;
5911 *)
5912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5913for as_dir in $PATH
5914do
5915 IFS=$as_save_IFS
5916 test -z "$as_dir" && as_dir=.
5917 for ac_exec_ext in '' $ac_executable_extensions; do
5918 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5919 ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
5920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5921 break 2
5922 fi
5923done
5924 done
5925IFS=$as_save_IFS
5926
5927 ;;
5928esac
5929fi
5930DX_EGREP=$ac_cv_path_DX_EGREP
5931if test -n "$DX_EGREP"; then
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
5933$as_echo "$DX_EGREP" >&6; }
5934else
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5936$as_echo "no" >&6; }
5937fi
5938
5939
5940fi
5941if test -z "$ac_cv_path_DX_EGREP"; then
5942 ac_pt_DX_EGREP=$DX_EGREP
5943 # Extract the first word of "egrep", so it can be a program name with args.
5944set dummy egrep; ac_word=$2
5945{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5946$as_echo_n "checking for $ac_word... " >&6; }
5947if ${ac_cv_path_ac_pt_DX_EGREP+:} false; then :
5948 $as_echo_n "(cached) " >&6
5949else
5950 case $ac_pt_DX_EGREP in
5951 [\\/]* | ?:[\\/]*)
5952 ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
5953 ;;
5954 *)
5955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5956for as_dir in $PATH
5957do
5958 IFS=$as_save_IFS
5959 test -z "$as_dir" && as_dir=.
5960 for ac_exec_ext in '' $ac_executable_extensions; do
5961 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5962 ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
5963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5964 break 2
5965 fi
5966done
5967 done
5968IFS=$as_save_IFS
5969
5970 ;;
5971esac
5972fi
5973ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
5974if test -n "$ac_pt_DX_EGREP"; then
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
5976$as_echo "$ac_pt_DX_EGREP" >&6; }
5977else
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5979$as_echo "no" >&6; }
5980fi
5981
5982 if test "x$ac_pt_DX_EGREP" = x; then
5983 DX_EGREP=""
5984 else
5985 case $cross_compiling:$ac_tool_warned in
5986yes:)
5987{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5988$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5989ac_tool_warned=yes ;;
5990esac
5991 DX_EGREP=$ac_pt_DX_EGREP
5992 fi
5993else
5994 DX_EGREP="$ac_cv_path_DX_EGREP"
5995fi
5996
5997if test "$DX_FLAG_ps$DX_EGREP" = 1; then
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&5
5999$as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&2;}
6000 DX_FLAG_ps=0
6001
6002fi
6003
6004 :
6005fi
6006 if test "$DX_FLAG_ps" = 1; then
6007 DX_COND_ps_TRUE=
6008 DX_COND_ps_FALSE='#'
6009else
6010 DX_COND_ps_TRUE='#'
6011 DX_COND_ps_FALSE=
6012fi
6013
6014if test "$DX_FLAG_ps" = 1; then
6015
6016 :
6017else
6018
6019 :
6020fi
6021
6022
6023# PDF file generation:
6024
6025
6026
6027 # Check whether --enable-doxygen-pdf was given.
6028if test "${enable_doxygen_pdf+set}" = set; then :
6029 enableval=$enable_doxygen_pdf;
6030case "$enableval" in
6031#(
6032y|Y|yes|Yes|YES)
6033 DX_FLAG_pdf=1
6034
6035
6036test "$DX_FLAG_doc" = "1" \
6037|| as_fn_error $? "doxygen-pdf requires doxygen-pdf" "$LINENO" 5
6038
6039;; #(
6040n|N|no|No|NO)
6041 DX_FLAG_pdf=0
6042
6043;; #(
6044*)
6045 as_fn_error $? "invalid value '$enableval' given to doxygen-pdf" "$LINENO" 5
6046;;
6047esac
6048
6049else
6050
6051DX_FLAG_pdf=0
6052
6053
6054test "$DX_FLAG_doc" = "1" || DX_FLAG_pdf=0
6055
6056
6057
6058fi
6059
6060if test "$DX_FLAG_pdf" = 1; then
6061
6062if test -n "$ac_tool_prefix"; then
6063 # Extract the first word of "${ac_tool_prefix}pdflatex", so it can be a program name with args.
6064set dummy ${ac_tool_prefix}pdflatex; ac_word=$2
6065{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6066$as_echo_n "checking for $ac_word... " >&6; }
6067if ${ac_cv_path_DX_PDFLATEX+:} false; then :
6068 $as_echo_n "(cached) " >&6
6069else
6070 case $DX_PDFLATEX in
6071 [\\/]* | ?:[\\/]*)
6072 ac_cv_path_DX_PDFLATEX="$DX_PDFLATEX" # Let the user override the test with a path.
6073 ;;
6074 *)
6075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6076for as_dir in $PATH
6077do
6078 IFS=$as_save_IFS
6079 test -z "$as_dir" && as_dir=.
6080 for ac_exec_ext in '' $ac_executable_extensions; do
6081 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6082 ac_cv_path_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
6083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6084 break 2
6085 fi
6086done
6087 done
6088IFS=$as_save_IFS
6089
6090 ;;
6091esac
6092fi
6093DX_PDFLATEX=$ac_cv_path_DX_PDFLATEX
6094if test -n "$DX_PDFLATEX"; then
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PDFLATEX" >&5
6096$as_echo "$DX_PDFLATEX" >&6; }
6097else
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6099$as_echo "no" >&6; }
6100fi
6101
6102
6103fi
6104if test -z "$ac_cv_path_DX_PDFLATEX"; then
6105 ac_pt_DX_PDFLATEX=$DX_PDFLATEX
6106 # Extract the first word of "pdflatex", so it can be a program name with args.
6107set dummy pdflatex; ac_word=$2
6108{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6109$as_echo_n "checking for $ac_word... " >&6; }
6110if ${ac_cv_path_ac_pt_DX_PDFLATEX+:} false; then :
6111 $as_echo_n "(cached) " >&6
6112else
6113 case $ac_pt_DX_PDFLATEX in
6114 [\\/]* | ?:[\\/]*)
6115 ac_cv_path_ac_pt_DX_PDFLATEX="$ac_pt_DX_PDFLATEX" # Let the user override the test with a path.
6116 ;;
6117 *)
6118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6119for as_dir in $PATH
6120do
6121 IFS=$as_save_IFS
6122 test -z "$as_dir" && as_dir=.
6123 for ac_exec_ext in '' $ac_executable_extensions; do
6124 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6125 ac_cv_path_ac_pt_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
6126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6127 break 2
6128 fi
6129done
6130 done
6131IFS=$as_save_IFS
6132
6133 ;;
6134esac
6135fi
6136ac_pt_DX_PDFLATEX=$ac_cv_path_ac_pt_DX_PDFLATEX
6137if test -n "$ac_pt_DX_PDFLATEX"; then
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PDFLATEX" >&5
6139$as_echo "$ac_pt_DX_PDFLATEX" >&6; }
6140else
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6142$as_echo "no" >&6; }
6143fi
6144
6145 if test "x$ac_pt_DX_PDFLATEX" = x; then
6146 DX_PDFLATEX=""
6147 else
6148 case $cross_compiling:$ac_tool_warned in
6149yes:)
6150{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6151$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6152ac_tool_warned=yes ;;
6153esac
6154 DX_PDFLATEX=$ac_pt_DX_PDFLATEX
6155 fi
6156else
6157 DX_PDFLATEX="$ac_cv_path_DX_PDFLATEX"
6158fi
6159
6160if test "$DX_FLAG_pdf$DX_PDFLATEX" = 1; then
6161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&5
6162$as_echo "$as_me: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&2;}
6163 DX_FLAG_pdf=0
6164
6165fi
6166
6167
6168if test -n "$ac_tool_prefix"; then
6169 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
6170set dummy ${ac_tool_prefix}makeindex; ac_word=$2
6171{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6172$as_echo_n "checking for $ac_word... " >&6; }
6173if ${ac_cv_path_DX_MAKEINDEX+:} false; then :
6174 $as_echo_n "(cached) " >&6
6175else
6176 case $DX_MAKEINDEX in
6177 [\\/]* | ?:[\\/]*)
6178 ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
6179 ;;
6180 *)
6181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6182for as_dir in $PATH
6183do
6184 IFS=$as_save_IFS
6185 test -z "$as_dir" && as_dir=.
6186 for ac_exec_ext in '' $ac_executable_extensions; do
6187 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6188 ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
6189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6190 break 2
6191 fi
6192done
6193 done
6194IFS=$as_save_IFS
6195
6196 ;;
6197esac
6198fi
6199DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
6200if test -n "$DX_MAKEINDEX"; then
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
6202$as_echo "$DX_MAKEINDEX" >&6; }
6203else
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6205$as_echo "no" >&6; }
6206fi
6207
6208
6209fi
6210if test -z "$ac_cv_path_DX_MAKEINDEX"; then
6211 ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
6212 # Extract the first word of "makeindex", so it can be a program name with args.
6213set dummy makeindex; ac_word=$2
6214{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6215$as_echo_n "checking for $ac_word... " >&6; }
6216if ${ac_cv_path_ac_pt_DX_MAKEINDEX+:} false; then :
6217 $as_echo_n "(cached) " >&6
6218else
6219 case $ac_pt_DX_MAKEINDEX in
6220 [\\/]* | ?:[\\/]*)
6221 ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
6222 ;;
6223 *)
6224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6225for as_dir in $PATH
6226do
6227 IFS=$as_save_IFS
6228 test -z "$as_dir" && as_dir=.
6229 for ac_exec_ext in '' $ac_executable_extensions; do
6230 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6231 ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
6232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6233 break 2
6234 fi
6235done
6236 done
6237IFS=$as_save_IFS
6238
6239 ;;
6240esac
6241fi
6242ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
6243if test -n "$ac_pt_DX_MAKEINDEX"; then
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
6245$as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
6246else
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6248$as_echo "no" >&6; }
6249fi
6250
6251 if test "x$ac_pt_DX_MAKEINDEX" = x; then
6252 DX_MAKEINDEX=""
6253 else
6254 case $cross_compiling:$ac_tool_warned in
6255yes:)
6256{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6257$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6258ac_tool_warned=yes ;;
6259esac
6260 DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
6261 fi
6262else
6263 DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
6264fi
6265
6266if test "$DX_FLAG_pdf$DX_MAKEINDEX" = 1; then
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&5
6268$as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&2;}
6269 DX_FLAG_pdf=0
6270
6271fi
6272
6273
6274if test -n "$ac_tool_prefix"; then
6275 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
6276set dummy ${ac_tool_prefix}egrep; ac_word=$2
6277{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6278$as_echo_n "checking for $ac_word... " >&6; }
6279if ${ac_cv_path_DX_EGREP+:} false; then :
6280 $as_echo_n "(cached) " >&6
6281else
6282 case $DX_EGREP in
6283 [\\/]* | ?:[\\/]*)
6284 ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
6285 ;;
6286 *)
6287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6288for as_dir in $PATH
6289do
6290 IFS=$as_save_IFS
6291 test -z "$as_dir" && as_dir=.
6292 for ac_exec_ext in '' $ac_executable_extensions; do
6293 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6294 ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
6295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6296 break 2
6297 fi
6298done
6299 done
6300IFS=$as_save_IFS
6301
6302 ;;
6303esac
6304fi
6305DX_EGREP=$ac_cv_path_DX_EGREP
6306if test -n "$DX_EGREP"; then
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
6308$as_echo "$DX_EGREP" >&6; }
6309else
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6311$as_echo "no" >&6; }
6312fi
6313
6314
6315fi
6316if test -z "$ac_cv_path_DX_EGREP"; then
6317 ac_pt_DX_EGREP=$DX_EGREP
6318 # Extract the first word of "egrep", so it can be a program name with args.
6319set dummy egrep; ac_word=$2
6320{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6321$as_echo_n "checking for $ac_word... " >&6; }
6322if ${ac_cv_path_ac_pt_DX_EGREP+:} false; then :
6323 $as_echo_n "(cached) " >&6
6324else
6325 case $ac_pt_DX_EGREP in
6326 [\\/]* | ?:[\\/]*)
6327 ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
6328 ;;
6329 *)
6330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6331for as_dir in $PATH
6332do
6333 IFS=$as_save_IFS
6334 test -z "$as_dir" && as_dir=.
6335 for ac_exec_ext in '' $ac_executable_extensions; do
6336 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6337 ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
6338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6339 break 2
6340 fi
6341done
6342 done
6343IFS=$as_save_IFS
6344
6345 ;;
6346esac
6347fi
6348ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
6349if test -n "$ac_pt_DX_EGREP"; then
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
6351$as_echo "$ac_pt_DX_EGREP" >&6; }
6352else
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6354$as_echo "no" >&6; }
6355fi
6356
6357 if test "x$ac_pt_DX_EGREP" = x; then
6358 DX_EGREP=""
6359 else
6360 case $cross_compiling:$ac_tool_warned in
6361yes:)
6362{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6363$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6364ac_tool_warned=yes ;;
6365esac
6366 DX_EGREP=$ac_pt_DX_EGREP
6367 fi
6368else
6369 DX_EGREP="$ac_cv_path_DX_EGREP"
6370fi
6371
6372if test "$DX_FLAG_pdf$DX_EGREP" = 1; then
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PDF documentation" >&5
6374$as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PDF documentation" >&2;}
6375 DX_FLAG_pdf=0
6376
6377fi
6378
6379 :
6380fi
6381 if test "$DX_FLAG_pdf" = 1; then
6382 DX_COND_pdf_TRUE=
6383 DX_COND_pdf_FALSE='#'
6384else
6385 DX_COND_pdf_TRUE='#'
6386 DX_COND_pdf_FALSE=
6387fi
6388
6389if test "$DX_FLAG_pdf" = 1; then
6390
6391 :
6392else
6393
6394 :
6395fi
6396
6397
6398# LaTeX generation for PS and/or PDF:
6399 if test "$DX_FLAG_ps" = 1 || test "$DX_FLAG_pdf" = 1; then
6400 DX_COND_latex_TRUE=
6401 DX_COND_latex_FALSE='#'
6402else
6403 DX_COND_latex_TRUE='#'
6404 DX_COND_latex_FALSE=
6405fi
6406
6407if test "$DX_FLAG_ps" = 1 || test "$DX_FLAG_pdf" = 1; then
6408 DX_ENV="$DX_ENV GENERATE_LATEX='YES'"
6409
6410else
6411 DX_ENV="$DX_ENV GENERATE_LATEX='NO'"
6412
6413fi
6414
6415# Paper size for PS and/or PDF:
6416
6417case "$DOXYGEN_PAPER_SIZE" in
6418#(
6419"")
6420 DOXYGEN_PAPER_SIZE=""
6421
6422;; #(
6423a4wide|a4|letter|legal|executive)
6424 DX_ENV="$DX_ENV PAPER_SIZE='$DOXYGEN_PAPER_SIZE'"
6425
6426;; #(
6427*)
6428 as_fn_error $? "unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" "$LINENO" 5
6429;;
6430esac
6431
6432#For debugging:
6433#echo DX_FLAG_doc=$DX_FLAG_doc
6434#echo DX_FLAG_dot=$DX_FLAG_dot
6435#echo DX_FLAG_man=$DX_FLAG_man
6436#echo DX_FLAG_html=$DX_FLAG_html
6437#echo DX_FLAG_chm=$DX_FLAG_chm
6438#echo DX_FLAG_chi=$DX_FLAG_chi
6439#echo DX_FLAG_rtf=$DX_FLAG_rtf
6440#echo DX_FLAG_xml=$DX_FLAG_xml
6441#echo DX_FLAG_pdf=$DX_FLAG_pdf
6442#echo DX_FLAG_ps=$DX_FLAG_ps
6443#echo DX_ENV=$DX_ENV
6444
6445
Jeff Thompson39128c62013-06-19 14:08:51 -07006446ac_config_files="$ac_config_files Makefile"
6447
6448cat >confcache <<\_ACEOF
6449# This file is a shell script that caches the results of configure
6450# tests run on this system so they can be shared between configure
6451# scripts and configure runs, see configure's option --config-cache.
6452# It is not useful on other systems. If it contains results you don't
6453# want to keep, you may remove or edit it.
6454#
6455# config.status only pays attention to the cache file if you give it
6456# the --recheck option to rerun configure.
6457#
6458# `ac_cv_env_foo' variables (set or unset) will be overridden when
6459# loading this file, other *unset* `ac_cv_foo' will be assigned the
6460# following values.
6461
6462_ACEOF
6463
6464# The following way of writing the cache mishandles newlines in values,
6465# but we know of no workaround that is simple, portable, and efficient.
6466# So, we kill variables containing newlines.
6467# Ultrix sh set writes to stderr and can't be redirected directly,
6468# and sets the high bit in the cache file unless we assign to the vars.
6469(
6470 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6471 eval ac_val=\$$ac_var
6472 case $ac_val in #(
6473 *${as_nl}*)
6474 case $ac_var in #(
6475 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6476$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6477 esac
6478 case $ac_var in #(
6479 _ | IFS | as_nl) ;; #(
6480 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6481 *) { eval $ac_var=; unset $ac_var;} ;;
6482 esac ;;
6483 esac
6484 done
6485
6486 (set) 2>&1 |
6487 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6488 *${as_nl}ac_space=\ *)
6489 # `set' does not quote correctly, so add quotes: double-quote
6490 # substitution turns \\\\ into \\, and sed turns \\ into \.
6491 sed -n \
6492 "s/'/'\\\\''/g;
6493 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6494 ;; #(
6495 *)
6496 # `set' quotes correctly as required by POSIX, so do not add quotes.
6497 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6498 ;;
6499 esac |
6500 sort
6501) |
6502 sed '
6503 /^ac_cv_env_/b end
6504 t clear
6505 :clear
6506 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6507 t end
6508 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6509 :end' >>confcache
6510if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6511 if test -w "$cache_file"; then
6512 if test "x$cache_file" != "x/dev/null"; then
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6514$as_echo "$as_me: updating cache $cache_file" >&6;}
6515 if test ! -f "$cache_file" || test -h "$cache_file"; then
6516 cat confcache >"$cache_file"
6517 else
6518 case $cache_file in #(
6519 */* | ?:*)
6520 mv -f confcache "$cache_file"$$ &&
6521 mv -f "$cache_file"$$ "$cache_file" ;; #(
6522 *)
6523 mv -f confcache "$cache_file" ;;
6524 esac
6525 fi
6526 fi
6527 else
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6529$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6530 fi
6531fi
6532rm -f confcache
6533
6534test "x$prefix" = xNONE && prefix=$ac_default_prefix
6535# Let make expand exec_prefix.
6536test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6537
6538DEFS=-DHAVE_CONFIG_H
6539
6540ac_libobjs=
6541ac_ltlibobjs=
6542U=
6543for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6544 # 1. Remove the extension, and $U if already installed.
6545 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6546 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6547 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6548 # will be set to the directory where LIBOBJS objects are built.
6549 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6550 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6551done
6552LIBOBJS=$ac_libobjs
6553
6554LTLIBOBJS=$ac_ltlibobjs
6555
6556
6557{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
6558$as_echo_n "checking that generated files are newer than configure... " >&6; }
6559 if test -n "$am_sleep_pid"; then
6560 # Hide warnings about reused PIDs.
6561 wait $am_sleep_pid 2>/dev/null
6562 fi
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
6564$as_echo "done" >&6; }
6565 if test -n "$EXEEXT"; then
6566 am__EXEEXT_TRUE=
6567 am__EXEEXT_FALSE='#'
6568else
6569 am__EXEEXT_TRUE='#'
6570 am__EXEEXT_FALSE=
6571fi
6572
Jeff Thompson47053ad2013-08-05 10:36:53 -07006573if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6574 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
6575Usually this means the macro was only invoked conditionally." "$LINENO" 5
6576fi
Jeff Thompson39128c62013-06-19 14:08:51 -07006577if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6578 as_fn_error $? "conditional \"AMDEP\" was never defined.
6579Usually this means the macro was only invoked conditionally." "$LINENO" 5
6580fi
6581if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
6582 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
6583Usually this means the macro was only invoked conditionally." "$LINENO" 5
6584fi
Jeff Thompson36174062013-06-21 16:03:44 -07006585if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6586 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
6587Usually this means the macro was only invoked conditionally." "$LINENO" 5
6588fi
Jeff Thompsonca45e552013-06-26 17:40:06 -07006589if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
6590 as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
6591Usually this means the macro was only invoked conditionally." "$LINENO" 5
6592fi
6593if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
6594 as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
6595Usually this means the macro was only invoked conditionally." "$LINENO" 5
6596fi
6597if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
6598 as_fn_error $? "conditional \"DX_COND_man\" was never defined.
6599Usually this means the macro was only invoked conditionally." "$LINENO" 5
6600fi
6601if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
6602 as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
6603Usually this means the macro was only invoked conditionally." "$LINENO" 5
6604fi
6605if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
6606 as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
6607Usually this means the macro was only invoked conditionally." "$LINENO" 5
6608fi
6609if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
6610 as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
6611Usually this means the macro was only invoked conditionally." "$LINENO" 5
6612fi
6613if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
6614 as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
6615Usually this means the macro was only invoked conditionally." "$LINENO" 5
6616fi
6617if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
6618 as_fn_error $? "conditional \"DX_COND_html\" was never defined.
6619Usually this means the macro was only invoked conditionally." "$LINENO" 5
6620fi
6621if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
6622 as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
6623Usually this means the macro was only invoked conditionally." "$LINENO" 5
6624fi
6625if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
6626 as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
6627Usually this means the macro was only invoked conditionally." "$LINENO" 5
6628fi
6629if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
6630 as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
6631Usually this means the macro was only invoked conditionally." "$LINENO" 5
6632fi
Jeff Thompson39128c62013-06-19 14:08:51 -07006633
6634: "${CONFIG_STATUS=./config.status}"
6635ac_write_fail=0
6636ac_clean_files_save=$ac_clean_files
6637ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6638{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6639$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6640as_write_fail=0
6641cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6642#! $SHELL
6643# Generated by $as_me.
6644# Run this file to recreate the current configuration.
6645# Compiler output produced by configure, useful for debugging
6646# configure, is in config.log if it exists.
6647
6648debug=false
6649ac_cs_recheck=false
6650ac_cs_silent=false
6651
6652SHELL=\${CONFIG_SHELL-$SHELL}
6653export SHELL
6654_ASEOF
6655cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6656## -------------------- ##
6657## M4sh Initialization. ##
6658## -------------------- ##
6659
6660# Be more Bourne compatible
6661DUALCASE=1; export DUALCASE # for MKS sh
6662if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6663 emulate sh
6664 NULLCMD=:
6665 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6666 # is contrary to our usage. Disable this feature.
6667 alias -g '${1+"$@"}'='"$@"'
6668 setopt NO_GLOB_SUBST
6669else
6670 case `(set -o) 2>/dev/null` in #(
6671 *posix*) :
6672 set -o posix ;; #(
6673 *) :
6674 ;;
6675esac
6676fi
6677
6678
6679as_nl='
6680'
6681export as_nl
6682# Printing a long string crashes Solaris 7 /usr/bin/printf.
6683as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6684as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6685as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6686# Prefer a ksh shell builtin over an external printf program on Solaris,
6687# but without wasting forks for bash or zsh.
6688if test -z "$BASH_VERSION$ZSH_VERSION" \
6689 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6690 as_echo='print -r --'
6691 as_echo_n='print -rn --'
6692elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6693 as_echo='printf %s\n'
6694 as_echo_n='printf %s'
6695else
6696 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6697 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6698 as_echo_n='/usr/ucb/echo -n'
6699 else
6700 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6701 as_echo_n_body='eval
6702 arg=$1;
6703 case $arg in #(
6704 *"$as_nl"*)
6705 expr "X$arg" : "X\\(.*\\)$as_nl";
6706 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6707 esac;
6708 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6709 '
6710 export as_echo_n_body
6711 as_echo_n='sh -c $as_echo_n_body as_echo'
6712 fi
6713 export as_echo_body
6714 as_echo='sh -c $as_echo_body as_echo'
6715fi
6716
6717# The user is always right.
6718if test "${PATH_SEPARATOR+set}" != set; then
6719 PATH_SEPARATOR=:
6720 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6721 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6722 PATH_SEPARATOR=';'
6723 }
6724fi
6725
6726
6727# IFS
6728# We need space, tab and new line, in precisely that order. Quoting is
6729# there to prevent editors from complaining about space-tab.
6730# (If _AS_PATH_WALK were called with IFS unset, it would disable word
6731# splitting by setting IFS to empty value.)
6732IFS=" "" $as_nl"
6733
6734# Find who we are. Look in the path if we contain no directory separator.
6735as_myself=
6736case $0 in #((
6737 *[\\/]* ) as_myself=$0 ;;
6738 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6739for as_dir in $PATH
6740do
6741 IFS=$as_save_IFS
6742 test -z "$as_dir" && as_dir=.
6743 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6744 done
6745IFS=$as_save_IFS
6746
6747 ;;
6748esac
6749# We did not find ourselves, most probably we were run as `sh COMMAND'
6750# in which case we are not to be found in the path.
6751if test "x$as_myself" = x; then
6752 as_myself=$0
6753fi
6754if test ! -f "$as_myself"; then
6755 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6756 exit 1
6757fi
6758
6759# Unset variables that we do not need and which cause bugs (e.g. in
6760# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6761# suppresses any "Segmentation fault" message there. '((' could
6762# trigger a bug in pdksh 5.2.14.
6763for as_var in BASH_ENV ENV MAIL MAILPATH
6764do eval test x\${$as_var+set} = xset \
6765 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6766done
6767PS1='$ '
6768PS2='> '
6769PS4='+ '
6770
6771# NLS nuisances.
6772LC_ALL=C
6773export LC_ALL
6774LANGUAGE=C
6775export LANGUAGE
6776
6777# CDPATH.
6778(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6779
6780
6781# as_fn_error STATUS ERROR [LINENO LOG_FD]
6782# ----------------------------------------
6783# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6784# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6785# script with STATUS, using 1 if that was 0.
6786as_fn_error ()
6787{
6788 as_status=$1; test $as_status -eq 0 && as_status=1
6789 if test "$4"; then
6790 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6791 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6792 fi
6793 $as_echo "$as_me: error: $2" >&2
6794 as_fn_exit $as_status
6795} # as_fn_error
6796
6797
6798# as_fn_set_status STATUS
6799# -----------------------
6800# Set $? to STATUS, without forking.
6801as_fn_set_status ()
6802{
6803 return $1
6804} # as_fn_set_status
6805
6806# as_fn_exit STATUS
6807# -----------------
6808# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6809as_fn_exit ()
6810{
6811 set +e
6812 as_fn_set_status $1
6813 exit $1
6814} # as_fn_exit
6815
6816# as_fn_unset VAR
6817# ---------------
6818# Portably unset VAR.
6819as_fn_unset ()
6820{
6821 { eval $1=; unset $1;}
6822}
6823as_unset=as_fn_unset
6824# as_fn_append VAR VALUE
6825# ----------------------
6826# Append the text in VALUE to the end of the definition contained in VAR. Take
6827# advantage of any shell optimizations that allow amortized linear growth over
6828# repeated appends, instead of the typical quadratic growth present in naive
6829# implementations.
6830if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6831 eval 'as_fn_append ()
6832 {
6833 eval $1+=\$2
6834 }'
6835else
6836 as_fn_append ()
6837 {
6838 eval $1=\$$1\$2
6839 }
6840fi # as_fn_append
6841
6842# as_fn_arith ARG...
6843# ------------------
6844# Perform arithmetic evaluation on the ARGs, and store the result in the
6845# global $as_val. Take advantage of shells that can avoid forks. The arguments
6846# must be portable across $(()) and expr.
6847if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6848 eval 'as_fn_arith ()
6849 {
6850 as_val=$(( $* ))
6851 }'
6852else
6853 as_fn_arith ()
6854 {
6855 as_val=`expr "$@" || test $? -eq 1`
6856 }
6857fi # as_fn_arith
6858
6859
6860if expr a : '\(a\)' >/dev/null 2>&1 &&
6861 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6862 as_expr=expr
6863else
6864 as_expr=false
6865fi
6866
6867if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6868 as_basename=basename
6869else
6870 as_basename=false
6871fi
6872
6873if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6874 as_dirname=dirname
6875else
6876 as_dirname=false
6877fi
6878
6879as_me=`$as_basename -- "$0" ||
6880$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6881 X"$0" : 'X\(//\)$' \| \
6882 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6883$as_echo X/"$0" |
6884 sed '/^.*\/\([^/][^/]*\)\/*$/{
6885 s//\1/
6886 q
6887 }
6888 /^X\/\(\/\/\)$/{
6889 s//\1/
6890 q
6891 }
6892 /^X\/\(\/\).*/{
6893 s//\1/
6894 q
6895 }
6896 s/.*/./; q'`
6897
6898# Avoid depending upon Character Ranges.
6899as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6900as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6901as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6902as_cr_digits='0123456789'
6903as_cr_alnum=$as_cr_Letters$as_cr_digits
6904
6905ECHO_C= ECHO_N= ECHO_T=
6906case `echo -n x` in #(((((
6907-n*)
6908 case `echo 'xy\c'` in
6909 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6910 xy) ECHO_C='\c';;
6911 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
6912 ECHO_T=' ';;
6913 esac;;
6914*)
6915 ECHO_N='-n';;
6916esac
6917
6918rm -f conf$$ conf$$.exe conf$$.file
6919if test -d conf$$.dir; then
6920 rm -f conf$$.dir/conf$$.file
6921else
6922 rm -f conf$$.dir
6923 mkdir conf$$.dir 2>/dev/null
6924fi
6925if (echo >conf$$.file) 2>/dev/null; then
6926 if ln -s conf$$.file conf$$ 2>/dev/null; then
6927 as_ln_s='ln -s'
6928 # ... but there are two gotchas:
6929 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6930 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6931 # In both cases, we have to default to `cp -pR'.
6932 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6933 as_ln_s='cp -pR'
6934 elif ln conf$$.file conf$$ 2>/dev/null; then
6935 as_ln_s=ln
6936 else
6937 as_ln_s='cp -pR'
6938 fi
6939else
6940 as_ln_s='cp -pR'
6941fi
6942rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6943rmdir conf$$.dir 2>/dev/null
6944
6945
6946# as_fn_mkdir_p
6947# -------------
6948# Create "$as_dir" as a directory, including parents if necessary.
6949as_fn_mkdir_p ()
6950{
6951
6952 case $as_dir in #(
6953 -*) as_dir=./$as_dir;;
6954 esac
6955 test -d "$as_dir" || eval $as_mkdir_p || {
6956 as_dirs=
6957 while :; do
6958 case $as_dir in #(
6959 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6960 *) as_qdir=$as_dir;;
6961 esac
6962 as_dirs="'$as_qdir' $as_dirs"
6963 as_dir=`$as_dirname -- "$as_dir" ||
6964$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6965 X"$as_dir" : 'X\(//\)[^/]' \| \
6966 X"$as_dir" : 'X\(//\)$' \| \
6967 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6968$as_echo X"$as_dir" |
6969 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6970 s//\1/
6971 q
6972 }
6973 /^X\(\/\/\)[^/].*/{
6974 s//\1/
6975 q
6976 }
6977 /^X\(\/\/\)$/{
6978 s//\1/
6979 q
6980 }
6981 /^X\(\/\).*/{
6982 s//\1/
6983 q
6984 }
6985 s/.*/./; q'`
6986 test -d "$as_dir" && break
6987 done
6988 test -z "$as_dirs" || eval "mkdir $as_dirs"
6989 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6990
6991
6992} # as_fn_mkdir_p
6993if mkdir -p . 2>/dev/null; then
6994 as_mkdir_p='mkdir -p "$as_dir"'
6995else
6996 test -d ./-p && rmdir ./-p
6997 as_mkdir_p=false
6998fi
6999
7000
7001# as_fn_executable_p FILE
7002# -----------------------
7003# Test if FILE is an executable regular file.
7004as_fn_executable_p ()
7005{
7006 test -f "$1" && test -x "$1"
7007} # as_fn_executable_p
7008as_test_x='test -x'
7009as_executable_p=as_fn_executable_p
7010
7011# Sed expression to map a string onto a valid CPP name.
7012as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7013
7014# Sed expression to map a string onto a valid variable name.
7015as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7016
7017
7018exec 6>&1
7019## ----------------------------------- ##
7020## Main body of $CONFIG_STATUS script. ##
7021## ----------------------------------- ##
7022_ASEOF
7023test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
7024
7025cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7026# Save the log message, to keep $0 and so on meaningful, and to
7027# report actual input values of CONFIG_FILES etc. instead of their
7028# values after options handling.
7029ac_log="
7030This file was extended by ndn-cpp $as_me 0.5, which was
7031generated by GNU Autoconf 2.69. Invocation command line was
7032
7033 CONFIG_FILES = $CONFIG_FILES
7034 CONFIG_HEADERS = $CONFIG_HEADERS
7035 CONFIG_LINKS = $CONFIG_LINKS
7036 CONFIG_COMMANDS = $CONFIG_COMMANDS
7037 $ $0 $@
7038
7039on `(hostname || uname -n) 2>/dev/null | sed 1q`
7040"
7041
7042_ACEOF
7043
7044case $ac_config_files in *"
7045"*) set x $ac_config_files; shift; ac_config_files=$*;;
7046esac
7047
7048case $ac_config_headers in *"
7049"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
7050esac
7051
7052
7053cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7054# Files that config.status was made for.
7055config_files="$ac_config_files"
7056config_headers="$ac_config_headers"
7057config_commands="$ac_config_commands"
7058
7059_ACEOF
7060
7061cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7062ac_cs_usage="\
7063\`$as_me' instantiates files and other configuration actions
7064from templates according to the current configuration. Unless the files
7065and actions are specified as TAGs, all are instantiated by default.
7066
7067Usage: $0 [OPTION]... [TAG]...
7068
7069 -h, --help print this help, then exit
7070 -V, --version print version number and configuration settings, then exit
7071 --config print configuration, then exit
7072 -q, --quiet, --silent
7073 do not print progress messages
7074 -d, --debug don't remove temporary files
7075 --recheck update $as_me by reconfiguring in the same conditions
7076 --file=FILE[:TEMPLATE]
7077 instantiate the configuration file FILE
7078 --header=FILE[:TEMPLATE]
7079 instantiate the configuration header FILE
7080
7081Configuration files:
7082$config_files
7083
7084Configuration headers:
7085$config_headers
7086
7087Configuration commands:
7088$config_commands
7089
7090Report bugs to the package provider.
7091ndn-cpp home page: <https://github.com/named-data/ndn-cpp>."
7092
7093_ACEOF
7094cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7095ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7096ac_cs_version="\\
7097ndn-cpp config.status 0.5
7098configured by $0, generated by GNU Autoconf 2.69,
7099 with options \\"\$ac_cs_config\\"
7100
7101Copyright (C) 2012 Free Software Foundation, Inc.
7102This config.status script is free software; the Free Software Foundation
7103gives unlimited permission to copy, distribute and modify it."
7104
7105ac_pwd='$ac_pwd'
7106srcdir='$srcdir'
7107INSTALL='$INSTALL'
7108MKDIR_P='$MKDIR_P'
7109AWK='$AWK'
7110test -n "\$AWK" || AWK=awk
7111_ACEOF
7112
7113cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7114# The default lists apply if the user does not specify any file.
7115ac_need_defaults=:
7116while test $# != 0
7117do
7118 case $1 in
7119 --*=?*)
7120 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7121 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7122 ac_shift=:
7123 ;;
7124 --*=)
7125 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7126 ac_optarg=
7127 ac_shift=:
7128 ;;
7129 *)
7130 ac_option=$1
7131 ac_optarg=$2
7132 ac_shift=shift
7133 ;;
7134 esac
7135
7136 case $ac_option in
7137 # Handling of the options.
7138 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7139 ac_cs_recheck=: ;;
7140 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7141 $as_echo "$ac_cs_version"; exit ;;
7142 --config | --confi | --conf | --con | --co | --c )
7143 $as_echo "$ac_cs_config"; exit ;;
7144 --debug | --debu | --deb | --de | --d | -d )
7145 debug=: ;;
7146 --file | --fil | --fi | --f )
7147 $ac_shift
7148 case $ac_optarg in
7149 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7150 '') as_fn_error $? "missing file argument" ;;
7151 esac
7152 as_fn_append CONFIG_FILES " '$ac_optarg'"
7153 ac_need_defaults=false;;
7154 --header | --heade | --head | --hea )
7155 $ac_shift
7156 case $ac_optarg in
7157 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7158 esac
7159 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
7160 ac_need_defaults=false;;
7161 --he | --h)
7162 # Conflict between --help and --header
7163 as_fn_error $? "ambiguous option: \`$1'
7164Try \`$0 --help' for more information.";;
7165 --help | --hel | -h )
7166 $as_echo "$ac_cs_usage"; exit ;;
7167 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7168 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7169 ac_cs_silent=: ;;
7170
7171 # This is an error.
7172 -*) as_fn_error $? "unrecognized option: \`$1'
7173Try \`$0 --help' for more information." ;;
7174
7175 *) as_fn_append ac_config_targets " $1"
7176 ac_need_defaults=false ;;
7177
7178 esac
7179 shift
7180done
7181
7182ac_configure_extra_args=
7183
7184if $ac_cs_silent; then
7185 exec 6>/dev/null
7186 ac_configure_extra_args="$ac_configure_extra_args --silent"
7187fi
7188
7189_ACEOF
7190cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7191if \$ac_cs_recheck; then
7192 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7193 shift
7194 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7195 CONFIG_SHELL='$SHELL'
7196 export CONFIG_SHELL
7197 exec "\$@"
7198fi
7199
7200_ACEOF
7201cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7202exec 5>>config.log
7203{
7204 echo
7205 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7206## Running $as_me. ##
7207_ASBOX
7208 $as_echo "$ac_log"
7209} >&5
7210
7211_ACEOF
7212cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7213#
7214# INIT-COMMANDS
7215#
7216AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7217
7218_ACEOF
7219
7220cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7221
7222# Handling of arguments.
7223for ac_config_target in $ac_config_targets
7224do
7225 case $ac_config_target in
7226 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7227 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7228 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7229
7230 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7231 esac
7232done
7233
7234
7235# If the user did not use the arguments to specify the items to instantiate,
7236# then the envvar interface is used. Set only those that are not.
7237# We use the long form for the default assignment because of an extremely
7238# bizarre bug on SunOS 4.1.3.
7239if $ac_need_defaults; then
7240 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7241 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7242 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7243fi
7244
7245# Have a temporary directory for convenience. Make it in the build tree
7246# simply because there is no reason against having it here, and in addition,
7247# creating and moving files from /tmp can sometimes cause problems.
7248# Hook for its removal unless debugging.
7249# Note that there is a small window in which the directory will not be cleaned:
7250# after its creation but before its name has been assigned to `$tmp'.
7251$debug ||
7252{
7253 tmp= ac_tmp=
7254 trap 'exit_status=$?
7255 : "${ac_tmp:=$tmp}"
7256 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7257' 0
7258 trap 'as_fn_exit 1' 1 2 13 15
7259}
7260# Create a (secure) tmp directory for tmp files.
7261
7262{
7263 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7264 test -d "$tmp"
7265} ||
7266{
7267 tmp=./conf$$-$RANDOM
7268 (umask 077 && mkdir "$tmp")
7269} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7270ac_tmp=$tmp
7271
7272# Set up the scripts for CONFIG_FILES section.
7273# No need to generate them if there are no CONFIG_FILES.
7274# This happens for instance with `./config.status config.h'.
7275if test -n "$CONFIG_FILES"; then
7276
7277
7278ac_cr=`echo X | tr X '\015'`
7279# On cygwin, bash can eat \r inside `` if the user requested igncr.
7280# But we know of no other shell where ac_cr would be empty at this
7281# point, so we can use a bashism as a fallback.
7282if test "x$ac_cr" = x; then
7283 eval ac_cr=\$\'\\r\'
7284fi
7285ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7286if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7287 ac_cs_awk_cr='\\r'
7288else
7289 ac_cs_awk_cr=$ac_cr
7290fi
7291
7292echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7293_ACEOF
7294
7295
7296{
7297 echo "cat >conf$$subs.awk <<_ACEOF" &&
7298 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7299 echo "_ACEOF"
7300} >conf$$subs.sh ||
7301 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7302ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7303ac_delim='%!_!# '
7304for ac_last_try in false false false false false :; do
7305 . ./conf$$subs.sh ||
7306 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7307
7308 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7309 if test $ac_delim_n = $ac_delim_num; then
7310 break
7311 elif $ac_last_try; then
7312 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7313 else
7314 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7315 fi
7316done
7317rm -f conf$$subs.sh
7318
7319cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7320cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
7321_ACEOF
7322sed -n '
7323h
7324s/^/S["/; s/!.*/"]=/
7325p
7326g
7327s/^[^!]*!//
7328:repl
7329t repl
7330s/'"$ac_delim"'$//
7331t delim
7332:nl
7333h
7334s/\(.\{148\}\)..*/\1/
7335t more1
7336s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7337p
7338n
7339b repl
7340:more1
7341s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7342p
7343g
7344s/.\{148\}//
7345t nl
7346:delim
7347h
7348s/\(.\{148\}\)..*/\1/
7349t more2
7350s/["\\]/\\&/g; s/^/"/; s/$/"/
7351p
7352b
7353:more2
7354s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7355p
7356g
7357s/.\{148\}//
7358t delim
7359' <conf$$subs.awk | sed '
7360/^[^""]/{
7361 N
7362 s/\n//
7363}
7364' >>$CONFIG_STATUS || ac_write_fail=1
7365rm -f conf$$subs.awk
7366cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7367_ACAWK
7368cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
7369 for (key in S) S_is_set[key] = 1
7370 FS = ""
7371
7372}
7373{
7374 line = $ 0
7375 nfields = split(line, field, "@")
7376 substed = 0
7377 len = length(field[1])
7378 for (i = 2; i < nfields; i++) {
7379 key = field[i]
7380 keylen = length(key)
7381 if (S_is_set[key]) {
7382 value = S[key]
7383 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7384 len += length(value) + length(field[++i])
7385 substed = 1
7386 } else
7387 len += 1 + keylen
7388 }
7389
7390 print line
7391}
7392
7393_ACAWK
7394_ACEOF
7395cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7396if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7397 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7398else
7399 cat
7400fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
7401 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
7402_ACEOF
7403
7404# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7405# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
7406# trailing colons and then remove the whole line if VPATH becomes empty
7407# (actually we leave an empty line to preserve line numbers).
7408if test "x$srcdir" = x.; then
7409 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7410h
7411s///
7412s/^/:/
7413s/[ ]*$/:/
7414s/:\$(srcdir):/:/g
7415s/:\${srcdir}:/:/g
7416s/:@srcdir@:/:/g
7417s/^:*//
7418s/:*$//
7419x
7420s/\(=[ ]*\).*/\1/
7421G
7422s/\n//
7423s/^[^=]*=[ ]*$//
7424}'
7425fi
7426
7427cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7428fi # test -n "$CONFIG_FILES"
7429
7430# Set up the scripts for CONFIG_HEADERS section.
7431# No need to generate them if there are no CONFIG_HEADERS.
7432# This happens for instance with `./config.status Makefile'.
7433if test -n "$CONFIG_HEADERS"; then
7434cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
7435BEGIN {
7436_ACEOF
7437
7438# Transform confdefs.h into an awk script `defines.awk', embedded as
7439# here-document in config.status, that substitutes the proper values into
7440# config.h.in to produce config.h.
7441
7442# Create a delimiter string that does not exist in confdefs.h, to ease
7443# handling of long lines.
7444ac_delim='%!_!# '
7445for ac_last_try in false false :; do
7446 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
7447 if test -z "$ac_tt"; then
7448 break
7449 elif $ac_last_try; then
7450 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
7451 else
7452 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7453 fi
7454done
7455
7456# For the awk script, D is an array of macro values keyed by name,
7457# likewise P contains macro parameters if any. Preserve backslash
7458# newline sequences.
7459
7460ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7461sed -n '
7462s/.\{148\}/&'"$ac_delim"'/g
7463t rset
7464:rset
7465s/^[ ]*#[ ]*define[ ][ ]*/ /
7466t def
7467d
7468:def
7469s/\\$//
7470t bsnl
7471s/["\\]/\\&/g
7472s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7473D["\1"]=" \3"/p
7474s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
7475d
7476:bsnl
7477s/["\\]/\\&/g
7478s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7479D["\1"]=" \3\\\\\\n"\\/p
7480t cont
7481s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
7482t cont
7483d
7484:cont
7485n
7486s/.\{148\}/&'"$ac_delim"'/g
7487t clear
7488:clear
7489s/\\$//
7490t bsnlc
7491s/["\\]/\\&/g; s/^/"/; s/$/"/p
7492d
7493:bsnlc
7494s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
7495b cont
7496' <confdefs.h | sed '
7497s/'"$ac_delim"'/"\\\
7498"/g' >>$CONFIG_STATUS || ac_write_fail=1
7499
7500cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7501 for (key in D) D_is_set[key] = 1
7502 FS = ""
7503}
7504/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7505 line = \$ 0
7506 split(line, arg, " ")
7507 if (arg[1] == "#") {
7508 defundef = arg[2]
7509 mac1 = arg[3]
7510 } else {
7511 defundef = substr(arg[1], 2)
7512 mac1 = arg[2]
7513 }
7514 split(mac1, mac2, "(") #)
7515 macro = mac2[1]
7516 prefix = substr(line, 1, index(line, defundef) - 1)
7517 if (D_is_set[macro]) {
7518 # Preserve the white space surrounding the "#".
7519 print prefix "define", macro P[macro] D[macro]
7520 next
7521 } else {
7522 # Replace #undef with comments. This is necessary, for example,
7523 # in the case of _POSIX_SOURCE, which is predefined and required
7524 # on some systems where configure will not decide to define it.
7525 if (defundef == "undef") {
7526 print "/*", prefix defundef, macro, "*/"
7527 next
7528 }
7529 }
7530}
7531{ print }
7532_ACAWK
7533_ACEOF
7534cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7535 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
7536fi # test -n "$CONFIG_HEADERS"
7537
7538
7539eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7540shift
7541for ac_tag
7542do
7543 case $ac_tag in
7544 :[FHLC]) ac_mode=$ac_tag; continue;;
7545 esac
7546 case $ac_mode$ac_tag in
7547 :[FHL]*:*);;
7548 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
7549 :[FH]-) ac_tag=-:-;;
7550 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7551 esac
7552 ac_save_IFS=$IFS
7553 IFS=:
7554 set x $ac_tag
7555 IFS=$ac_save_IFS
7556 shift
7557 ac_file=$1
7558 shift
7559
7560 case $ac_mode in
7561 :L) ac_source=$1;;
7562 :[FH])
7563 ac_file_inputs=
7564 for ac_f
7565 do
7566 case $ac_f in
7567 -) ac_f="$ac_tmp/stdin";;
7568 *) # Look for the file first in the build tree, then in the source tree
7569 # (if the path is not absolute). The absolute path cannot be DOS-style,
7570 # because $ac_f cannot contain `:'.
7571 test -f "$ac_f" ||
7572 case $ac_f in
7573 [\\/$]*) false;;
7574 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7575 esac ||
7576 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7577 esac
7578 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7579 as_fn_append ac_file_inputs " '$ac_f'"
7580 done
7581
7582 # Let's still pretend it is `configure' which instantiates (i.e., don't
7583 # use $as_me), people would be surprised to read:
7584 # /* config.h. Generated by config.status. */
7585 configure_input='Generated from '`
7586 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7587 `' by configure.'
7588 if test x"$ac_file" != x-; then
7589 configure_input="$ac_file. $configure_input"
7590 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7591$as_echo "$as_me: creating $ac_file" >&6;}
7592 fi
7593 # Neutralize special characters interpreted by sed in replacement strings.
7594 case $configure_input in #(
7595 *\&* | *\|* | *\\* )
7596 ac_sed_conf_input=`$as_echo "$configure_input" |
7597 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7598 *) ac_sed_conf_input=$configure_input;;
7599 esac
7600
7601 case $ac_tag in
7602 *:-:* | *:-) cat >"$ac_tmp/stdin" \
7603 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7604 esac
7605 ;;
7606 esac
7607
7608 ac_dir=`$as_dirname -- "$ac_file" ||
7609$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7610 X"$ac_file" : 'X\(//\)[^/]' \| \
7611 X"$ac_file" : 'X\(//\)$' \| \
7612 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7613$as_echo X"$ac_file" |
7614 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7615 s//\1/
7616 q
7617 }
7618 /^X\(\/\/\)[^/].*/{
7619 s//\1/
7620 q
7621 }
7622 /^X\(\/\/\)$/{
7623 s//\1/
7624 q
7625 }
7626 /^X\(\/\).*/{
7627 s//\1/
7628 q
7629 }
7630 s/.*/./; q'`
7631 as_dir="$ac_dir"; as_fn_mkdir_p
7632 ac_builddir=.
7633
7634case "$ac_dir" in
7635.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7636*)
7637 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7638 # A ".." for each directory in $ac_dir_suffix.
7639 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7640 case $ac_top_builddir_sub in
7641 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7642 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7643 esac ;;
7644esac
7645ac_abs_top_builddir=$ac_pwd
7646ac_abs_builddir=$ac_pwd$ac_dir_suffix
7647# for backward compatibility:
7648ac_top_builddir=$ac_top_build_prefix
7649
7650case $srcdir in
7651 .) # We are building in place.
7652 ac_srcdir=.
7653 ac_top_srcdir=$ac_top_builddir_sub
7654 ac_abs_top_srcdir=$ac_pwd ;;
7655 [\\/]* | ?:[\\/]* ) # Absolute name.
7656 ac_srcdir=$srcdir$ac_dir_suffix;
7657 ac_top_srcdir=$srcdir
7658 ac_abs_top_srcdir=$srcdir ;;
7659 *) # Relative name.
7660 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7661 ac_top_srcdir=$ac_top_build_prefix$srcdir
7662 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7663esac
7664ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7665
7666
7667 case $ac_mode in
7668 :F)
7669 #
7670 # CONFIG_FILE
7671 #
7672
7673 case $INSTALL in
7674 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7675 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7676 esac
7677 ac_MKDIR_P=$MKDIR_P
7678 case $MKDIR_P in
7679 [\\/$]* | ?:[\\/]* ) ;;
7680 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
7681 esac
7682_ACEOF
7683
7684cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7685# If the template does not know about datarootdir, expand it.
7686# FIXME: This hack should be removed a few years after 2.60.
7687ac_datarootdir_hack=; ac_datarootdir_seen=
7688ac_sed_dataroot='
7689/datarootdir/ {
7690 p
7691 q
7692}
7693/@datadir@/p
7694/@docdir@/p
7695/@infodir@/p
7696/@localedir@/p
7697/@mandir@/p'
7698case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7699*datarootdir*) ac_datarootdir_seen=yes;;
7700*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7702$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7703_ACEOF
7704cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7705 ac_datarootdir_hack='
7706 s&@datadir@&$datadir&g
7707 s&@docdir@&$docdir&g
7708 s&@infodir@&$infodir&g
7709 s&@localedir@&$localedir&g
7710 s&@mandir@&$mandir&g
7711 s&\\\${datarootdir}&$datarootdir&g' ;;
7712esac
7713_ACEOF
7714
7715# Neutralize VPATH when `$srcdir' = `.'.
7716# Shell code in configure.ac might set extrasub.
7717# FIXME: do we really want to maintain this feature?
7718cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7719ac_sed_extra="$ac_vpsub
7720$extrasub
7721_ACEOF
7722cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7723:t
7724/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7725s|@configure_input@|$ac_sed_conf_input|;t t
7726s&@top_builddir@&$ac_top_builddir_sub&;t t
7727s&@top_build_prefix@&$ac_top_build_prefix&;t t
7728s&@srcdir@&$ac_srcdir&;t t
7729s&@abs_srcdir@&$ac_abs_srcdir&;t t
7730s&@top_srcdir@&$ac_top_srcdir&;t t
7731s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7732s&@builddir@&$ac_builddir&;t t
7733s&@abs_builddir@&$ac_abs_builddir&;t t
7734s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7735s&@INSTALL@&$ac_INSTALL&;t t
7736s&@MKDIR_P@&$ac_MKDIR_P&;t t
7737$ac_datarootdir_hack
7738"
7739eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7740 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7741
7742test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7743 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7744 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7745 "$ac_tmp/out"`; test -z "$ac_out"; } &&
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7747which seems to be undefined. Please make sure it is defined" >&5
7748$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7749which seems to be undefined. Please make sure it is defined" >&2;}
7750
7751 rm -f "$ac_tmp/stdin"
7752 case $ac_file in
7753 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7754 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7755 esac \
7756 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7757 ;;
7758 :H)
7759 #
7760 # CONFIG_HEADER
7761 #
7762 if test x"$ac_file" != x-; then
7763 {
7764 $as_echo "/* $configure_input */" \
7765 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
7766 } >"$ac_tmp/config.h" \
7767 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7768 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7770$as_echo "$as_me: $ac_file is unchanged" >&6;}
7771 else
7772 rm -f "$ac_file"
7773 mv "$ac_tmp/config.h" "$ac_file" \
7774 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7775 fi
7776 else
7777 $as_echo "/* $configure_input */" \
7778 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
7779 || as_fn_error $? "could not create -" "$LINENO" 5
7780 fi
7781# Compute "$ac_file"'s index in $config_headers.
7782_am_arg="$ac_file"
7783_am_stamp_count=1
7784for _am_header in $config_headers :; do
7785 case $_am_header in
7786 $_am_arg | $_am_arg:* )
7787 break ;;
7788 * )
7789 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7790 esac
7791done
7792echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
7793$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7794 X"$_am_arg" : 'X\(//\)[^/]' \| \
7795 X"$_am_arg" : 'X\(//\)$' \| \
7796 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
7797$as_echo X"$_am_arg" |
7798 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7799 s//\1/
7800 q
7801 }
7802 /^X\(\/\/\)[^/].*/{
7803 s//\1/
7804 q
7805 }
7806 /^X\(\/\/\)$/{
7807 s//\1/
7808 q
7809 }
7810 /^X\(\/\).*/{
7811 s//\1/
7812 q
7813 }
7814 s/.*/./; q'`/stamp-h$_am_stamp_count
7815 ;;
7816
7817 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7818$as_echo "$as_me: executing $ac_file commands" >&6;}
7819 ;;
7820 esac
7821
7822
7823 case $ac_file$ac_mode in
7824 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
7825 # Older Autoconf quotes --file arguments for eval, but not when files
7826 # are listed without --file. Let's play safe and only enable the eval
7827 # if we detect the quoting.
7828 case $CONFIG_FILES in
7829 *\'*) eval set x "$CONFIG_FILES" ;;
7830 *) set x $CONFIG_FILES ;;
7831 esac
7832 shift
7833 for mf
7834 do
7835 # Strip MF so we end up with the name of the file.
7836 mf=`echo "$mf" | sed -e 's/:.*$//'`
7837 # Check whether this is an Automake generated Makefile or not.
7838 # We used to match only the files named 'Makefile.in', but
7839 # some people rename them; so instead we look at the file content.
7840 # Grep'ing the first line is not enough: some people post-process
7841 # each Makefile.in and add a new line on top of each file to say so.
7842 # Grep'ing the whole file is not good either: AIX grep has a line
7843 # limit of 2048, but all sed's we know have understand at least 4000.
7844 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
7845 dirpart=`$as_dirname -- "$mf" ||
7846$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7847 X"$mf" : 'X\(//\)[^/]' \| \
7848 X"$mf" : 'X\(//\)$' \| \
7849 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7850$as_echo X"$mf" |
7851 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7852 s//\1/
7853 q
7854 }
7855 /^X\(\/\/\)[^/].*/{
7856 s//\1/
7857 q
7858 }
7859 /^X\(\/\/\)$/{
7860 s//\1/
7861 q
7862 }
7863 /^X\(\/\).*/{
7864 s//\1/
7865 q
7866 }
7867 s/.*/./; q'`
7868 else
7869 continue
7870 fi
7871 # Extract the definition of DEPDIR, am__include, and am__quote
7872 # from the Makefile without running 'make'.
7873 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7874 test -z "$DEPDIR" && continue
7875 am__include=`sed -n 's/^am__include = //p' < "$mf"`
7876 test -z "$am__include" && continue
7877 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7878 # Find all dependency output files, they are included files with
7879 # $(DEPDIR) in their names. We invoke sed twice because it is the
7880 # simplest approach to changing $(DEPDIR) to its actual value in the
7881 # expansion.
7882 for file in `sed -n "
7883 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7884 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
7885 # Make sure the directory exists.
7886 test -f "$dirpart/$file" && continue
7887 fdir=`$as_dirname -- "$file" ||
7888$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7889 X"$file" : 'X\(//\)[^/]' \| \
7890 X"$file" : 'X\(//\)$' \| \
7891 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7892$as_echo X"$file" |
7893 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7894 s//\1/
7895 q
7896 }
7897 /^X\(\/\/\)[^/].*/{
7898 s//\1/
7899 q
7900 }
7901 /^X\(\/\/\)$/{
7902 s//\1/
7903 q
7904 }
7905 /^X\(\/\).*/{
7906 s//\1/
7907 q
7908 }
7909 s/.*/./; q'`
7910 as_dir=$dirpart/$fdir; as_fn_mkdir_p
7911 # echo "creating $dirpart/$file"
7912 echo '# dummy' > "$dirpart/$file"
7913 done
7914 done
7915}
7916 ;;
Jeff Thompson39128c62013-06-19 14:08:51 -07007917
7918 esac
7919done # for ac_tag
7920
7921
7922as_fn_exit 0
7923_ACEOF
7924ac_clean_files=$ac_clean_files_save
7925
7926test $ac_write_fail = 0 ||
7927 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7928
7929
7930# configure is writing to config.log, and then calls config.status.
7931# config.status does its own redirection, appending to config.log.
7932# Unfortunately, on DOS this fails, as config.log is still kept open
7933# by configure, so config.status won't be able to write to it; its
7934# output is simply discarded. So we exec the FD to /dev/null,
7935# effectively closing config.log, so it can be properly (re)opened and
7936# appended to by config.status. When coming back to configure, we
7937# need to make the FD available again.
7938if test "$no_create" != yes; then
7939 ac_cs_success=:
7940 ac_config_status_args=
7941 test "$silent" = yes &&
7942 ac_config_status_args="$ac_config_status_args --quiet"
7943 exec 5>/dev/null
7944 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7945 exec 5>>config.log
7946 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7947 # would make configure fail if this is the last instruction.
7948 $ac_cs_success || as_fn_exit 1
7949fi
7950if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7952$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
7953fi
7954