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