Jeff Thompson | 39128c6 | 2013-06-19 14:08:51 -0700 | [diff] [blame] | 1 | #! /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 |
| 16 | DUALCASE=1; export DUALCASE # for MKS sh |
| 17 | if 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 |
| 24 | else |
| 25 | case `(set -o) 2>/dev/null` in #( |
| 26 | *posix*) : |
| 27 | set -o posix ;; #( |
| 28 | *) : |
| 29 | ;; |
| 30 | esac |
| 31 | fi |
| 32 | |
| 33 | |
| 34 | as_nl=' |
| 35 | ' |
| 36 | export as_nl |
| 37 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
| 38 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
| 39 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
| 40 | as_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. |
| 43 | if 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 --' |
| 47 | elif (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' |
| 50 | else |
| 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' |
| 70 | fi |
| 71 | |
| 72 | # The user is always right. |
| 73 | if 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 | } |
| 79 | fi |
| 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.) |
| 87 | IFS=" "" $as_nl" |
| 88 | |
| 89 | # Find who we are. Look in the path if we contain no directory separator. |
| 90 | as_myself= |
| 91 | case $0 in #(( |
| 92 | *[\\/]* ) as_myself=$0 ;; |
| 93 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 94 | for as_dir in $PATH |
| 95 | do |
| 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 |
| 100 | IFS=$as_save_IFS |
| 101 | |
| 102 | ;; |
| 103 | esac |
| 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. |
| 106 | if test "x$as_myself" = x; then |
| 107 | as_myself=$0 |
| 108 | fi |
| 109 | if test ! -f "$as_myself"; then |
| 110 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| 111 | exit 1 |
| 112 | fi |
| 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. |
| 118 | for as_var in BASH_ENV ENV MAIL MAILPATH |
| 119 | do eval test x\${$as_var+set} = xset \ |
| 120 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
| 121 | done |
| 122 | PS1='$ ' |
| 123 | PS2='> ' |
| 124 | PS4='+ ' |
| 125 | |
| 126 | # NLS nuisances. |
| 127 | LC_ALL=C |
| 128 | export LC_ALL |
| 129 | LANGUAGE=C |
| 130 | export 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. |
| 143 | BASH_ENV=/dev/null |
| 144 | ENV=/dev/null |
| 145 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
| 146 | case $- in # (((( |
| 147 | *v*x* | *x*v* ) as_opts=-vx ;; |
| 148 | *v* ) as_opts=-v ;; |
| 149 | *x* ) as_opts=-x ;; |
| 150 | * ) as_opts= ;; |
| 151 | esac |
| 152 | exec $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 |
| 156 | as_fn_exit 255 |
| 157 | fi |
| 158 | # We don't want this to propagate to other subprocesses. |
| 159 | { _as_can_reexec=; unset _as_can_reexec;} |
| 160 | if 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 |
| 168 | else |
| 169 | case \`(set -o) 2>/dev/null\` in #( |
| 170 | *posix*) : |
| 171 | set -o posix ;; #( |
| 172 | *) : |
| 173 | ;; |
| 174 | esac |
| 175 | fi |
| 176 | " |
| 177 | as_required="as_fn_return () { (exit \$1); } |
| 178 | as_fn_success () { as_fn_return 0; } |
| 179 | as_fn_failure () { as_fn_return 1; } |
| 180 | as_fn_ret_success () { return 0; } |
| 181 | as_fn_ret_failure () { return 1; } |
| 182 | |
| 183 | exitcode=0 |
| 184 | as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
| 185 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
| 186 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
| 187 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
| 188 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
| 189 | |
| 190 | else |
| 191 | exitcode=1; echo positional parameters were not saved. |
| 192 | fi |
| 193 | test x\$exitcode = x0 || exit 1 |
| 194 | test -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 Thompson | 3b3aabf | 2013-06-21 16:50:20 -0700 | [diff] [blame] | 198 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1" |
Jeff Thompson | 39128c6 | 2013-06-19 14:08:51 -0700 | [diff] [blame] | 199 | if (eval "$as_required") 2>/dev/null; then : |
| 200 | as_have_required=yes |
| 201 | else |
| 202 | as_have_required=no |
| 203 | fi |
| 204 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : |
| 205 | |
| 206 | else |
| 207 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 208 | as_found=false |
| 209 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
| 210 | do |
| 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 |
| 224 | fi |
| 225 | fi |
| 226 | done;; |
| 227 | esac |
| 228 | as_found=false |
| 229 | done |
| 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 |
| 233 | fi; } |
| 234 | IFS=$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. |
| 243 | BASH_ENV=/dev/null |
| 244 | ENV=/dev/null |
| 245 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
| 246 | case $- in # (((( |
| 247 | *v*x* | *x*v* ) as_opts=-vx ;; |
| 248 | *v* ) as_opts=-v ;; |
| 249 | *x* ) as_opts=-x ;; |
| 250 | * ) as_opts= ;; |
| 251 | esac |
| 252 | exec $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 |
| 256 | exit 255 |
| 257 | fi |
| 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 |
| 272 | fi |
| 273 | fi |
| 274 | fi |
| 275 | SHELL=${CONFIG_SHELL-/bin/sh} |
| 276 | export SHELL |
| 277 | # Unset more variables known to interfere with behavior of common tools. |
| 278 | CLICOLOR_FORCE= GREP_OPTIONS= |
| 279 | unset CLICOLOR_FORCE GREP_OPTIONS |
| 280 | |
| 281 | ## --------------------- ## |
| 282 | ## M4sh Shell Functions. ## |
| 283 | ## --------------------- ## |
| 284 | # as_fn_unset VAR |
| 285 | # --------------- |
| 286 | # Portably unset VAR. |
| 287 | as_fn_unset () |
| 288 | { |
| 289 | { eval $1=; unset $1;} |
| 290 | } |
| 291 | as_unset=as_fn_unset |
| 292 | |
| 293 | # as_fn_set_status STATUS |
| 294 | # ----------------------- |
| 295 | # Set $? to STATUS, without forking. |
| 296 | as_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. |
| 304 | as_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. |
| 314 | as_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. |
| 362 | as_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. |
| 372 | if (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 | }' |
| 377 | else |
| 378 | as_fn_append () |
| 379 | { |
| 380 | eval $1=\$$1\$2 |
| 381 | } |
| 382 | fi # 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. |
| 389 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
| 390 | eval 'as_fn_arith () |
| 391 | { |
| 392 | as_val=$(( $* )) |
| 393 | }' |
| 394 | else |
| 395 | as_fn_arith () |
| 396 | { |
| 397 | as_val=`expr "$@" || test $? -eq 1` |
| 398 | } |
| 399 | fi # 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. |
| 407 | as_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 | |
| 418 | if expr a : '\(a\)' >/dev/null 2>&1 && |
| 419 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 420 | as_expr=expr |
| 421 | else |
| 422 | as_expr=false |
| 423 | fi |
| 424 | |
| 425 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
| 426 | as_basename=basename |
| 427 | else |
| 428 | as_basename=false |
| 429 | fi |
| 430 | |
| 431 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
| 432 | as_dirname=dirname |
| 433 | else |
| 434 | as_dirname=false |
| 435 | fi |
| 436 | |
| 437 | as_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. |
| 457 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| 458 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| 459 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| 460 | as_cr_digits='0123456789' |
| 461 | as_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 | |
| 499 | ECHO_C= ECHO_N= ECHO_T= |
| 500 | case `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';; |
| 510 | esac |
| 511 | |
| 512 | rm -f conf$$ conf$$.exe conf$$.file |
| 513 | if test -d conf$$.dir; then |
| 514 | rm -f conf$$.dir/conf$$.file |
| 515 | else |
| 516 | rm -f conf$$.dir |
| 517 | mkdir conf$$.dir 2>/dev/null |
| 518 | fi |
| 519 | if (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 |
| 533 | else |
| 534 | as_ln_s='cp -pR' |
| 535 | fi |
| 536 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 537 | rmdir conf$$.dir 2>/dev/null |
| 538 | |
| 539 | if mkdir -p . 2>/dev/null; then |
| 540 | as_mkdir_p='mkdir -p "$as_dir"' |
| 541 | else |
| 542 | test -d ./-p && rmdir ./-p |
| 543 | as_mkdir_p=false |
| 544 | fi |
| 545 | |
| 546 | as_test_x='test -x' |
| 547 | as_executable_p=as_fn_executable_p |
| 548 | |
| 549 | # Sed expression to map a string onto a valid CPP name. |
| 550 | as_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. |
| 553 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| 554 | |
| 555 | |
| 556 | test -n "$DJDIR" || exec 7<&0 </dev/null |
| 557 | exec 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. |
| 562 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
| 563 | |
| 564 | # |
| 565 | # Initializations. |
| 566 | # |
| 567 | ac_default_prefix=/usr/local |
| 568 | ac_clean_files= |
| 569 | ac_config_libobj_dir=. |
| 570 | LIBOBJS= |
| 571 | cross_compiling=no |
| 572 | subdirs= |
| 573 | MFLAGS= |
| 574 | MAKEFLAGS= |
| 575 | |
| 576 | # Identity of this package. |
| 577 | PACKAGE_NAME='ndn-cpp' |
| 578 | PACKAGE_TARNAME='ndn-cpp' |
| 579 | PACKAGE_VERSION='0.5' |
| 580 | PACKAGE_STRING='ndn-cpp 0.5' |
| 581 | PACKAGE_BUGREPORT='' |
| 582 | PACKAGE_URL='https://github.com/named-data/ndn-cpp' |
| 583 | |
| 584 | ac_subst_vars='am__EXEEXT_FALSE |
| 585 | am__EXEEXT_TRUE |
| 586 | LTLIBOBJS |
| 587 | LIBOBJS |
Jeff Thompson | ca45e55 | 2013-06-26 17:40:06 -0700 | [diff] [blame] | 588 | DOXYGEN_PAPER_SIZE |
| 589 | DX_COND_latex_FALSE |
| 590 | DX_COND_latex_TRUE |
| 591 | DX_COND_pdf_FALSE |
| 592 | DX_COND_pdf_TRUE |
| 593 | DX_PDFLATEX |
| 594 | DX_FLAG_pdf |
| 595 | DX_COND_ps_FALSE |
| 596 | DX_COND_ps_TRUE |
| 597 | DX_EGREP |
| 598 | DX_DVIPS |
| 599 | DX_MAKEINDEX |
| 600 | DX_LATEX |
| 601 | DX_FLAG_ps |
| 602 | DX_COND_html_FALSE |
| 603 | DX_COND_html_TRUE |
| 604 | DX_FLAG_html |
| 605 | DX_COND_chi_FALSE |
| 606 | DX_COND_chi_TRUE |
| 607 | DX_FLAG_chi |
| 608 | DX_COND_chm_FALSE |
| 609 | DX_COND_chm_TRUE |
| 610 | DX_HHC |
| 611 | DX_FLAG_chm |
| 612 | DX_COND_xml_FALSE |
| 613 | DX_COND_xml_TRUE |
| 614 | DX_FLAG_xml |
| 615 | DX_COND_rtf_FALSE |
| 616 | DX_COND_rtf_TRUE |
| 617 | DX_FLAG_rtf |
| 618 | DX_COND_man_FALSE |
| 619 | DX_COND_man_TRUE |
| 620 | DX_FLAG_man |
| 621 | DX_COND_dot_FALSE |
| 622 | DX_COND_dot_TRUE |
| 623 | DX_DOT |
| 624 | DX_FLAG_dot |
| 625 | DX_COND_doc_FALSE |
| 626 | DX_COND_doc_TRUE |
| 627 | DX_PERL |
| 628 | DX_DOXYGEN |
| 629 | DX_FLAG_doc |
| 630 | DX_ENV |
| 631 | DX_DOCDIR |
| 632 | DX_CONFIG |
| 633 | DX_PROJECT |
Jeff Thompson | 1b8f4c9 | 2013-06-19 16:18:46 -0700 | [diff] [blame] | 634 | HAVE_CXX11 |
Jeff Thompson | 3617406 | 2013-06-21 16:03:44 -0700 | [diff] [blame] | 635 | am__fastdepCC_FALSE |
| 636 | am__fastdepCC_TRUE |
| 637 | CCDEPMODE |
| 638 | ac_ct_CC |
| 639 | CFLAGS |
| 640 | CC |
Jeff Thompson | 3b3aabf | 2013-06-21 16:50:20 -0700 | [diff] [blame] | 641 | ac_ct_AR |
| 642 | AR |
| 643 | RANLIB |
Jeff Thompson | 39128c6 | 2013-06-19 14:08:51 -0700 | [diff] [blame] | 644 | am__fastdepCXX_FALSE |
| 645 | am__fastdepCXX_TRUE |
| 646 | CXXDEPMODE |
| 647 | am__nodep |
| 648 | AMDEPBACKSLASH |
| 649 | AMDEP_FALSE |
| 650 | AMDEP_TRUE |
| 651 | am__quote |
| 652 | am__include |
| 653 | DEPDIR |
| 654 | OBJEXT |
| 655 | EXEEXT |
| 656 | ac_ct_CXX |
| 657 | CPPFLAGS |
| 658 | LDFLAGS |
| 659 | CXXFLAGS |
| 660 | CXX |
Jeff Thompson | 47053ad | 2013-08-05 10:36:53 -0700 | [diff] [blame] | 661 | MAINT |
| 662 | MAINTAINER_MODE_FALSE |
| 663 | MAINTAINER_MODE_TRUE |
Jeff Thompson | 39128c6 | 2013-06-19 14:08:51 -0700 | [diff] [blame] | 664 | AM_BACKSLASH |
| 665 | AM_DEFAULT_VERBOSITY |
| 666 | AM_DEFAULT_V |
| 667 | AM_V |
| 668 | am__untar |
| 669 | am__tar |
| 670 | AMTAR |
| 671 | am__leading_dot |
| 672 | SET_MAKE |
| 673 | AWK |
| 674 | mkdir_p |
| 675 | MKDIR_P |
| 676 | INSTALL_STRIP_PROGRAM |
| 677 | STRIP |
| 678 | install_sh |
| 679 | MAKEINFO |
| 680 | AUTOHEADER |
| 681 | AUTOMAKE |
| 682 | AUTOCONF |
| 683 | ACLOCAL |
| 684 | VERSION |
| 685 | PACKAGE |
| 686 | CYGPATH_W |
| 687 | am__isrc |
| 688 | INSTALL_DATA |
| 689 | INSTALL_SCRIPT |
| 690 | INSTALL_PROGRAM |
| 691 | target_alias |
| 692 | host_alias |
| 693 | build_alias |
| 694 | LIBS |
| 695 | ECHO_T |
| 696 | ECHO_N |
| 697 | ECHO_C |
| 698 | DEFS |
| 699 | mandir |
| 700 | localedir |
| 701 | libdir |
| 702 | psdir |
| 703 | pdfdir |
| 704 | dvidir |
| 705 | htmldir |
| 706 | infodir |
| 707 | docdir |
| 708 | oldincludedir |
| 709 | includedir |
| 710 | localstatedir |
| 711 | sharedstatedir |
| 712 | sysconfdir |
| 713 | datadir |
| 714 | datarootdir |
| 715 | libexecdir |
| 716 | sbindir |
| 717 | bindir |
| 718 | program_transform_name |
| 719 | prefix |
| 720 | exec_prefix |
| 721 | PACKAGE_URL |
| 722 | PACKAGE_BUGREPORT |
| 723 | PACKAGE_STRING |
| 724 | PACKAGE_VERSION |
| 725 | PACKAGE_TARNAME |
| 726 | PACKAGE_NAME |
| 727 | PATH_SEPARATOR |
| 728 | SHELL' |
| 729 | ac_subst_files='' |
| 730 | ac_user_opts=' |
| 731 | enable_option_checking |
| 732 | enable_silent_rules |
Jeff Thompson | 47053ad | 2013-08-05 10:36:53 -0700 | [diff] [blame] | 733 | enable_maintainer_mode |
Jeff Thompson | 39128c6 | 2013-06-19 14:08:51 -0700 | [diff] [blame] | 734 | enable_dependency_tracking |
Jeff Thompson | ca45e55 | 2013-06-26 17:40:06 -0700 | [diff] [blame] | 735 | enable_doxygen_doc |
| 736 | enable_doxygen_dot |
| 737 | enable_doxygen_man |
| 738 | enable_doxygen_rtf |
| 739 | enable_doxygen_xml |
| 740 | enable_doxygen_chm |
| 741 | enable_doxygen_chi |
| 742 | enable_doxygen_html |
| 743 | enable_doxygen_ps |
| 744 | enable_doxygen_pdf |
Jeff Thompson | 39128c6 | 2013-06-19 14:08:51 -0700 | [diff] [blame] | 745 | ' |
| 746 | ac_precious_vars='build_alias |
| 747 | host_alias |
| 748 | target_alias |
| 749 | CXX |
| 750 | CXXFLAGS |
| 751 | LDFLAGS |
| 752 | LIBS |
| 753 | CPPFLAGS |
Jeff Thompson | 3617406 | 2013-06-21 16:03:44 -0700 | [diff] [blame] | 754 | CCC |
| 755 | CC |
Jeff Thompson | ca45e55 | 2013-06-26 17:40:06 -0700 | [diff] [blame] | 756 | CFLAGS |
| 757 | DOXYGEN_PAPER_SIZE' |
Jeff Thompson | 39128c6 | 2013-06-19 14:08:51 -0700 | [diff] [blame] | 758 | |
| 759 | |
| 760 | # Initialize some variables set by options. |
| 761 | ac_init_help= |
| 762 | ac_init_version=false |
| 763 | ac_unrecognized_opts= |
| 764 | ac_unrecognized_sep= |
| 765 | # The variables have the same names as the options, with |
| 766 | # dashes changed to underlines. |
| 767 | cache_file=/dev/null |
| 768 | exec_prefix=NONE |
| 769 | no_create= |
| 770 | no_recursion= |
| 771 | prefix=NONE |
| 772 | program_prefix=NONE |
| 773 | program_suffix=NONE |
| 774 | program_transform_name=s,x,x, |
| 775 | silent= |
| 776 | site= |
| 777 | srcdir= |
| 778 | verbose= |
| 779 | x_includes=NONE |
| 780 | x_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.) |
| 788 | bindir='${exec_prefix}/bin' |
| 789 | sbindir='${exec_prefix}/sbin' |
| 790 | libexecdir='${exec_prefix}/libexec' |
| 791 | datarootdir='${prefix}/share' |
| 792 | datadir='${datarootdir}' |
| 793 | sysconfdir='${prefix}/etc' |
| 794 | sharedstatedir='${prefix}/com' |
| 795 | localstatedir='${prefix}/var' |
| 796 | includedir='${prefix}/include' |
| 797 | oldincludedir='/usr/include' |
| 798 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
| 799 | infodir='${datarootdir}/info' |
| 800 | htmldir='${docdir}' |
| 801 | dvidir='${docdir}' |
| 802 | pdfdir='${docdir}' |
| 803 | psdir='${docdir}' |
| 804 | libdir='${exec_prefix}/lib' |
| 805 | localedir='${datarootdir}/locale' |
| 806 | mandir='${datarootdir}/man' |
| 807 | |
| 808 | ac_prev= |
| 809 | ac_dashdash= |
| 810 | for ac_option |
| 811 | do |
| 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' |
| 1144 | Try \`$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 |
| 1166 | done |
| 1167 | |
| 1168 | if test -n "$ac_prev"; then |
| 1169 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
| 1170 | as_fn_error $? "missing argument to $ac_option" |
| 1171 | fi |
| 1172 | |
| 1173 | if 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 |
| 1179 | fi |
| 1180 | |
| 1181 | # Check all directory arguments for consistency. |
| 1182 | for 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 |
| 1186 | do |
| 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" |
| 1200 | done |
| 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. |
| 1205 | build=$build_alias |
| 1206 | host=$host_alias |
| 1207 | target=$target_alias |
| 1208 | |
| 1209 | # FIXME: To remove some day. |
| 1210 | if 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 |
| 1216 | fi |
| 1217 | |
| 1218 | ac_tool_prefix= |
| 1219 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
| 1220 | |
| 1221 | test "$silent" = yes && exec 6>/dev/null |
| 1222 | |
| 1223 | |
| 1224 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
| 1225 | ac_ls_di=`ls -di .` && |
| 1226 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
| 1227 | as_fn_error $? "working directory cannot be determined" |
| 1228 | test "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. |
| 1233 | if 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 |
| 1263 | else |
| 1264 | ac_srcdir_defaulted=no |
| 1265 | fi |
| 1266 | if 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" |
| 1269 | fi |
| 1270 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
| 1271 | ac_abs_confdir=`( |
| 1272 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
| 1273 | pwd)` |
| 1274 | # When building in place, set srcdir=. |
| 1275 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
| 1276 | srcdir=. |
| 1277 | fi |
| 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. |
| 1281 | case $srcdir in |
| 1282 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
| 1283 | esac |
| 1284 | for 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} |
| 1289 | done |
| 1290 | |
| 1291 | # |
| 1292 | # Report the --help message. |
| 1293 | # |
| 1294 | if 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 | |
| 1300 | Usage: $0 [OPTION]... [VAR=VALUE]... |
| 1301 | |
| 1302 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
| 1303 | VAR=VALUE. See below for descriptions of some of the useful variables. |
| 1304 | |
| 1305 | Defaults for the options are specified in brackets. |
| 1306 | |
| 1307 | Configuration: |
| 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 | |
| 1318 | Installation 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 | |
| 1324 | By default, \`make install' will install all the files in |
| 1325 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
| 1326 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
| 1327 | for instance \`--prefix=\$HOME'. |
| 1328 | |
| 1329 | For better control, use the options below. |
| 1330 | |
| 1331 | Fine 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 | |
| 1355 | Program 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 |
| 1360 | fi |
| 1361 | |
| 1362 | if 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 | |
| 1368 | Optional 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 Thompson | 47053ad | 2013-08-05 10:36:53 -0700 | [diff] [blame] | 1374 | --enable-maintainer-mode |
| 1375 | enable make rules and dependencies not useful (and |
| 1376 | sometimes confusing) to the casual installer |
Jeff Thompson | 39128c6 | 2013-06-19 14:08:51 -0700 | [diff] [blame] | 1377 | --enable-dependency-tracking |
| 1378 | do not reject slow dependency extractors |
| 1379 | --disable-dependency-tracking |
| 1380 | speeds up one-time build |
Jeff Thompson | ca45e55 | 2013-06-26 17:40:06 -0700 | [diff] [blame] | 1381 | --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 Thompson | 39128c6 | 2013-06-19 14:08:51 -0700 | [diff] [blame] | 1392 | |
| 1393 | Some 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 Thompson | 3617406 | 2013-06-21 16:03:44 -0700 | [diff] [blame] | 1401 | CC C compiler command |
| 1402 | CFLAGS C compiler flags |
Jeff Thompson | ca45e55 | 2013-06-26 17:40:06 -0700 | [diff] [blame] | 1403 | DOXYGEN_PAPER_SIZE |
| 1404 | a4wide (default), a4, letter, legal or executive |
Jeff Thompson | 39128c6 | 2013-06-19 14:08:51 -0700 | [diff] [blame] | 1405 | |
| 1406 | Use these variables to override the choices made by `configure' or to help |
| 1407 | it to find libraries and programs with nonstandard names/locations. |
| 1408 | |
| 1409 | Report bugs to the package provider. |
| 1410 | ndn-cpp home page: <https://github.com/named-data/ndn-cpp>. |
| 1411 | _ACEOF |
| 1412 | ac_status=$? |
| 1413 | fi |
| 1414 | |
| 1415 | if 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 | |
| 1423 | case "$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 ;; |
| 1433 | esac |
| 1434 | ac_abs_top_builddir=$ac_pwd |
| 1435 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
| 1436 | # for backward compatibility: |
| 1437 | ac_top_builddir=$ac_top_build_prefix |
| 1438 | |
| 1439 | case $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 ;; |
| 1452 | esac |
| 1453 | ac_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 |
| 1468 | fi |
| 1469 | |
| 1470 | test -n "$ac_init_help" && exit $ac_status |
| 1471 | if $ac_init_version; then |
| 1472 | cat <<\_ACEOF |
| 1473 | ndn-cpp configure 0.5 |
| 1474 | generated by GNU Autoconf 2.69 |
| 1475 | |
| 1476 | Copyright (C) 2012 Free Software Foundation, Inc. |
| 1477 | This configure script is free software; the Free Software Foundation |
| 1478 | gives unlimited permission to copy, distribute and modify it. |
| 1479 | _ACEOF |
| 1480 | exit |
| 1481 | fi |
| 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. |
| 1490 | ac_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" |
| 1495 | case "(($ac_try" in |
| 1496 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 1497 | *) ac_try_echo=$ac_try;; |
| 1498 | esac |
| 1499 | eval 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 |
| 1514 | else |
| 1515 | $as_echo "$as_me: failed program was:" >&5 |
| 1516 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 1517 | |
| 1518 | ac_retval=1 |
| 1519 | fi |
| 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 Thompson | 3617406 | 2013-06-21 16:03:44 -0700 | [diff] [blame] | 1524 | |
| 1525 | # ac_fn_c_try_compile LINENO |
| 1526 | # -------------------------- |
| 1527 | # Try to compile conftest.$ac_ext, and return whether this succeeded. |
| 1528 | ac_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" |
| 1533 | case "(($ac_try" in |
| 1534 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 1535 | *) ac_try_echo=$ac_try;; |
| 1536 | esac |
| 1537 | eval 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 |
| 1552 | else |
| 1553 | $as_echo "$as_me: failed program was:" >&5 |
| 1554 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 1555 | |
| 1556 | ac_retval=1 |
| 1557 | fi |
| 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 Thompson | 39128c6 | 2013-06-19 14:08:51 -0700 | [diff] [blame] | 1562 | cat >config.log <<_ACEOF |
| 1563 | This file contains any messages produced by compilers while |
| 1564 | running configure, to aid debugging if configure makes a mistake. |
| 1565 | |
| 1566 | It was created by ndn-cpp $as_me 0.5, which was |
| 1567 | generated by GNU Autoconf 2.69. Invocation command line was |
| 1568 | |
| 1569 | $ $0 $@ |
| 1570 | |
| 1571 | _ACEOF |
| 1572 | exec 5>>config.log |
| 1573 | { |
| 1574 | cat <<_ASUNAME |
| 1575 | ## --------- ## |
| 1576 | ## Platform. ## |
| 1577 | ## --------- ## |
| 1578 | |
| 1579 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
| 1580 | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
| 1581 | uname -r = `(uname -r) 2>/dev/null || echo unknown` |
| 1582 | uname -s = `(uname -s) 2>/dev/null || echo unknown` |
| 1583 | uname -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 | |
| 1598 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1599 | for as_dir in $PATH |
| 1600 | do |
| 1601 | IFS=$as_save_IFS |
| 1602 | test -z "$as_dir" && as_dir=. |
| 1603 | $as_echo "PATH: $as_dir" |
| 1604 | done |
| 1605 | IFS=$as_save_IFS |
| 1606 | |
| 1607 | } >&5 |
| 1608 | |
| 1609 | cat >&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. |
| 1624 | ac_configure_args= |
| 1625 | ac_configure_args0= |
| 1626 | ac_configure_args1= |
| 1627 | ac_must_keep_next=false |
| 1628 | for ac_pass in 1 2 |
| 1629 | do |
| 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 |
| 1663 | done |
| 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. |
| 1672 | trap '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 |
| 1759 | for ac_signal in 1 2 13 15; do |
| 1760 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
| 1761 | done |
| 1762 | ac_signal=0 |
| 1763 | |
| 1764 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
| 1765 | rm -f -r conftest* confdefs.h |
| 1766 | |
| 1767 | $as_echo "/* confdefs.h */" > confdefs.h |
| 1768 | |
| 1769 | # Predefined preprocessor variables. |
| 1770 | |
| 1771 | cat >>confdefs.h <<_ACEOF |
| 1772 | #define PACKAGE_NAME "$PACKAGE_NAME" |
| 1773 | _ACEOF |
| 1774 | |
| 1775 | cat >>confdefs.h <<_ACEOF |
| 1776 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
| 1777 | _ACEOF |
| 1778 | |
| 1779 | cat >>confdefs.h <<_ACEOF |
| 1780 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
| 1781 | _ACEOF |
| 1782 | |
| 1783 | cat >>confdefs.h <<_ACEOF |
| 1784 | #define PACKAGE_STRING "$PACKAGE_STRING" |
| 1785 | _ACEOF |
| 1786 | |
| 1787 | cat >>confdefs.h <<_ACEOF |
| 1788 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
| 1789 | _ACEOF |
| 1790 | |
| 1791 | cat >>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. |
| 1798 | ac_site_file1=NONE |
| 1799 | ac_site_file2=NONE |
| 1800 | if 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 |
| 1807 | elif test "x$prefix" != xNONE; then |
| 1808 | ac_site_file1=$prefix/share/config.site |
| 1809 | ac_site_file2=$prefix/etc/config.site |
| 1810 | else |
| 1811 | ac_site_file1=$ac_default_prefix/share/config.site |
| 1812 | ac_site_file2=$ac_default_prefix/etc/config.site |
| 1813 | fi |
| 1814 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
| 1815 | do |
| 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;} |
| 1824 | as_fn_error $? "failed to load site script $ac_site_file |
| 1825 | See \`config.log' for more details" "$LINENO" 5; } |
| 1826 | fi |
| 1827 | done |
| 1828 | |
| 1829 | if 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 |
| 1840 | else |
| 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 |
| 1844 | fi |
| 1845 | |
| 1846 | # Check that the precious variables saved in the cache have kept the same |
| 1847 | # value. |
| 1848 | ac_cache_corrupted=false |
| 1849 | for 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 |
| 1895 | done |
| 1896 | if $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 |
| 1902 | fi |
| 1903 | ## -------------------- ## |
| 1904 | ## Main body of script. ## |
| 1905 | ## -------------------- ## |
| 1906 | |
| 1907 | ac_ext=c |
| 1908 | ac_cpp='$CPP $CPPFLAGS' |
| 1909 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 1910 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 1911 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 1912 | |
| 1913 | |
| 1914 | |
| 1915 | am__api_version='1.13' |
| 1916 | |
| 1917 | ac_aux_dir= |
| 1918 | for 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 |
| 1932 | done |
| 1933 | if test -z "$ac_aux_dir"; then |
| 1934 | as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
| 1935 | fi |
| 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. |
| 1941 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
| 1942 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
| 1943 | ac_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; } |
| 1962 | if test -z "$INSTALL"; then |
| 1963 | if ${ac_cv_path_install+:} false; then : |
| 1964 | $as_echo_n "(cached) " >&6 |
| 1965 | else |
| 1966 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1967 | for as_dir in $PATH |
| 1968 | do |
| 1969 | IFS=$as_save_IFS |
| 1970 | test -z "$as_dir" && as_dir=. |
| 1971 | # Account for people who put trailing slashes in PATH elements. |
| 1972 | case $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 | ;; |
| 2010 | esac |
| 2011 | |
| 2012 | done |
| 2013 | IFS=$as_save_IFS |
| 2014 | |
| 2015 | rm -rf conftest.one conftest.two conftest.dir |
| 2016 | |
| 2017 | fi |
| 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 |
| 2027 | fi |
| 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. |
| 2033 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
| 2034 | |
| 2035 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
| 2036 | |
| 2037 | test -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. |
| 2043 | am_lf=' |
| 2044 | ' |
| 2045 | case `pwd` in |
| 2046 | *[\\\"\#\$\&\'\`$am_lf]*) |
| 2047 | as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; |
| 2048 | esac |
| 2049 | case $srcdir in |
| 2050 | *[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
| 2051 | as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; |
| 2052 | esac |
| 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). |
| 2059 | if ( |
| 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 | ) |
| 2087 | then |
| 2088 | # Ok. |
| 2089 | : |
| 2090 | else |
| 2091 | as_fn_error $? "newly created file is older than distributed files! |
| 2092 | Check your system clock" "$LINENO" 5 |
| 2093 | fi |
| 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. |
| 2098 | am_sleep_pid= |
| 2099 | if grep 'slept: no' conftest.file >/dev/null 2>&1; then |
| 2100 | ( sleep 1 ) & |
| 2101 | am_sleep_pid=$! |
| 2102 | fi |
| 2103 | |
| 2104 | rm -f conftest.file |
| 2105 | |
| 2106 | test "$program_prefix" != NONE && |
| 2107 | program_transform_name="s&^&$program_prefix&;$program_transform_name" |
| 2108 | # Use a double $ so make ignores it. |
| 2109 | test "$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. |
| 2113 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
| 2114 | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
| 2115 | |
| 2116 | # expand $ac_aux_dir to an absolute path |
| 2117 | am_aux_dir=`cd $ac_aux_dir && pwd` |
| 2118 | |
| 2119 | if 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 |
| 2126 | fi |
| 2127 | # Use eval to expand $SHELL |
| 2128 | if eval "$MISSING --is-lightweight"; then |
| 2129 | am_missing_run="$MISSING " |
| 2130 | else |
| 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;} |
| 2134 | fi |
| 2135 | |
| 2136 | if 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 |
| 2143 | fi |
| 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. |
| 2149 | if 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. |
| 2152 | set 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; } |
| 2155 | if ${ac_cv_prog_STRIP+:} false; then : |
| 2156 | $as_echo_n "(cached) " >&6 |
| 2157 | else |
| 2158 | if test -n "$STRIP"; then |
| 2159 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
| 2160 | else |
| 2161 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2162 | for as_dir in $PATH |
| 2163 | do |
| 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 |
| 2172 | done |
| 2173 | done |
| 2174 | IFS=$as_save_IFS |
| 2175 | |
| 2176 | fi |
| 2177 | fi |
| 2178 | STRIP=$ac_cv_prog_STRIP |
| 2179 | if test -n "$STRIP"; then |
| 2180 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
| 2181 | $as_echo "$STRIP" >&6; } |
| 2182 | else |
| 2183 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2184 | $as_echo "no" >&6; } |
| 2185 | fi |
| 2186 | |
| 2187 | |
| 2188 | fi |
| 2189 | if 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. |
| 2192 | set 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; } |
| 2195 | if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
| 2196 | $as_echo_n "(cached) " >&6 |
| 2197 | else |
| 2198 | if test -n "$ac_ct_STRIP"; then |
| 2199 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
| 2200 | else |
| 2201 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2202 | for as_dir in $PATH |
| 2203 | do |
| 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 |
| 2212 | done |
| 2213 | done |
| 2214 | IFS=$as_save_IFS |
| 2215 | |
| 2216 | fi |
| 2217 | fi |
| 2218 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
| 2219 | if 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; } |
| 2222 | else |
| 2223 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2224 | $as_echo "no" >&6; } |
| 2225 | fi |
| 2226 | |
| 2227 | if test "x$ac_ct_STRIP" = x; then |
| 2228 | STRIP=":" |
| 2229 | else |
| 2230 | case $cross_compiling:$ac_tool_warned in |
| 2231 | yes:) |
| 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;} |
| 2234 | ac_tool_warned=yes ;; |
| 2235 | esac |
| 2236 | STRIP=$ac_ct_STRIP |
| 2237 | fi |
| 2238 | else |
| 2239 | STRIP="$ac_cv_prog_STRIP" |
| 2240 | fi |
| 2241 | |
| 2242 | fi |
| 2243 | INSTALL_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; } |
| 2247 | if test -z "$MKDIR_P"; then |
| 2248 | if ${ac_cv_path_mkdir+:} false; then : |
| 2249 | $as_echo_n "(cached) " >&6 |
| 2250 | else |
| 2251 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2252 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
| 2253 | do |
| 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 |
| 2269 | IFS=$as_save_IFS |
| 2270 | |
| 2271 | fi |
| 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 |
| 2283 | fi |
| 2284 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
| 2285 | $as_echo "$MKDIR_P" >&6; } |
| 2286 | |
| 2287 | for ac_prog in gawk mawk nawk awk |
| 2288 | do |
| 2289 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2290 | set 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; } |
| 2293 | if ${ac_cv_prog_AWK+:} false; then : |
| 2294 | $as_echo_n "(cached) " >&6 |
| 2295 | else |
| 2296 | if test -n "$AWK"; then |
| 2297 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
| 2298 | else |
| 2299 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2300 | for as_dir in $PATH |
| 2301 | do |
| 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 |
| 2310 | done |
| 2311 | done |
| 2312 | IFS=$as_save_IFS |
| 2313 | |
| 2314 | fi |
| 2315 | fi |
| 2316 | AWK=$ac_cv_prog_AWK |
| 2317 | if test -n "$AWK"; then |
| 2318 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
| 2319 | $as_echo "$AWK" >&6; } |
| 2320 | else |
| 2321 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2322 | $as_echo "no" >&6; } |
| 2323 | fi |
| 2324 | |
| 2325 | |
| 2326 | test -n "$AWK" && break |
| 2327 | done |
| 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; } |
| 2331 | set x ${MAKE-make} |
| 2332 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
| 2333 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
| 2334 | $as_echo_n "(cached) " >&6 |
| 2335 | else |
| 2336 | cat >conftest.make <<\_ACEOF |
| 2337 | SHELL = /bin/sh |
| 2338 | all: |
| 2339 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
| 2340 | _ACEOF |
| 2341 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
| 2342 | case `${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;; |
| 2347 | esac |
| 2348 | rm -f conftest.make |
| 2349 | fi |
| 2350 | if 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= |
| 2354 | else |
| 2355 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2356 | $as_echo "no" >&6; } |
| 2357 | SET_MAKE="MAKE=${MAKE-make}" |
| 2358 | fi |
| 2359 | |
| 2360 | rm -rf .tst 2>/dev/null |
| 2361 | mkdir .tst 2>/dev/null |
| 2362 | if test -d .tst; then |
| 2363 | am__leading_dot=. |
| 2364 | else |
| 2365 | am__leading_dot=_ |
| 2366 | fi |
| 2367 | rmdir .tst 2>/dev/null |
| 2368 | |
| 2369 | # Check whether --enable-silent-rules was given. |
| 2370 | if test "${enable_silent_rules+set}" = set; then : |
| 2371 | enableval=$enable_silent_rules; |
| 2372 | fi |
| 2373 | |
| 2374 | case $enable_silent_rules in # ((( |
| 2375 | yes) AM_DEFAULT_VERBOSITY=0;; |
| 2376 | no) AM_DEFAULT_VERBOSITY=1;; |
| 2377 | *) AM_DEFAULT_VERBOSITY=1;; |
| 2378 | esac |
| 2379 | am_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; } |
| 2382 | if ${am_cv_make_support_nested_variables+:} false; then : |
| 2383 | $as_echo_n "(cached) " >&6 |
| 2384 | else |
| 2385 | if $as_echo 'TRUE=$(BAR$(V)) |
| 2386 | BAR0=false |
| 2387 | BAR1=true |
| 2388 | V=1 |
| 2389 | am__doit: |
| 2390 | @$(TRUE) |
| 2391 | .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then |
| 2392 | am_cv_make_support_nested_variables=yes |
| 2393 | else |
| 2394 | am_cv_make_support_nested_variables=no |
| 2395 | fi |
| 2396 | fi |
| 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; } |
| 2399 | if test $am_cv_make_support_nested_variables = yes; then |
| 2400 | AM_V='$(V)' |
| 2401 | AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
| 2402 | else |
| 2403 | AM_V=$AM_DEFAULT_VERBOSITY |
| 2404 | AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
| 2405 | fi |
| 2406 | AM_BACKSLASH='\' |
| 2407 | |
| 2408 | if 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 |
| 2416 | fi |
| 2417 | |
| 2418 | # test whether we have cygpath |
| 2419 | if 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 |
| 2425 | fi |
| 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 | |
| 2435 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
| 2436 | |
| 2437 | |
| 2438 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
| 2439 | |
| 2440 | |
| 2441 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
| 2442 | |
| 2443 | |
| 2444 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
| 2445 | |
| 2446 | |
| 2447 | MAKEINFO=${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> |
| 2453 | mkdir_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 ... |
| 2459 | AMTAR='$${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 | |
| 2465 | am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
| 2466 | |
| 2467 | |
| 2468 | |
| 2469 | |
| 2470 | |
| 2471 | |
| 2472 | |
| 2473 | ac_config_headers="$ac_config_headers config.h" |
| 2474 | |
Jeff Thompson | 47053ad | 2013-08-05 10:36:53 -0700 | [diff] [blame] | 2475 | |
| 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. |
| 2479 | if test "${enable_maintainer_mode+set}" = set; then : |
| 2480 | enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval |
| 2481 | else |
| 2482 | USE_MAINTAINER_MODE=no |
| 2483 | fi |
| 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='#' |
| 2490 | else |
| 2491 | MAINTAINER_MODE_TRUE='#' |
| 2492 | MAINTAINER_MODE_FALSE= |
| 2493 | fi |
| 2494 | |
| 2495 | MAINT=$MAINTAINER_MODE_TRUE |
| 2496 | |
| 2497 | |
Jeff Thompson | 39128c6 | 2013-06-19 14:08:51 -0700 | [diff] [blame] | 2498 | ac_ext=cpp |
| 2499 | ac_cpp='$CXXCPP $CPPFLAGS' |
| 2500 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 2501 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 2502 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 2503 | if 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. |
| 2511 | set 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; } |
| 2514 | if ${ac_cv_prog_CXX+:} false; then : |
| 2515 | $as_echo_n "(cached) " >&6 |
| 2516 | else |
| 2517 | if test -n "$CXX"; then |
| 2518 | ac_cv_prog_CXX="$CXX" # Let the user override the test. |
| 2519 | else |
| 2520 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2521 | for as_dir in $PATH |
| 2522 | do |
| 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 |
| 2531 | done |
| 2532 | done |
| 2533 | IFS=$as_save_IFS |
| 2534 | |
| 2535 | fi |
| 2536 | fi |
| 2537 | CXX=$ac_cv_prog_CXX |
| 2538 | if test -n "$CXX"; then |
| 2539 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 |
| 2540 | $as_echo "$CXX" >&6; } |
| 2541 | else |
| 2542 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2543 | $as_echo "no" >&6; } |
| 2544 | fi |
| 2545 | |
| 2546 | |
| 2547 | test -n "$CXX" && break |
| 2548 | done |
| 2549 | fi |
| 2550 | if 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 |
| 2553 | do |
| 2554 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2555 | set 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; } |
| 2558 | if ${ac_cv_prog_ac_ct_CXX+:} false; then : |
| 2559 | $as_echo_n "(cached) " >&6 |
| 2560 | else |
| 2561 | if test -n "$ac_ct_CXX"; then |
| 2562 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
| 2563 | else |
| 2564 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2565 | for as_dir in $PATH |
| 2566 | do |
| 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 |
| 2575 | done |
| 2576 | done |
| 2577 | IFS=$as_save_IFS |
| 2578 | |
| 2579 | fi |
| 2580 | fi |
| 2581 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
| 2582 | if 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; } |
| 2585 | else |
| 2586 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2587 | $as_echo "no" >&6; } |
| 2588 | fi |
| 2589 | |
| 2590 | |
| 2591 | test -n "$ac_ct_CXX" && break |
| 2592 | done |
| 2593 | |
| 2594 | if test "x$ac_ct_CXX" = x; then |
| 2595 | CXX="g++" |
| 2596 | else |
| 2597 | case $cross_compiling:$ac_tool_warned in |
| 2598 | yes:) |
| 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;} |
| 2601 | ac_tool_warned=yes ;; |
| 2602 | esac |
| 2603 | CXX=$ac_ct_CXX |
| 2604 | fi |
| 2605 | fi |
| 2606 | |
| 2607 | fi |
| 2608 | fi |
| 2609 | # Provide some information about the compiler. |
| 2610 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 |
| 2611 | set X $ac_compile |
| 2612 | ac_compiler=$2 |
| 2613 | for ac_option in --version -v -V -qversion; do |
| 2614 | { { ac_try="$ac_compiler $ac_option >&5" |
| 2615 | case "(($ac_try" in |
| 2616 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2617 | *) ac_try_echo=$ac_try;; |
| 2618 | esac |
| 2619 | eval 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; } |
| 2632 | done |
| 2633 | |
| 2634 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2635 | /* end confdefs.h. */ |
| 2636 | |
| 2637 | int |
| 2638 | main () |
| 2639 | { |
| 2640 | |
| 2641 | ; |
| 2642 | return 0; |
| 2643 | } |
| 2644 | _ACEOF |
| 2645 | ac_clean_files_save=$ac_clean_files |
| 2646 | ac_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; } |
| 2652 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
| 2653 | |
| 2654 | # The possible output files: |
| 2655 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
| 2656 | |
| 2657 | ac_rmfiles= |
| 2658 | for ac_file in $ac_files |
| 2659 | do |
| 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 |
| 2664 | done |
| 2665 | rm -f $ac_rmfiles |
| 2666 | |
| 2667 | if { { ac_try="$ac_link_default" |
| 2668 | case "(($ac_try" in |
| 2669 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2670 | *) ac_try_echo=$ac_try;; |
| 2671 | esac |
| 2672 | eval 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. |
| 2683 | for ac_file in $ac_files '' |
| 2684 | do |
| 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 |
| 2707 | done |
| 2708 | test "$ac_cv_exeext" = no && ac_cv_exeext= |
| 2709 | |
| 2710 | else |
| 2711 | ac_file='' |
| 2712 | fi |
| 2713 | if 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 |
| 2717 | sed '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;} |
| 2721 | as_fn_error 77 "C++ compiler cannot create executables |
| 2722 | See \`config.log' for more details" "$LINENO" 5; } |
| 2723 | else |
| 2724 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 2725 | $as_echo "yes" >&6; } |
| 2726 | fi |
| 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; } |
| 2731 | ac_exeext=$ac_cv_exeext |
| 2732 | |
| 2733 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
| 2734 | ac_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; } |
| 2737 | if { { ac_try="$ac_link" |
| 2738 | case "(($ac_try" in |
| 2739 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2740 | *) ac_try_echo=$ac_try;; |
| 2741 | esac |
| 2742 | eval 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'. |
| 2752 | for 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 |
| 2760 | done |
| 2761 | else |
| 2762 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 2763 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 2764 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
| 2765 | See \`config.log' for more details" "$LINENO" 5; } |
| 2766 | fi |
| 2767 | rm -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 | |
| 2771 | rm -f conftest.$ac_ext |
| 2772 | EXEEXT=$ac_cv_exeext |
| 2773 | ac_exeext=$EXEEXT |
| 2774 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2775 | /* end confdefs.h. */ |
| 2776 | #include <stdio.h> |
| 2777 | int |
| 2778 | main () |
| 2779 | { |
| 2780 | FILE *f = fopen ("conftest.out", "w"); |
| 2781 | return ferror (f) || fclose (f) != 0; |
| 2782 | |
| 2783 | ; |
| 2784 | return 0; |
| 2785 | } |
| 2786 | _ACEOF |
| 2787 | ac_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; } |
| 2792 | if test "$cross_compiling" != yes; then |
| 2793 | { { ac_try="$ac_link" |
| 2794 | case "(($ac_try" in |
| 2795 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2796 | *) ac_try_echo=$ac_try;; |
| 2797 | esac |
| 2798 | eval 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;; |
| 2808 | esac |
| 2809 | eval 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;} |
| 2822 | as_fn_error $? "cannot run C++ compiled programs. |
| 2823 | If you meant to cross compile, use \`--host'. |
| 2824 | See \`config.log' for more details" "$LINENO" 5; } |
| 2825 | fi |
| 2826 | fi |
| 2827 | fi |
| 2828 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
| 2829 | $as_echo "$cross_compiling" >&6; } |
| 2830 | |
| 2831 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
| 2832 | ac_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; } |
| 2835 | if ${ac_cv_objext+:} false; then : |
| 2836 | $as_echo_n "(cached) " >&6 |
| 2837 | else |
| 2838 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2839 | /* end confdefs.h. */ |
| 2840 | |
| 2841 | int |
| 2842 | main () |
| 2843 | { |
| 2844 | |
| 2845 | ; |
| 2846 | return 0; |
| 2847 | } |
| 2848 | _ACEOF |
| 2849 | rm -f conftest.o conftest.obj |
| 2850 | if { { ac_try="$ac_compile" |
| 2851 | case "(($ac_try" in |
| 2852 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2853 | *) ac_try_echo=$ac_try;; |
| 2854 | esac |
| 2855 | eval 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 |
| 2868 | done |
| 2869 | else |
| 2870 | $as_echo "$as_me: failed program was:" >&5 |
| 2871 | sed '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;} |
| 2875 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
| 2876 | See \`config.log' for more details" "$LINENO" 5; } |
| 2877 | fi |
| 2878 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
| 2879 | fi |
| 2880 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
| 2881 | $as_echo "$ac_cv_objext" >&6; } |
| 2882 | OBJEXT=$ac_cv_objext |
| 2883 | ac_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; } |
| 2886 | if ${ac_cv_cxx_compiler_gnu+:} false; then : |
| 2887 | $as_echo_n "(cached) " >&6 |
| 2888 | else |
| 2889 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2890 | /* end confdefs.h. */ |
| 2891 | |
| 2892 | int |
| 2893 | main () |
| 2894 | { |
| 2895 | #ifndef __GNUC__ |
| 2896 | choke me |
| 2897 | #endif |
| 2898 | |
| 2899 | ; |
| 2900 | return 0; |
| 2901 | } |
| 2902 | _ACEOF |
| 2903 | if ac_fn_cxx_try_compile "$LINENO"; then : |
| 2904 | ac_compiler_gnu=yes |
| 2905 | else |
| 2906 | ac_compiler_gnu=no |
| 2907 | fi |
| 2908 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2909 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
| 2910 | |
| 2911 | fi |
| 2912 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 |
| 2913 | $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } |
| 2914 | if test $ac_compiler_gnu = yes; then |
| 2915 | GXX=yes |
| 2916 | else |
| 2917 | GXX= |
| 2918 | fi |
| 2919 | ac_test_CXXFLAGS=${CXXFLAGS+set} |
| 2920 | ac_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; } |
| 2923 | if ${ac_cv_prog_cxx_g+:} false; then : |
| 2924 | $as_echo_n "(cached) " >&6 |
| 2925 | else |
| 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 | |
| 2933 | int |
| 2934 | main () |
| 2935 | { |
| 2936 | |
| 2937 | ; |
| 2938 | return 0; |
| 2939 | } |
| 2940 | _ACEOF |
| 2941 | if ac_fn_cxx_try_compile "$LINENO"; then : |
| 2942 | ac_cv_prog_cxx_g=yes |
| 2943 | else |
| 2944 | CXXFLAGS="" |
| 2945 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2946 | /* end confdefs.h. */ |
| 2947 | |
| 2948 | int |
| 2949 | main () |
| 2950 | { |
| 2951 | |
| 2952 | ; |
| 2953 | return 0; |
| 2954 | } |
| 2955 | _ACEOF |
| 2956 | if ac_fn_cxx_try_compile "$LINENO"; then : |
| 2957 | |
| 2958 | else |
| 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 | |
| 2964 | int |
| 2965 | main () |
| 2966 | { |
| 2967 | |
| 2968 | ; |
| 2969 | return 0; |
| 2970 | } |
| 2971 | _ACEOF |
| 2972 | if ac_fn_cxx_try_compile "$LINENO"; then : |
| 2973 | ac_cv_prog_cxx_g=yes |
| 2974 | fi |
| 2975 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2976 | fi |
| 2977 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2978 | fi |
| 2979 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2980 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
| 2981 | fi |
| 2982 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 |
| 2983 | $as_echo "$ac_cv_prog_cxx_g" >&6; } |
| 2984 | if test "$ac_test_CXXFLAGS" = set; then |
| 2985 | CXXFLAGS=$ac_save_CXXFLAGS |
| 2986 | elif 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 |
| 2992 | else |
| 2993 | if test "$GXX" = yes; then |
| 2994 | CXXFLAGS="-O2" |
| 2995 | else |
| 2996 | CXXFLAGS= |
| 2997 | fi |
| 2998 | fi |
| 2999 | ac_ext=c |
| 3000 | ac_cpp='$CPP $CPPFLAGS' |
| 3001 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3002 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3003 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3004 | DEPDIR="${am__leading_dot}deps" |
| 3005 | |
| 3006 | ac_config_commands="$ac_config_commands depfiles" |
| 3007 | |
| 3008 | |
| 3009 | am_make=${MAKE-make} |
| 3010 | cat > confinc << 'END' |
| 3011 | am__doit: |
| 3012 | @echo this is the am__doit target |
| 3013 | .PHONY: am__doit |
| 3014 | END |
| 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; } |
| 3018 | am__include="#" |
| 3019 | am__quote= |
| 3020 | _am_result=none |
| 3021 | # First try GNU make style include. |
| 3022 | echo "include confinc" > confmf |
| 3023 | # Ignore all kinds of additional output from 'make'. |
| 3024 | case `$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 | ;; |
| 3030 | esac |
| 3031 | # Now try BSD make style include. |
| 3032 | if 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 |
| 3041 | fi |
| 3042 | |
| 3043 | |
| 3044 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
| 3045 | $as_echo "$_am_result" >&6; } |
| 3046 | rm -f confinc confmf |
| 3047 | |
| 3048 | # Check whether --enable-dependency-tracking was given. |
| 3049 | if test "${enable_dependency_tracking+set}" = set; then : |
| 3050 | enableval=$enable_dependency_tracking; |
| 3051 | fi |
| 3052 | |
| 3053 | if test "x$enable_dependency_tracking" != xno; then |
| 3054 | am_depcomp="$ac_aux_dir/depcomp" |
| 3055 | AMDEPBACKSLASH='\' |
| 3056 | am__nodep='_no' |
| 3057 | fi |
| 3058 | if test "x$enable_dependency_tracking" != xno; then |
| 3059 | AMDEP_TRUE= |
| 3060 | AMDEP_FALSE='#' |
| 3061 | else |
| 3062 | AMDEP_TRUE='#' |
| 3063 | AMDEP_FALSE= |
| 3064 | fi |
| 3065 | |
| 3066 | |
| 3067 | |
| 3068 | depcc="$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; } |
| 3072 | if ${am_cv_CXX_dependencies_compiler_type+:} false; then : |
| 3073 | $as_echo_n "(cached) " >&6 |
| 3074 | else |
| 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 |
| 3176 | else |
| 3177 | am_cv_CXX_dependencies_compiler_type=none |
| 3178 | fi |
| 3179 | |
| 3180 | fi |
| 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; } |
| 3183 | CXXDEPMODE=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='#' |
| 3190 | else |
| 3191 | am__fastdepCXX_TRUE='#' |
| 3192 | am__fastdepCXX_FALSE= |
| 3193 | fi |
| 3194 | |
| 3195 | |
Jeff Thompson | 3b3aabf | 2013-06-21 16:50:20 -0700 | [diff] [blame] | 3196 | if 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. |
| 3198 | set 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; } |
| 3201 | if ${ac_cv_prog_RANLIB+:} false; then : |
Jeff Thompson | 3617406 | 2013-06-21 16:03:44 -0700 | [diff] [blame] | 3202 | $as_echo_n "(cached) " >&6 |
| 3203 | else |
Jeff Thompson | 3b3aabf | 2013-06-21 16:50:20 -0700 | [diff] [blame] | 3204 | if test -n "$RANLIB"; then |
| 3205 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
| 3206 | else |
| 3207 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3208 | for as_dir in $PATH |
| 3209 | do |
| 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 |
| 3218 | done |
| 3219 | done |
| 3220 | IFS=$as_save_IFS |
Jeff Thompson | 3617406 | 2013-06-21 16:03:44 -0700 | [diff] [blame] | 3221 | |
| 3222 | fi |
Jeff Thompson | 3b3aabf | 2013-06-21 16:50:20 -0700 | [diff] [blame] | 3223 | fi |
| 3224 | RANLIB=$ac_cv_prog_RANLIB |
| 3225 | if test -n "$RANLIB"; then |
| 3226 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 |
| 3227 | $as_echo "$RANLIB" >&6; } |
| 3228 | else |
| 3229 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3230 | $as_echo "no" >&6; } |
| 3231 | fi |
Jeff Thompson | 3617406 | 2013-06-21 16:03:44 -0700 | [diff] [blame] | 3232 | |
| 3233 | |
Jeff Thompson | 3b3aabf | 2013-06-21 16:50:20 -0700 | [diff] [blame] | 3234 | fi |
| 3235 | if 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. |
| 3238 | set 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; } |
| 3241 | if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : |
Jeff Thompson | 3617406 | 2013-06-21 16:03:44 -0700 | [diff] [blame] | 3242 | $as_echo_n "(cached) " >&6 |
| 3243 | else |
Jeff Thompson | 3b3aabf | 2013-06-21 16:50:20 -0700 | [diff] [blame] | 3244 | if test -n "$ac_ct_RANLIB"; then |
| 3245 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
Jeff Thompson | 3617406 | 2013-06-21 16:03:44 -0700 | [diff] [blame] | 3246 | else |
Jeff Thompson | 3b3aabf | 2013-06-21 16:50:20 -0700 | [diff] [blame] | 3247 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3248 | for as_dir in $PATH |
| 3249 | do |
| 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 |
| 3258 | done |
| 3259 | done |
| 3260 | IFS=$as_save_IFS |
Jeff Thompson | 3617406 | 2013-06-21 16:03:44 -0700 | [diff] [blame] | 3261 | |
| 3262 | fi |
Jeff Thompson | 3b3aabf | 2013-06-21 16:50:20 -0700 | [diff] [blame] | 3263 | fi |
| 3264 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
| 3265 | if 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 Thompson | 3617406 | 2013-06-21 16:03:44 -0700 | [diff] [blame] | 3268 | else |
Jeff Thompson | 3b3aabf | 2013-06-21 16:50:20 -0700 | [diff] [blame] | 3269 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3270 | $as_echo "no" >&6; } |
Jeff Thompson | 3617406 | 2013-06-21 16:03:44 -0700 | [diff] [blame] | 3271 | fi |
| 3272 | |
Jeff Thompson | 3b3aabf | 2013-06-21 16:50:20 -0700 | [diff] [blame] | 3273 | if test "x$ac_ct_RANLIB" = x; then |
| 3274 | RANLIB=":" |
| 3275 | else |
| 3276 | case $cross_compiling:$ac_tool_warned in |
| 3277 | yes:) |
| 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;} |
| 3280 | ac_tool_warned=yes ;; |
Jeff Thompson | 3617406 | 2013-06-21 16:03:44 -0700 | [diff] [blame] | 3281 | esac |
Jeff Thompson | 3b3aabf | 2013-06-21 16:50:20 -0700 | [diff] [blame] | 3282 | RANLIB=$ac_ct_RANLIB |
| 3283 | fi |
| 3284 | else |
| 3285 | RANLIB="$ac_cv_prog_RANLIB" |
| 3286 | fi |
Jeff Thompson | 3617406 | 2013-06-21 16:03:44 -0700 | [diff] [blame] | 3287 | |
| 3288 | ac_ext=c |
| 3289 | ac_cpp='$CPP $CPPFLAGS' |
| 3290 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3291 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3292 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3293 | if 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. |
| 3295 | set 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; } |
| 3298 | if ${ac_cv_prog_CC+:} false; then : |
| 3299 | $as_echo_n "(cached) " >&6 |
| 3300 | else |
| 3301 | if test -n "$CC"; then |
| 3302 | ac_cv_prog_CC="$CC" # Let the user override the test. |
| 3303 | else |
| 3304 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3305 | for as_dir in $PATH |
| 3306 | do |
| 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 |
| 3315 | done |
| 3316 | done |
| 3317 | IFS=$as_save_IFS |
| 3318 | |
| 3319 | fi |
| 3320 | fi |
| 3321 | CC=$ac_cv_prog_CC |
| 3322 | if test -n "$CC"; then |
| 3323 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 3324 | $as_echo "$CC" >&6; } |
| 3325 | else |
| 3326 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3327 | $as_echo "no" >&6; } |
| 3328 | fi |
| 3329 | |
| 3330 | |
| 3331 | fi |
| 3332 | if 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. |
| 3335 | set 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; } |
| 3338 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
| 3339 | $as_echo_n "(cached) " >&6 |
| 3340 | else |
| 3341 | if test -n "$ac_ct_CC"; then |
| 3342 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 3343 | else |
| 3344 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3345 | for as_dir in $PATH |
| 3346 | do |
| 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 |
| 3355 | done |
| 3356 | done |
| 3357 | IFS=$as_save_IFS |
| 3358 | |
| 3359 | fi |
| 3360 | fi |
| 3361 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 3362 | if 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; } |
| 3365 | else |
| 3366 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3367 | $as_echo "no" >&6; } |
| 3368 | fi |
| 3369 | |
| 3370 | if test "x$ac_ct_CC" = x; then |
| 3371 | CC="" |
| 3372 | else |
| 3373 | case $cross_compiling:$ac_tool_warned in |
| 3374 | yes:) |
| 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;} |
| 3377 | ac_tool_warned=yes ;; |
| 3378 | esac |
| 3379 | CC=$ac_ct_CC |
| 3380 | fi |
| 3381 | else |
| 3382 | CC="$ac_cv_prog_CC" |
| 3383 | fi |
| 3384 | |
| 3385 | if 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. |
| 3388 | set 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; } |
| 3391 | if ${ac_cv_prog_CC+:} false; then : |
| 3392 | $as_echo_n "(cached) " >&6 |
| 3393 | else |
| 3394 | if test -n "$CC"; then |
| 3395 | ac_cv_prog_CC="$CC" # Let the user override the test. |
| 3396 | else |
| 3397 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3398 | for as_dir in $PATH |
| 3399 | do |
| 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 |
| 3408 | done |
| 3409 | done |
| 3410 | IFS=$as_save_IFS |
| 3411 | |
| 3412 | fi |
| 3413 | fi |
| 3414 | CC=$ac_cv_prog_CC |
| 3415 | if test -n "$CC"; then |
| 3416 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 3417 | $as_echo "$CC" >&6; } |
| 3418 | else |
| 3419 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3420 | $as_echo "no" >&6; } |
| 3421 | fi |
| 3422 | |
| 3423 | |
| 3424 | fi |
| 3425 | fi |
| 3426 | if test -z "$CC"; then |
| 3427 | # Extract the first word of "cc", so it can be a program name with args. |
| 3428 | set 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; } |
| 3431 | if ${ac_cv_prog_CC+:} false; then : |
| 3432 | $as_echo_n "(cached) " >&6 |
| 3433 | else |
| 3434 | if test -n "$CC"; then |
| 3435 | ac_cv_prog_CC="$CC" # Let the user override the test. |
| 3436 | else |
| 3437 | ac_prog_rejected=no |
| 3438 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3439 | for as_dir in $PATH |
| 3440 | do |
| 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 |
| 3453 | done |
| 3454 | done |
| 3455 | IFS=$as_save_IFS |
| 3456 | |
| 3457 | if 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 |
| 3468 | fi |
| 3469 | fi |
| 3470 | fi |
| 3471 | CC=$ac_cv_prog_CC |
| 3472 | if test -n "$CC"; then |
| 3473 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 3474 | $as_echo "$CC" >&6; } |
| 3475 | else |
| 3476 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3477 | $as_echo "no" >&6; } |
| 3478 | fi |
| 3479 | |
| 3480 | |
| 3481 | fi |
| 3482 | if 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. |
| 3487 | set 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; } |
| 3490 | if ${ac_cv_prog_CC+:} false; then : |
| 3491 | $as_echo_n "(cached) " >&6 |
| 3492 | else |
| 3493 | if test -n "$CC"; then |
| 3494 | ac_cv_prog_CC="$CC" # Let the user override the test. |
| 3495 | else |
| 3496 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3497 | for as_dir in $PATH |
| 3498 | do |
| 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 |
| 3507 | done |
| 3508 | done |
| 3509 | IFS=$as_save_IFS |
| 3510 | |
| 3511 | fi |
| 3512 | fi |
| 3513 | CC=$ac_cv_prog_CC |
| 3514 | if test -n "$CC"; then |
| 3515 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 3516 | $as_echo "$CC" >&6; } |
| 3517 | else |
| 3518 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3519 | $as_echo "no" >&6; } |
| 3520 | fi |
| 3521 | |
| 3522 | |
| 3523 | test -n "$CC" && break |
| 3524 | done |
| 3525 | fi |
| 3526 | if test -z "$CC"; then |
| 3527 | ac_ct_CC=$CC |
| 3528 | for ac_prog in cl.exe |
| 3529 | do |
| 3530 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 3531 | set 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; } |
| 3534 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
| 3535 | $as_echo_n "(cached) " >&6 |
| 3536 | else |
| 3537 | if test -n "$ac_ct_CC"; then |
| 3538 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 3539 | else |
| 3540 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3541 | for as_dir in $PATH |
| 3542 | do |
| 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 |
| 3551 | done |
| 3552 | done |
| 3553 | IFS=$as_save_IFS |
| 3554 | |
| 3555 | fi |
| 3556 | fi |
| 3557 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 3558 | if 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; } |
| 3561 | else |
| 3562 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3563 | $as_echo "no" >&6; } |
| 3564 | fi |
| 3565 | |
| 3566 | |
| 3567 | test -n "$ac_ct_CC" && break |
| 3568 | done |
| 3569 | |
| 3570 | if test "x$ac_ct_CC" = x; then |
| 3571 | CC="" |
| 3572 | else |
| 3573 | case $cross_compiling:$ac_tool_warned in |
| 3574 | yes:) |
| 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;} |
| 3577 | ac_tool_warned=yes ;; |
| 3578 | esac |
| 3579 | CC=$ac_ct_CC |
| 3580 | fi |
| 3581 | fi |
| 3582 | |
| 3583 | fi |
| 3584 | |
| 3585 | |
| 3586 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3587 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3588 | as_fn_error $? "no acceptable C compiler found in \$PATH |
| 3589 | See \`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 |
| 3593 | set X $ac_compile |
| 3594 | ac_compiler=$2 |
| 3595 | for ac_option in --version -v -V -qversion; do |
| 3596 | { { ac_try="$ac_compiler $ac_option >&5" |
| 3597 | case "(($ac_try" in |
| 3598 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3599 | *) ac_try_echo=$ac_try;; |
| 3600 | esac |
| 3601 | eval 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; } |
| 3614 | done |
| 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; } |
| 3618 | if ${ac_cv_c_compiler_gnu+:} false; then : |
| 3619 | $as_echo_n "(cached) " >&6 |
| 3620 | else |
| 3621 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3622 | /* end confdefs.h. */ |
| 3623 | |
| 3624 | int |
| 3625 | main () |
| 3626 | { |
| 3627 | #ifndef __GNUC__ |
| 3628 | choke me |
| 3629 | #endif |
| 3630 | |
| 3631 | ; |
| 3632 | return 0; |
| 3633 | } |
| 3634 | _ACEOF |
| 3635 | if ac_fn_c_try_compile "$LINENO"; then : |
| 3636 | ac_compiler_gnu=yes |
| 3637 | else |
| 3638 | ac_compiler_gnu=no |
| 3639 | fi |
| 3640 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3641 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
| 3642 | |
| 3643 | fi |
| 3644 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
| 3645 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
| 3646 | if test $ac_compiler_gnu = yes; then |
| 3647 | GCC=yes |
| 3648 | else |
| 3649 | GCC= |
| 3650 | fi |
| 3651 | ac_test_CFLAGS=${CFLAGS+set} |
| 3652 | ac_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; } |
| 3655 | if ${ac_cv_prog_cc_g+:} false; then : |
| 3656 | $as_echo_n "(cached) " >&6 |
| 3657 | else |
| 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 | |
| 3665 | int |
| 3666 | main () |
| 3667 | { |
| 3668 | |
| 3669 | ; |
| 3670 | return 0; |
| 3671 | } |
| 3672 | _ACEOF |
| 3673 | if ac_fn_c_try_compile "$LINENO"; then : |
| 3674 | ac_cv_prog_cc_g=yes |
| 3675 | else |
| 3676 | CFLAGS="" |
| 3677 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3678 | /* end confdefs.h. */ |
| 3679 | |
| 3680 | int |
| 3681 | main () |
| 3682 | { |
| 3683 | |
| 3684 | ; |
| 3685 | return 0; |
| 3686 | } |
| 3687 | _ACEOF |
| 3688 | if ac_fn_c_try_compile "$LINENO"; then : |
| 3689 | |
| 3690 | else |
| 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 | |
| 3696 | int |
| 3697 | main () |
| 3698 | { |
| 3699 | |
| 3700 | ; |
| 3701 | return 0; |
| 3702 | } |
| 3703 | _ACEOF |
| 3704 | if ac_fn_c_try_compile "$LINENO"; then : |
| 3705 | ac_cv_prog_cc_g=yes |
| 3706 | fi |
| 3707 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3708 | fi |
| 3709 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3710 | fi |
| 3711 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3712 | ac_c_werror_flag=$ac_save_c_werror_flag |
| 3713 | fi |
| 3714 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
| 3715 | $as_echo "$ac_cv_prog_cc_g" >&6; } |
| 3716 | if test "$ac_test_CFLAGS" = set; then |
| 3717 | CFLAGS=$ac_save_CFLAGS |
| 3718 | elif 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 |
| 3724 | else |
| 3725 | if test "$GCC" = yes; then |
| 3726 | CFLAGS="-O2" |
| 3727 | else |
| 3728 | CFLAGS= |
| 3729 | fi |
| 3730 | fi |
| 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; } |
| 3733 | if ${ac_cv_prog_cc_c89+:} false; then : |
| 3734 | $as_echo_n "(cached) " >&6 |
| 3735 | else |
| 3736 | ac_cv_prog_cc_c89=no |
| 3737 | ac_save_CC=$CC |
| 3738 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3739 | /* end confdefs.h. */ |
| 3740 | #include <stdarg.h> |
| 3741 | #include <stdio.h> |
| 3742 | struct stat; |
| 3743 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
| 3744 | struct buf { int x; }; |
| 3745 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
| 3746 | static char *e (p, i) |
| 3747 | char **p; |
| 3748 | int i; |
| 3749 | { |
| 3750 | return p[i]; |
| 3751 | } |
| 3752 | static 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. */ |
| 3769 | int 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' |
| 3774 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
| 3775 | |
| 3776 | int test (int i, double x); |
| 3777 | struct s1 {int (*f) (int a);}; |
| 3778 | struct s2 {int (*f) (double a);}; |
| 3779 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
| 3780 | int argc; |
| 3781 | char **argv; |
| 3782 | int |
| 3783 | main () |
| 3784 | { |
| 3785 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
| 3786 | ; |
| 3787 | return 0; |
| 3788 | } |
| 3789 | _ACEOF |
| 3790 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
| 3791 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
| 3792 | do |
| 3793 | CC="$ac_save_CC $ac_arg" |
| 3794 | if ac_fn_c_try_compile "$LINENO"; then : |
| 3795 | ac_cv_prog_cc_c89=$ac_arg |
| 3796 | fi |
| 3797 | rm -f core conftest.err conftest.$ac_objext |
| 3798 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
| 3799 | done |
| 3800 | rm -f conftest.$ac_ext |
| 3801 | CC=$ac_save_CC |
| 3802 | |
| 3803 | fi |
| 3804 | # AC_CACHE_VAL |
| 3805 | case "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; } ;; |
| 3816 | esac |
| 3817 | if test "x$ac_cv_prog_cc_c89" != xno; then : |
| 3818 | |
| 3819 | fi |
| 3820 | |
Jeff Thompson | 3b3aabf | 2013-06-21 16:50:20 -0700 | [diff] [blame] | 3821 | ac_ext=c |
| 3822 | ac_cpp='$CPP $CPPFLAGS' |
| 3823 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3824 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3825 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
Jeff Thompson | 3617406 | 2013-06-21 16:03:44 -0700 | [diff] [blame] | 3826 | |
| 3827 | depcc="$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; } |
| 3831 | if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
| 3832 | $as_echo_n "(cached) " >&6 |
| 3833 | else |
| 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 |
| 3935 | else |
| 3936 | am_cv_CC_dependencies_compiler_type=none |
| 3937 | fi |
| 3938 | |
| 3939 | fi |
| 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; } |
| 3942 | CCDEPMODE=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='#' |
| 3949 | else |
| 3950 | am__fastdepCC_TRUE='#' |
| 3951 | am__fastdepCC_FALSE= |
| 3952 | fi |
| 3953 | |
| 3954 | |
Jeff Thompson | 3617406 | 2013-06-21 16:03:44 -0700 | [diff] [blame] | 3955 | |
| 3956 | if test -n "$ac_tool_prefix"; then |
Jeff Thompson | 3b3aabf | 2013-06-21 16:50:20 -0700 | [diff] [blame] | 3957 | for ac_prog in ar lib "link -lib" |
Jeff Thompson | 3617406 | 2013-06-21 16:03:44 -0700 | [diff] [blame] | 3958 | do |
| 3959 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 3960 | set 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; } |
| 3963 | if ${ac_cv_prog_AR+:} false; then : |
| 3964 | $as_echo_n "(cached) " >&6 |
| 3965 | else |
| 3966 | if test -n "$AR"; then |
| 3967 | ac_cv_prog_AR="$AR" # Let the user override the test. |
| 3968 | else |
| 3969 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3970 | for as_dir in $PATH |
| 3971 | do |
| 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 |
| 3980 | done |
| 3981 | done |
| 3982 | IFS=$as_save_IFS |
| 3983 | |
| 3984 | fi |
| 3985 | fi |
| 3986 | AR=$ac_cv_prog_AR |
| 3987 | if test -n "$AR"; then |
| 3988 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 |
| 3989 | $as_echo "$AR" >&6; } |
| 3990 | else |
| 3991 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3992 | $as_echo "no" >&6; } |
| 3993 | fi |
| 3994 | |
| 3995 | |
| 3996 | test -n "$AR" && break |
| 3997 | done |
| 3998 | fi |
| 3999 | if test -z "$AR"; then |
| 4000 | ac_ct_AR=$AR |
Jeff Thompson | 3b3aabf | 2013-06-21 16:50:20 -0700 | [diff] [blame] | 4001 | for ac_prog in ar lib "link -lib" |
Jeff Thompson | 3617406 | 2013-06-21 16:03:44 -0700 | [diff] [blame] | 4002 | do |
| 4003 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 4004 | set 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; } |
| 4007 | if ${ac_cv_prog_ac_ct_AR+:} false; then : |
| 4008 | $as_echo_n "(cached) " >&6 |
| 4009 | else |
| 4010 | if test -n "$ac_ct_AR"; then |
| 4011 | ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. |
| 4012 | else |
| 4013 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 4014 | for as_dir in $PATH |
| 4015 | do |
| 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 |
| 4024 | done |
| 4025 | done |
| 4026 | IFS=$as_save_IFS |
| 4027 | |
| 4028 | fi |
| 4029 | fi |
| 4030 | ac_ct_AR=$ac_cv_prog_ac_ct_AR |
| 4031 | if 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; } |
| 4034 | else |
| 4035 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4036 | $as_echo "no" >&6; } |
| 4037 | fi |
| 4038 | |
| 4039 | |
| 4040 | test -n "$ac_ct_AR" && break |
| 4041 | done |
| 4042 | |
| 4043 | if test "x$ac_ct_AR" = x; then |
| 4044 | AR="false" |
| 4045 | else |
| 4046 | case $cross_compiling:$ac_tool_warned in |
| 4047 | yes:) |
| 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;} |
| 4050 | ac_tool_warned=yes ;; |
| 4051 | esac |
| 4052 | AR=$ac_ct_AR |
| 4053 | fi |
| 4054 | fi |
| 4055 | |
| 4056 | : ${AR=ar} |
Jeff Thompson | 3617406 | 2013-06-21 16:03:44 -0700 | [diff] [blame] | 4057 | |
Jeff Thompson | 3b3aabf | 2013-06-21 16:50:20 -0700 | [diff] [blame] | 4058 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5 |
| 4059 | $as_echo_n "checking the archiver ($AR) interface... " >&6; } |
| 4060 | if ${am_cv_ar_interface+:} false; then : |
Jeff Thompson | 3617406 | 2013-06-21 16:03:44 -0700 | [diff] [blame] | 4061 | $as_echo_n "(cached) " >&6 |
| 4062 | else |
Jeff Thompson | 3b3aabf | 2013-06-21 16:50:20 -0700 | [diff] [blame] | 4063 | am_cv_ar_interface=ar |
Jeff Thompson | 3617406 | 2013-06-21 16:03:44 -0700 | [diff] [blame] | 4064 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4065 | /* end confdefs.h. */ |
Jeff Thompson | 3b3aabf | 2013-06-21 16:50:20 -0700 | [diff] [blame] | 4066 | int some_variable = 0; |
Jeff Thompson | 3617406 | 2013-06-21 16:03:44 -0700 | [diff] [blame] | 4067 | _ACEOF |
Jeff Thompson | 3b3aabf | 2013-06-21 16:50:20 -0700 | [diff] [blame] | 4068 | if 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 Thompson | 3617406 | 2013-06-21 16:03:44 -0700 | [diff] [blame] | 4072 | 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 Thompson | 3b3aabf | 2013-06-21 16:50:20 -0700 | [diff] [blame] | 4076 | 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 Thompson | 3617406 | 2013-06-21 16:03:44 -0700 | [diff] [blame] | 4081 | ac_status=$? |
| 4082 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 4083 | test $ac_status = 0; } |
Jeff Thompson | 3b3aabf | 2013-06-21 16:50:20 -0700 | [diff] [blame] | 4084 | if test "$ac_status" -eq 0; then |
| 4085 | am_cv_ar_interface=lib |
| 4086 | else |
| 4087 | am_cv_ar_interface=unknown |
Jeff Thompson | 3617406 | 2013-06-21 16:03:44 -0700 | [diff] [blame] | 4088 | fi |
| 4089 | fi |
Jeff Thompson | 3b3aabf | 2013-06-21 16:50:20 -0700 | [diff] [blame] | 4090 | rm -f conftest.lib libconftest.a |
Jeff Thompson | 3617406 | 2013-06-21 16:03:44 -0700 | [diff] [blame] | 4091 | |
| 4092 | fi |
| 4093 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4094 | |
| 4095 | fi |
Jeff Thompson | 3b3aabf | 2013-06-21 16:50:20 -0700 | [diff] [blame] | 4096 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5 |
| 4097 | $as_echo "$am_cv_ar_interface" >&6; } |
Jeff Thompson | 3617406 | 2013-06-21 16:03:44 -0700 | [diff] [blame] | 4098 | |
Jeff Thompson | 3b3aabf | 2013-06-21 16:50:20 -0700 | [diff] [blame] | 4099 | case $am_cv_ar_interface in |
| 4100 | ar) |
Jeff Thompson | 3617406 | 2013-06-21 16:03:44 -0700 | [diff] [blame] | 4101 | ;; |
Jeff Thompson | 3b3aabf | 2013-06-21 16:50:20 -0700 | [diff] [blame] | 4102 | lib) |
| 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 Thompson | 3617406 | 2013-06-21 16:03:44 -0700 | [diff] [blame] | 4110 | ;; |
Jeff Thompson | 3b3aabf | 2013-06-21 16:50:20 -0700 | [diff] [blame] | 4111 | unknown) |
| 4112 | as_fn_error $? "could not determine $AR interface" "$LINENO" 5 |
Jeff Thompson | 3617406 | 2013-06-21 16:03:44 -0700 | [diff] [blame] | 4113 | ;; |
| 4114 | esac |
| 4115 | |
Jeff Thompson | 1a1b4c0 | 2013-06-28 22:28:51 -0700 | [diff] [blame] | 4116 | if 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; } |
| 4119 | else |
| 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; } |
| 4122 | fi |
| 4123 | set dummy $CC; ac_cc=`$as_echo "$2" | |
| 4124 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` |
| 4125 | if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then : |
| 4126 | $as_echo_n "(cached) " >&6 |
| 4127 | else |
| 4128 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4129 | /* end confdefs.h. */ |
| 4130 | |
| 4131 | int |
| 4132 | main () |
| 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. |
| 4142 | ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' |
| 4143 | rm -f conftest2.* |
| 4144 | if { { case "(($ac_try" in |
| 4145 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4146 | *) ac_try_echo=$ac_try;; |
| 4147 | esac |
| 4148 | eval 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;; |
| 4157 | esac |
| 4158 | eval 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; }; |
| 4164 | then |
| 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;; |
| 4172 | esac |
| 4173 | eval 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;; |
| 4184 | esac |
| 4185 | eval 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;; |
| 4194 | esac |
| 4195 | eval 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 |
| 4210 | else |
| 4211 | eval ac_cv_prog_cc_${ac_cc}_c_o=no |
| 4212 | fi |
| 4213 | rm -f core conftest* |
| 4214 | |
| 4215 | fi |
| 4216 | if 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; } |
| 4219 | else |
| 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 | |
| 4225 | fi |
| 4226 | |
| 4227 | # FIXME: we rely on the cache variable name because |
| 4228 | # there is no other way. |
| 4229 | set dummy $CC |
| 4230 | am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` |
| 4231 | eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o |
| 4232 | if 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" |
| 4239 | fi |
| 4240 | |
| 4241 | |
Jeff Thompson | 3617406 | 2013-06-21 16:03:44 -0700 | [diff] [blame] | 4242 | ac_ext=cpp |
| 4243 | ac_cpp='$CXXCPP $CPPFLAGS' |
| 4244 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4245 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4246 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 4247 | |
Jeff Thompson | 3617406 | 2013-06-21 16:03:44 -0700 | [diff] [blame] | 4248 | |
Jeff Thompson | 39128c6 | 2013-06-19 14:08:51 -0700 | [diff] [blame] | 4249 | |
Jeff Thompson | 1b8f4c9 | 2013-06-19 16:18:46 -0700 | [diff] [blame] | 4250 | ax_cxx_compile_cxx11_required=falsednl |
| 4251 | ac_ext=cpp |
| 4252 | ac_cpp='$CXXCPP $CPPFLAGS' |
| 4253 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4254 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4255 | ac_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; } |
| 4259 | if ${ax_cv_cxx_compile_cxx11+:} false; then : |
| 4260 | $as_echo_n "(cached) " >&6 |
| 4261 | else |
| 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 |
| 4283 | if ac_fn_cxx_try_compile "$LINENO"; then : |
| 4284 | ax_cv_cxx_compile_cxx11=yes |
| 4285 | else |
| 4286 | ax_cv_cxx_compile_cxx11=no |
| 4287 | fi |
| 4288 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4289 | fi |
| 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; } |
| 4301 | if eval \${$cachevar+:} false; then : |
| 4302 | $as_echo_n "(cached) " >&6 |
| 4303 | else |
| 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 |
| 4327 | if ac_fn_cxx_try_compile "$LINENO"; then : |
| 4328 | eval $cachevar=yes |
| 4329 | else |
| 4330 | eval $cachevar=no |
| 4331 | fi |
| 4332 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4333 | CXXFLAGS="$ac_save_CXXFLAGS" |
| 4334 | fi |
| 4335 | eval 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; } |
| 4351 | if eval \${$cachevar+:} false; then : |
| 4352 | $as_echo_n "(cached) " >&6 |
| 4353 | else |
| 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 |
| 4377 | if ac_fn_cxx_try_compile "$LINENO"; then : |
| 4378 | eval $cachevar=yes |
| 4379 | else |
| 4380 | eval $cachevar=no |
| 4381 | fi |
| 4382 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4383 | CXXFLAGS="$ac_save_CXXFLAGS" |
| 4384 | fi |
| 4385 | eval 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 |
| 4396 | ac_cpp='$CXXCPP $CPPFLAGS' |
| 4397 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4398 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4399 | ac_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 Thompson | 39128c6 | 2013-06-19 14:08:51 -0700 | [diff] [blame] | 4421 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::shared_ptr" >&5 |
| 4422 | $as_echo_n "checking for std::shared_ptr... " >&6; } |
Jeff Thompson | 39128c6 | 2013-06-19 14:08:51 -0700 | [diff] [blame] | 4423 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4424 | /* end confdefs.h. */ |
| 4425 | #include <memory> |
| 4426 | std::shared_ptr<int> have_shared_ptr; |
| 4427 | int |
| 4428 | main () |
| 4429 | { |
| 4430 | |
| 4431 | ; |
| 4432 | return 0; |
| 4433 | } |
| 4434 | |
| 4435 | _ACEOF |
| 4436 | if 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 | |
| 4441 | cat >>confdefs.h <<_ACEOF |
| 4442 | #define HAVE_STD_SHARED_PTR 1 |
| 4443 | _ACEOF |
| 4444 | |
| 4445 | |
| 4446 | else |
| 4447 | |
| 4448 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4449 | $as_echo "no" >&6; } |
| 4450 | |
| 4451 | cat >>confdefs.h <<_ACEOF |
| 4452 | #define HAVE_STD_SHARED_PTR 0 |
| 4453 | _ACEOF |
| 4454 | |
| 4455 | |
| 4456 | fi |
| 4457 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
Jeff Thompson | 9e9ea9f | 2013-06-22 10:31:18 -0700 | [diff] [blame] | 4458 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for boost::shared_ptr" >&5 |
| 4459 | $as_echo_n "checking for boost::shared_ptr... " >&6; } |
Jeff Thompson | 39128c6 | 2013-06-19 14:08:51 -0700 | [diff] [blame] | 4460 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4461 | /* end confdefs.h. */ |
| 4462 | #include <boost/shared_ptr.hpp> |
| 4463 | boost::shared_ptr<int> have_shared_ptr; |
| 4464 | int |
| 4465 | main () |
| 4466 | { |
| 4467 | |
| 4468 | ; |
| 4469 | return 0; |
| 4470 | } |
| 4471 | |
| 4472 | _ACEOF |
| 4473 | if 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 | |
| 4478 | cat >>confdefs.h <<_ACEOF |
| 4479 | #define HAVE_BOOST_SHARED_PTR 1 |
| 4480 | _ACEOF |
| 4481 | |
| 4482 | |
| 4483 | else |
| 4484 | |
| 4485 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4486 | $as_echo "no" >&6; } |
| 4487 | |
| 4488 | cat >>confdefs.h <<_ACEOF |
| 4489 | #define HAVE_BOOST_SHARED_PTR 0 |
| 4490 | _ACEOF |
| 4491 | |
| 4492 | |
| 4493 | fi |
| 4494 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4495 | |
Jeff Thompson | d4a1e16 | 2013-07-11 12:41:31 -0700 | [diff] [blame] | 4496 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for memcmp" >&5 |
| 4497 | $as_echo_n "checking for memcmp... " >&6; } |
| 4498 | cat 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); } |
| 4502 | int |
| 4503 | main () |
| 4504 | { |
| 4505 | |
| 4506 | ; |
| 4507 | return 0; |
| 4508 | } |
| 4509 | |
| 4510 | _ACEOF |
| 4511 | if 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 | |
| 4516 | cat >>confdefs.h <<_ACEOF |
| 4517 | #define HAVE_MEMCMP 1 |
| 4518 | _ACEOF |
| 4519 | |
| 4520 | |
| 4521 | else |
| 4522 | |
| 4523 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4524 | $as_echo "no" >&6; } |
| 4525 | |
| 4526 | cat >>confdefs.h <<_ACEOF |
| 4527 | #define HAVE_MEMCMP 0 |
| 4528 | _ACEOF |
| 4529 | |
| 4530 | |
| 4531 | fi |
| 4532 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
Jeff Thompson | c804d52 | 2013-06-27 16:54:27 -0700 | [diff] [blame] | 4533 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for memcpy" >&5 |
| 4534 | $as_echo_n "checking for memcpy... " >&6; } |
| 4535 | cat 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); } |
| 4539 | int |
| 4540 | main () |
| 4541 | { |
| 4542 | |
| 4543 | ; |
| 4544 | return 0; |
| 4545 | } |
| 4546 | |
| 4547 | _ACEOF |
| 4548 | if 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 | |
| 4553 | cat >>confdefs.h <<_ACEOF |
| 4554 | #define HAVE_MEMCPY 1 |
| 4555 | _ACEOF |
| 4556 | |
| 4557 | |
| 4558 | else |
| 4559 | |
| 4560 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4561 | $as_echo "no" >&6; } |
| 4562 | |
| 4563 | cat >>confdefs.h <<_ACEOF |
| 4564 | #define HAVE_MEMCPY 0 |
| 4565 | _ACEOF |
| 4566 | |
| 4567 | |
| 4568 | fi |
| 4569 | rm -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; } |
| 4572 | cat 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); } |
| 4576 | int |
| 4577 | main () |
| 4578 | { |
| 4579 | |
| 4580 | ; |
| 4581 | return 0; |
| 4582 | } |
| 4583 | |
| 4584 | _ACEOF |
| 4585 | if 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 | |
| 4590 | cat >>confdefs.h <<_ACEOF |
| 4591 | #define HAVE_MEMSET 1 |
| 4592 | _ACEOF |
| 4593 | |
| 4594 | |
| 4595 | else |
| 4596 | |
| 4597 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4598 | $as_echo "no" >&6; } |
| 4599 | |
| 4600 | cat >>confdefs.h <<_ACEOF |
| 4601 | #define HAVE_MEMSET 0 |
| 4602 | _ACEOF |
| 4603 | |
| 4604 | |
| 4605 | fi |
| 4606 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4607 | |
Jeff Thompson | ca45e55 | 2013-06-26 17:40:06 -0700 | [diff] [blame] | 4608 | |
| 4609 | |
| 4610 | |
| 4611 | |
| 4612 | |
| 4613 | |
| 4614 | |
| 4615 | |
| 4616 | |
| 4617 | |
| 4618 | # Files: |
| 4619 | DX_PROJECT=$PACKAGE_NAME |
| 4620 | |
| 4621 | DX_CONFIG=Doxyfile |
| 4622 | |
| 4623 | DX_DOCDIR=doxygen-doc |
| 4624 | |
| 4625 | |
| 4626 | # Environment variables used inside doxygen.cfg: |
| 4627 | DX_ENV="$DX_ENV SRCDIR='$srcdir'" |
| 4628 | |
| 4629 | DX_ENV="$DX_ENV PROJECT='$DX_PROJECT'" |
| 4630 | |
| 4631 | DX_ENV="$DX_ENV DOCDIR='$DX_DOCDIR'" |
| 4632 | |
| 4633 | DX_ENV="$DX_ENV VERSION='$PACKAGE_VERSION'" |
| 4634 | |
| 4635 | |
| 4636 | # Doxygen itself: |
| 4637 | |
| 4638 | |
| 4639 | |
| 4640 | # Check whether --enable-doxygen-doc was given. |
| 4641 | if test "${enable_doxygen_doc+set}" = set; then : |
| 4642 | enableval=$enable_doxygen_doc; |
| 4643 | case "$enableval" in |
| 4644 | #( |
| 4645 | y|Y|yes|Yes|YES) |
| 4646 | DX_FLAG_doc=1 |
| 4647 | |
| 4648 | |
| 4649 | ;; #( |
| 4650 | n|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 | ;; |
| 4657 | esac |
| 4658 | |
| 4659 | else |
| 4660 | |
| 4661 | DX_FLAG_doc=1 |
| 4662 | |
| 4663 | |
| 4664 | |
| 4665 | fi |
| 4666 | |
| 4667 | if test "$DX_FLAG_doc" = 1; then |
| 4668 | |
| 4669 | if 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. |
| 4671 | set 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; } |
| 4674 | if ${ac_cv_path_DX_DOXYGEN+:} false; then : |
| 4675 | $as_echo_n "(cached) " >&6 |
| 4676 | else |
| 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 |
| 4683 | for as_dir in $PATH |
| 4684 | do |
| 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 |
| 4693 | done |
| 4694 | done |
| 4695 | IFS=$as_save_IFS |
| 4696 | |
| 4697 | ;; |
| 4698 | esac |
| 4699 | fi |
| 4700 | DX_DOXYGEN=$ac_cv_path_DX_DOXYGEN |
| 4701 | if test -n "$DX_DOXYGEN"; then |
| 4702 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOXYGEN" >&5 |
| 4703 | $as_echo "$DX_DOXYGEN" >&6; } |
| 4704 | else |
| 4705 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4706 | $as_echo "no" >&6; } |
| 4707 | fi |
| 4708 | |
| 4709 | |
| 4710 | fi |
| 4711 | if 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. |
| 4714 | set 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; } |
| 4717 | if ${ac_cv_path_ac_pt_DX_DOXYGEN+:} false; then : |
| 4718 | $as_echo_n "(cached) " >&6 |
| 4719 | else |
| 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 |
| 4726 | for as_dir in $PATH |
| 4727 | do |
| 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 |
| 4736 | done |
| 4737 | done |
| 4738 | IFS=$as_save_IFS |
| 4739 | |
| 4740 | ;; |
| 4741 | esac |
| 4742 | fi |
| 4743 | ac_pt_DX_DOXYGEN=$ac_cv_path_ac_pt_DX_DOXYGEN |
| 4744 | if 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; } |
| 4747 | else |
| 4748 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4749 | $as_echo "no" >&6; } |
| 4750 | fi |
| 4751 | |
| 4752 | if test "x$ac_pt_DX_DOXYGEN" = x; then |
| 4753 | DX_DOXYGEN="" |
| 4754 | else |
| 4755 | case $cross_compiling:$ac_tool_warned in |
| 4756 | yes:) |
| 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;} |
| 4759 | ac_tool_warned=yes ;; |
| 4760 | esac |
| 4761 | DX_DOXYGEN=$ac_pt_DX_DOXYGEN |
| 4762 | fi |
| 4763 | else |
| 4764 | DX_DOXYGEN="$ac_cv_path_DX_DOXYGEN" |
| 4765 | fi |
| 4766 | |
| 4767 | if 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 | |
| 4772 | fi |
| 4773 | |
| 4774 | |
| 4775 | if 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. |
| 4777 | set 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; } |
| 4780 | if ${ac_cv_path_DX_PERL+:} false; then : |
| 4781 | $as_echo_n "(cached) " >&6 |
| 4782 | else |
| 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 |
| 4789 | for as_dir in $PATH |
| 4790 | do |
| 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 |
| 4799 | done |
| 4800 | done |
| 4801 | IFS=$as_save_IFS |
| 4802 | |
| 4803 | ;; |
| 4804 | esac |
| 4805 | fi |
| 4806 | DX_PERL=$ac_cv_path_DX_PERL |
| 4807 | if test -n "$DX_PERL"; then |
| 4808 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PERL" >&5 |
| 4809 | $as_echo "$DX_PERL" >&6; } |
| 4810 | else |
| 4811 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4812 | $as_echo "no" >&6; } |
| 4813 | fi |
| 4814 | |
| 4815 | |
| 4816 | fi |
| 4817 | if 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. |
| 4820 | set 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; } |
| 4823 | if ${ac_cv_path_ac_pt_DX_PERL+:} false; then : |
| 4824 | $as_echo_n "(cached) " >&6 |
| 4825 | else |
| 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 |
| 4832 | for as_dir in $PATH |
| 4833 | do |
| 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 |
| 4842 | done |
| 4843 | done |
| 4844 | IFS=$as_save_IFS |
| 4845 | |
| 4846 | ;; |
| 4847 | esac |
| 4848 | fi |
| 4849 | ac_pt_DX_PERL=$ac_cv_path_ac_pt_DX_PERL |
| 4850 | if 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; } |
| 4853 | else |
| 4854 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4855 | $as_echo "no" >&6; } |
| 4856 | fi |
| 4857 | |
| 4858 | if test "x$ac_pt_DX_PERL" = x; then |
| 4859 | DX_PERL="" |
| 4860 | else |
| 4861 | case $cross_compiling:$ac_tool_warned in |
| 4862 | yes:) |
| 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;} |
| 4865 | ac_tool_warned=yes ;; |
| 4866 | esac |
| 4867 | DX_PERL=$ac_pt_DX_PERL |
| 4868 | fi |
| 4869 | else |
| 4870 | DX_PERL="$ac_cv_path_DX_PERL" |
| 4871 | fi |
| 4872 | |
| 4873 | if 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 | |
| 4878 | fi |
| 4879 | |
| 4880 | : |
| 4881 | fi |
| 4882 | if test "$DX_FLAG_doc" = 1; then |
| 4883 | DX_COND_doc_TRUE= |
| 4884 | DX_COND_doc_FALSE='#' |
| 4885 | else |
| 4886 | DX_COND_doc_TRUE='#' |
| 4887 | DX_COND_doc_FALSE= |
| 4888 | fi |
| 4889 | |
| 4890 | if test "$DX_FLAG_doc" = 1; then |
| 4891 | DX_ENV="$DX_ENV PERL_PATH='$DX_PERL'" |
| 4892 | |
| 4893 | : |
| 4894 | else |
| 4895 | |
| 4896 | : |
| 4897 | fi |
| 4898 | |
| 4899 | |
| 4900 | # Dot for graphics: |
| 4901 | |
| 4902 | |
| 4903 | |
| 4904 | # Check whether --enable-doxygen-dot was given. |
| 4905 | if test "${enable_doxygen_dot+set}" = set; then : |
| 4906 | enableval=$enable_doxygen_dot; |
| 4907 | case "$enableval" in |
| 4908 | #( |
| 4909 | y|Y|yes|Yes|YES) |
| 4910 | DX_FLAG_dot=1 |
| 4911 | |
| 4912 | |
| 4913 | test "$DX_FLAG_doc" = "1" \ |
| 4914 | || as_fn_error $? "doxygen-dot requires doxygen-dot" "$LINENO" 5 |
| 4915 | |
| 4916 | ;; #( |
| 4917 | n|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 | ;; |
| 4924 | esac |
| 4925 | |
| 4926 | else |
| 4927 | |
| 4928 | DX_FLAG_dot=0 |
| 4929 | |
| 4930 | |
| 4931 | test "$DX_FLAG_doc" = "1" || DX_FLAG_dot=0 |
| 4932 | |
| 4933 | |
| 4934 | |
| 4935 | fi |
| 4936 | |
| 4937 | if test "$DX_FLAG_dot" = 1; then |
| 4938 | |
| 4939 | if 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. |
| 4941 | set 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; } |
| 4944 | if ${ac_cv_path_DX_DOT+:} false; then : |
| 4945 | $as_echo_n "(cached) " >&6 |
| 4946 | else |
| 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 |
| 4953 | for as_dir in $PATH |
| 4954 | do |
| 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 |
| 4963 | done |
| 4964 | done |
| 4965 | IFS=$as_save_IFS |
| 4966 | |
| 4967 | ;; |
| 4968 | esac |
| 4969 | fi |
| 4970 | DX_DOT=$ac_cv_path_DX_DOT |
| 4971 | if test -n "$DX_DOT"; then |
| 4972 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOT" >&5 |
| 4973 | $as_echo "$DX_DOT" >&6; } |
| 4974 | else |
| 4975 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4976 | $as_echo "no" >&6; } |
| 4977 | fi |
| 4978 | |
| 4979 | |
| 4980 | fi |
| 4981 | if 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. |
| 4984 | set 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; } |
| 4987 | if ${ac_cv_path_ac_pt_DX_DOT+:} false; then : |
| 4988 | $as_echo_n "(cached) " >&6 |
| 4989 | else |
| 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 |
| 4996 | for as_dir in $PATH |
| 4997 | do |
| 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 |
| 5006 | done |
| 5007 | done |
| 5008 | IFS=$as_save_IFS |
| 5009 | |
| 5010 | ;; |
| 5011 | esac |
| 5012 | fi |
| 5013 | ac_pt_DX_DOT=$ac_cv_path_ac_pt_DX_DOT |
| 5014 | if 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; } |
| 5017 | else |
| 5018 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5019 | $as_echo "no" >&6; } |
| 5020 | fi |
| 5021 | |
| 5022 | if test "x$ac_pt_DX_DOT" = x; then |
| 5023 | DX_DOT="" |
| 5024 | else |
| 5025 | case $cross_compiling:$ac_tool_warned in |
| 5026 | yes:) |
| 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;} |
| 5029 | ac_tool_warned=yes ;; |
| 5030 | esac |
| 5031 | DX_DOT=$ac_pt_DX_DOT |
| 5032 | fi |
| 5033 | else |
| 5034 | DX_DOT="$ac_cv_path_DX_DOT" |
| 5035 | fi |
| 5036 | |
| 5037 | if 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 | |
| 5042 | fi |
| 5043 | |
| 5044 | : |
| 5045 | fi |
| 5046 | if test "$DX_FLAG_dot" = 1; then |
| 5047 | DX_COND_dot_TRUE= |
| 5048 | DX_COND_dot_FALSE='#' |
| 5049 | else |
| 5050 | DX_COND_dot_TRUE='#' |
| 5051 | DX_COND_dot_FALSE= |
| 5052 | fi |
| 5053 | |
| 5054 | if 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 | : |
| 5060 | else |
| 5061 | DX_ENV="$DX_ENV HAVE_DOT='NO'" |
| 5062 | |
| 5063 | : |
| 5064 | fi |
| 5065 | |
| 5066 | |
| 5067 | # Man pages generation: |
| 5068 | |
| 5069 | |
| 5070 | |
| 5071 | # Check whether --enable-doxygen-man was given. |
| 5072 | if test "${enable_doxygen_man+set}" = set; then : |
| 5073 | enableval=$enable_doxygen_man; |
| 5074 | case "$enableval" in |
| 5075 | #( |
| 5076 | y|Y|yes|Yes|YES) |
| 5077 | DX_FLAG_man=1 |
| 5078 | |
| 5079 | |
| 5080 | test "$DX_FLAG_doc" = "1" \ |
| 5081 | || as_fn_error $? "doxygen-man requires doxygen-man" "$LINENO" 5 |
| 5082 | |
| 5083 | ;; #( |
| 5084 | n|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 | ;; |
| 5091 | esac |
| 5092 | |
| 5093 | else |
| 5094 | |
| 5095 | DX_FLAG_man=0 |
| 5096 | |
| 5097 | |
| 5098 | test "$DX_FLAG_doc" = "1" || DX_FLAG_man=0 |
| 5099 | |
| 5100 | |
| 5101 | |
| 5102 | fi |
| 5103 | |
| 5104 | if test "$DX_FLAG_man" = 1; then |
| 5105 | |
| 5106 | : |
| 5107 | fi |
| 5108 | if test "$DX_FLAG_man" = 1; then |
| 5109 | DX_COND_man_TRUE= |
| 5110 | DX_COND_man_FALSE='#' |
| 5111 | else |
| 5112 | DX_COND_man_TRUE='#' |
| 5113 | DX_COND_man_FALSE= |
| 5114 | fi |
| 5115 | |
| 5116 | if test "$DX_FLAG_man" = 1; then |
| 5117 | DX_ENV="$DX_ENV GENERATE_MAN='YES'" |
| 5118 | |
| 5119 | : |
| 5120 | else |
| 5121 | DX_ENV="$DX_ENV GENERATE_MAN='NO'" |
| 5122 | |
| 5123 | : |
| 5124 | fi |
| 5125 | |
| 5126 | |
| 5127 | # RTF file generation: |
| 5128 | |
| 5129 | |
| 5130 | |
| 5131 | # Check whether --enable-doxygen-rtf was given. |
| 5132 | if test "${enable_doxygen_rtf+set}" = set; then : |
| 5133 | enableval=$enable_doxygen_rtf; |
| 5134 | case "$enableval" in |
| 5135 | #( |
| 5136 | y|Y|yes|Yes|YES) |
| 5137 | DX_FLAG_rtf=1 |
| 5138 | |
| 5139 | |
| 5140 | test "$DX_FLAG_doc" = "1" \ |
| 5141 | || as_fn_error $? "doxygen-rtf requires doxygen-rtf" "$LINENO" 5 |
| 5142 | |
| 5143 | ;; #( |
| 5144 | n|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 | ;; |
| 5151 | esac |
| 5152 | |
| 5153 | else |
| 5154 | |
| 5155 | DX_FLAG_rtf=0 |
| 5156 | |
| 5157 | |
| 5158 | test "$DX_FLAG_doc" = "1" || DX_FLAG_rtf=0 |
| 5159 | |
| 5160 | |
| 5161 | |
| 5162 | fi |
| 5163 | |
| 5164 | if test "$DX_FLAG_rtf" = 1; then |
| 5165 | |
| 5166 | : |
| 5167 | fi |
| 5168 | if test "$DX_FLAG_rtf" = 1; then |
| 5169 | DX_COND_rtf_TRUE= |
| 5170 | DX_COND_rtf_FALSE='#' |
| 5171 | else |
| 5172 | DX_COND_rtf_TRUE='#' |
| 5173 | DX_COND_rtf_FALSE= |
| 5174 | fi |
| 5175 | |
| 5176 | if test "$DX_FLAG_rtf" = 1; then |
| 5177 | DX_ENV="$DX_ENV GENERATE_RTF='YES'" |
| 5178 | |
| 5179 | : |
| 5180 | else |
| 5181 | DX_ENV="$DX_ENV GENERATE_RTF='NO'" |
| 5182 | |
| 5183 | : |
| 5184 | fi |
| 5185 | |
| 5186 | |
| 5187 | # XML file generation: |
| 5188 | |
| 5189 | |
| 5190 | |
| 5191 | # Check whether --enable-doxygen-xml was given. |
| 5192 | if test "${enable_doxygen_xml+set}" = set; then : |
| 5193 | enableval=$enable_doxygen_xml; |
| 5194 | case "$enableval" in |
| 5195 | #( |
| 5196 | y|Y|yes|Yes|YES) |
| 5197 | DX_FLAG_xml=1 |
| 5198 | |
| 5199 | |
| 5200 | test "$DX_FLAG_doc" = "1" \ |
| 5201 | || as_fn_error $? "doxygen-xml requires doxygen-xml" "$LINENO" 5 |
| 5202 | |
| 5203 | ;; #( |
| 5204 | n|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 | ;; |
| 5211 | esac |
| 5212 | |
| 5213 | else |
| 5214 | |
| 5215 | DX_FLAG_xml=0 |
| 5216 | |
| 5217 | |
| 5218 | test "$DX_FLAG_doc" = "1" || DX_FLAG_xml=0 |
| 5219 | |
| 5220 | |
| 5221 | |
| 5222 | fi |
| 5223 | |
| 5224 | if test "$DX_FLAG_xml" = 1; then |
| 5225 | |
| 5226 | : |
| 5227 | fi |
| 5228 | if test "$DX_FLAG_xml" = 1; then |
| 5229 | DX_COND_xml_TRUE= |
| 5230 | DX_COND_xml_FALSE='#' |
| 5231 | else |
| 5232 | DX_COND_xml_TRUE='#' |
| 5233 | DX_COND_xml_FALSE= |
| 5234 | fi |
| 5235 | |
| 5236 | if test "$DX_FLAG_xml" = 1; then |
| 5237 | DX_ENV="$DX_ENV GENERATE_XML='YES'" |
| 5238 | |
| 5239 | : |
| 5240 | else |
| 5241 | DX_ENV="$DX_ENV GENERATE_XML='NO'" |
| 5242 | |
| 5243 | : |
| 5244 | fi |
| 5245 | |
| 5246 | |
| 5247 | # (Compressed) HTML help generation: |
| 5248 | |
| 5249 | |
| 5250 | |
| 5251 | # Check whether --enable-doxygen-chm was given. |
| 5252 | if test "${enable_doxygen_chm+set}" = set; then : |
| 5253 | enableval=$enable_doxygen_chm; |
| 5254 | case "$enableval" in |
| 5255 | #( |
| 5256 | y|Y|yes|Yes|YES) |
| 5257 | DX_FLAG_chm=1 |
| 5258 | |
| 5259 | |
| 5260 | test "$DX_FLAG_doc" = "1" \ |
| 5261 | || as_fn_error $? "doxygen-chm requires doxygen-chm" "$LINENO" 5 |
| 5262 | |
| 5263 | ;; #( |
| 5264 | n|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 | ;; |
| 5271 | esac |
| 5272 | |
| 5273 | else |
| 5274 | |
| 5275 | DX_FLAG_chm=0 |
| 5276 | |
| 5277 | |
| 5278 | test "$DX_FLAG_doc" = "1" || DX_FLAG_chm=0 |
| 5279 | |
| 5280 | |
| 5281 | |
| 5282 | fi |
| 5283 | |
| 5284 | if test "$DX_FLAG_chm" = 1; then |
| 5285 | |
| 5286 | if 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. |
| 5288 | set 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; } |
| 5291 | if ${ac_cv_path_DX_HHC+:} false; then : |
| 5292 | $as_echo_n "(cached) " >&6 |
| 5293 | else |
| 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 |
| 5300 | for as_dir in $PATH |
| 5301 | do |
| 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 |
| 5310 | done |
| 5311 | done |
| 5312 | IFS=$as_save_IFS |
| 5313 | |
| 5314 | ;; |
| 5315 | esac |
| 5316 | fi |
| 5317 | DX_HHC=$ac_cv_path_DX_HHC |
| 5318 | if test -n "$DX_HHC"; then |
| 5319 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_HHC" >&5 |
| 5320 | $as_echo "$DX_HHC" >&6; } |
| 5321 | else |
| 5322 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5323 | $as_echo "no" >&6; } |
| 5324 | fi |
| 5325 | |
| 5326 | |
| 5327 | fi |
| 5328 | if 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. |
| 5331 | set 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; } |
| 5334 | if ${ac_cv_path_ac_pt_DX_HHC+:} false; then : |
| 5335 | $as_echo_n "(cached) " >&6 |
| 5336 | else |
| 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 |
| 5343 | for as_dir in $PATH |
| 5344 | do |
| 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 |
| 5353 | done |
| 5354 | done |
| 5355 | IFS=$as_save_IFS |
| 5356 | |
| 5357 | ;; |
| 5358 | esac |
| 5359 | fi |
| 5360 | ac_pt_DX_HHC=$ac_cv_path_ac_pt_DX_HHC |
| 5361 | if 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; } |
| 5364 | else |
| 5365 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5366 | $as_echo "no" >&6; } |
| 5367 | fi |
| 5368 | |
| 5369 | if test "x$ac_pt_DX_HHC" = x; then |
| 5370 | DX_HHC="" |
| 5371 | else |
| 5372 | case $cross_compiling:$ac_tool_warned in |
| 5373 | yes:) |
| 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;} |
| 5376 | ac_tool_warned=yes ;; |
| 5377 | esac |
| 5378 | DX_HHC=$ac_pt_DX_HHC |
| 5379 | fi |
| 5380 | else |
| 5381 | DX_HHC="$ac_cv_path_DX_HHC" |
| 5382 | fi |
| 5383 | |
| 5384 | if 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 | |
| 5389 | fi |
| 5390 | |
| 5391 | : |
| 5392 | fi |
| 5393 | if test "$DX_FLAG_chm" = 1; then |
| 5394 | DX_COND_chm_TRUE= |
| 5395 | DX_COND_chm_FALSE='#' |
| 5396 | else |
| 5397 | DX_COND_chm_TRUE='#' |
| 5398 | DX_COND_chm_FALSE= |
| 5399 | fi |
| 5400 | |
| 5401 | if 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 | : |
| 5409 | else |
| 5410 | DX_ENV="$DX_ENV GENERATE_HTMLHELP='NO'" |
| 5411 | |
| 5412 | : |
| 5413 | fi |
| 5414 | |
| 5415 | |
| 5416 | # Seperate CHI file generation. |
| 5417 | |
| 5418 | |
| 5419 | |
| 5420 | # Check whether --enable-doxygen-chi was given. |
| 5421 | if test "${enable_doxygen_chi+set}" = set; then : |
| 5422 | enableval=$enable_doxygen_chi; |
| 5423 | case "$enableval" in |
| 5424 | #( |
| 5425 | y|Y|yes|Yes|YES) |
| 5426 | DX_FLAG_chi=1 |
| 5427 | |
| 5428 | |
| 5429 | test "$DX_FLAG_chm" = "1" \ |
| 5430 | || as_fn_error $? "doxygen-chi requires doxygen-chi" "$LINENO" 5 |
| 5431 | |
| 5432 | ;; #( |
| 5433 | n|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 | ;; |
| 5440 | esac |
| 5441 | |
| 5442 | else |
| 5443 | |
| 5444 | DX_FLAG_chi=0 |
| 5445 | |
| 5446 | |
| 5447 | test "$DX_FLAG_chm" = "1" || DX_FLAG_chi=0 |
| 5448 | |
| 5449 | |
| 5450 | |
| 5451 | fi |
| 5452 | |
| 5453 | if test "$DX_FLAG_chi" = 1; then |
| 5454 | |
| 5455 | : |
| 5456 | fi |
| 5457 | if test "$DX_FLAG_chi" = 1; then |
| 5458 | DX_COND_chi_TRUE= |
| 5459 | DX_COND_chi_FALSE='#' |
| 5460 | else |
| 5461 | DX_COND_chi_TRUE='#' |
| 5462 | DX_COND_chi_FALSE= |
| 5463 | fi |
| 5464 | |
| 5465 | if test "$DX_FLAG_chi" = 1; then |
| 5466 | DX_ENV="$DX_ENV GENERATE_CHI='YES'" |
| 5467 | |
| 5468 | : |
| 5469 | else |
| 5470 | DX_ENV="$DX_ENV GENERATE_CHI='NO'" |
| 5471 | |
| 5472 | : |
| 5473 | fi |
| 5474 | |
| 5475 | |
| 5476 | # Plain HTML pages generation: |
| 5477 | |
| 5478 | |
| 5479 | |
| 5480 | # Check whether --enable-doxygen-html was given. |
| 5481 | if test "${enable_doxygen_html+set}" = set; then : |
| 5482 | enableval=$enable_doxygen_html; |
| 5483 | case "$enableval" in |
| 5484 | #( |
| 5485 | y|Y|yes|Yes|YES) |
| 5486 | DX_FLAG_html=1 |
| 5487 | |
| 5488 | |
| 5489 | test "$DX_FLAG_doc" = "1" \ |
| 5490 | || as_fn_error $? "doxygen-html requires doxygen-html" "$LINENO" 5 |
| 5491 | |
| 5492 | test "$DX_FLAG_chm" = "0" \ |
| 5493 | || as_fn_error $? "doxygen-html contradicts doxygen-html" "$LINENO" 5 |
| 5494 | |
| 5495 | ;; #( |
| 5496 | n|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 | ;; |
| 5503 | esac |
| 5504 | |
| 5505 | else |
| 5506 | |
| 5507 | DX_FLAG_html=1 |
| 5508 | |
| 5509 | |
| 5510 | test "$DX_FLAG_doc" = "1" || DX_FLAG_html=0 |
| 5511 | |
| 5512 | |
| 5513 | test "$DX_FLAG_chm" = "0" || DX_FLAG_html=0 |
| 5514 | |
| 5515 | |
| 5516 | |
| 5517 | fi |
| 5518 | |
| 5519 | if test "$DX_FLAG_html" = 1; then |
| 5520 | |
| 5521 | : |
| 5522 | fi |
| 5523 | if test "$DX_FLAG_html" = 1; then |
| 5524 | DX_COND_html_TRUE= |
| 5525 | DX_COND_html_FALSE='#' |
| 5526 | else |
| 5527 | DX_COND_html_TRUE='#' |
| 5528 | DX_COND_html_FALSE= |
| 5529 | fi |
| 5530 | |
| 5531 | if test "$DX_FLAG_html" = 1; then |
| 5532 | DX_ENV="$DX_ENV GENERATE_HTML='YES'" |
| 5533 | |
| 5534 | : |
| 5535 | else |
| 5536 | test "$DX_FLAG_chm" = 1 || DX_ENV="$DX_ENV GENERATE_HTML='NO'" |
| 5537 | |
| 5538 | : |
| 5539 | fi |
| 5540 | |
| 5541 | |
| 5542 | # PostScript file generation: |
| 5543 | |
| 5544 | |
| 5545 | |
| 5546 | # Check whether --enable-doxygen-ps was given. |
| 5547 | if test "${enable_doxygen_ps+set}" = set; then : |
| 5548 | enableval=$enable_doxygen_ps; |
| 5549 | case "$enableval" in |
| 5550 | #( |
| 5551 | y|Y|yes|Yes|YES) |
| 5552 | DX_FLAG_ps=1 |
| 5553 | |
| 5554 | |
| 5555 | test "$DX_FLAG_doc" = "1" \ |
| 5556 | || as_fn_error $? "doxygen-ps requires doxygen-ps" "$LINENO" 5 |
| 5557 | |
| 5558 | ;; #( |
| 5559 | n|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 | ;; |
| 5566 | esac |
| 5567 | |
| 5568 | else |
| 5569 | |
| 5570 | DX_FLAG_ps=0 |
| 5571 | |
| 5572 | |
| 5573 | test "$DX_FLAG_doc" = "1" || DX_FLAG_ps=0 |
| 5574 | |
| 5575 | |
| 5576 | |
| 5577 | fi |
| 5578 | |
| 5579 | if test "$DX_FLAG_ps" = 1; then |
| 5580 | |
| 5581 | if 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. |
| 5583 | set 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; } |
| 5586 | if ${ac_cv_path_DX_LATEX+:} false; then : |
| 5587 | $as_echo_n "(cached) " >&6 |
| 5588 | else |
| 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 |
| 5595 | for as_dir in $PATH |
| 5596 | do |
| 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 |
| 5605 | done |
| 5606 | done |
| 5607 | IFS=$as_save_IFS |
| 5608 | |
| 5609 | ;; |
| 5610 | esac |
| 5611 | fi |
| 5612 | DX_LATEX=$ac_cv_path_DX_LATEX |
| 5613 | if test -n "$DX_LATEX"; then |
| 5614 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_LATEX" >&5 |
| 5615 | $as_echo "$DX_LATEX" >&6; } |
| 5616 | else |
| 5617 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5618 | $as_echo "no" >&6; } |
| 5619 | fi |
| 5620 | |
| 5621 | |
| 5622 | fi |
| 5623 | if 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. |
| 5626 | set 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; } |
| 5629 | if ${ac_cv_path_ac_pt_DX_LATEX+:} false; then : |
| 5630 | $as_echo_n "(cached) " >&6 |
| 5631 | else |
| 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 |
| 5638 | for as_dir in $PATH |
| 5639 | do |
| 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 |
| 5648 | done |
| 5649 | done |
| 5650 | IFS=$as_save_IFS |
| 5651 | |
| 5652 | ;; |
| 5653 | esac |
| 5654 | fi |
| 5655 | ac_pt_DX_LATEX=$ac_cv_path_ac_pt_DX_LATEX |
| 5656 | if 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; } |
| 5659 | else |
| 5660 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5661 | $as_echo "no" >&6; } |
| 5662 | fi |
| 5663 | |
| 5664 | if test "x$ac_pt_DX_LATEX" = x; then |
| 5665 | DX_LATEX="" |
| 5666 | else |
| 5667 | case $cross_compiling:$ac_tool_warned in |
| 5668 | yes:) |
| 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;} |
| 5671 | ac_tool_warned=yes ;; |
| 5672 | esac |
| 5673 | DX_LATEX=$ac_pt_DX_LATEX |
| 5674 | fi |
| 5675 | else |
| 5676 | DX_LATEX="$ac_cv_path_DX_LATEX" |
| 5677 | fi |
| 5678 | |
| 5679 | if 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 | |
| 5684 | fi |
| 5685 | |
| 5686 | |
| 5687 | if 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. |
| 5689 | set 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; } |
| 5692 | if ${ac_cv_path_DX_MAKEINDEX+:} false; then : |
| 5693 | $as_echo_n "(cached) " >&6 |
| 5694 | else |
| 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 |
| 5701 | for as_dir in $PATH |
| 5702 | do |
| 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 |
| 5711 | done |
| 5712 | done |
| 5713 | IFS=$as_save_IFS |
| 5714 | |
| 5715 | ;; |
| 5716 | esac |
| 5717 | fi |
| 5718 | DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX |
| 5719 | if test -n "$DX_MAKEINDEX"; then |
| 5720 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5 |
| 5721 | $as_echo "$DX_MAKEINDEX" >&6; } |
| 5722 | else |
| 5723 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5724 | $as_echo "no" >&6; } |
| 5725 | fi |
| 5726 | |
| 5727 | |
| 5728 | fi |
| 5729 | if 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. |
| 5732 | set 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; } |
| 5735 | if ${ac_cv_path_ac_pt_DX_MAKEINDEX+:} false; then : |
| 5736 | $as_echo_n "(cached) " >&6 |
| 5737 | else |
| 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 |
| 5744 | for as_dir in $PATH |
| 5745 | do |
| 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 |
| 5754 | done |
| 5755 | done |
| 5756 | IFS=$as_save_IFS |
| 5757 | |
| 5758 | ;; |
| 5759 | esac |
| 5760 | fi |
| 5761 | ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX |
| 5762 | if 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; } |
| 5765 | else |
| 5766 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5767 | $as_echo "no" >&6; } |
| 5768 | fi |
| 5769 | |
| 5770 | if test "x$ac_pt_DX_MAKEINDEX" = x; then |
| 5771 | DX_MAKEINDEX="" |
| 5772 | else |
| 5773 | case $cross_compiling:$ac_tool_warned in |
| 5774 | yes:) |
| 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;} |
| 5777 | ac_tool_warned=yes ;; |
| 5778 | esac |
| 5779 | DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX |
| 5780 | fi |
| 5781 | else |
| 5782 | DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX" |
| 5783 | fi |
| 5784 | |
| 5785 | if 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 | |
| 5790 | fi |
| 5791 | |
| 5792 | |
| 5793 | if 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. |
| 5795 | set 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; } |
| 5798 | if ${ac_cv_path_DX_DVIPS+:} false; then : |
| 5799 | $as_echo_n "(cached) " >&6 |
| 5800 | else |
| 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 |
| 5807 | for as_dir in $PATH |
| 5808 | do |
| 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 |
| 5817 | done |
| 5818 | done |
| 5819 | IFS=$as_save_IFS |
| 5820 | |
| 5821 | ;; |
| 5822 | esac |
| 5823 | fi |
| 5824 | DX_DVIPS=$ac_cv_path_DX_DVIPS |
| 5825 | if test -n "$DX_DVIPS"; then |
| 5826 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DVIPS" >&5 |
| 5827 | $as_echo "$DX_DVIPS" >&6; } |
| 5828 | else |
| 5829 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5830 | $as_echo "no" >&6; } |
| 5831 | fi |
| 5832 | |
| 5833 | |
| 5834 | fi |
| 5835 | if 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. |
| 5838 | set 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; } |
| 5841 | if ${ac_cv_path_ac_pt_DX_DVIPS+:} false; then : |
| 5842 | $as_echo_n "(cached) " >&6 |
| 5843 | else |
| 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 |
| 5850 | for as_dir in $PATH |
| 5851 | do |
| 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 |
| 5860 | done |
| 5861 | done |
| 5862 | IFS=$as_save_IFS |
| 5863 | |
| 5864 | ;; |
| 5865 | esac |
| 5866 | fi |
| 5867 | ac_pt_DX_DVIPS=$ac_cv_path_ac_pt_DX_DVIPS |
| 5868 | if 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; } |
| 5871 | else |
| 5872 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5873 | $as_echo "no" >&6; } |
| 5874 | fi |
| 5875 | |
| 5876 | if test "x$ac_pt_DX_DVIPS" = x; then |
| 5877 | DX_DVIPS="" |
| 5878 | else |
| 5879 | case $cross_compiling:$ac_tool_warned in |
| 5880 | yes:) |
| 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;} |
| 5883 | ac_tool_warned=yes ;; |
| 5884 | esac |
| 5885 | DX_DVIPS=$ac_pt_DX_DVIPS |
| 5886 | fi |
| 5887 | else |
| 5888 | DX_DVIPS="$ac_cv_path_DX_DVIPS" |
| 5889 | fi |
| 5890 | |
| 5891 | if 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 | |
| 5896 | fi |
| 5897 | |
| 5898 | |
| 5899 | if 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. |
| 5901 | set 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; } |
| 5904 | if ${ac_cv_path_DX_EGREP+:} false; then : |
| 5905 | $as_echo_n "(cached) " >&6 |
| 5906 | else |
| 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 |
| 5913 | for as_dir in $PATH |
| 5914 | do |
| 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 |
| 5923 | done |
| 5924 | done |
| 5925 | IFS=$as_save_IFS |
| 5926 | |
| 5927 | ;; |
| 5928 | esac |
| 5929 | fi |
| 5930 | DX_EGREP=$ac_cv_path_DX_EGREP |
| 5931 | if test -n "$DX_EGREP"; then |
| 5932 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5 |
| 5933 | $as_echo "$DX_EGREP" >&6; } |
| 5934 | else |
| 5935 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5936 | $as_echo "no" >&6; } |
| 5937 | fi |
| 5938 | |
| 5939 | |
| 5940 | fi |
| 5941 | if 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. |
| 5944 | set 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; } |
| 5947 | if ${ac_cv_path_ac_pt_DX_EGREP+:} false; then : |
| 5948 | $as_echo_n "(cached) " >&6 |
| 5949 | else |
| 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 |
| 5956 | for as_dir in $PATH |
| 5957 | do |
| 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 |
| 5966 | done |
| 5967 | done |
| 5968 | IFS=$as_save_IFS |
| 5969 | |
| 5970 | ;; |
| 5971 | esac |
| 5972 | fi |
| 5973 | ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP |
| 5974 | if 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; } |
| 5977 | else |
| 5978 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5979 | $as_echo "no" >&6; } |
| 5980 | fi |
| 5981 | |
| 5982 | if test "x$ac_pt_DX_EGREP" = x; then |
| 5983 | DX_EGREP="" |
| 5984 | else |
| 5985 | case $cross_compiling:$ac_tool_warned in |
| 5986 | yes:) |
| 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;} |
| 5989 | ac_tool_warned=yes ;; |
| 5990 | esac |
| 5991 | DX_EGREP=$ac_pt_DX_EGREP |
| 5992 | fi |
| 5993 | else |
| 5994 | DX_EGREP="$ac_cv_path_DX_EGREP" |
| 5995 | fi |
| 5996 | |
| 5997 | if 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 | |
| 6002 | fi |
| 6003 | |
| 6004 | : |
| 6005 | fi |
| 6006 | if test "$DX_FLAG_ps" = 1; then |
| 6007 | DX_COND_ps_TRUE= |
| 6008 | DX_COND_ps_FALSE='#' |
| 6009 | else |
| 6010 | DX_COND_ps_TRUE='#' |
| 6011 | DX_COND_ps_FALSE= |
| 6012 | fi |
| 6013 | |
| 6014 | if test "$DX_FLAG_ps" = 1; then |
| 6015 | |
| 6016 | : |
| 6017 | else |
| 6018 | |
| 6019 | : |
| 6020 | fi |
| 6021 | |
| 6022 | |
| 6023 | # PDF file generation: |
| 6024 | |
| 6025 | |
| 6026 | |
| 6027 | # Check whether --enable-doxygen-pdf was given. |
| 6028 | if test "${enable_doxygen_pdf+set}" = set; then : |
| 6029 | enableval=$enable_doxygen_pdf; |
| 6030 | case "$enableval" in |
| 6031 | #( |
| 6032 | y|Y|yes|Yes|YES) |
| 6033 | DX_FLAG_pdf=1 |
| 6034 | |
| 6035 | |
| 6036 | test "$DX_FLAG_doc" = "1" \ |
| 6037 | || as_fn_error $? "doxygen-pdf requires doxygen-pdf" "$LINENO" 5 |
| 6038 | |
| 6039 | ;; #( |
| 6040 | n|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 | ;; |
| 6047 | esac |
| 6048 | |
| 6049 | else |
| 6050 | |
| 6051 | DX_FLAG_pdf=0 |
| 6052 | |
| 6053 | |
| 6054 | test "$DX_FLAG_doc" = "1" || DX_FLAG_pdf=0 |
| 6055 | |
| 6056 | |
| 6057 | |
| 6058 | fi |
| 6059 | |
| 6060 | if test "$DX_FLAG_pdf" = 1; then |
| 6061 | |
| 6062 | if 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. |
| 6064 | set 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; } |
| 6067 | if ${ac_cv_path_DX_PDFLATEX+:} false; then : |
| 6068 | $as_echo_n "(cached) " >&6 |
| 6069 | else |
| 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 |
| 6076 | for as_dir in $PATH |
| 6077 | do |
| 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 |
| 6086 | done |
| 6087 | done |
| 6088 | IFS=$as_save_IFS |
| 6089 | |
| 6090 | ;; |
| 6091 | esac |
| 6092 | fi |
| 6093 | DX_PDFLATEX=$ac_cv_path_DX_PDFLATEX |
| 6094 | if test -n "$DX_PDFLATEX"; then |
| 6095 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PDFLATEX" >&5 |
| 6096 | $as_echo "$DX_PDFLATEX" >&6; } |
| 6097 | else |
| 6098 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6099 | $as_echo "no" >&6; } |
| 6100 | fi |
| 6101 | |
| 6102 | |
| 6103 | fi |
| 6104 | if 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. |
| 6107 | set 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; } |
| 6110 | if ${ac_cv_path_ac_pt_DX_PDFLATEX+:} false; then : |
| 6111 | $as_echo_n "(cached) " >&6 |
| 6112 | else |
| 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 |
| 6119 | for as_dir in $PATH |
| 6120 | do |
| 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 |
| 6129 | done |
| 6130 | done |
| 6131 | IFS=$as_save_IFS |
| 6132 | |
| 6133 | ;; |
| 6134 | esac |
| 6135 | fi |
| 6136 | ac_pt_DX_PDFLATEX=$ac_cv_path_ac_pt_DX_PDFLATEX |
| 6137 | if 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; } |
| 6140 | else |
| 6141 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6142 | $as_echo "no" >&6; } |
| 6143 | fi |
| 6144 | |
| 6145 | if test "x$ac_pt_DX_PDFLATEX" = x; then |
| 6146 | DX_PDFLATEX="" |
| 6147 | else |
| 6148 | case $cross_compiling:$ac_tool_warned in |
| 6149 | yes:) |
| 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;} |
| 6152 | ac_tool_warned=yes ;; |
| 6153 | esac |
| 6154 | DX_PDFLATEX=$ac_pt_DX_PDFLATEX |
| 6155 | fi |
| 6156 | else |
| 6157 | DX_PDFLATEX="$ac_cv_path_DX_PDFLATEX" |
| 6158 | fi |
| 6159 | |
| 6160 | if 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 | |
| 6165 | fi |
| 6166 | |
| 6167 | |
| 6168 | if 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. |
| 6170 | set 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; } |
| 6173 | if ${ac_cv_path_DX_MAKEINDEX+:} false; then : |
| 6174 | $as_echo_n "(cached) " >&6 |
| 6175 | else |
| 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 |
| 6182 | for as_dir in $PATH |
| 6183 | do |
| 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 |
| 6192 | done |
| 6193 | done |
| 6194 | IFS=$as_save_IFS |
| 6195 | |
| 6196 | ;; |
| 6197 | esac |
| 6198 | fi |
| 6199 | DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX |
| 6200 | if test -n "$DX_MAKEINDEX"; then |
| 6201 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5 |
| 6202 | $as_echo "$DX_MAKEINDEX" >&6; } |
| 6203 | else |
| 6204 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6205 | $as_echo "no" >&6; } |
| 6206 | fi |
| 6207 | |
| 6208 | |
| 6209 | fi |
| 6210 | if 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. |
| 6213 | set 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; } |
| 6216 | if ${ac_cv_path_ac_pt_DX_MAKEINDEX+:} false; then : |
| 6217 | $as_echo_n "(cached) " >&6 |
| 6218 | else |
| 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 |
| 6225 | for as_dir in $PATH |
| 6226 | do |
| 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 |
| 6235 | done |
| 6236 | done |
| 6237 | IFS=$as_save_IFS |
| 6238 | |
| 6239 | ;; |
| 6240 | esac |
| 6241 | fi |
| 6242 | ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX |
| 6243 | if 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; } |
| 6246 | else |
| 6247 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6248 | $as_echo "no" >&6; } |
| 6249 | fi |
| 6250 | |
| 6251 | if test "x$ac_pt_DX_MAKEINDEX" = x; then |
| 6252 | DX_MAKEINDEX="" |
| 6253 | else |
| 6254 | case $cross_compiling:$ac_tool_warned in |
| 6255 | yes:) |
| 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;} |
| 6258 | ac_tool_warned=yes ;; |
| 6259 | esac |
| 6260 | DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX |
| 6261 | fi |
| 6262 | else |
| 6263 | DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX" |
| 6264 | fi |
| 6265 | |
| 6266 | if 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 | |
| 6271 | fi |
| 6272 | |
| 6273 | |
| 6274 | if 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. |
| 6276 | set 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; } |
| 6279 | if ${ac_cv_path_DX_EGREP+:} false; then : |
| 6280 | $as_echo_n "(cached) " >&6 |
| 6281 | else |
| 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 |
| 6288 | for as_dir in $PATH |
| 6289 | do |
| 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 |
| 6298 | done |
| 6299 | done |
| 6300 | IFS=$as_save_IFS |
| 6301 | |
| 6302 | ;; |
| 6303 | esac |
| 6304 | fi |
| 6305 | DX_EGREP=$ac_cv_path_DX_EGREP |
| 6306 | if test -n "$DX_EGREP"; then |
| 6307 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5 |
| 6308 | $as_echo "$DX_EGREP" >&6; } |
| 6309 | else |
| 6310 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6311 | $as_echo "no" >&6; } |
| 6312 | fi |
| 6313 | |
| 6314 | |
| 6315 | fi |
| 6316 | if 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. |
| 6319 | set 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; } |
| 6322 | if ${ac_cv_path_ac_pt_DX_EGREP+:} false; then : |
| 6323 | $as_echo_n "(cached) " >&6 |
| 6324 | else |
| 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 |
| 6331 | for as_dir in $PATH |
| 6332 | do |
| 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 |
| 6341 | done |
| 6342 | done |
| 6343 | IFS=$as_save_IFS |
| 6344 | |
| 6345 | ;; |
| 6346 | esac |
| 6347 | fi |
| 6348 | ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP |
| 6349 | if 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; } |
| 6352 | else |
| 6353 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6354 | $as_echo "no" >&6; } |
| 6355 | fi |
| 6356 | |
| 6357 | if test "x$ac_pt_DX_EGREP" = x; then |
| 6358 | DX_EGREP="" |
| 6359 | else |
| 6360 | case $cross_compiling:$ac_tool_warned in |
| 6361 | yes:) |
| 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;} |
| 6364 | ac_tool_warned=yes ;; |
| 6365 | esac |
| 6366 | DX_EGREP=$ac_pt_DX_EGREP |
| 6367 | fi |
| 6368 | else |
| 6369 | DX_EGREP="$ac_cv_path_DX_EGREP" |
| 6370 | fi |
| 6371 | |
| 6372 | if 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 | |
| 6377 | fi |
| 6378 | |
| 6379 | : |
| 6380 | fi |
| 6381 | if test "$DX_FLAG_pdf" = 1; then |
| 6382 | DX_COND_pdf_TRUE= |
| 6383 | DX_COND_pdf_FALSE='#' |
| 6384 | else |
| 6385 | DX_COND_pdf_TRUE='#' |
| 6386 | DX_COND_pdf_FALSE= |
| 6387 | fi |
| 6388 | |
| 6389 | if test "$DX_FLAG_pdf" = 1; then |
| 6390 | |
| 6391 | : |
| 6392 | else |
| 6393 | |
| 6394 | : |
| 6395 | fi |
| 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='#' |
| 6402 | else |
| 6403 | DX_COND_latex_TRUE='#' |
| 6404 | DX_COND_latex_FALSE= |
| 6405 | fi |
| 6406 | |
| 6407 | if test "$DX_FLAG_ps" = 1 || test "$DX_FLAG_pdf" = 1; then |
| 6408 | DX_ENV="$DX_ENV GENERATE_LATEX='YES'" |
| 6409 | |
| 6410 | else |
| 6411 | DX_ENV="$DX_ENV GENERATE_LATEX='NO'" |
| 6412 | |
| 6413 | fi |
| 6414 | |
| 6415 | # Paper size for PS and/or PDF: |
| 6416 | |
| 6417 | case "$DOXYGEN_PAPER_SIZE" in |
| 6418 | #( |
| 6419 | "") |
| 6420 | DOXYGEN_PAPER_SIZE="" |
| 6421 | |
| 6422 | ;; #( |
| 6423 | a4wide|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 | ;; |
| 6430 | esac |
| 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 Thompson | 39128c6 | 2013-06-19 14:08:51 -0700 | [diff] [blame] | 6446 | ac_config_files="$ac_config_files Makefile" |
| 6447 | |
| 6448 | cat >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 |
| 6510 | if 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 |
| 6531 | fi |
| 6532 | rm -f confcache |
| 6533 | |
| 6534 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
| 6535 | # Let make expand exec_prefix. |
| 6536 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
| 6537 | |
| 6538 | DEFS=-DHAVE_CONFIG_H |
| 6539 | |
| 6540 | ac_libobjs= |
| 6541 | ac_ltlibobjs= |
| 6542 | U= |
| 6543 | for 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' |
| 6551 | done |
| 6552 | LIBOBJS=$ac_libobjs |
| 6553 | |
| 6554 | LTLIBOBJS=$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='#' |
| 6568 | else |
| 6569 | am__EXEEXT_TRUE='#' |
| 6570 | am__EXEEXT_FALSE= |
| 6571 | fi |
| 6572 | |
Jeff Thompson | 47053ad | 2013-08-05 10:36:53 -0700 | [diff] [blame] | 6573 | if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then |
| 6574 | as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. |
| 6575 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 6576 | fi |
Jeff Thompson | 39128c6 | 2013-06-19 14:08:51 -0700 | [diff] [blame] | 6577 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
| 6578 | as_fn_error $? "conditional \"AMDEP\" was never defined. |
| 6579 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 6580 | fi |
| 6581 | if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then |
| 6582 | as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. |
| 6583 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 6584 | fi |
Jeff Thompson | 3617406 | 2013-06-21 16:03:44 -0700 | [diff] [blame] | 6585 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
| 6586 | as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
| 6587 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 6588 | fi |
Jeff Thompson | ca45e55 | 2013-06-26 17:40:06 -0700 | [diff] [blame] | 6589 | if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then |
| 6590 | as_fn_error $? "conditional \"DX_COND_doc\" was never defined. |
| 6591 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 6592 | fi |
| 6593 | if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then |
| 6594 | as_fn_error $? "conditional \"DX_COND_dot\" was never defined. |
| 6595 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 6596 | fi |
| 6597 | if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then |
| 6598 | as_fn_error $? "conditional \"DX_COND_man\" was never defined. |
| 6599 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 6600 | fi |
| 6601 | if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then |
| 6602 | as_fn_error $? "conditional \"DX_COND_rtf\" was never defined. |
| 6603 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 6604 | fi |
| 6605 | if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then |
| 6606 | as_fn_error $? "conditional \"DX_COND_xml\" was never defined. |
| 6607 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 6608 | fi |
| 6609 | if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then |
| 6610 | as_fn_error $? "conditional \"DX_COND_chm\" was never defined. |
| 6611 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 6612 | fi |
| 6613 | if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then |
| 6614 | as_fn_error $? "conditional \"DX_COND_chi\" was never defined. |
| 6615 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 6616 | fi |
| 6617 | if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then |
| 6618 | as_fn_error $? "conditional \"DX_COND_html\" was never defined. |
| 6619 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 6620 | fi |
| 6621 | if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then |
| 6622 | as_fn_error $? "conditional \"DX_COND_ps\" was never defined. |
| 6623 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 6624 | fi |
| 6625 | if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then |
| 6626 | as_fn_error $? "conditional \"DX_COND_pdf\" was never defined. |
| 6627 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 6628 | fi |
| 6629 | if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then |
| 6630 | as_fn_error $? "conditional \"DX_COND_latex\" was never defined. |
| 6631 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 6632 | fi |
Jeff Thompson | 39128c6 | 2013-06-19 14:08:51 -0700 | [diff] [blame] | 6633 | |
| 6634 | : "${CONFIG_STATUS=./config.status}" |
| 6635 | ac_write_fail=0 |
| 6636 | ac_clean_files_save=$ac_clean_files |
| 6637 | ac_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;} |
| 6640 | as_write_fail=0 |
| 6641 | cat >$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 | |
| 6648 | debug=false |
| 6649 | ac_cs_recheck=false |
| 6650 | ac_cs_silent=false |
| 6651 | |
| 6652 | SHELL=\${CONFIG_SHELL-$SHELL} |
| 6653 | export SHELL |
| 6654 | _ASEOF |
| 6655 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
| 6656 | ## -------------------- ## |
| 6657 | ## M4sh Initialization. ## |
| 6658 | ## -------------------- ## |
| 6659 | |
| 6660 | # Be more Bourne compatible |
| 6661 | DUALCASE=1; export DUALCASE # for MKS sh |
| 6662 | if 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 |
| 6669 | else |
| 6670 | case `(set -o) 2>/dev/null` in #( |
| 6671 | *posix*) : |
| 6672 | set -o posix ;; #( |
| 6673 | *) : |
| 6674 | ;; |
| 6675 | esac |
| 6676 | fi |
| 6677 | |
| 6678 | |
| 6679 | as_nl=' |
| 6680 | ' |
| 6681 | export as_nl |
| 6682 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
| 6683 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
| 6684 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
| 6685 | as_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. |
| 6688 | if 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 --' |
| 6692 | elif (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' |
| 6695 | else |
| 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' |
| 6715 | fi |
| 6716 | |
| 6717 | # The user is always right. |
| 6718 | if 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 | } |
| 6724 | fi |
| 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.) |
| 6732 | IFS=" "" $as_nl" |
| 6733 | |
| 6734 | # Find who we are. Look in the path if we contain no directory separator. |
| 6735 | as_myself= |
| 6736 | case $0 in #(( |
| 6737 | *[\\/]* ) as_myself=$0 ;; |
| 6738 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 6739 | for as_dir in $PATH |
| 6740 | do |
| 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 |
| 6745 | IFS=$as_save_IFS |
| 6746 | |
| 6747 | ;; |
| 6748 | esac |
| 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. |
| 6751 | if test "x$as_myself" = x; then |
| 6752 | as_myself=$0 |
| 6753 | fi |
| 6754 | if test ! -f "$as_myself"; then |
| 6755 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| 6756 | exit 1 |
| 6757 | fi |
| 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. |
| 6763 | for as_var in BASH_ENV ENV MAIL MAILPATH |
| 6764 | do eval test x\${$as_var+set} = xset \ |
| 6765 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
| 6766 | done |
| 6767 | PS1='$ ' |
| 6768 | PS2='> ' |
| 6769 | PS4='+ ' |
| 6770 | |
| 6771 | # NLS nuisances. |
| 6772 | LC_ALL=C |
| 6773 | export LC_ALL |
| 6774 | LANGUAGE=C |
| 6775 | export 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. |
| 6786 | as_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. |
| 6801 | as_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. |
| 6809 | as_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. |
| 6819 | as_fn_unset () |
| 6820 | { |
| 6821 | { eval $1=; unset $1;} |
| 6822 | } |
| 6823 | as_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. |
| 6830 | if (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 | }' |
| 6835 | else |
| 6836 | as_fn_append () |
| 6837 | { |
| 6838 | eval $1=\$$1\$2 |
| 6839 | } |
| 6840 | fi # 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. |
| 6847 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
| 6848 | eval 'as_fn_arith () |
| 6849 | { |
| 6850 | as_val=$(( $* )) |
| 6851 | }' |
| 6852 | else |
| 6853 | as_fn_arith () |
| 6854 | { |
| 6855 | as_val=`expr "$@" || test $? -eq 1` |
| 6856 | } |
| 6857 | fi # as_fn_arith |
| 6858 | |
| 6859 | |
| 6860 | if expr a : '\(a\)' >/dev/null 2>&1 && |
| 6861 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 6862 | as_expr=expr |
| 6863 | else |
| 6864 | as_expr=false |
| 6865 | fi |
| 6866 | |
| 6867 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
| 6868 | as_basename=basename |
| 6869 | else |
| 6870 | as_basename=false |
| 6871 | fi |
| 6872 | |
| 6873 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
| 6874 | as_dirname=dirname |
| 6875 | else |
| 6876 | as_dirname=false |
| 6877 | fi |
| 6878 | |
| 6879 | as_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. |
| 6899 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| 6900 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| 6901 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| 6902 | as_cr_digits='0123456789' |
| 6903 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
| 6904 | |
| 6905 | ECHO_C= ECHO_N= ECHO_T= |
| 6906 | case `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';; |
| 6916 | esac |
| 6917 | |
| 6918 | rm -f conf$$ conf$$.exe conf$$.file |
| 6919 | if test -d conf$$.dir; then |
| 6920 | rm -f conf$$.dir/conf$$.file |
| 6921 | else |
| 6922 | rm -f conf$$.dir |
| 6923 | mkdir conf$$.dir 2>/dev/null |
| 6924 | fi |
| 6925 | if (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 |
| 6939 | else |
| 6940 | as_ln_s='cp -pR' |
| 6941 | fi |
| 6942 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 6943 | rmdir conf$$.dir 2>/dev/null |
| 6944 | |
| 6945 | |
| 6946 | # as_fn_mkdir_p |
| 6947 | # ------------- |
| 6948 | # Create "$as_dir" as a directory, including parents if necessary. |
| 6949 | as_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 |
| 6993 | if mkdir -p . 2>/dev/null; then |
| 6994 | as_mkdir_p='mkdir -p "$as_dir"' |
| 6995 | else |
| 6996 | test -d ./-p && rmdir ./-p |
| 6997 | as_mkdir_p=false |
| 6998 | fi |
| 6999 | |
| 7000 | |
| 7001 | # as_fn_executable_p FILE |
| 7002 | # ----------------------- |
| 7003 | # Test if FILE is an executable regular file. |
| 7004 | as_fn_executable_p () |
| 7005 | { |
| 7006 | test -f "$1" && test -x "$1" |
| 7007 | } # as_fn_executable_p |
| 7008 | as_test_x='test -x' |
| 7009 | as_executable_p=as_fn_executable_p |
| 7010 | |
| 7011 | # Sed expression to map a string onto a valid CPP name. |
| 7012 | as_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. |
| 7015 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| 7016 | |
| 7017 | |
| 7018 | exec 6>&1 |
| 7019 | ## ----------------------------------- ## |
| 7020 | ## Main body of $CONFIG_STATUS script. ## |
| 7021 | ## ----------------------------------- ## |
| 7022 | _ASEOF |
| 7023 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
| 7024 | |
| 7025 | cat >>$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. |
| 7029 | ac_log=" |
| 7030 | This file was extended by ndn-cpp $as_me 0.5, which was |
| 7031 | generated 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 | |
| 7039 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
| 7040 | " |
| 7041 | |
| 7042 | _ACEOF |
| 7043 | |
| 7044 | case $ac_config_files in *" |
| 7045 | "*) set x $ac_config_files; shift; ac_config_files=$*;; |
| 7046 | esac |
| 7047 | |
| 7048 | case $ac_config_headers in *" |
| 7049 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;; |
| 7050 | esac |
| 7051 | |
| 7052 | |
| 7053 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 7054 | # Files that config.status was made for. |
| 7055 | config_files="$ac_config_files" |
| 7056 | config_headers="$ac_config_headers" |
| 7057 | config_commands="$ac_config_commands" |
| 7058 | |
| 7059 | _ACEOF |
| 7060 | |
| 7061 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 7062 | ac_cs_usage="\ |
| 7063 | \`$as_me' instantiates files and other configuration actions |
| 7064 | from templates according to the current configuration. Unless the files |
| 7065 | and actions are specified as TAGs, all are instantiated by default. |
| 7066 | |
| 7067 | Usage: $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 | |
| 7081 | Configuration files: |
| 7082 | $config_files |
| 7083 | |
| 7084 | Configuration headers: |
| 7085 | $config_headers |
| 7086 | |
| 7087 | Configuration commands: |
| 7088 | $config_commands |
| 7089 | |
| 7090 | Report bugs to the package provider. |
| 7091 | ndn-cpp home page: <https://github.com/named-data/ndn-cpp>." |
| 7092 | |
| 7093 | _ACEOF |
| 7094 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 7095 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
| 7096 | ac_cs_version="\\ |
| 7097 | ndn-cpp config.status 0.5 |
| 7098 | configured by $0, generated by GNU Autoconf 2.69, |
| 7099 | with options \\"\$ac_cs_config\\" |
| 7100 | |
| 7101 | Copyright (C) 2012 Free Software Foundation, Inc. |
| 7102 | This config.status script is free software; the Free Software Foundation |
| 7103 | gives unlimited permission to copy, distribute and modify it." |
| 7104 | |
| 7105 | ac_pwd='$ac_pwd' |
| 7106 | srcdir='$srcdir' |
| 7107 | INSTALL='$INSTALL' |
| 7108 | MKDIR_P='$MKDIR_P' |
| 7109 | AWK='$AWK' |
| 7110 | test -n "\$AWK" || AWK=awk |
| 7111 | _ACEOF |
| 7112 | |
| 7113 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 7114 | # The default lists apply if the user does not specify any file. |
| 7115 | ac_need_defaults=: |
| 7116 | while test $# != 0 |
| 7117 | do |
| 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' |
| 7164 | Try \`$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' |
| 7173 | Try \`$0 --help' for more information." ;; |
| 7174 | |
| 7175 | *) as_fn_append ac_config_targets " $1" |
| 7176 | ac_need_defaults=false ;; |
| 7177 | |
| 7178 | esac |
| 7179 | shift |
| 7180 | done |
| 7181 | |
| 7182 | ac_configure_extra_args= |
| 7183 | |
| 7184 | if $ac_cs_silent; then |
| 7185 | exec 6>/dev/null |
| 7186 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
| 7187 | fi |
| 7188 | |
| 7189 | _ACEOF |
| 7190 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 7191 | if \$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 "\$@" |
| 7198 | fi |
| 7199 | |
| 7200 | _ACEOF |
| 7201 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 7202 | exec 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 |
| 7212 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 7213 | # |
| 7214 | # INIT-COMMANDS |
| 7215 | # |
| 7216 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
| 7217 | |
| 7218 | _ACEOF |
| 7219 | |
| 7220 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 7221 | |
| 7222 | # Handling of arguments. |
| 7223 | for ac_config_target in $ac_config_targets |
| 7224 | do |
| 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 |
| 7232 | done |
| 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. |
| 7239 | if $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 |
| 7243 | fi |
| 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 |
| 7270 | ac_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'. |
| 7275 | if test -n "$CONFIG_FILES"; then |
| 7276 | |
| 7277 | |
| 7278 | ac_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. |
| 7282 | if test "x$ac_cr" = x; then |
| 7283 | eval ac_cr=\$\'\\r\' |
| 7284 | fi |
| 7285 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
| 7286 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
| 7287 | ac_cs_awk_cr='\\r' |
| 7288 | else |
| 7289 | ac_cs_awk_cr=$ac_cr |
| 7290 | fi |
| 7291 | |
| 7292 | echo '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 |
| 7302 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
| 7303 | ac_delim='%!_!# ' |
| 7304 | for 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 |
| 7316 | done |
| 7317 | rm -f conf$$subs.sh |
| 7318 | |
| 7319 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 7320 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
| 7321 | _ACEOF |
| 7322 | sed -n ' |
| 7323 | h |
| 7324 | s/^/S["/; s/!.*/"]=/ |
| 7325 | p |
| 7326 | g |
| 7327 | s/^[^!]*!// |
| 7328 | :repl |
| 7329 | t repl |
| 7330 | s/'"$ac_delim"'$// |
| 7331 | t delim |
| 7332 | :nl |
| 7333 | h |
| 7334 | s/\(.\{148\}\)..*/\1/ |
| 7335 | t more1 |
| 7336 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
| 7337 | p |
| 7338 | n |
| 7339 | b repl |
| 7340 | :more1 |
| 7341 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
| 7342 | p |
| 7343 | g |
| 7344 | s/.\{148\}// |
| 7345 | t nl |
| 7346 | :delim |
| 7347 | h |
| 7348 | s/\(.\{148\}\)..*/\1/ |
| 7349 | t more2 |
| 7350 | s/["\\]/\\&/g; s/^/"/; s/$/"/ |
| 7351 | p |
| 7352 | b |
| 7353 | :more2 |
| 7354 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
| 7355 | p |
| 7356 | g |
| 7357 | s/.\{148\}// |
| 7358 | t delim |
| 7359 | ' <conf$$subs.awk | sed ' |
| 7360 | /^[^""]/{ |
| 7361 | N |
| 7362 | s/\n// |
| 7363 | } |
| 7364 | ' >>$CONFIG_STATUS || ac_write_fail=1 |
| 7365 | rm -f conf$$subs.awk |
| 7366 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 7367 | _ACAWK |
| 7368 | cat >>"\$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 |
| 7395 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 7396 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
| 7397 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
| 7398 | else |
| 7399 | cat |
| 7400 | fi < "$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). |
| 7408 | if test "x$srcdir" = x.; then |
| 7409 | ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
| 7410 | h |
| 7411 | s/// |
| 7412 | s/^/:/ |
| 7413 | s/[ ]*$/:/ |
| 7414 | s/:\$(srcdir):/:/g |
| 7415 | s/:\${srcdir}:/:/g |
| 7416 | s/:@srcdir@:/:/g |
| 7417 | s/^:*// |
| 7418 | s/:*$// |
| 7419 | x |
| 7420 | s/\(=[ ]*\).*/\1/ |
| 7421 | G |
| 7422 | s/\n// |
| 7423 | s/^[^=]*=[ ]*$// |
| 7424 | }' |
| 7425 | fi |
| 7426 | |
| 7427 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 7428 | fi # 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'. |
| 7433 | if test -n "$CONFIG_HEADERS"; then |
| 7434 | cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
| 7435 | BEGIN { |
| 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. |
| 7444 | ac_delim='%!_!# ' |
| 7445 | for 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 |
| 7454 | done |
| 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 | |
| 7460 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
| 7461 | sed -n ' |
| 7462 | s/.\{148\}/&'"$ac_delim"'/g |
| 7463 | t rset |
| 7464 | :rset |
| 7465 | s/^[ ]*#[ ]*define[ ][ ]*/ / |
| 7466 | t def |
| 7467 | d |
| 7468 | :def |
| 7469 | s/\\$// |
| 7470 | t bsnl |
| 7471 | s/["\\]/\\&/g |
| 7472 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
| 7473 | D["\1"]=" \3"/p |
| 7474 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p |
| 7475 | d |
| 7476 | :bsnl |
| 7477 | s/["\\]/\\&/g |
| 7478 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
| 7479 | D["\1"]=" \3\\\\\\n"\\/p |
| 7480 | t cont |
| 7481 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p |
| 7482 | t cont |
| 7483 | d |
| 7484 | :cont |
| 7485 | n |
| 7486 | s/.\{148\}/&'"$ac_delim"'/g |
| 7487 | t clear |
| 7488 | :clear |
| 7489 | s/\\$// |
| 7490 | t bsnlc |
| 7491 | s/["\\]/\\&/g; s/^/"/; s/$/"/p |
| 7492 | d |
| 7493 | :bsnlc |
| 7494 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p |
| 7495 | b cont |
| 7496 | ' <confdefs.h | sed ' |
| 7497 | s/'"$ac_delim"'/"\\\ |
| 7498 | "/g' >>$CONFIG_STATUS || ac_write_fail=1 |
| 7499 | |
| 7500 | cat >>$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 |
| 7534 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 7535 | as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 |
| 7536 | fi # test -n "$CONFIG_HEADERS" |
| 7537 | |
| 7538 | |
| 7539 | eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" |
| 7540 | shift |
| 7541 | for ac_tag |
| 7542 | do |
| 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 | |
| 7634 | case "$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 ;; |
| 7644 | esac |
| 7645 | ac_abs_top_builddir=$ac_pwd |
| 7646 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
| 7647 | # for backward compatibility: |
| 7648 | ac_top_builddir=$ac_top_build_prefix |
| 7649 | |
| 7650 | case $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 ;; |
| 7663 | esac |
| 7664 | ac_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 | |
| 7684 | cat >>$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. |
| 7687 | ac_datarootdir_hack=; ac_datarootdir_seen= |
| 7688 | ac_sed_dataroot=' |
| 7689 | /datarootdir/ { |
| 7690 | p |
| 7691 | q |
| 7692 | } |
| 7693 | /@datadir@/p |
| 7694 | /@docdir@/p |
| 7695 | /@infodir@/p |
| 7696 | /@localedir@/p |
| 7697 | /@mandir@/p' |
| 7698 | case `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 |
| 7704 | cat >>$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' ;; |
| 7712 | esac |
| 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? |
| 7718 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 7719 | ac_sed_extra="$ac_vpsub |
| 7720 | $extrasub |
| 7721 | _ACEOF |
| 7722 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 7723 | :t |
| 7724 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
| 7725 | s|@configure_input@|$ac_sed_conf_input|;t t |
| 7726 | s&@top_builddir@&$ac_top_builddir_sub&;t t |
| 7727 | s&@top_build_prefix@&$ac_top_build_prefix&;t t |
| 7728 | s&@srcdir@&$ac_srcdir&;t t |
| 7729 | s&@abs_srcdir@&$ac_abs_srcdir&;t t |
| 7730 | s&@top_srcdir@&$ac_top_srcdir&;t t |
| 7731 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
| 7732 | s&@builddir@&$ac_builddir&;t t |
| 7733 | s&@abs_builddir@&$ac_abs_builddir&;t t |
| 7734 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
| 7735 | s&@INSTALL@&$ac_INSTALL&;t t |
| 7736 | s&@MKDIR_P@&$ac_MKDIR_P&;t t |
| 7737 | $ac_datarootdir_hack |
| 7738 | " |
| 7739 | eval 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 | |
| 7742 | test -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' |
| 7747 | which 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' |
| 7749 | which 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 |
| 7784 | for _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 |
| 7791 | done |
| 7792 | echo "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 Thompson | 39128c6 | 2013-06-19 14:08:51 -0700 | [diff] [blame] | 7917 | |
| 7918 | esac |
| 7919 | done # for ac_tag |
| 7920 | |
| 7921 | |
| 7922 | as_fn_exit 0 |
| 7923 | _ACEOF |
| 7924 | ac_clean_files=$ac_clean_files_save |
| 7925 | |
| 7926 | test $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. |
| 7938 | if 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 |
| 7949 | fi |
| 7950 | if 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;} |
| 7953 | fi |
| 7954 | |