[2709] | 1 | #! /bin/sh |
---|
| 2 | # Guess values for system-dependent variables and create Makefiles. |
---|
[3748] | 3 | # Generated by GNU Autoconf 2.69 for Rappture 1.0. |
---|
[2709] | 4 | # |
---|
| 5 | # Report bugs to <rappture@nanohub.org>. |
---|
| 6 | # |
---|
[2977] | 7 | # |
---|
[3748] | 8 | # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
---|
[2977] | 9 | # |
---|
| 10 | # |
---|
[2709] | 11 | # This configure script is free software; the Free Software Foundation |
---|
| 12 | # gives unlimited permission to copy, distribute and modify it. |
---|
[2977] | 13 | ## -------------------- ## |
---|
| 14 | ## M4sh Initialization. ## |
---|
| 15 | ## -------------------- ## |
---|
[2709] | 16 | |
---|
| 17 | # Be more Bourne compatible |
---|
| 18 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
[2977] | 19 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
---|
[2709] | 20 | emulate sh |
---|
| 21 | NULLCMD=: |
---|
[2977] | 22 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
---|
[2709] | 23 | # is contrary to our usage. Disable this feature. |
---|
| 24 | alias -g '${1+"$@"}'='"$@"' |
---|
| 25 | setopt NO_GLOB_SUBST |
---|
| 26 | else |
---|
[2977] | 27 | case `(set -o) 2>/dev/null` in #( |
---|
| 28 | *posix*) : |
---|
| 29 | set -o posix ;; #( |
---|
| 30 | *) : |
---|
| 31 | ;; |
---|
[2709] | 32 | esac |
---|
| 33 | fi |
---|
| 34 | |
---|
| 35 | |
---|
[2977] | 36 | as_nl=' |
---|
| 37 | ' |
---|
| 38 | export as_nl |
---|
| 39 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
---|
| 40 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
---|
| 41 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
| 42 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
| 43 | # Prefer a ksh shell builtin over an external printf program on Solaris, |
---|
| 44 | # but without wasting forks for bash or zsh. |
---|
| 45 | if test -z "$BASH_VERSION$ZSH_VERSION" \ |
---|
| 46 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
---|
| 47 | as_echo='print -r --' |
---|
| 48 | as_echo_n='print -rn --' |
---|
| 49 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
---|
| 50 | as_echo='printf %s\n' |
---|
| 51 | as_echo_n='printf %s' |
---|
| 52 | else |
---|
| 53 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
---|
| 54 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
---|
| 55 | as_echo_n='/usr/ucb/echo -n' |
---|
[2709] | 56 | else |
---|
[2977] | 57 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
---|
| 58 | as_echo_n_body='eval |
---|
| 59 | arg=$1; |
---|
| 60 | case $arg in #( |
---|
| 61 | *"$as_nl"*) |
---|
| 62 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
---|
| 63 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
---|
| 64 | esac; |
---|
| 65 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
---|
| 66 | ' |
---|
| 67 | export as_echo_n_body |
---|
| 68 | as_echo_n='sh -c $as_echo_n_body as_echo' |
---|
[2709] | 69 | fi |
---|
[2977] | 70 | export as_echo_body |
---|
| 71 | as_echo='sh -c $as_echo_body as_echo' |
---|
[2709] | 72 | fi |
---|
| 73 | |
---|
[2977] | 74 | # The user is always right. |
---|
| 75 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
| 76 | PATH_SEPARATOR=: |
---|
| 77 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
---|
| 78 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
---|
| 79 | PATH_SEPARATOR=';' |
---|
| 80 | } |
---|
[2709] | 81 | fi |
---|
| 82 | |
---|
| 83 | |
---|
| 84 | # IFS |
---|
| 85 | # We need space, tab and new line, in precisely that order. Quoting is |
---|
| 86 | # there to prevent editors from complaining about space-tab. |
---|
| 87 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
---|
| 88 | # splitting by setting IFS to empty value.) |
---|
| 89 | IFS=" "" $as_nl" |
---|
| 90 | |
---|
| 91 | # Find who we are. Look in the path if we contain no directory separator. |
---|
[3748] | 92 | as_myself= |
---|
[2977] | 93 | case $0 in #(( |
---|
[2709] | 94 | *[\\/]* ) as_myself=$0 ;; |
---|
| 95 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 96 | for as_dir in $PATH |
---|
| 97 | do |
---|
| 98 | IFS=$as_save_IFS |
---|
| 99 | test -z "$as_dir" && as_dir=. |
---|
[2977] | 100 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
| 101 | done |
---|
[2709] | 102 | IFS=$as_save_IFS |
---|
| 103 | |
---|
| 104 | ;; |
---|
| 105 | esac |
---|
| 106 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
| 107 | # in which case we are not to be found in the path. |
---|
| 108 | if test "x$as_myself" = x; then |
---|
| 109 | as_myself=$0 |
---|
| 110 | fi |
---|
| 111 | if test ! -f "$as_myself"; then |
---|
[2977] | 112 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
---|
| 113 | exit 1 |
---|
[2709] | 114 | fi |
---|
| 115 | |
---|
[2977] | 116 | # Unset variables that we do not need and which cause bugs (e.g. in |
---|
| 117 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
---|
| 118 | # suppresses any "Segmentation fault" message there. '((' could |
---|
| 119 | # trigger a bug in pdksh 5.2.14. |
---|
| 120 | for as_var in BASH_ENV ENV MAIL MAILPATH |
---|
| 121 | do eval test x\${$as_var+set} = xset \ |
---|
| 122 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
---|
[2709] | 123 | done |
---|
| 124 | PS1='$ ' |
---|
| 125 | PS2='> ' |
---|
| 126 | PS4='+ ' |
---|
| 127 | |
---|
| 128 | # NLS nuisances. |
---|
[2977] | 129 | LC_ALL=C |
---|
| 130 | export LC_ALL |
---|
| 131 | LANGUAGE=C |
---|
| 132 | export LANGUAGE |
---|
[2709] | 133 | |
---|
| 134 | # CDPATH. |
---|
[2977] | 135 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
---|
[2709] | 136 | |
---|
[3748] | 137 | # Use a proper internal environment variable to ensure we don't fall |
---|
| 138 | # into an infinite loop, continuously re-executing ourselves. |
---|
| 139 | if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then |
---|
| 140 | _as_can_reexec=no; export _as_can_reexec; |
---|
| 141 | # We cannot yet assume a decent shell, so we have to provide a |
---|
| 142 | # neutralization value for shells without unset; and this also |
---|
| 143 | # works around shells that cannot unset nonexistent variables. |
---|
| 144 | # Preserve -v and -x to the replacement shell. |
---|
| 145 | BASH_ENV=/dev/null |
---|
| 146 | ENV=/dev/null |
---|
| 147 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
---|
| 148 | case $- in # (((( |
---|
| 149 | *v*x* | *x*v* ) as_opts=-vx ;; |
---|
| 150 | *v* ) as_opts=-v ;; |
---|
| 151 | *x* ) as_opts=-x ;; |
---|
| 152 | * ) as_opts= ;; |
---|
| 153 | esac |
---|
| 154 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
---|
| 155 | # Admittedly, this is quite paranoid, since all the known shells bail |
---|
| 156 | # out after a failed `exec'. |
---|
| 157 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
---|
| 158 | as_fn_exit 255 |
---|
| 159 | fi |
---|
| 160 | # We don't want this to propagate to other subprocesses. |
---|
| 161 | { _as_can_reexec=; unset _as_can_reexec;} |
---|
[2709] | 162 | if test "x$CONFIG_SHELL" = x; then |
---|
[2977] | 163 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
---|
| 164 | emulate sh |
---|
| 165 | NULLCMD=: |
---|
| 166 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
---|
| 167 | # is contrary to our usage. Disable this feature. |
---|
| 168 | alias -g '\${1+\"\$@\"}'='\"\$@\"' |
---|
| 169 | setopt NO_GLOB_SUBST |
---|
[2709] | 170 | else |
---|
[2977] | 171 | case \`(set -o) 2>/dev/null\` in #( |
---|
| 172 | *posix*) : |
---|
| 173 | set -o posix ;; #( |
---|
| 174 | *) : |
---|
| 175 | ;; |
---|
| 176 | esac |
---|
[2709] | 177 | fi |
---|
[2977] | 178 | " |
---|
| 179 | as_required="as_fn_return () { (exit \$1); } |
---|
| 180 | as_fn_success () { as_fn_return 0; } |
---|
| 181 | as_fn_failure () { as_fn_return 1; } |
---|
| 182 | as_fn_ret_success () { return 0; } |
---|
| 183 | as_fn_ret_failure () { return 1; } |
---|
[2709] | 184 | |
---|
| 185 | exitcode=0 |
---|
[2977] | 186 | as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
---|
| 187 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
---|
| 188 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
---|
| 189 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
---|
| 190 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
---|
[2709] | 191 | |
---|
| 192 | else |
---|
[2977] | 193 | exitcode=1; echo positional parameters were not saved. |
---|
[2709] | 194 | fi |
---|
[3748] | 195 | test x\$exitcode = x0 || exit 1 |
---|
| 196 | test -x / || exit 1" |
---|
[2977] | 197 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
---|
| 198 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
---|
| 199 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
---|
| 200 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
---|
| 201 | test \$(( 1 + 1 )) = 2 || exit 1" |
---|
| 202 | if (eval "$as_required") 2>/dev/null; then : |
---|
| 203 | as_have_required=yes |
---|
[2709] | 204 | else |
---|
[2977] | 205 | as_have_required=no |
---|
[2709] | 206 | fi |
---|
[2977] | 207 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : |
---|
[2709] | 208 | |
---|
| 209 | else |
---|
[2977] | 210 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 211 | as_found=false |
---|
[2709] | 212 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
---|
| 213 | do |
---|
| 214 | IFS=$as_save_IFS |
---|
| 215 | test -z "$as_dir" && as_dir=. |
---|
[2977] | 216 | as_found=: |
---|
| 217 | case $as_dir in #( |
---|
[2709] | 218 | /*) |
---|
| 219 | for as_base in sh bash ksh sh5; do |
---|
[2977] | 220 | # Try only shells that exist, to save several forks. |
---|
| 221 | as_shell=$as_dir/$as_base |
---|
| 222 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
---|
| 223 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : |
---|
| 224 | CONFIG_SHELL=$as_shell as_have_required=yes |
---|
| 225 | if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : |
---|
| 226 | break 2 |
---|
| 227 | fi |
---|
| 228 | fi |
---|
[2709] | 229 | done;; |
---|
| 230 | esac |
---|
[2977] | 231 | as_found=false |
---|
[2709] | 232 | done |
---|
[2977] | 233 | $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
---|
| 234 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : |
---|
| 235 | CONFIG_SHELL=$SHELL as_have_required=yes |
---|
| 236 | fi; } |
---|
[2709] | 237 | IFS=$as_save_IFS |
---|
| 238 | |
---|
| 239 | |
---|
[2977] | 240 | if test "x$CONFIG_SHELL" != x; then : |
---|
[3748] | 241 | export CONFIG_SHELL |
---|
| 242 | # We cannot yet assume a decent shell, so we have to provide a |
---|
| 243 | # neutralization value for shells without unset; and this also |
---|
| 244 | # works around shells that cannot unset nonexistent variables. |
---|
| 245 | # Preserve -v and -x to the replacement shell. |
---|
| 246 | BASH_ENV=/dev/null |
---|
| 247 | ENV=/dev/null |
---|
| 248 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
---|
| 249 | case $- in # (((( |
---|
| 250 | *v*x* | *x*v* ) as_opts=-vx ;; |
---|
| 251 | *v* ) as_opts=-v ;; |
---|
| 252 | *x* ) as_opts=-x ;; |
---|
| 253 | * ) as_opts= ;; |
---|
| 254 | esac |
---|
| 255 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
---|
| 256 | # Admittedly, this is quite paranoid, since all the known shells bail |
---|
| 257 | # out after a failed `exec'. |
---|
| 258 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
---|
| 259 | exit 255 |
---|
[2709] | 260 | fi |
---|
| 261 | |
---|
[2977] | 262 | if test x$as_have_required = xno; then : |
---|
| 263 | $as_echo "$0: This script requires a shell more modern than all" |
---|
| 264 | $as_echo "$0: the shells that I found on your system." |
---|
| 265 | if test x${ZSH_VERSION+set} = xset ; then |
---|
| 266 | $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
---|
| 267 | $as_echo "$0: be upgraded to zsh 4.3.4 or later." |
---|
| 268 | else |
---|
| 269 | $as_echo "$0: Please tell bug-autoconf@gnu.org and |
---|
| 270 | $0: rappture@nanohub.org about your system, including any |
---|
| 271 | $0: error possibly output before this message. Then install |
---|
| 272 | $0: a modern shell, or manually run the script under such a |
---|
| 273 | $0: shell if you do have one." |
---|
| 274 | fi |
---|
| 275 | exit 1 |
---|
[2709] | 276 | fi |
---|
| 277 | fi |
---|
| 278 | fi |
---|
[2977] | 279 | SHELL=${CONFIG_SHELL-/bin/sh} |
---|
| 280 | export SHELL |
---|
| 281 | # Unset more variables known to interfere with behavior of common tools. |
---|
| 282 | CLICOLOR_FORCE= GREP_OPTIONS= |
---|
| 283 | unset CLICOLOR_FORCE GREP_OPTIONS |
---|
[2709] | 284 | |
---|
[2977] | 285 | ## --------------------- ## |
---|
| 286 | ## M4sh Shell Functions. ## |
---|
| 287 | ## --------------------- ## |
---|
| 288 | # as_fn_unset VAR |
---|
| 289 | # --------------- |
---|
| 290 | # Portably unset VAR. |
---|
| 291 | as_fn_unset () |
---|
| 292 | { |
---|
| 293 | { eval $1=; unset $1;} |
---|
| 294 | } |
---|
| 295 | as_unset=as_fn_unset |
---|
[2709] | 296 | |
---|
[2977] | 297 | # as_fn_set_status STATUS |
---|
| 298 | # ----------------------- |
---|
| 299 | # Set $? to STATUS, without forking. |
---|
| 300 | as_fn_set_status () |
---|
| 301 | { |
---|
| 302 | return $1 |
---|
| 303 | } # as_fn_set_status |
---|
[2709] | 304 | |
---|
[2977] | 305 | # as_fn_exit STATUS |
---|
| 306 | # ----------------- |
---|
| 307 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
---|
| 308 | as_fn_exit () |
---|
| 309 | { |
---|
| 310 | set +e |
---|
| 311 | as_fn_set_status $1 |
---|
| 312 | exit $1 |
---|
| 313 | } # as_fn_exit |
---|
[2709] | 314 | |
---|
[2977] | 315 | # as_fn_mkdir_p |
---|
| 316 | # ------------- |
---|
| 317 | # Create "$as_dir" as a directory, including parents if necessary. |
---|
| 318 | as_fn_mkdir_p () |
---|
| 319 | { |
---|
[2709] | 320 | |
---|
[2977] | 321 | case $as_dir in #( |
---|
| 322 | -*) as_dir=./$as_dir;; |
---|
| 323 | esac |
---|
| 324 | test -d "$as_dir" || eval $as_mkdir_p || { |
---|
| 325 | as_dirs= |
---|
| 326 | while :; do |
---|
| 327 | case $as_dir in #( |
---|
| 328 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
---|
| 329 | *) as_qdir=$as_dir;; |
---|
| 330 | esac |
---|
| 331 | as_dirs="'$as_qdir' $as_dirs" |
---|
| 332 | as_dir=`$as_dirname -- "$as_dir" || |
---|
| 333 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 334 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
| 335 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
| 336 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 337 | $as_echo X"$as_dir" | |
---|
| 338 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 339 | s//\1/ |
---|
| 340 | q |
---|
| 341 | } |
---|
| 342 | /^X\(\/\/\)[^/].*/{ |
---|
| 343 | s//\1/ |
---|
| 344 | q |
---|
| 345 | } |
---|
| 346 | /^X\(\/\/\)$/{ |
---|
| 347 | s//\1/ |
---|
| 348 | q |
---|
| 349 | } |
---|
| 350 | /^X\(\/\).*/{ |
---|
| 351 | s//\1/ |
---|
| 352 | q |
---|
| 353 | } |
---|
| 354 | s/.*/./; q'` |
---|
| 355 | test -d "$as_dir" && break |
---|
| 356 | done |
---|
| 357 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
---|
| 358 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
---|
[2709] | 359 | |
---|
| 360 | |
---|
[2977] | 361 | } # as_fn_mkdir_p |
---|
[3748] | 362 | |
---|
| 363 | # as_fn_executable_p FILE |
---|
| 364 | # ----------------------- |
---|
| 365 | # Test if FILE is an executable regular file. |
---|
| 366 | as_fn_executable_p () |
---|
| 367 | { |
---|
| 368 | test -f "$1" && test -x "$1" |
---|
| 369 | } # as_fn_executable_p |
---|
[2977] | 370 | # as_fn_append VAR VALUE |
---|
| 371 | # ---------------------- |
---|
| 372 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
---|
| 373 | # advantage of any shell optimizations that allow amortized linear growth over |
---|
| 374 | # repeated appends, instead of the typical quadratic growth present in naive |
---|
| 375 | # implementations. |
---|
| 376 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
---|
| 377 | eval 'as_fn_append () |
---|
| 378 | { |
---|
| 379 | eval $1+=\$2 |
---|
| 380 | }' |
---|
| 381 | else |
---|
| 382 | as_fn_append () |
---|
| 383 | { |
---|
| 384 | eval $1=\$$1\$2 |
---|
| 385 | } |
---|
| 386 | fi # as_fn_append |
---|
[2709] | 387 | |
---|
[2977] | 388 | # as_fn_arith ARG... |
---|
| 389 | # ------------------ |
---|
| 390 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
---|
| 391 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
---|
| 392 | # must be portable across $(()) and expr. |
---|
| 393 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
---|
| 394 | eval 'as_fn_arith () |
---|
| 395 | { |
---|
| 396 | as_val=$(( $* )) |
---|
| 397 | }' |
---|
| 398 | else |
---|
| 399 | as_fn_arith () |
---|
| 400 | { |
---|
| 401 | as_val=`expr "$@" || test $? -eq 1` |
---|
| 402 | } |
---|
| 403 | fi # as_fn_arith |
---|
[2709] | 404 | |
---|
| 405 | |
---|
[2977] | 406 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
---|
| 407 | # ---------------------------------------- |
---|
| 408 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
---|
| 409 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
---|
| 410 | # script with STATUS, using 1 if that was 0. |
---|
| 411 | as_fn_error () |
---|
| 412 | { |
---|
| 413 | as_status=$1; test $as_status -eq 0 && as_status=1 |
---|
| 414 | if test "$4"; then |
---|
| 415 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
| 416 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
---|
| 417 | fi |
---|
| 418 | $as_echo "$as_me: error: $2" >&2 |
---|
| 419 | as_fn_exit $as_status |
---|
| 420 | } # as_fn_error |
---|
[2709] | 421 | |
---|
[2977] | 422 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
| 423 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
| 424 | as_expr=expr |
---|
[2709] | 425 | else |
---|
[2977] | 426 | as_expr=false |
---|
[2709] | 427 | fi |
---|
| 428 | |
---|
[2977] | 429 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
---|
| 430 | as_basename=basename |
---|
[2709] | 431 | else |
---|
[2977] | 432 | as_basename=false |
---|
[2709] | 433 | fi |
---|
| 434 | |
---|
[2977] | 435 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
---|
| 436 | as_dirname=dirname |
---|
[2709] | 437 | else |
---|
[2977] | 438 | as_dirname=false |
---|
[2709] | 439 | fi |
---|
| 440 | |
---|
[2977] | 441 | as_me=`$as_basename -- "$0" || |
---|
| 442 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
| 443 | X"$0" : 'X\(//\)$' \| \ |
---|
| 444 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 445 | $as_echo X/"$0" | |
---|
| 446 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
---|
| 447 | s//\1/ |
---|
| 448 | q |
---|
| 449 | } |
---|
| 450 | /^X\/\(\/\/\)$/{ |
---|
| 451 | s//\1/ |
---|
| 452 | q |
---|
| 453 | } |
---|
| 454 | /^X\/\(\/\).*/{ |
---|
| 455 | s//\1/ |
---|
| 456 | q |
---|
| 457 | } |
---|
| 458 | s/.*/./; q'` |
---|
[2709] | 459 | |
---|
[2977] | 460 | # Avoid depending upon Character Ranges. |
---|
| 461 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
| 462 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
| 463 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
| 464 | as_cr_digits='0123456789' |
---|
| 465 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
[2709] | 466 | |
---|
| 467 | |
---|
[2977] | 468 | as_lineno_1=$LINENO as_lineno_1a=$LINENO |
---|
| 469 | as_lineno_2=$LINENO as_lineno_2a=$LINENO |
---|
| 470 | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
---|
| 471 | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
---|
| 472 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
---|
[2709] | 473 | sed -n ' |
---|
| 474 | p |
---|
| 475 | /[$]LINENO/= |
---|
| 476 | ' <$as_myself | |
---|
| 477 | sed ' |
---|
| 478 | s/[$]LINENO.*/&-/ |
---|
| 479 | t lineno |
---|
| 480 | b |
---|
| 481 | :lineno |
---|
| 482 | N |
---|
| 483 | :loop |
---|
| 484 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
---|
| 485 | t loop |
---|
| 486 | s/-\n.*// |
---|
| 487 | ' >$as_me.lineno && |
---|
| 488 | chmod +x "$as_me.lineno" || |
---|
[2977] | 489 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
---|
[2709] | 490 | |
---|
[3748] | 491 | # If we had to re-execute with $CONFIG_SHELL, we're ensured to have |
---|
| 492 | # already done that, so ensure we don't try to do so again and fall |
---|
| 493 | # in an infinite loop. This has already happened in practice. |
---|
| 494 | _as_can_reexec=no; export _as_can_reexec |
---|
[2709] | 495 | # Don't try to exec as it changes $[0], causing all sort of problems |
---|
| 496 | # (the dirname of $[0] is not the place where we might find the |
---|
| 497 | # original and so on. Autoconf is especially sensitive to this). |
---|
| 498 | . "./$as_me.lineno" |
---|
| 499 | # Exit status is that of the last command. |
---|
| 500 | exit |
---|
| 501 | } |
---|
| 502 | |
---|
| 503 | ECHO_C= ECHO_N= ECHO_T= |
---|
[2977] | 504 | case `echo -n x` in #((((( |
---|
[2709] | 505 | -n*) |
---|
[2977] | 506 | case `echo 'xy\c'` in |
---|
[2709] | 507 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
---|
[2977] | 508 | xy) ECHO_C='\c';; |
---|
| 509 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
---|
| 510 | ECHO_T=' ';; |
---|
[2709] | 511 | esac;; |
---|
| 512 | *) |
---|
| 513 | ECHO_N='-n';; |
---|
| 514 | esac |
---|
| 515 | |
---|
| 516 | rm -f conf$$ conf$$.exe conf$$.file |
---|
| 517 | if test -d conf$$.dir; then |
---|
| 518 | rm -f conf$$.dir/conf$$.file |
---|
| 519 | else |
---|
| 520 | rm -f conf$$.dir |
---|
[2977] | 521 | mkdir conf$$.dir 2>/dev/null |
---|
[2709] | 522 | fi |
---|
[2977] | 523 | if (echo >conf$$.file) 2>/dev/null; then |
---|
| 524 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
| 525 | as_ln_s='ln -s' |
---|
| 526 | # ... but there are two gotchas: |
---|
| 527 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
---|
| 528 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
---|
[3748] | 529 | # In both cases, we have to default to `cp -pR'. |
---|
[2977] | 530 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
---|
[3748] | 531 | as_ln_s='cp -pR' |
---|
[2977] | 532 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
| 533 | as_ln_s=ln |
---|
| 534 | else |
---|
[3748] | 535 | as_ln_s='cp -pR' |
---|
[2977] | 536 | fi |
---|
[2709] | 537 | else |
---|
[3748] | 538 | as_ln_s='cp -pR' |
---|
[2709] | 539 | fi |
---|
| 540 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
---|
| 541 | rmdir conf$$.dir 2>/dev/null |
---|
| 542 | |
---|
| 543 | if mkdir -p . 2>/dev/null; then |
---|
[2977] | 544 | as_mkdir_p='mkdir -p "$as_dir"' |
---|
[2709] | 545 | else |
---|
| 546 | test -d ./-p && rmdir ./-p |
---|
| 547 | as_mkdir_p=false |
---|
| 548 | fi |
---|
| 549 | |
---|
[3748] | 550 | as_test_x='test -x' |
---|
| 551 | as_executable_p=as_fn_executable_p |
---|
[2709] | 552 | |
---|
| 553 | # Sed expression to map a string onto a valid CPP name. |
---|
| 554 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
---|
| 555 | |
---|
| 556 | # Sed expression to map a string onto a valid variable name. |
---|
| 557 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
---|
| 558 | |
---|
| 559 | |
---|
[2977] | 560 | test -n "$DJDIR" || exec 7<&0 </dev/null |
---|
| 561 | exec 6>&1 |
---|
[2709] | 562 | |
---|
| 563 | # Name of the host. |
---|
[2977] | 564 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
---|
[2709] | 565 | # so uname gets run too. |
---|
| 566 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
| 567 | |
---|
| 568 | # |
---|
| 569 | # Initializations. |
---|
| 570 | # |
---|
| 571 | ac_default_prefix=/usr/local |
---|
| 572 | ac_clean_files= |
---|
| 573 | ac_config_libobj_dir=. |
---|
| 574 | LIBOBJS= |
---|
| 575 | cross_compiling=no |
---|
| 576 | subdirs= |
---|
| 577 | MFLAGS= |
---|
| 578 | MAKEFLAGS= |
---|
| 579 | |
---|
| 580 | # Identity of this package. |
---|
| 581 | PACKAGE_NAME='Rappture' |
---|
| 582 | PACKAGE_TARNAME='rappture' |
---|
| 583 | PACKAGE_VERSION='1.0' |
---|
| 584 | PACKAGE_STRING='Rappture 1.0' |
---|
| 585 | PACKAGE_BUGREPORT='rappture@nanohub.org' |
---|
[2977] | 586 | PACKAGE_URL='' |
---|
[2709] | 587 | |
---|
| 588 | # Factoring default headers for most tests. |
---|
| 589 | ac_includes_default="\ |
---|
| 590 | #include <stdio.h> |
---|
| 591 | #ifdef HAVE_SYS_TYPES_H |
---|
| 592 | # include <sys/types.h> |
---|
| 593 | #endif |
---|
| 594 | #ifdef HAVE_SYS_STAT_H |
---|
| 595 | # include <sys/stat.h> |
---|
| 596 | #endif |
---|
| 597 | #ifdef STDC_HEADERS |
---|
| 598 | # include <stdlib.h> |
---|
| 599 | # include <stddef.h> |
---|
| 600 | #else |
---|
| 601 | # ifdef HAVE_STDLIB_H |
---|
| 602 | # include <stdlib.h> |
---|
| 603 | # endif |
---|
| 604 | #endif |
---|
| 605 | #ifdef HAVE_STRING_H |
---|
| 606 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
---|
| 607 | # include <memory.h> |
---|
| 608 | # endif |
---|
| 609 | # include <string.h> |
---|
| 610 | #endif |
---|
| 611 | #ifdef HAVE_STRINGS_H |
---|
| 612 | # include <strings.h> |
---|
| 613 | #endif |
---|
| 614 | #ifdef HAVE_INTTYPES_H |
---|
| 615 | # include <inttypes.h> |
---|
| 616 | #endif |
---|
| 617 | #ifdef HAVE_STDINT_H |
---|
| 618 | # include <stdint.h> |
---|
| 619 | #endif |
---|
| 620 | #ifdef HAVE_UNISTD_H |
---|
| 621 | # include <unistd.h> |
---|
| 622 | #endif" |
---|
| 623 | |
---|
[2977] | 624 | ac_subst_vars='LTLIBOBJS |
---|
| 625 | LIBOBJS |
---|
| 626 | RAPPTURE_CPPFLAGS |
---|
| 627 | EGREP |
---|
| 628 | GREP |
---|
| 629 | CPP |
---|
| 630 | OBJEXT |
---|
| 631 | EXEEXT |
---|
| 632 | ac_ct_CC |
---|
| 633 | CPPFLAGS |
---|
| 634 | LDFLAGS |
---|
| 635 | CFLAGS |
---|
| 636 | CC |
---|
| 637 | target_alias |
---|
| 638 | host_alias |
---|
| 639 | build_alias |
---|
| 640 | LIBS |
---|
| 641 | ECHO_T |
---|
| 642 | ECHO_N |
---|
| 643 | ECHO_C |
---|
| 644 | DEFS |
---|
| 645 | mandir |
---|
| 646 | localedir |
---|
| 647 | libdir |
---|
| 648 | psdir |
---|
| 649 | pdfdir |
---|
| 650 | dvidir |
---|
| 651 | htmldir |
---|
| 652 | infodir |
---|
| 653 | docdir |
---|
| 654 | oldincludedir |
---|
| 655 | includedir |
---|
| 656 | localstatedir |
---|
| 657 | sharedstatedir |
---|
| 658 | sysconfdir |
---|
| 659 | datadir |
---|
| 660 | datarootdir |
---|
| 661 | libexecdir |
---|
| 662 | sbindir |
---|
| 663 | bindir |
---|
| 664 | program_transform_name |
---|
| 665 | prefix |
---|
| 666 | exec_prefix |
---|
| 667 | PACKAGE_URL |
---|
| 668 | PACKAGE_BUGREPORT |
---|
| 669 | PACKAGE_STRING |
---|
| 670 | PACKAGE_VERSION |
---|
| 671 | PACKAGE_TARNAME |
---|
| 672 | PACKAGE_NAME |
---|
[2780] | 673 | PATH_SEPARATOR |
---|
[2977] | 674 | SHELL' |
---|
[2709] | 675 | ac_subst_files='' |
---|
[2977] | 676 | ac_user_opts=' |
---|
| 677 | enable_option_checking |
---|
| 678 | with_rappture_include |
---|
| 679 | with_rappture_lib |
---|
| 680 | ' |
---|
[2709] | 681 | ac_precious_vars='build_alias |
---|
| 682 | host_alias |
---|
| 683 | target_alias |
---|
| 684 | CC |
---|
| 685 | CFLAGS |
---|
| 686 | LDFLAGS |
---|
| 687 | LIBS |
---|
| 688 | CPPFLAGS |
---|
| 689 | CPP' |
---|
| 690 | |
---|
| 691 | |
---|
| 692 | # Initialize some variables set by options. |
---|
| 693 | ac_init_help= |
---|
| 694 | ac_init_version=false |
---|
[2977] | 695 | ac_unrecognized_opts= |
---|
| 696 | ac_unrecognized_sep= |
---|
[2709] | 697 | # The variables have the same names as the options, with |
---|
| 698 | # dashes changed to underlines. |
---|
| 699 | cache_file=/dev/null |
---|
| 700 | exec_prefix=NONE |
---|
| 701 | no_create= |
---|
| 702 | no_recursion= |
---|
| 703 | prefix=NONE |
---|
| 704 | program_prefix=NONE |
---|
| 705 | program_suffix=NONE |
---|
| 706 | program_transform_name=s,x,x, |
---|
| 707 | silent= |
---|
| 708 | site= |
---|
| 709 | srcdir= |
---|
| 710 | verbose= |
---|
| 711 | x_includes=NONE |
---|
| 712 | x_libraries=NONE |
---|
| 713 | |
---|
| 714 | # Installation directory options. |
---|
| 715 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
---|
| 716 | # and all the variables that are supposed to be based on exec_prefix |
---|
| 717 | # by default will actually change. |
---|
| 718 | # Use braces instead of parens because sh, perl, etc. also accept them. |
---|
| 719 | # (The list follows the same order as the GNU Coding Standards.) |
---|
| 720 | bindir='${exec_prefix}/bin' |
---|
| 721 | sbindir='${exec_prefix}/sbin' |
---|
| 722 | libexecdir='${exec_prefix}/libexec' |
---|
| 723 | datarootdir='${prefix}/share' |
---|
| 724 | datadir='${datarootdir}' |
---|
| 725 | sysconfdir='${prefix}/etc' |
---|
| 726 | sharedstatedir='${prefix}/com' |
---|
| 727 | localstatedir='${prefix}/var' |
---|
| 728 | includedir='${prefix}/include' |
---|
| 729 | oldincludedir='/usr/include' |
---|
| 730 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
---|
| 731 | infodir='${datarootdir}/info' |
---|
| 732 | htmldir='${docdir}' |
---|
| 733 | dvidir='${docdir}' |
---|
| 734 | pdfdir='${docdir}' |
---|
| 735 | psdir='${docdir}' |
---|
| 736 | libdir='${exec_prefix}/lib' |
---|
| 737 | localedir='${datarootdir}/locale' |
---|
| 738 | mandir='${datarootdir}/man' |
---|
| 739 | |
---|
| 740 | ac_prev= |
---|
| 741 | ac_dashdash= |
---|
| 742 | for ac_option |
---|
| 743 | do |
---|
| 744 | # If the previous option needs an argument, assign it. |
---|
| 745 | if test -n "$ac_prev"; then |
---|
| 746 | eval $ac_prev=\$ac_option |
---|
| 747 | ac_prev= |
---|
| 748 | continue |
---|
| 749 | fi |
---|
| 750 | |
---|
| 751 | case $ac_option in |
---|
[2977] | 752 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
---|
| 753 | *=) ac_optarg= ;; |
---|
| 754 | *) ac_optarg=yes ;; |
---|
[2709] | 755 | esac |
---|
| 756 | |
---|
| 757 | # Accept the important Cygnus configure options, so we can diagnose typos. |
---|
| 758 | |
---|
| 759 | case $ac_dashdash$ac_option in |
---|
| 760 | --) |
---|
| 761 | ac_dashdash=yes ;; |
---|
| 762 | |
---|
| 763 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
---|
| 764 | ac_prev=bindir ;; |
---|
| 765 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
---|
| 766 | bindir=$ac_optarg ;; |
---|
| 767 | |
---|
| 768 | -build | --build | --buil | --bui | --bu) |
---|
| 769 | ac_prev=build_alias ;; |
---|
| 770 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
---|
| 771 | build_alias=$ac_optarg ;; |
---|
| 772 | |
---|
| 773 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
---|
| 774 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
---|
| 775 | ac_prev=cache_file ;; |
---|
| 776 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
---|
| 777 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
---|
| 778 | cache_file=$ac_optarg ;; |
---|
| 779 | |
---|
| 780 | --config-cache | -C) |
---|
| 781 | cache_file=config.cache ;; |
---|
| 782 | |
---|
| 783 | -datadir | --datadir | --datadi | --datad) |
---|
| 784 | ac_prev=datadir ;; |
---|
| 785 | -datadir=* | --datadir=* | --datadi=* | --datad=*) |
---|
| 786 | datadir=$ac_optarg ;; |
---|
| 787 | |
---|
| 788 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
---|
| 789 | | --dataroo | --dataro | --datar) |
---|
| 790 | ac_prev=datarootdir ;; |
---|
| 791 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
---|
| 792 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
---|
| 793 | datarootdir=$ac_optarg ;; |
---|
| 794 | |
---|
| 795 | -disable-* | --disable-*) |
---|
[2977] | 796 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
---|
[2709] | 797 | # Reject names that are not valid shell variable names. |
---|
[2977] | 798 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
| 799 | as_fn_error $? "invalid feature name: $ac_useropt" |
---|
| 800 | ac_useropt_orig=$ac_useropt |
---|
| 801 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
| 802 | case $ac_user_opts in |
---|
| 803 | *" |
---|
| 804 | "enable_$ac_useropt" |
---|
| 805 | "*) ;; |
---|
| 806 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
---|
| 807 | ac_unrecognized_sep=', ';; |
---|
| 808 | esac |
---|
| 809 | eval enable_$ac_useropt=no ;; |
---|
[2709] | 810 | |
---|
| 811 | -docdir | --docdir | --docdi | --doc | --do) |
---|
| 812 | ac_prev=docdir ;; |
---|
| 813 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
---|
| 814 | docdir=$ac_optarg ;; |
---|
| 815 | |
---|
| 816 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
---|
| 817 | ac_prev=dvidir ;; |
---|
| 818 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
---|
| 819 | dvidir=$ac_optarg ;; |
---|
| 820 | |
---|
| 821 | -enable-* | --enable-*) |
---|
[2977] | 822 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
---|
[2709] | 823 | # Reject names that are not valid shell variable names. |
---|
[2977] | 824 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
| 825 | as_fn_error $? "invalid feature name: $ac_useropt" |
---|
| 826 | ac_useropt_orig=$ac_useropt |
---|
| 827 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
| 828 | case $ac_user_opts in |
---|
| 829 | *" |
---|
| 830 | "enable_$ac_useropt" |
---|
| 831 | "*) ;; |
---|
| 832 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
---|
| 833 | ac_unrecognized_sep=', ';; |
---|
| 834 | esac |
---|
| 835 | eval enable_$ac_useropt=\$ac_optarg ;; |
---|
[2709] | 836 | |
---|
| 837 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
---|
| 838 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
---|
| 839 | | --exec | --exe | --ex) |
---|
| 840 | ac_prev=exec_prefix ;; |
---|
| 841 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
---|
| 842 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
---|
| 843 | | --exec=* | --exe=* | --ex=*) |
---|
| 844 | exec_prefix=$ac_optarg ;; |
---|
| 845 | |
---|
| 846 | -gas | --gas | --ga | --g) |
---|
| 847 | # Obsolete; use --with-gas. |
---|
| 848 | with_gas=yes ;; |
---|
| 849 | |
---|
| 850 | -help | --help | --hel | --he | -h) |
---|
| 851 | ac_init_help=long ;; |
---|
| 852 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
---|
| 853 | ac_init_help=recursive ;; |
---|
| 854 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
---|
| 855 | ac_init_help=short ;; |
---|
| 856 | |
---|
| 857 | -host | --host | --hos | --ho) |
---|
| 858 | ac_prev=host_alias ;; |
---|
| 859 | -host=* | --host=* | --hos=* | --ho=*) |
---|
| 860 | host_alias=$ac_optarg ;; |
---|
| 861 | |
---|
| 862 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
---|
| 863 | ac_prev=htmldir ;; |
---|
| 864 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
---|
| 865 | | --ht=*) |
---|
| 866 | htmldir=$ac_optarg ;; |
---|
| 867 | |
---|
| 868 | -includedir | --includedir | --includedi | --included | --include \ |
---|
| 869 | | --includ | --inclu | --incl | --inc) |
---|
| 870 | ac_prev=includedir ;; |
---|
| 871 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
---|
| 872 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
---|
| 873 | includedir=$ac_optarg ;; |
---|
| 874 | |
---|
| 875 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
---|
| 876 | ac_prev=infodir ;; |
---|
| 877 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
---|
| 878 | infodir=$ac_optarg ;; |
---|
| 879 | |
---|
| 880 | -libdir | --libdir | --libdi | --libd) |
---|
| 881 | ac_prev=libdir ;; |
---|
| 882 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
---|
| 883 | libdir=$ac_optarg ;; |
---|
| 884 | |
---|
| 885 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
---|
| 886 | | --libexe | --libex | --libe) |
---|
| 887 | ac_prev=libexecdir ;; |
---|
| 888 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
---|
| 889 | | --libexe=* | --libex=* | --libe=*) |
---|
| 890 | libexecdir=$ac_optarg ;; |
---|
| 891 | |
---|
| 892 | -localedir | --localedir | --localedi | --localed | --locale) |
---|
| 893 | ac_prev=localedir ;; |
---|
| 894 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
---|
| 895 | localedir=$ac_optarg ;; |
---|
| 896 | |
---|
| 897 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
---|
| 898 | | --localstate | --localstat | --localsta | --localst | --locals) |
---|
| 899 | ac_prev=localstatedir ;; |
---|
| 900 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
---|
| 901 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
---|
| 902 | localstatedir=$ac_optarg ;; |
---|
| 903 | |
---|
| 904 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
---|
| 905 | ac_prev=mandir ;; |
---|
| 906 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
---|
| 907 | mandir=$ac_optarg ;; |
---|
| 908 | |
---|
| 909 | -nfp | --nfp | --nf) |
---|
| 910 | # Obsolete; use --without-fp. |
---|
| 911 | with_fp=no ;; |
---|
| 912 | |
---|
| 913 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
---|
| 914 | | --no-cr | --no-c | -n) |
---|
| 915 | no_create=yes ;; |
---|
| 916 | |
---|
| 917 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
---|
| 918 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
---|
| 919 | no_recursion=yes ;; |
---|
| 920 | |
---|
| 921 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
---|
| 922 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
---|
| 923 | | --oldin | --oldi | --old | --ol | --o) |
---|
| 924 | ac_prev=oldincludedir ;; |
---|
| 925 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
---|
| 926 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
---|
| 927 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
---|
| 928 | oldincludedir=$ac_optarg ;; |
---|
| 929 | |
---|
| 930 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
---|
| 931 | ac_prev=prefix ;; |
---|
| 932 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
---|
| 933 | prefix=$ac_optarg ;; |
---|
| 934 | |
---|
| 935 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
---|
| 936 | | --program-pre | --program-pr | --program-p) |
---|
| 937 | ac_prev=program_prefix ;; |
---|
| 938 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
---|
| 939 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
---|
| 940 | program_prefix=$ac_optarg ;; |
---|
| 941 | |
---|
| 942 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
---|
| 943 | | --program-suf | --program-su | --program-s) |
---|
| 944 | ac_prev=program_suffix ;; |
---|
| 945 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
---|
| 946 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
---|
| 947 | program_suffix=$ac_optarg ;; |
---|
| 948 | |
---|
| 949 | -program-transform-name | --program-transform-name \ |
---|
| 950 | | --program-transform-nam | --program-transform-na \ |
---|
| 951 | | --program-transform-n | --program-transform- \ |
---|
| 952 | | --program-transform | --program-transfor \ |
---|
| 953 | | --program-transfo | --program-transf \ |
---|
| 954 | | --program-trans | --program-tran \ |
---|
| 955 | | --progr-tra | --program-tr | --program-t) |
---|
| 956 | ac_prev=program_transform_name ;; |
---|
| 957 | -program-transform-name=* | --program-transform-name=* \ |
---|
| 958 | | --program-transform-nam=* | --program-transform-na=* \ |
---|
| 959 | | --program-transform-n=* | --program-transform-=* \ |
---|
| 960 | | --program-transform=* | --program-transfor=* \ |
---|
| 961 | | --program-transfo=* | --program-transf=* \ |
---|
| 962 | | --program-trans=* | --program-tran=* \ |
---|
| 963 | | --progr-tra=* | --program-tr=* | --program-t=*) |
---|
| 964 | program_transform_name=$ac_optarg ;; |
---|
| 965 | |
---|
| 966 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
---|
| 967 | ac_prev=pdfdir ;; |
---|
| 968 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
---|
| 969 | pdfdir=$ac_optarg ;; |
---|
| 970 | |
---|
| 971 | -psdir | --psdir | --psdi | --psd | --ps) |
---|
| 972 | ac_prev=psdir ;; |
---|
| 973 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
---|
| 974 | psdir=$ac_optarg ;; |
---|
| 975 | |
---|
| 976 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
| 977 | | -silent | --silent | --silen | --sile | --sil) |
---|
| 978 | silent=yes ;; |
---|
| 979 | |
---|
| 980 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
---|
| 981 | ac_prev=sbindir ;; |
---|
| 982 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
---|
| 983 | | --sbi=* | --sb=*) |
---|
| 984 | sbindir=$ac_optarg ;; |
---|
| 985 | |
---|
| 986 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
---|
| 987 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
---|
| 988 | | --sharedst | --shareds | --shared | --share | --shar \ |
---|
| 989 | | --sha | --sh) |
---|
| 990 | ac_prev=sharedstatedir ;; |
---|
| 991 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
---|
| 992 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
---|
| 993 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
---|
| 994 | | --sha=* | --sh=*) |
---|
| 995 | sharedstatedir=$ac_optarg ;; |
---|
| 996 | |
---|
| 997 | -site | --site | --sit) |
---|
| 998 | ac_prev=site ;; |
---|
| 999 | -site=* | --site=* | --sit=*) |
---|
| 1000 | site=$ac_optarg ;; |
---|
| 1001 | |
---|
| 1002 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
---|
| 1003 | ac_prev=srcdir ;; |
---|
| 1004 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
---|
| 1005 | srcdir=$ac_optarg ;; |
---|
| 1006 | |
---|
| 1007 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
---|
| 1008 | | --syscon | --sysco | --sysc | --sys | --sy) |
---|
| 1009 | ac_prev=sysconfdir ;; |
---|
| 1010 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
---|
| 1011 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
---|
| 1012 | sysconfdir=$ac_optarg ;; |
---|
| 1013 | |
---|
| 1014 | -target | --target | --targe | --targ | --tar | --ta | --t) |
---|
| 1015 | ac_prev=target_alias ;; |
---|
| 1016 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
---|
| 1017 | target_alias=$ac_optarg ;; |
---|
| 1018 | |
---|
| 1019 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
---|
| 1020 | verbose=yes ;; |
---|
| 1021 | |
---|
| 1022 | -version | --version | --versio | --versi | --vers | -V) |
---|
| 1023 | ac_init_version=: ;; |
---|
| 1024 | |
---|
| 1025 | -with-* | --with-*) |
---|
[2977] | 1026 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
---|
[2709] | 1027 | # Reject names that are not valid shell variable names. |
---|
[2977] | 1028 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
| 1029 | as_fn_error $? "invalid package name: $ac_useropt" |
---|
| 1030 | ac_useropt_orig=$ac_useropt |
---|
| 1031 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
| 1032 | case $ac_user_opts in |
---|
| 1033 | *" |
---|
| 1034 | "with_$ac_useropt" |
---|
| 1035 | "*) ;; |
---|
| 1036 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
---|
| 1037 | ac_unrecognized_sep=', ';; |
---|
| 1038 | esac |
---|
| 1039 | eval with_$ac_useropt=\$ac_optarg ;; |
---|
[2709] | 1040 | |
---|
| 1041 | -without-* | --without-*) |
---|
[2977] | 1042 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
---|
[2709] | 1043 | # Reject names that are not valid shell variable names. |
---|
[2977] | 1044 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
| 1045 | as_fn_error $? "invalid package name: $ac_useropt" |
---|
| 1046 | ac_useropt_orig=$ac_useropt |
---|
| 1047 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
| 1048 | case $ac_user_opts in |
---|
| 1049 | *" |
---|
| 1050 | "with_$ac_useropt" |
---|
| 1051 | "*) ;; |
---|
| 1052 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
---|
| 1053 | ac_unrecognized_sep=', ';; |
---|
| 1054 | esac |
---|
| 1055 | eval with_$ac_useropt=no ;; |
---|
[2709] | 1056 | |
---|
| 1057 | --x) |
---|
| 1058 | # Obsolete; use --with-x. |
---|
| 1059 | with_x=yes ;; |
---|
| 1060 | |
---|
| 1061 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
---|
| 1062 | | --x-incl | --x-inc | --x-in | --x-i) |
---|
| 1063 | ac_prev=x_includes ;; |
---|
| 1064 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
---|
| 1065 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
---|
| 1066 | x_includes=$ac_optarg ;; |
---|
| 1067 | |
---|
| 1068 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
---|
| 1069 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
---|
| 1070 | ac_prev=x_libraries ;; |
---|
| 1071 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
---|
| 1072 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
---|
| 1073 | x_libraries=$ac_optarg ;; |
---|
| 1074 | |
---|
[2977] | 1075 | -*) as_fn_error $? "unrecognized option: \`$ac_option' |
---|
| 1076 | Try \`$0 --help' for more information" |
---|
[2709] | 1077 | ;; |
---|
| 1078 | |
---|
| 1079 | *=*) |
---|
| 1080 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
---|
| 1081 | # Reject names that are not valid shell variable names. |
---|
[2977] | 1082 | case $ac_envvar in #( |
---|
| 1083 | '' | [0-9]* | *[!_$as_cr_alnum]* ) |
---|
| 1084 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
---|
| 1085 | esac |
---|
[2709] | 1086 | eval $ac_envvar=\$ac_optarg |
---|
| 1087 | export $ac_envvar ;; |
---|
| 1088 | |
---|
| 1089 | *) |
---|
| 1090 | # FIXME: should be removed in autoconf 3.0. |
---|
[2977] | 1091 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
---|
[2709] | 1092 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
---|
[2977] | 1093 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
---|
[3748] | 1094 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
---|
[2709] | 1095 | ;; |
---|
| 1096 | |
---|
| 1097 | esac |
---|
| 1098 | done |
---|
| 1099 | |
---|
| 1100 | if test -n "$ac_prev"; then |
---|
| 1101 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
---|
[2977] | 1102 | as_fn_error $? "missing argument to $ac_option" |
---|
[2709] | 1103 | fi |
---|
| 1104 | |
---|
[2977] | 1105 | if test -n "$ac_unrecognized_opts"; then |
---|
| 1106 | case $enable_option_checking in |
---|
| 1107 | no) ;; |
---|
| 1108 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
---|
| 1109 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
---|
| 1110 | esac |
---|
| 1111 | fi |
---|
| 1112 | |
---|
| 1113 | # Check all directory arguments for consistency. |
---|
[2709] | 1114 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
---|
| 1115 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
---|
| 1116 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
---|
| 1117 | libdir localedir mandir |
---|
| 1118 | do |
---|
| 1119 | eval ac_val=\$$ac_var |
---|
[2977] | 1120 | # Remove trailing slashes. |
---|
[2709] | 1121 | case $ac_val in |
---|
[2977] | 1122 | */ ) |
---|
| 1123 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
---|
| 1124 | eval $ac_var=\$ac_val;; |
---|
| 1125 | esac |
---|
| 1126 | # Be sure to have absolute directory names. |
---|
| 1127 | case $ac_val in |
---|
[2709] | 1128 | [\\/$]* | ?:[\\/]* ) continue;; |
---|
| 1129 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
---|
| 1130 | esac |
---|
[2977] | 1131 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
---|
[2709] | 1132 | done |
---|
| 1133 | |
---|
| 1134 | # There might be people who depend on the old broken behavior: `$host' |
---|
| 1135 | # used to hold the argument of --host etc. |
---|
| 1136 | # FIXME: To remove some day. |
---|
| 1137 | build=$build_alias |
---|
| 1138 | host=$host_alias |
---|
| 1139 | target=$target_alias |
---|
| 1140 | |
---|
| 1141 | # FIXME: To remove some day. |
---|
| 1142 | if test "x$host_alias" != x; then |
---|
| 1143 | if test "x$build_alias" = x; then |
---|
| 1144 | cross_compiling=maybe |
---|
| 1145 | elif test "x$build_alias" != "x$host_alias"; then |
---|
| 1146 | cross_compiling=yes |
---|
| 1147 | fi |
---|
| 1148 | fi |
---|
| 1149 | |
---|
| 1150 | ac_tool_prefix= |
---|
| 1151 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
---|
| 1152 | |
---|
| 1153 | test "$silent" = yes && exec 6>/dev/null |
---|
| 1154 | |
---|
| 1155 | |
---|
| 1156 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
---|
| 1157 | ac_ls_di=`ls -di .` && |
---|
| 1158 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
---|
[2977] | 1159 | as_fn_error $? "working directory cannot be determined" |
---|
[2709] | 1160 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
---|
[2977] | 1161 | as_fn_error $? "pwd does not report name of working directory" |
---|
[2709] | 1162 | |
---|
| 1163 | |
---|
| 1164 | # Find the source files, if location was not specified. |
---|
| 1165 | if test -z "$srcdir"; then |
---|
| 1166 | ac_srcdir_defaulted=yes |
---|
| 1167 | # Try the directory containing this script, then the parent directory. |
---|
[2977] | 1168 | ac_confdir=`$as_dirname -- "$as_myself" || |
---|
| 1169 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 1170 | X"$as_myself" : 'X\(//\)[^/]' \| \ |
---|
| 1171 | X"$as_myself" : 'X\(//\)$' \| \ |
---|
| 1172 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 1173 | $as_echo X"$as_myself" | |
---|
[2709] | 1174 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 1175 | s//\1/ |
---|
| 1176 | q |
---|
| 1177 | } |
---|
| 1178 | /^X\(\/\/\)[^/].*/{ |
---|
| 1179 | s//\1/ |
---|
| 1180 | q |
---|
| 1181 | } |
---|
| 1182 | /^X\(\/\/\)$/{ |
---|
| 1183 | s//\1/ |
---|
| 1184 | q |
---|
| 1185 | } |
---|
| 1186 | /^X\(\/\).*/{ |
---|
| 1187 | s//\1/ |
---|
| 1188 | q |
---|
| 1189 | } |
---|
| 1190 | s/.*/./; q'` |
---|
| 1191 | srcdir=$ac_confdir |
---|
| 1192 | if test ! -r "$srcdir/$ac_unique_file"; then |
---|
| 1193 | srcdir=.. |
---|
| 1194 | fi |
---|
| 1195 | else |
---|
| 1196 | ac_srcdir_defaulted=no |
---|
| 1197 | fi |
---|
| 1198 | if test ! -r "$srcdir/$ac_unique_file"; then |
---|
| 1199 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
---|
[2977] | 1200 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
---|
[2709] | 1201 | fi |
---|
| 1202 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
---|
| 1203 | ac_abs_confdir=`( |
---|
[2977] | 1204 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
---|
[2709] | 1205 | pwd)` |
---|
| 1206 | # When building in place, set srcdir=. |
---|
| 1207 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
---|
| 1208 | srcdir=. |
---|
| 1209 | fi |
---|
| 1210 | # Remove unnecessary trailing slashes from srcdir. |
---|
| 1211 | # Double slashes in file names in object file debugging info |
---|
| 1212 | # mess up M-x gdb in Emacs. |
---|
| 1213 | case $srcdir in |
---|
| 1214 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
---|
| 1215 | esac |
---|
| 1216 | for ac_var in $ac_precious_vars; do |
---|
| 1217 | eval ac_env_${ac_var}_set=\${${ac_var}+set} |
---|
| 1218 | eval ac_env_${ac_var}_value=\$${ac_var} |
---|
| 1219 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
---|
| 1220 | eval ac_cv_env_${ac_var}_value=\$${ac_var} |
---|
| 1221 | done |
---|
| 1222 | |
---|
| 1223 | # |
---|
| 1224 | # Report the --help message. |
---|
| 1225 | # |
---|
| 1226 | if test "$ac_init_help" = "long"; then |
---|
| 1227 | # Omit some internal or obsolete options to make the list less imposing. |
---|
| 1228 | # This message is too long to be a string in the A/UX 3.1 sh. |
---|
| 1229 | cat <<_ACEOF |
---|
| 1230 | \`configure' configures Rappture 1.0 to adapt to many kinds of systems. |
---|
| 1231 | |
---|
| 1232 | Usage: $0 [OPTION]... [VAR=VALUE]... |
---|
| 1233 | |
---|
| 1234 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
---|
| 1235 | VAR=VALUE. See below for descriptions of some of the useful variables. |
---|
| 1236 | |
---|
| 1237 | Defaults for the options are specified in brackets. |
---|
| 1238 | |
---|
| 1239 | Configuration: |
---|
| 1240 | -h, --help display this help and exit |
---|
| 1241 | --help=short display options specific to this package |
---|
| 1242 | --help=recursive display the short help of all the included packages |
---|
| 1243 | -V, --version display version information and exit |
---|
[2977] | 1244 | -q, --quiet, --silent do not print \`checking ...' messages |
---|
[2709] | 1245 | --cache-file=FILE cache test results in FILE [disabled] |
---|
| 1246 | -C, --config-cache alias for \`--cache-file=config.cache' |
---|
| 1247 | -n, --no-create do not create output files |
---|
| 1248 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
---|
| 1249 | |
---|
| 1250 | Installation directories: |
---|
| 1251 | --prefix=PREFIX install architecture-independent files in PREFIX |
---|
[2977] | 1252 | [$ac_default_prefix] |
---|
[2709] | 1253 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
---|
[2977] | 1254 | [PREFIX] |
---|
[2709] | 1255 | |
---|
| 1256 | By default, \`make install' will install all the files in |
---|
| 1257 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
---|
| 1258 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
---|
| 1259 | for instance \`--prefix=\$HOME'. |
---|
| 1260 | |
---|
| 1261 | For better control, use the options below. |
---|
| 1262 | |
---|
| 1263 | Fine tuning of the installation directories: |
---|
[2977] | 1264 | --bindir=DIR user executables [EPREFIX/bin] |
---|
| 1265 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
---|
| 1266 | --libexecdir=DIR program executables [EPREFIX/libexec] |
---|
| 1267 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
---|
| 1268 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
---|
| 1269 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
---|
| 1270 | --libdir=DIR object code libraries [EPREFIX/lib] |
---|
| 1271 | --includedir=DIR C header files [PREFIX/include] |
---|
| 1272 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
---|
| 1273 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
---|
| 1274 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
---|
| 1275 | --infodir=DIR info documentation [DATAROOTDIR/info] |
---|
| 1276 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
---|
| 1277 | --mandir=DIR man documentation [DATAROOTDIR/man] |
---|
| 1278 | --docdir=DIR documentation root [DATAROOTDIR/doc/rappture] |
---|
| 1279 | --htmldir=DIR html documentation [DOCDIR] |
---|
| 1280 | --dvidir=DIR dvi documentation [DOCDIR] |
---|
| 1281 | --pdfdir=DIR pdf documentation [DOCDIR] |
---|
| 1282 | --psdir=DIR ps documentation [DOCDIR] |
---|
[2709] | 1283 | _ACEOF |
---|
| 1284 | |
---|
| 1285 | cat <<\_ACEOF |
---|
| 1286 | _ACEOF |
---|
| 1287 | fi |
---|
| 1288 | |
---|
| 1289 | if test -n "$ac_init_help"; then |
---|
| 1290 | case $ac_init_help in |
---|
| 1291 | short | recursive ) echo "Configuration of Rappture 1.0:";; |
---|
| 1292 | esac |
---|
| 1293 | cat <<\_ACEOF |
---|
| 1294 | |
---|
| 1295 | Optional Packages: |
---|
| 1296 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
---|
| 1297 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
---|
| 1298 | --with-rappture-include=INCLUDE_PATH |
---|
| 1299 | the location of Rappture header files |
---|
| 1300 | --with-rappture-lib=LIB_PATH |
---|
| 1301 | the location of Rappture libraries |
---|
| 1302 | |
---|
| 1303 | Some influential environment variables: |
---|
| 1304 | CC C compiler command |
---|
| 1305 | CFLAGS C compiler flags |
---|
| 1306 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
---|
| 1307 | nonstandard directory <lib dir> |
---|
| 1308 | LIBS libraries to pass to the linker, e.g. -l<library> |
---|
[2977] | 1309 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
---|
[2709] | 1310 | you have headers in a nonstandard directory <include dir> |
---|
| 1311 | CPP C preprocessor |
---|
| 1312 | |
---|
| 1313 | Use these variables to override the choices made by `configure' or to help |
---|
| 1314 | it to find libraries and programs with nonstandard names/locations. |
---|
| 1315 | |
---|
| 1316 | Report bugs to <rappture@nanohub.org>. |
---|
| 1317 | _ACEOF |
---|
| 1318 | ac_status=$? |
---|
| 1319 | fi |
---|
| 1320 | |
---|
| 1321 | if test "$ac_init_help" = "recursive"; then |
---|
| 1322 | # If there are subdirs, report their specific --help. |
---|
| 1323 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
---|
[2977] | 1324 | test -d "$ac_dir" || |
---|
| 1325 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
---|
| 1326 | continue |
---|
[2709] | 1327 | ac_builddir=. |
---|
| 1328 | |
---|
| 1329 | case "$ac_dir" in |
---|
| 1330 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
| 1331 | *) |
---|
[2977] | 1332 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
---|
[2709] | 1333 | # A ".." for each directory in $ac_dir_suffix. |
---|
[2977] | 1334 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
---|
[2709] | 1335 | case $ac_top_builddir_sub in |
---|
| 1336 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
| 1337 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
---|
| 1338 | esac ;; |
---|
| 1339 | esac |
---|
| 1340 | ac_abs_top_builddir=$ac_pwd |
---|
| 1341 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
---|
| 1342 | # for backward compatibility: |
---|
| 1343 | ac_top_builddir=$ac_top_build_prefix |
---|
| 1344 | |
---|
| 1345 | case $srcdir in |
---|
| 1346 | .) # We are building in place. |
---|
| 1347 | ac_srcdir=. |
---|
| 1348 | ac_top_srcdir=$ac_top_builddir_sub |
---|
| 1349 | ac_abs_top_srcdir=$ac_pwd ;; |
---|
| 1350 | [\\/]* | ?:[\\/]* ) # Absolute name. |
---|
| 1351 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
| 1352 | ac_top_srcdir=$srcdir |
---|
| 1353 | ac_abs_top_srcdir=$srcdir ;; |
---|
| 1354 | *) # Relative name. |
---|
| 1355 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
---|
| 1356 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
---|
| 1357 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
---|
| 1358 | esac |
---|
| 1359 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
---|
| 1360 | |
---|
| 1361 | cd "$ac_dir" || { ac_status=$?; continue; } |
---|
| 1362 | # Check for guested configure. |
---|
| 1363 | if test -f "$ac_srcdir/configure.gnu"; then |
---|
| 1364 | echo && |
---|
| 1365 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
---|
| 1366 | elif test -f "$ac_srcdir/configure"; then |
---|
| 1367 | echo && |
---|
| 1368 | $SHELL "$ac_srcdir/configure" --help=recursive |
---|
| 1369 | else |
---|
[2977] | 1370 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
---|
[2709] | 1371 | fi || ac_status=$? |
---|
| 1372 | cd "$ac_pwd" || { ac_status=$?; break; } |
---|
| 1373 | done |
---|
| 1374 | fi |
---|
| 1375 | |
---|
| 1376 | test -n "$ac_init_help" && exit $ac_status |
---|
| 1377 | if $ac_init_version; then |
---|
| 1378 | cat <<\_ACEOF |
---|
| 1379 | Rappture configure 1.0 |
---|
[3748] | 1380 | generated by GNU Autoconf 2.69 |
---|
[2709] | 1381 | |
---|
[3748] | 1382 | Copyright (C) 2012 Free Software Foundation, Inc. |
---|
[2709] | 1383 | This configure script is free software; the Free Software Foundation |
---|
| 1384 | gives unlimited permission to copy, distribute and modify it. |
---|
| 1385 | _ACEOF |
---|
| 1386 | exit |
---|
| 1387 | fi |
---|
[2977] | 1388 | |
---|
| 1389 | ## ------------------------ ## |
---|
| 1390 | ## Autoconf initialization. ## |
---|
| 1391 | ## ------------------------ ## |
---|
| 1392 | |
---|
| 1393 | # ac_fn_c_try_compile LINENO |
---|
| 1394 | # -------------------------- |
---|
| 1395 | # Try to compile conftest.$ac_ext, and return whether this succeeded. |
---|
| 1396 | ac_fn_c_try_compile () |
---|
| 1397 | { |
---|
| 1398 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
| 1399 | rm -f conftest.$ac_objext |
---|
| 1400 | if { { ac_try="$ac_compile" |
---|
| 1401 | case "(($ac_try" in |
---|
| 1402 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 1403 | *) ac_try_echo=$ac_try;; |
---|
| 1404 | esac |
---|
| 1405 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 1406 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 1407 | (eval "$ac_compile") 2>conftest.err |
---|
| 1408 | ac_status=$? |
---|
| 1409 | if test -s conftest.err; then |
---|
| 1410 | grep -v '^ *+' conftest.err >conftest.er1 |
---|
| 1411 | cat conftest.er1 >&5 |
---|
| 1412 | mv -f conftest.er1 conftest.err |
---|
| 1413 | fi |
---|
| 1414 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 1415 | test $ac_status = 0; } && { |
---|
| 1416 | test -z "$ac_c_werror_flag" || |
---|
| 1417 | test ! -s conftest.err |
---|
| 1418 | } && test -s conftest.$ac_objext; then : |
---|
| 1419 | ac_retval=0 |
---|
| 1420 | else |
---|
| 1421 | $as_echo "$as_me: failed program was:" >&5 |
---|
| 1422 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 1423 | |
---|
| 1424 | ac_retval=1 |
---|
| 1425 | fi |
---|
[3748] | 1426 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
[2977] | 1427 | as_fn_set_status $ac_retval |
---|
| 1428 | |
---|
| 1429 | } # ac_fn_c_try_compile |
---|
| 1430 | |
---|
| 1431 | # ac_fn_c_try_cpp LINENO |
---|
| 1432 | # ---------------------- |
---|
| 1433 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
---|
| 1434 | ac_fn_c_try_cpp () |
---|
| 1435 | { |
---|
| 1436 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
| 1437 | if { { ac_try="$ac_cpp conftest.$ac_ext" |
---|
| 1438 | case "(($ac_try" in |
---|
| 1439 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 1440 | *) ac_try_echo=$ac_try;; |
---|
| 1441 | esac |
---|
| 1442 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 1443 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 1444 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
---|
| 1445 | ac_status=$? |
---|
| 1446 | if test -s conftest.err; then |
---|
| 1447 | grep -v '^ *+' conftest.err >conftest.er1 |
---|
| 1448 | cat conftest.er1 >&5 |
---|
| 1449 | mv -f conftest.er1 conftest.err |
---|
| 1450 | fi |
---|
| 1451 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 1452 | test $ac_status = 0; } > conftest.i && { |
---|
| 1453 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
---|
| 1454 | test ! -s conftest.err |
---|
| 1455 | }; then : |
---|
| 1456 | ac_retval=0 |
---|
| 1457 | else |
---|
| 1458 | $as_echo "$as_me: failed program was:" >&5 |
---|
| 1459 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 1460 | |
---|
| 1461 | ac_retval=1 |
---|
| 1462 | fi |
---|
[3748] | 1463 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
[2977] | 1464 | as_fn_set_status $ac_retval |
---|
| 1465 | |
---|
| 1466 | } # ac_fn_c_try_cpp |
---|
| 1467 | |
---|
| 1468 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
---|
| 1469 | # ------------------------------------------------------- |
---|
| 1470 | # Tests whether HEADER exists, giving a warning if it cannot be compiled using |
---|
| 1471 | # the include files in INCLUDES and setting the cache variable VAR |
---|
| 1472 | # accordingly. |
---|
| 1473 | ac_fn_c_check_header_mongrel () |
---|
| 1474 | { |
---|
| 1475 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
[3748] | 1476 | if eval \${$3+:} false; then : |
---|
[2977] | 1477 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
---|
| 1478 | $as_echo_n "checking for $2... " >&6; } |
---|
[3748] | 1479 | if eval \${$3+:} false; then : |
---|
[2977] | 1480 | $as_echo_n "(cached) " >&6 |
---|
| 1481 | fi |
---|
| 1482 | eval ac_res=\$$3 |
---|
| 1483 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
---|
| 1484 | $as_echo "$ac_res" >&6; } |
---|
| 1485 | else |
---|
| 1486 | # Is the header compilable? |
---|
| 1487 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
---|
| 1488 | $as_echo_n "checking $2 usability... " >&6; } |
---|
| 1489 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 1490 | /* end confdefs.h. */ |
---|
| 1491 | $4 |
---|
| 1492 | #include <$2> |
---|
| 1493 | _ACEOF |
---|
| 1494 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 1495 | ac_header_compiler=yes |
---|
| 1496 | else |
---|
| 1497 | ac_header_compiler=no |
---|
| 1498 | fi |
---|
| 1499 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 1500 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 |
---|
| 1501 | $as_echo "$ac_header_compiler" >&6; } |
---|
| 1502 | |
---|
| 1503 | # Is the header present? |
---|
| 1504 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
---|
| 1505 | $as_echo_n "checking $2 presence... " >&6; } |
---|
| 1506 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 1507 | /* end confdefs.h. */ |
---|
| 1508 | #include <$2> |
---|
| 1509 | _ACEOF |
---|
| 1510 | if ac_fn_c_try_cpp "$LINENO"; then : |
---|
| 1511 | ac_header_preproc=yes |
---|
| 1512 | else |
---|
| 1513 | ac_header_preproc=no |
---|
| 1514 | fi |
---|
| 1515 | rm -f conftest.err conftest.i conftest.$ac_ext |
---|
| 1516 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
---|
| 1517 | $as_echo "$ac_header_preproc" >&6; } |
---|
| 1518 | |
---|
| 1519 | # So? What about this header? |
---|
| 1520 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
---|
| 1521 | yes:no: ) |
---|
| 1522 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 |
---|
| 1523 | $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} |
---|
| 1524 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
---|
| 1525 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
---|
| 1526 | ;; |
---|
| 1527 | no:yes:* ) |
---|
| 1528 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 |
---|
| 1529 | $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} |
---|
| 1530 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 |
---|
| 1531 | $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} |
---|
| 1532 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 |
---|
| 1533 | $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
---|
| 1534 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
---|
| 1535 | $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
---|
| 1536 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
---|
| 1537 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
---|
| 1538 | ( $as_echo "## ----------------------------------- ## |
---|
| 1539 | ## Report this to rappture@nanohub.org ## |
---|
| 1540 | ## ----------------------------------- ##" |
---|
| 1541 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
---|
| 1542 | ;; |
---|
| 1543 | esac |
---|
| 1544 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
---|
| 1545 | $as_echo_n "checking for $2... " >&6; } |
---|
[3748] | 1546 | if eval \${$3+:} false; then : |
---|
[2977] | 1547 | $as_echo_n "(cached) " >&6 |
---|
| 1548 | else |
---|
| 1549 | eval "$3=\$ac_header_compiler" |
---|
| 1550 | fi |
---|
| 1551 | eval ac_res=\$$3 |
---|
| 1552 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
---|
| 1553 | $as_echo "$ac_res" >&6; } |
---|
| 1554 | fi |
---|
[3748] | 1555 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
[2977] | 1556 | |
---|
| 1557 | } # ac_fn_c_check_header_mongrel |
---|
| 1558 | |
---|
| 1559 | # ac_fn_c_try_run LINENO |
---|
| 1560 | # ---------------------- |
---|
| 1561 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
---|
| 1562 | # that executables *can* be run. |
---|
| 1563 | ac_fn_c_try_run () |
---|
| 1564 | { |
---|
| 1565 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
| 1566 | if { { ac_try="$ac_link" |
---|
| 1567 | case "(($ac_try" in |
---|
| 1568 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 1569 | *) ac_try_echo=$ac_try;; |
---|
| 1570 | esac |
---|
| 1571 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 1572 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 1573 | (eval "$ac_link") 2>&5 |
---|
| 1574 | ac_status=$? |
---|
| 1575 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 1576 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
---|
| 1577 | { { case "(($ac_try" in |
---|
| 1578 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 1579 | *) ac_try_echo=$ac_try;; |
---|
| 1580 | esac |
---|
| 1581 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 1582 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 1583 | (eval "$ac_try") 2>&5 |
---|
| 1584 | ac_status=$? |
---|
| 1585 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 1586 | test $ac_status = 0; }; }; then : |
---|
| 1587 | ac_retval=0 |
---|
| 1588 | else |
---|
| 1589 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
---|
| 1590 | $as_echo "$as_me: failed program was:" >&5 |
---|
| 1591 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 1592 | |
---|
| 1593 | ac_retval=$ac_status |
---|
| 1594 | fi |
---|
| 1595 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
---|
[3748] | 1596 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
[2977] | 1597 | as_fn_set_status $ac_retval |
---|
| 1598 | |
---|
| 1599 | } # ac_fn_c_try_run |
---|
| 1600 | |
---|
| 1601 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
---|
| 1602 | # ------------------------------------------------------- |
---|
| 1603 | # Tests whether HEADER exists and can be compiled using the include files in |
---|
| 1604 | # INCLUDES, setting the cache variable VAR accordingly. |
---|
| 1605 | ac_fn_c_check_header_compile () |
---|
| 1606 | { |
---|
| 1607 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
| 1608 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
---|
| 1609 | $as_echo_n "checking for $2... " >&6; } |
---|
[3748] | 1610 | if eval \${$3+:} false; then : |
---|
[2977] | 1611 | $as_echo_n "(cached) " >&6 |
---|
| 1612 | else |
---|
| 1613 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 1614 | /* end confdefs.h. */ |
---|
| 1615 | $4 |
---|
| 1616 | #include <$2> |
---|
| 1617 | _ACEOF |
---|
| 1618 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 1619 | eval "$3=yes" |
---|
| 1620 | else |
---|
| 1621 | eval "$3=no" |
---|
| 1622 | fi |
---|
| 1623 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 1624 | fi |
---|
| 1625 | eval ac_res=\$$3 |
---|
| 1626 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
---|
| 1627 | $as_echo "$ac_res" >&6; } |
---|
[3748] | 1628 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
[2977] | 1629 | |
---|
| 1630 | } # ac_fn_c_check_header_compile |
---|
| 1631 | |
---|
| 1632 | # ac_fn_c_try_link LINENO |
---|
| 1633 | # ----------------------- |
---|
| 1634 | # Try to link conftest.$ac_ext, and return whether this succeeded. |
---|
| 1635 | ac_fn_c_try_link () |
---|
| 1636 | { |
---|
| 1637 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
| 1638 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
| 1639 | if { { ac_try="$ac_link" |
---|
| 1640 | case "(($ac_try" in |
---|
| 1641 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 1642 | *) ac_try_echo=$ac_try;; |
---|
| 1643 | esac |
---|
| 1644 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 1645 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 1646 | (eval "$ac_link") 2>conftest.err |
---|
| 1647 | ac_status=$? |
---|
| 1648 | if test -s conftest.err; then |
---|
| 1649 | grep -v '^ *+' conftest.err >conftest.er1 |
---|
| 1650 | cat conftest.er1 >&5 |
---|
| 1651 | mv -f conftest.er1 conftest.err |
---|
| 1652 | fi |
---|
| 1653 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 1654 | test $ac_status = 0; } && { |
---|
| 1655 | test -z "$ac_c_werror_flag" || |
---|
| 1656 | test ! -s conftest.err |
---|
| 1657 | } && test -s conftest$ac_exeext && { |
---|
| 1658 | test "$cross_compiling" = yes || |
---|
[3748] | 1659 | test -x conftest$ac_exeext |
---|
[2977] | 1660 | }; then : |
---|
| 1661 | ac_retval=0 |
---|
| 1662 | else |
---|
| 1663 | $as_echo "$as_me: failed program was:" >&5 |
---|
| 1664 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 1665 | |
---|
| 1666 | ac_retval=1 |
---|
| 1667 | fi |
---|
| 1668 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
---|
| 1669 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
---|
| 1670 | # interfere with the next link command; also delete a directory that is |
---|
| 1671 | # left behind by Apple's compiler. We do this before executing the actions. |
---|
| 1672 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
---|
[3748] | 1673 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
[2977] | 1674 | as_fn_set_status $ac_retval |
---|
| 1675 | |
---|
| 1676 | } # ac_fn_c_try_link |
---|
| 1677 | |
---|
| 1678 | # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES |
---|
| 1679 | # -------------------------------------------- |
---|
| 1680 | # Tries to find the compile-time value of EXPR in a program that includes |
---|
| 1681 | # INCLUDES, setting VAR accordingly. Returns whether the value could be |
---|
| 1682 | # computed |
---|
| 1683 | ac_fn_c_compute_int () |
---|
| 1684 | { |
---|
| 1685 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
| 1686 | if test "$cross_compiling" = yes; then |
---|
| 1687 | # Depending upon the size, compute the lo and hi bounds. |
---|
| 1688 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 1689 | /* end confdefs.h. */ |
---|
| 1690 | $4 |
---|
| 1691 | int |
---|
| 1692 | main () |
---|
| 1693 | { |
---|
| 1694 | static int test_array [1 - 2 * !(($2) >= 0)]; |
---|
[3748] | 1695 | test_array [0] = 0; |
---|
| 1696 | return test_array [0]; |
---|
[2977] | 1697 | |
---|
| 1698 | ; |
---|
| 1699 | return 0; |
---|
| 1700 | } |
---|
| 1701 | _ACEOF |
---|
| 1702 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 1703 | ac_lo=0 ac_mid=0 |
---|
| 1704 | while :; do |
---|
| 1705 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 1706 | /* end confdefs.h. */ |
---|
| 1707 | $4 |
---|
| 1708 | int |
---|
| 1709 | main () |
---|
| 1710 | { |
---|
| 1711 | static int test_array [1 - 2 * !(($2) <= $ac_mid)]; |
---|
[3748] | 1712 | test_array [0] = 0; |
---|
| 1713 | return test_array [0]; |
---|
[2977] | 1714 | |
---|
| 1715 | ; |
---|
| 1716 | return 0; |
---|
| 1717 | } |
---|
| 1718 | _ACEOF |
---|
| 1719 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 1720 | ac_hi=$ac_mid; break |
---|
| 1721 | else |
---|
| 1722 | as_fn_arith $ac_mid + 1 && ac_lo=$as_val |
---|
| 1723 | if test $ac_lo -le $ac_mid; then |
---|
| 1724 | ac_lo= ac_hi= |
---|
| 1725 | break |
---|
| 1726 | fi |
---|
| 1727 | as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val |
---|
| 1728 | fi |
---|
| 1729 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 1730 | done |
---|
| 1731 | else |
---|
| 1732 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 1733 | /* end confdefs.h. */ |
---|
| 1734 | $4 |
---|
| 1735 | int |
---|
| 1736 | main () |
---|
| 1737 | { |
---|
| 1738 | static int test_array [1 - 2 * !(($2) < 0)]; |
---|
[3748] | 1739 | test_array [0] = 0; |
---|
| 1740 | return test_array [0]; |
---|
[2977] | 1741 | |
---|
| 1742 | ; |
---|
| 1743 | return 0; |
---|
| 1744 | } |
---|
| 1745 | _ACEOF |
---|
| 1746 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 1747 | ac_hi=-1 ac_mid=-1 |
---|
| 1748 | while :; do |
---|
| 1749 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 1750 | /* end confdefs.h. */ |
---|
| 1751 | $4 |
---|
| 1752 | int |
---|
| 1753 | main () |
---|
| 1754 | { |
---|
| 1755 | static int test_array [1 - 2 * !(($2) >= $ac_mid)]; |
---|
[3748] | 1756 | test_array [0] = 0; |
---|
| 1757 | return test_array [0]; |
---|
[2977] | 1758 | |
---|
| 1759 | ; |
---|
| 1760 | return 0; |
---|
| 1761 | } |
---|
| 1762 | _ACEOF |
---|
| 1763 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 1764 | ac_lo=$ac_mid; break |
---|
| 1765 | else |
---|
| 1766 | as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val |
---|
| 1767 | if test $ac_mid -le $ac_hi; then |
---|
| 1768 | ac_lo= ac_hi= |
---|
| 1769 | break |
---|
| 1770 | fi |
---|
| 1771 | as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val |
---|
| 1772 | fi |
---|
| 1773 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 1774 | done |
---|
| 1775 | else |
---|
| 1776 | ac_lo= ac_hi= |
---|
| 1777 | fi |
---|
| 1778 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 1779 | fi |
---|
| 1780 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 1781 | # Binary search between lo and hi bounds. |
---|
| 1782 | while test "x$ac_lo" != "x$ac_hi"; do |
---|
| 1783 | as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val |
---|
| 1784 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 1785 | /* end confdefs.h. */ |
---|
| 1786 | $4 |
---|
| 1787 | int |
---|
| 1788 | main () |
---|
| 1789 | { |
---|
| 1790 | static int test_array [1 - 2 * !(($2) <= $ac_mid)]; |
---|
[3748] | 1791 | test_array [0] = 0; |
---|
| 1792 | return test_array [0]; |
---|
[2977] | 1793 | |
---|
| 1794 | ; |
---|
| 1795 | return 0; |
---|
| 1796 | } |
---|
| 1797 | _ACEOF |
---|
| 1798 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 1799 | ac_hi=$ac_mid |
---|
| 1800 | else |
---|
| 1801 | as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val |
---|
| 1802 | fi |
---|
| 1803 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 1804 | done |
---|
| 1805 | case $ac_lo in #(( |
---|
| 1806 | ?*) eval "$3=\$ac_lo"; ac_retval=0 ;; |
---|
| 1807 | '') ac_retval=1 ;; |
---|
| 1808 | esac |
---|
| 1809 | else |
---|
| 1810 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 1811 | /* end confdefs.h. */ |
---|
| 1812 | $4 |
---|
| 1813 | static long int longval () { return $2; } |
---|
| 1814 | static unsigned long int ulongval () { return $2; } |
---|
| 1815 | #include <stdio.h> |
---|
| 1816 | #include <stdlib.h> |
---|
| 1817 | int |
---|
| 1818 | main () |
---|
| 1819 | { |
---|
| 1820 | |
---|
| 1821 | FILE *f = fopen ("conftest.val", "w"); |
---|
| 1822 | if (! f) |
---|
| 1823 | return 1; |
---|
| 1824 | if (($2) < 0) |
---|
| 1825 | { |
---|
| 1826 | long int i = longval (); |
---|
| 1827 | if (i != ($2)) |
---|
| 1828 | return 1; |
---|
| 1829 | fprintf (f, "%ld", i); |
---|
| 1830 | } |
---|
| 1831 | else |
---|
| 1832 | { |
---|
| 1833 | unsigned long int i = ulongval (); |
---|
| 1834 | if (i != ($2)) |
---|
| 1835 | return 1; |
---|
| 1836 | fprintf (f, "%lu", i); |
---|
| 1837 | } |
---|
| 1838 | /* Do not output a trailing newline, as this causes \r\n confusion |
---|
| 1839 | on some platforms. */ |
---|
| 1840 | return ferror (f) || fclose (f) != 0; |
---|
| 1841 | |
---|
| 1842 | ; |
---|
| 1843 | return 0; |
---|
| 1844 | } |
---|
| 1845 | _ACEOF |
---|
| 1846 | if ac_fn_c_try_run "$LINENO"; then : |
---|
| 1847 | echo >>conftest.val; read $3 <conftest.val; ac_retval=0 |
---|
| 1848 | else |
---|
| 1849 | ac_retval=1 |
---|
| 1850 | fi |
---|
| 1851 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
---|
| 1852 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
---|
| 1853 | rm -f conftest.val |
---|
| 1854 | |
---|
| 1855 | fi |
---|
[3748] | 1856 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
[2977] | 1857 | as_fn_set_status $ac_retval |
---|
| 1858 | |
---|
| 1859 | } # ac_fn_c_compute_int |
---|
[2709] | 1860 | cat >config.log <<_ACEOF |
---|
| 1861 | This file contains any messages produced by compilers while |
---|
| 1862 | running configure, to aid debugging if configure makes a mistake. |
---|
| 1863 | |
---|
| 1864 | It was created by Rappture $as_me 1.0, which was |
---|
[3748] | 1865 | generated by GNU Autoconf 2.69. Invocation command line was |
---|
[2709] | 1866 | |
---|
| 1867 | $ $0 $@ |
---|
| 1868 | |
---|
| 1869 | _ACEOF |
---|
| 1870 | exec 5>>config.log |
---|
| 1871 | { |
---|
| 1872 | cat <<_ASUNAME |
---|
| 1873 | ## --------- ## |
---|
| 1874 | ## Platform. ## |
---|
| 1875 | ## --------- ## |
---|
| 1876 | |
---|
| 1877 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
| 1878 | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
---|
| 1879 | uname -r = `(uname -r) 2>/dev/null || echo unknown` |
---|
| 1880 | uname -s = `(uname -s) 2>/dev/null || echo unknown` |
---|
| 1881 | uname -v = `(uname -v) 2>/dev/null || echo unknown` |
---|
| 1882 | |
---|
| 1883 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
---|
| 1884 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
---|
| 1885 | |
---|
| 1886 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
---|
| 1887 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
---|
| 1888 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
---|
| 1889 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
---|
| 1890 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
---|
| 1891 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
---|
| 1892 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
---|
| 1893 | |
---|
| 1894 | _ASUNAME |
---|
| 1895 | |
---|
| 1896 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 1897 | for as_dir in $PATH |
---|
| 1898 | do |
---|
| 1899 | IFS=$as_save_IFS |
---|
| 1900 | test -z "$as_dir" && as_dir=. |
---|
[2977] | 1901 | $as_echo "PATH: $as_dir" |
---|
| 1902 | done |
---|
[2709] | 1903 | IFS=$as_save_IFS |
---|
| 1904 | |
---|
| 1905 | } >&5 |
---|
| 1906 | |
---|
| 1907 | cat >&5 <<_ACEOF |
---|
| 1908 | |
---|
| 1909 | |
---|
| 1910 | ## ----------- ## |
---|
| 1911 | ## Core tests. ## |
---|
| 1912 | ## ----------- ## |
---|
| 1913 | |
---|
| 1914 | _ACEOF |
---|
| 1915 | |
---|
| 1916 | |
---|
| 1917 | # Keep a trace of the command line. |
---|
| 1918 | # Strip out --no-create and --no-recursion so they do not pile up. |
---|
| 1919 | # Strip out --silent because we don't want to record it for future runs. |
---|
| 1920 | # Also quote any args containing shell meta-characters. |
---|
| 1921 | # Make two passes to allow for proper duplicate-argument suppression. |
---|
| 1922 | ac_configure_args= |
---|
| 1923 | ac_configure_args0= |
---|
| 1924 | ac_configure_args1= |
---|
| 1925 | ac_must_keep_next=false |
---|
| 1926 | for ac_pass in 1 2 |
---|
| 1927 | do |
---|
| 1928 | for ac_arg |
---|
| 1929 | do |
---|
| 1930 | case $ac_arg in |
---|
| 1931 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
---|
| 1932 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
| 1933 | | -silent | --silent | --silen | --sile | --sil) |
---|
| 1934 | continue ;; |
---|
| 1935 | *\'*) |
---|
[2977] | 1936 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
[2709] | 1937 | esac |
---|
| 1938 | case $ac_pass in |
---|
[2977] | 1939 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
---|
[2709] | 1940 | 2) |
---|
[2977] | 1941 | as_fn_append ac_configure_args1 " '$ac_arg'" |
---|
[2709] | 1942 | if test $ac_must_keep_next = true; then |
---|
| 1943 | ac_must_keep_next=false # Got value, back to normal. |
---|
| 1944 | else |
---|
| 1945 | case $ac_arg in |
---|
| 1946 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
---|
| 1947 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
---|
| 1948 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
---|
| 1949 | | -with-* | --with-* | -without-* | --without-* | --x) |
---|
| 1950 | case "$ac_configure_args0 " in |
---|
| 1951 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
---|
| 1952 | esac |
---|
| 1953 | ;; |
---|
| 1954 | -* ) ac_must_keep_next=true ;; |
---|
| 1955 | esac |
---|
| 1956 | fi |
---|
[2977] | 1957 | as_fn_append ac_configure_args " '$ac_arg'" |
---|
[2709] | 1958 | ;; |
---|
| 1959 | esac |
---|
| 1960 | done |
---|
| 1961 | done |
---|
[2977] | 1962 | { ac_configure_args0=; unset ac_configure_args0;} |
---|
| 1963 | { ac_configure_args1=; unset ac_configure_args1;} |
---|
[2709] | 1964 | |
---|
| 1965 | # When interrupted or exit'd, cleanup temporary files, and complete |
---|
| 1966 | # config.log. We remove comments because anyway the quotes in there |
---|
| 1967 | # would cause problems or look ugly. |
---|
| 1968 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
---|
| 1969 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
---|
| 1970 | trap 'exit_status=$? |
---|
| 1971 | # Save into config.log some information that might help in debugging. |
---|
| 1972 | { |
---|
| 1973 | echo |
---|
| 1974 | |
---|
[2977] | 1975 | $as_echo "## ---------------- ## |
---|
[2709] | 1976 | ## Cache variables. ## |
---|
[2977] | 1977 | ## ---------------- ##" |
---|
[2709] | 1978 | echo |
---|
| 1979 | # The following way of writing the cache mishandles newlines in values, |
---|
| 1980 | ( |
---|
| 1981 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
---|
| 1982 | eval ac_val=\$$ac_var |
---|
| 1983 | case $ac_val in #( |
---|
| 1984 | *${as_nl}*) |
---|
| 1985 | case $ac_var in #( |
---|
[2977] | 1986 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
---|
| 1987 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
---|
[2709] | 1988 | esac |
---|
| 1989 | case $ac_var in #( |
---|
| 1990 | _ | IFS | as_nl) ;; #( |
---|
[2977] | 1991 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
---|
| 1992 | *) { eval $ac_var=; unset $ac_var;} ;; |
---|
[2709] | 1993 | esac ;; |
---|
| 1994 | esac |
---|
| 1995 | done |
---|
| 1996 | (set) 2>&1 | |
---|
| 1997 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
---|
| 1998 | *${as_nl}ac_space=\ *) |
---|
| 1999 | sed -n \ |
---|
| 2000 | "s/'\''/'\''\\\\'\'''\''/g; |
---|
| 2001 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
---|
| 2002 | ;; #( |
---|
| 2003 | *) |
---|
| 2004 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
---|
| 2005 | ;; |
---|
| 2006 | esac | |
---|
| 2007 | sort |
---|
| 2008 | ) |
---|
| 2009 | echo |
---|
| 2010 | |
---|
[2977] | 2011 | $as_echo "## ----------------- ## |
---|
[2709] | 2012 | ## Output variables. ## |
---|
[2977] | 2013 | ## ----------------- ##" |
---|
[2709] | 2014 | echo |
---|
| 2015 | for ac_var in $ac_subst_vars |
---|
| 2016 | do |
---|
| 2017 | eval ac_val=\$$ac_var |
---|
| 2018 | case $ac_val in |
---|
[2977] | 2019 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
---|
[2709] | 2020 | esac |
---|
[2977] | 2021 | $as_echo "$ac_var='\''$ac_val'\''" |
---|
[2709] | 2022 | done | sort |
---|
| 2023 | echo |
---|
| 2024 | |
---|
| 2025 | if test -n "$ac_subst_files"; then |
---|
[2977] | 2026 | $as_echo "## ------------------- ## |
---|
[2709] | 2027 | ## File substitutions. ## |
---|
[2977] | 2028 | ## ------------------- ##" |
---|
[2709] | 2029 | echo |
---|
| 2030 | for ac_var in $ac_subst_files |
---|
| 2031 | do |
---|
| 2032 | eval ac_val=\$$ac_var |
---|
| 2033 | case $ac_val in |
---|
[2977] | 2034 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
---|
[2709] | 2035 | esac |
---|
[2977] | 2036 | $as_echo "$ac_var='\''$ac_val'\''" |
---|
[2709] | 2037 | done | sort |
---|
| 2038 | echo |
---|
| 2039 | fi |
---|
| 2040 | |
---|
| 2041 | if test -s confdefs.h; then |
---|
[2977] | 2042 | $as_echo "## ----------- ## |
---|
[2709] | 2043 | ## confdefs.h. ## |
---|
[2977] | 2044 | ## ----------- ##" |
---|
[2709] | 2045 | echo |
---|
| 2046 | cat confdefs.h |
---|
| 2047 | echo |
---|
| 2048 | fi |
---|
| 2049 | test "$ac_signal" != 0 && |
---|
[2977] | 2050 | $as_echo "$as_me: caught signal $ac_signal" |
---|
| 2051 | $as_echo "$as_me: exit $exit_status" |
---|
[2709] | 2052 | } >&5 |
---|
| 2053 | rm -f core *.core core.conftest.* && |
---|
| 2054 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
---|
| 2055 | exit $exit_status |
---|
| 2056 | ' 0 |
---|
| 2057 | for ac_signal in 1 2 13 15; do |
---|
[2977] | 2058 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
---|
[2709] | 2059 | done |
---|
| 2060 | ac_signal=0 |
---|
| 2061 | |
---|
| 2062 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
---|
| 2063 | rm -f -r conftest* confdefs.h |
---|
| 2064 | |
---|
[2977] | 2065 | $as_echo "/* confdefs.h */" > confdefs.h |
---|
| 2066 | |
---|
[2709] | 2067 | # Predefined preprocessor variables. |
---|
| 2068 | |
---|
| 2069 | cat >>confdefs.h <<_ACEOF |
---|
| 2070 | #define PACKAGE_NAME "$PACKAGE_NAME" |
---|
| 2071 | _ACEOF |
---|
| 2072 | |
---|
| 2073 | cat >>confdefs.h <<_ACEOF |
---|
| 2074 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
---|
| 2075 | _ACEOF |
---|
| 2076 | |
---|
| 2077 | cat >>confdefs.h <<_ACEOF |
---|
| 2078 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
---|
| 2079 | _ACEOF |
---|
| 2080 | |
---|
| 2081 | cat >>confdefs.h <<_ACEOF |
---|
| 2082 | #define PACKAGE_STRING "$PACKAGE_STRING" |
---|
| 2083 | _ACEOF |
---|
| 2084 | |
---|
| 2085 | cat >>confdefs.h <<_ACEOF |
---|
| 2086 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
---|
| 2087 | _ACEOF |
---|
| 2088 | |
---|
[2977] | 2089 | cat >>confdefs.h <<_ACEOF |
---|
| 2090 | #define PACKAGE_URL "$PACKAGE_URL" |
---|
| 2091 | _ACEOF |
---|
[2709] | 2092 | |
---|
[2977] | 2093 | |
---|
[2709] | 2094 | # Let the site file select an alternate cache file if it wants to. |
---|
[2977] | 2095 | # Prefer an explicitly selected file to automatically selected ones. |
---|
| 2096 | ac_site_file1=NONE |
---|
| 2097 | ac_site_file2=NONE |
---|
[2709] | 2098 | if test -n "$CONFIG_SITE"; then |
---|
[2977] | 2099 | # We do not want a PATH search for config.site. |
---|
| 2100 | case $CONFIG_SITE in #(( |
---|
| 2101 | -*) ac_site_file1=./$CONFIG_SITE;; |
---|
| 2102 | */*) ac_site_file1=$CONFIG_SITE;; |
---|
| 2103 | *) ac_site_file1=./$CONFIG_SITE;; |
---|
| 2104 | esac |
---|
[2709] | 2105 | elif test "x$prefix" != xNONE; then |
---|
[2977] | 2106 | ac_site_file1=$prefix/share/config.site |
---|
| 2107 | ac_site_file2=$prefix/etc/config.site |
---|
[2709] | 2108 | else |
---|
[2977] | 2109 | ac_site_file1=$ac_default_prefix/share/config.site |
---|
| 2110 | ac_site_file2=$ac_default_prefix/etc/config.site |
---|
[2709] | 2111 | fi |
---|
[2977] | 2112 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
---|
[2709] | 2113 | do |
---|
[2977] | 2114 | test "x$ac_site_file" = xNONE && continue |
---|
| 2115 | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
---|
| 2116 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
---|
| 2117 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
---|
[2709] | 2118 | sed 's/^/| /' "$ac_site_file" >&5 |
---|
[2977] | 2119 | . "$ac_site_file" \ |
---|
| 2120 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
| 2121 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
| 2122 | as_fn_error $? "failed to load site script $ac_site_file |
---|
[3748] | 2123 | See \`config.log' for more details" "$LINENO" 5; } |
---|
[2709] | 2124 | fi |
---|
| 2125 | done |
---|
| 2126 | |
---|
| 2127 | if test -r "$cache_file"; then |
---|
[2977] | 2128 | # Some versions of bash will fail to source /dev/null (special files |
---|
| 2129 | # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
---|
| 2130 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
---|
| 2131 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
---|
| 2132 | $as_echo "$as_me: loading cache $cache_file" >&6;} |
---|
[2709] | 2133 | case $cache_file in |
---|
| 2134 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
---|
| 2135 | *) . "./$cache_file";; |
---|
| 2136 | esac |
---|
| 2137 | fi |
---|
| 2138 | else |
---|
[2977] | 2139 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
---|
| 2140 | $as_echo "$as_me: creating cache $cache_file" >&6;} |
---|
[2709] | 2141 | >$cache_file |
---|
| 2142 | fi |
---|
| 2143 | |
---|
| 2144 | # Check that the precious variables saved in the cache have kept the same |
---|
| 2145 | # value. |
---|
| 2146 | ac_cache_corrupted=false |
---|
| 2147 | for ac_var in $ac_precious_vars; do |
---|
| 2148 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
---|
| 2149 | eval ac_new_set=\$ac_env_${ac_var}_set |
---|
| 2150 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
---|
| 2151 | eval ac_new_val=\$ac_env_${ac_var}_value |
---|
| 2152 | case $ac_old_set,$ac_new_set in |
---|
| 2153 | set,) |
---|
[2977] | 2154 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
---|
| 2155 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
---|
[2709] | 2156 | ac_cache_corrupted=: ;; |
---|
| 2157 | ,set) |
---|
[2977] | 2158 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
---|
| 2159 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
---|
[2709] | 2160 | ac_cache_corrupted=: ;; |
---|
| 2161 | ,);; |
---|
| 2162 | *) |
---|
| 2163 | if test "x$ac_old_val" != "x$ac_new_val"; then |
---|
[2977] | 2164 | # differences in whitespace do not lead to failure. |
---|
| 2165 | ac_old_val_w=`echo x $ac_old_val` |
---|
| 2166 | ac_new_val_w=`echo x $ac_new_val` |
---|
| 2167 | if test "$ac_old_val_w" != "$ac_new_val_w"; then |
---|
| 2168 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
---|
| 2169 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
---|
| 2170 | ac_cache_corrupted=: |
---|
| 2171 | else |
---|
| 2172 | { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
---|
| 2173 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
---|
| 2174 | eval $ac_var=\$ac_old_val |
---|
| 2175 | fi |
---|
| 2176 | { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
---|
| 2177 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
---|
| 2178 | { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
---|
| 2179 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
---|
[2709] | 2180 | fi;; |
---|
| 2181 | esac |
---|
| 2182 | # Pass precious variables to config.status. |
---|
| 2183 | if test "$ac_new_set" = set; then |
---|
| 2184 | case $ac_new_val in |
---|
[2977] | 2185 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
[2709] | 2186 | *) ac_arg=$ac_var=$ac_new_val ;; |
---|
| 2187 | esac |
---|
| 2188 | case " $ac_configure_args " in |
---|
| 2189 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
---|
[2977] | 2190 | *) as_fn_append ac_configure_args " '$ac_arg'" ;; |
---|
[2709] | 2191 | esac |
---|
| 2192 | fi |
---|
| 2193 | done |
---|
| 2194 | if $ac_cache_corrupted; then |
---|
[2977] | 2195 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
| 2196 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
| 2197 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
---|
| 2198 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
---|
| 2199 | as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
---|
[2709] | 2200 | fi |
---|
[2977] | 2201 | ## -------------------- ## |
---|
| 2202 | ## Main body of script. ## |
---|
| 2203 | ## -------------------- ## |
---|
[2709] | 2204 | |
---|
| 2205 | ac_ext=c |
---|
| 2206 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 2207 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 2208 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 2209 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
| 2210 | |
---|
| 2211 | |
---|
| 2212 | |
---|
| 2213 | |
---|
| 2214 | # Check whether --with-rappture-include was given. |
---|
[2977] | 2215 | if test "${with_rappture_include+set}" = set; then : |
---|
[2709] | 2216 | withval=$with_rappture_include; rappture_include_path=$withval |
---|
| 2217 | fi |
---|
| 2218 | |
---|
| 2219 | RAPPTURE_CPPFLAGS="-I." |
---|
| 2220 | if test -n "$rappture_include_path" ; then |
---|
| 2221 | RAPPTURE_CPPFLAGS="-I. -I${rappture_include_path}" |
---|
| 2222 | else |
---|
| 2223 | if test -n "${RAPPTURE_INCLUDE}" ; then |
---|
| 2224 | RAPPTURE_CPPFLAGS="-I. -I${RAPPTURE_INCLUDE}" |
---|
| 2225 | fi |
---|
| 2226 | fi |
---|
| 2227 | |
---|
| 2228 | |
---|
| 2229 | # Check whether --with-rappture-lib was given. |
---|
[2977] | 2230 | if test "${with_rappture_lib+set}" = set; then : |
---|
[2709] | 2231 | withval=$with_rappture_lib; rappture_lib_path=$withval |
---|
| 2232 | fi |
---|
| 2233 | |
---|
| 2234 | if test -n "$rappture_lib_path" ; then |
---|
| 2235 | LIBS="-L${rappture_lib_path} ${LIBS}" |
---|
| 2236 | else |
---|
| 2237 | if test -n "${RAPPTURE_LIBS}" ; then |
---|
| 2238 | LIBS="-L${RAPPTURE_LIBS} ${LIBS}" |
---|
| 2239 | fi |
---|
| 2240 | fi |
---|
| 2241 | |
---|
| 2242 | : ${R_HOME=`R RHOME`} |
---|
| 2243 | if test -z "${R_HOME}"; then |
---|
| 2244 | echo "could not determine R_HOME" |
---|
| 2245 | exit 1 |
---|
| 2246 | fi |
---|
| 2247 | CC=`"${R_HOME}/bin/R" CMD config CC` |
---|
| 2248 | CPP=`"${R_HOME}/bin/R" CMD config CPP` |
---|
| 2249 | CFLAGS=`"${R_HOME}/bin/R" CMD config CFLAGS` |
---|
| 2250 | CPPFLAGS=`"${R_HOME}/bin/R" CMD config CPPFLAGS` |
---|
| 2251 | |
---|
| 2252 | CPPFLAGS="${CPPFLAGS} ${RAPPTURE_CPPFLAGS}" |
---|
| 2253 | |
---|
| 2254 | ac_ext=c |
---|
| 2255 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 2256 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 2257 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 2258 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
| 2259 | if test -n "$ac_tool_prefix"; then |
---|
| 2260 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
---|
| 2261 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
---|
[2977] | 2262 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 2263 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
[3748] | 2264 | if ${ac_cv_prog_CC+:} false; then : |
---|
[2977] | 2265 | $as_echo_n "(cached) " >&6 |
---|
[2709] | 2266 | else |
---|
| 2267 | if test -n "$CC"; then |
---|
| 2268 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
| 2269 | else |
---|
| 2270 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2271 | for as_dir in $PATH |
---|
| 2272 | do |
---|
| 2273 | IFS=$as_save_IFS |
---|
| 2274 | test -z "$as_dir" && as_dir=. |
---|
[2977] | 2275 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[3748] | 2276 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
[2709] | 2277 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
---|
[2977] | 2278 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
[2709] | 2279 | break 2 |
---|
| 2280 | fi |
---|
| 2281 | done |
---|
[2977] | 2282 | done |
---|
[2709] | 2283 | IFS=$as_save_IFS |
---|
| 2284 | |
---|
| 2285 | fi |
---|
| 2286 | fi |
---|
| 2287 | CC=$ac_cv_prog_CC |
---|
| 2288 | if test -n "$CC"; then |
---|
[2977] | 2289 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
---|
| 2290 | $as_echo "$CC" >&6; } |
---|
[2709] | 2291 | else |
---|
[2977] | 2292 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 2293 | $as_echo "no" >&6; } |
---|
[2709] | 2294 | fi |
---|
| 2295 | |
---|
| 2296 | |
---|
| 2297 | fi |
---|
| 2298 | if test -z "$ac_cv_prog_CC"; then |
---|
| 2299 | ac_ct_CC=$CC |
---|
| 2300 | # Extract the first word of "gcc", so it can be a program name with args. |
---|
| 2301 | set dummy gcc; ac_word=$2 |
---|
[2977] | 2302 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 2303 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
[3748] | 2304 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
---|
[2977] | 2305 | $as_echo_n "(cached) " >&6 |
---|
[2709] | 2306 | else |
---|
| 2307 | if test -n "$ac_ct_CC"; then |
---|
| 2308 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
| 2309 | else |
---|
| 2310 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2311 | for as_dir in $PATH |
---|
| 2312 | do |
---|
| 2313 | IFS=$as_save_IFS |
---|
| 2314 | test -z "$as_dir" && as_dir=. |
---|
[2977] | 2315 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[3748] | 2316 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
[2709] | 2317 | ac_cv_prog_ac_ct_CC="gcc" |
---|
[2977] | 2318 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
[2709] | 2319 | break 2 |
---|
| 2320 | fi |
---|
| 2321 | done |
---|
[2977] | 2322 | done |
---|
[2709] | 2323 | IFS=$as_save_IFS |
---|
| 2324 | |
---|
| 2325 | fi |
---|
| 2326 | fi |
---|
| 2327 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
| 2328 | if test -n "$ac_ct_CC"; then |
---|
[2977] | 2329 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
---|
| 2330 | $as_echo "$ac_ct_CC" >&6; } |
---|
[2709] | 2331 | else |
---|
[2977] | 2332 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 2333 | $as_echo "no" >&6; } |
---|
[2709] | 2334 | fi |
---|
| 2335 | |
---|
| 2336 | if test "x$ac_ct_CC" = x; then |
---|
| 2337 | CC="" |
---|
| 2338 | else |
---|
| 2339 | case $cross_compiling:$ac_tool_warned in |
---|
| 2340 | yes:) |
---|
[2977] | 2341 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
---|
| 2342 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
---|
[2709] | 2343 | ac_tool_warned=yes ;; |
---|
| 2344 | esac |
---|
| 2345 | CC=$ac_ct_CC |
---|
| 2346 | fi |
---|
| 2347 | else |
---|
| 2348 | CC="$ac_cv_prog_CC" |
---|
| 2349 | fi |
---|
| 2350 | |
---|
| 2351 | if test -z "$CC"; then |
---|
| 2352 | if test -n "$ac_tool_prefix"; then |
---|
| 2353 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
---|
| 2354 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
---|
[2977] | 2355 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 2356 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
[3748] | 2357 | if ${ac_cv_prog_CC+:} false; then : |
---|
[2977] | 2358 | $as_echo_n "(cached) " >&6 |
---|
[2709] | 2359 | else |
---|
| 2360 | if test -n "$CC"; then |
---|
| 2361 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
| 2362 | else |
---|
| 2363 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2364 | for as_dir in $PATH |
---|
| 2365 | do |
---|
| 2366 | IFS=$as_save_IFS |
---|
| 2367 | test -z "$as_dir" && as_dir=. |
---|
[2977] | 2368 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[3748] | 2369 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
[2709] | 2370 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
---|
[2977] | 2371 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
[2709] | 2372 | break 2 |
---|
| 2373 | fi |
---|
| 2374 | done |
---|
[2977] | 2375 | done |
---|
[2709] | 2376 | IFS=$as_save_IFS |
---|
| 2377 | |
---|
| 2378 | fi |
---|
| 2379 | fi |
---|
| 2380 | CC=$ac_cv_prog_CC |
---|
| 2381 | if test -n "$CC"; then |
---|
[2977] | 2382 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
---|
| 2383 | $as_echo "$CC" >&6; } |
---|
[2709] | 2384 | else |
---|
[2977] | 2385 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 2386 | $as_echo "no" >&6; } |
---|
[2709] | 2387 | fi |
---|
| 2388 | |
---|
| 2389 | |
---|
| 2390 | fi |
---|
| 2391 | fi |
---|
| 2392 | if test -z "$CC"; then |
---|
| 2393 | # Extract the first word of "cc", so it can be a program name with args. |
---|
| 2394 | set dummy cc; ac_word=$2 |
---|
[2977] | 2395 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 2396 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
[3748] | 2397 | if ${ac_cv_prog_CC+:} false; then : |
---|
[2977] | 2398 | $as_echo_n "(cached) " >&6 |
---|
[2709] | 2399 | else |
---|
| 2400 | if test -n "$CC"; then |
---|
| 2401 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
| 2402 | else |
---|
| 2403 | ac_prog_rejected=no |
---|
| 2404 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2405 | for as_dir in $PATH |
---|
| 2406 | do |
---|
| 2407 | IFS=$as_save_IFS |
---|
| 2408 | test -z "$as_dir" && as_dir=. |
---|
[2977] | 2409 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[3748] | 2410 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
[2709] | 2411 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
---|
| 2412 | ac_prog_rejected=yes |
---|
| 2413 | continue |
---|
| 2414 | fi |
---|
| 2415 | ac_cv_prog_CC="cc" |
---|
[2977] | 2416 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
[2709] | 2417 | break 2 |
---|
| 2418 | fi |
---|
| 2419 | done |
---|
[2977] | 2420 | done |
---|
[2709] | 2421 | IFS=$as_save_IFS |
---|
| 2422 | |
---|
| 2423 | if test $ac_prog_rejected = yes; then |
---|
| 2424 | # We found a bogon in the path, so make sure we never use it. |
---|
| 2425 | set dummy $ac_cv_prog_CC |
---|
| 2426 | shift |
---|
| 2427 | if test $# != 0; then |
---|
| 2428 | # We chose a different compiler from the bogus one. |
---|
| 2429 | # However, it has the same basename, so the bogon will be chosen |
---|
| 2430 | # first if we set CC to just the basename; use the full file name. |
---|
| 2431 | shift |
---|
| 2432 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
---|
| 2433 | fi |
---|
| 2434 | fi |
---|
| 2435 | fi |
---|
| 2436 | fi |
---|
| 2437 | CC=$ac_cv_prog_CC |
---|
| 2438 | if test -n "$CC"; then |
---|
[2977] | 2439 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
---|
| 2440 | $as_echo "$CC" >&6; } |
---|
[2709] | 2441 | else |
---|
[2977] | 2442 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 2443 | $as_echo "no" >&6; } |
---|
[2709] | 2444 | fi |
---|
| 2445 | |
---|
| 2446 | |
---|
| 2447 | fi |
---|
| 2448 | if test -z "$CC"; then |
---|
| 2449 | if test -n "$ac_tool_prefix"; then |
---|
| 2450 | for ac_prog in cl.exe |
---|
| 2451 | do |
---|
| 2452 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
---|
| 2453 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
---|
[2977] | 2454 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 2455 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
[3748] | 2456 | if ${ac_cv_prog_CC+:} false; then : |
---|
[2977] | 2457 | $as_echo_n "(cached) " >&6 |
---|
[2709] | 2458 | else |
---|
| 2459 | if test -n "$CC"; then |
---|
| 2460 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
| 2461 | else |
---|
| 2462 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2463 | for as_dir in $PATH |
---|
| 2464 | do |
---|
| 2465 | IFS=$as_save_IFS |
---|
| 2466 | test -z "$as_dir" && as_dir=. |
---|
[2977] | 2467 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[3748] | 2468 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
[2709] | 2469 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
---|
[2977] | 2470 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
[2709] | 2471 | break 2 |
---|
| 2472 | fi |
---|
| 2473 | done |
---|
[2977] | 2474 | done |
---|
[2709] | 2475 | IFS=$as_save_IFS |
---|
| 2476 | |
---|
| 2477 | fi |
---|
| 2478 | fi |
---|
| 2479 | CC=$ac_cv_prog_CC |
---|
| 2480 | if test -n "$CC"; then |
---|
[2977] | 2481 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
---|
| 2482 | $as_echo "$CC" >&6; } |
---|
[2709] | 2483 | else |
---|
[2977] | 2484 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 2485 | $as_echo "no" >&6; } |
---|
[2709] | 2486 | fi |
---|
| 2487 | |
---|
| 2488 | |
---|
| 2489 | test -n "$CC" && break |
---|
| 2490 | done |
---|
| 2491 | fi |
---|
| 2492 | if test -z "$CC"; then |
---|
| 2493 | ac_ct_CC=$CC |
---|
| 2494 | for ac_prog in cl.exe |
---|
| 2495 | do |
---|
| 2496 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
| 2497 | set dummy $ac_prog; ac_word=$2 |
---|
[2977] | 2498 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 2499 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
[3748] | 2500 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
---|
[2977] | 2501 | $as_echo_n "(cached) " >&6 |
---|
[2709] | 2502 | else |
---|
| 2503 | if test -n "$ac_ct_CC"; then |
---|
| 2504 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
| 2505 | else |
---|
| 2506 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2507 | for as_dir in $PATH |
---|
| 2508 | do |
---|
| 2509 | IFS=$as_save_IFS |
---|
| 2510 | test -z "$as_dir" && as_dir=. |
---|
[2977] | 2511 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[3748] | 2512 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
[2709] | 2513 | ac_cv_prog_ac_ct_CC="$ac_prog" |
---|
[2977] | 2514 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
[2709] | 2515 | break 2 |
---|
| 2516 | fi |
---|
| 2517 | done |
---|
[2977] | 2518 | done |
---|
[2709] | 2519 | IFS=$as_save_IFS |
---|
| 2520 | |
---|
| 2521 | fi |
---|
| 2522 | fi |
---|
| 2523 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
| 2524 | if test -n "$ac_ct_CC"; then |
---|
[2977] | 2525 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
---|
| 2526 | $as_echo "$ac_ct_CC" >&6; } |
---|
[2709] | 2527 | else |
---|
[2977] | 2528 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 2529 | $as_echo "no" >&6; } |
---|
[2709] | 2530 | fi |
---|
| 2531 | |
---|
| 2532 | |
---|
| 2533 | test -n "$ac_ct_CC" && break |
---|
| 2534 | done |
---|
| 2535 | |
---|
| 2536 | if test "x$ac_ct_CC" = x; then |
---|
| 2537 | CC="" |
---|
| 2538 | else |
---|
| 2539 | case $cross_compiling:$ac_tool_warned in |
---|
| 2540 | yes:) |
---|
[2977] | 2541 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
---|
| 2542 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
---|
[2709] | 2543 | ac_tool_warned=yes ;; |
---|
| 2544 | esac |
---|
| 2545 | CC=$ac_ct_CC |
---|
| 2546 | fi |
---|
| 2547 | fi |
---|
| 2548 | |
---|
| 2549 | fi |
---|
| 2550 | |
---|
| 2551 | |
---|
[2977] | 2552 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
| 2553 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
| 2554 | as_fn_error $? "no acceptable C compiler found in \$PATH |
---|
[3748] | 2555 | See \`config.log' for more details" "$LINENO" 5; } |
---|
[2709] | 2556 | |
---|
| 2557 | # Provide some information about the compiler. |
---|
[2977] | 2558 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
---|
| 2559 | set X $ac_compile |
---|
| 2560 | ac_compiler=$2 |
---|
| 2561 | for ac_option in --version -v -V -qversion; do |
---|
| 2562 | { { ac_try="$ac_compiler $ac_option >&5" |
---|
[2709] | 2563 | case "(($ac_try" in |
---|
| 2564 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2565 | *) ac_try_echo=$ac_try;; |
---|
| 2566 | esac |
---|
[2977] | 2567 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 2568 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 2569 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
---|
[2709] | 2570 | ac_status=$? |
---|
[2977] | 2571 | if test -s conftest.err; then |
---|
| 2572 | sed '10a\ |
---|
| 2573 | ... rest of stderr output deleted ... |
---|
| 2574 | 10q' conftest.err >conftest.er1 |
---|
| 2575 | cat conftest.er1 >&5 |
---|
| 2576 | fi |
---|
| 2577 | rm -f conftest.er1 conftest.err |
---|
| 2578 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 2579 | test $ac_status = 0; } |
---|
| 2580 | done |
---|
[2709] | 2581 | |
---|
[2977] | 2582 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
[2709] | 2583 | /* end confdefs.h. */ |
---|
| 2584 | |
---|
| 2585 | int |
---|
| 2586 | main () |
---|
| 2587 | { |
---|
| 2588 | |
---|
| 2589 | ; |
---|
| 2590 | return 0; |
---|
| 2591 | } |
---|
| 2592 | _ACEOF |
---|
| 2593 | ac_clean_files_save=$ac_clean_files |
---|
[2977] | 2594 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
---|
[2709] | 2595 | # Try to create an executable without -o first, disregard a.out. |
---|
| 2596 | # It will help us diagnose broken compilers, and finding out an intuition |
---|
| 2597 | # of exeext. |
---|
[2977] | 2598 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
---|
| 2599 | $as_echo_n "checking whether the C compiler works... " >&6; } |
---|
| 2600 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
---|
| 2601 | |
---|
| 2602 | # The possible output files: |
---|
| 2603 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
---|
| 2604 | |
---|
[2709] | 2605 | ac_rmfiles= |
---|
| 2606 | for ac_file in $ac_files |
---|
| 2607 | do |
---|
| 2608 | case $ac_file in |
---|
[2977] | 2609 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
---|
[2709] | 2610 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
---|
| 2611 | esac |
---|
| 2612 | done |
---|
| 2613 | rm -f $ac_rmfiles |
---|
| 2614 | |
---|
[2977] | 2615 | if { { ac_try="$ac_link_default" |
---|
[2709] | 2616 | case "(($ac_try" in |
---|
| 2617 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2618 | *) ac_try_echo=$ac_try;; |
---|
| 2619 | esac |
---|
[2977] | 2620 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 2621 | $as_echo "$ac_try_echo"; } >&5 |
---|
[2709] | 2622 | (eval "$ac_link_default") 2>&5 |
---|
| 2623 | ac_status=$? |
---|
[2977] | 2624 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 2625 | test $ac_status = 0; }; then : |
---|
[2709] | 2626 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
---|
| 2627 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
---|
| 2628 | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
---|
| 2629 | # so that the user can short-circuit this test for compilers unknown to |
---|
| 2630 | # Autoconf. |
---|
| 2631 | for ac_file in $ac_files '' |
---|
| 2632 | do |
---|
| 2633 | test -f "$ac_file" || continue |
---|
| 2634 | case $ac_file in |
---|
[2977] | 2635 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
---|
[2709] | 2636 | ;; |
---|
| 2637 | [ab].out ) |
---|
| 2638 | # We found the default executable, but exeext='' is most |
---|
| 2639 | # certainly right. |
---|
| 2640 | break;; |
---|
| 2641 | *.* ) |
---|
[2977] | 2642 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
---|
[2709] | 2643 | then :; else |
---|
| 2644 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
---|
| 2645 | fi |
---|
| 2646 | # We set ac_cv_exeext here because the later test for it is not |
---|
| 2647 | # safe: cross compilers may not add the suffix if given an `-o' |
---|
| 2648 | # argument, so we may need to know it at that point already. |
---|
| 2649 | # Even if this section looks crufty: it has the advantage of |
---|
| 2650 | # actually working. |
---|
| 2651 | break;; |
---|
| 2652 | * ) |
---|
| 2653 | break;; |
---|
| 2654 | esac |
---|
| 2655 | done |
---|
| 2656 | test "$ac_cv_exeext" = no && ac_cv_exeext= |
---|
| 2657 | |
---|
| 2658 | else |
---|
| 2659 | ac_file='' |
---|
| 2660 | fi |
---|
[2977] | 2661 | if test -z "$ac_file"; then : |
---|
| 2662 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 2663 | $as_echo "no" >&6; } |
---|
| 2664 | $as_echo "$as_me: failed program was:" >&5 |
---|
[2709] | 2665 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2666 | |
---|
[2977] | 2667 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
| 2668 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
| 2669 | as_fn_error 77 "C compiler cannot create executables |
---|
[3748] | 2670 | See \`config.log' for more details" "$LINENO" 5; } |
---|
[2977] | 2671 | else |
---|
| 2672 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
---|
| 2673 | $as_echo "yes" >&6; } |
---|
[2709] | 2674 | fi |
---|
[2977] | 2675 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
---|
| 2676 | $as_echo_n "checking for C compiler default output file name... " >&6; } |
---|
| 2677 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
---|
| 2678 | $as_echo "$ac_file" >&6; } |
---|
[2709] | 2679 | ac_exeext=$ac_cv_exeext |
---|
| 2680 | |
---|
[2977] | 2681 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
---|
[2709] | 2682 | ac_clean_files=$ac_clean_files_save |
---|
[2977] | 2683 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
---|
| 2684 | $as_echo_n "checking for suffix of executables... " >&6; } |
---|
| 2685 | if { { ac_try="$ac_link" |
---|
[2709] | 2686 | case "(($ac_try" in |
---|
| 2687 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2688 | *) ac_try_echo=$ac_try;; |
---|
| 2689 | esac |
---|
[2977] | 2690 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 2691 | $as_echo "$ac_try_echo"; } >&5 |
---|
[2709] | 2692 | (eval "$ac_link") 2>&5 |
---|
| 2693 | ac_status=$? |
---|
[2977] | 2694 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 2695 | test $ac_status = 0; }; then : |
---|
[2709] | 2696 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
---|
| 2697 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
---|
| 2698 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
---|
| 2699 | # `rm'. |
---|
| 2700 | for ac_file in conftest.exe conftest conftest.*; do |
---|
| 2701 | test -f "$ac_file" || continue |
---|
| 2702 | case $ac_file in |
---|
[2977] | 2703 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
---|
[2709] | 2704 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
---|
| 2705 | break;; |
---|
| 2706 | * ) break;; |
---|
| 2707 | esac |
---|
| 2708 | done |
---|
| 2709 | else |
---|
[2977] | 2710 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
| 2711 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
| 2712 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
---|
[3748] | 2713 | See \`config.log' for more details" "$LINENO" 5; } |
---|
[2709] | 2714 | fi |
---|
[2977] | 2715 | rm -f conftest conftest$ac_cv_exeext |
---|
| 2716 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
---|
| 2717 | $as_echo "$ac_cv_exeext" >&6; } |
---|
[2709] | 2718 | |
---|
| 2719 | rm -f conftest.$ac_ext |
---|
| 2720 | EXEEXT=$ac_cv_exeext |
---|
| 2721 | ac_exeext=$EXEEXT |
---|
[2977] | 2722 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 2723 | /* end confdefs.h. */ |
---|
| 2724 | #include <stdio.h> |
---|
| 2725 | int |
---|
| 2726 | main () |
---|
| 2727 | { |
---|
| 2728 | FILE *f = fopen ("conftest.out", "w"); |
---|
| 2729 | return ferror (f) || fclose (f) != 0; |
---|
| 2730 | |
---|
| 2731 | ; |
---|
| 2732 | return 0; |
---|
| 2733 | } |
---|
| 2734 | _ACEOF |
---|
| 2735 | ac_clean_files="$ac_clean_files conftest.out" |
---|
| 2736 | # Check that the compiler produces executables we can run. If not, either |
---|
| 2737 | # the compiler is broken, or we cross compile. |
---|
| 2738 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
---|
| 2739 | $as_echo_n "checking whether we are cross compiling... " >&6; } |
---|
| 2740 | if test "$cross_compiling" != yes; then |
---|
| 2741 | { { ac_try="$ac_link" |
---|
| 2742 | case "(($ac_try" in |
---|
| 2743 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2744 | *) ac_try_echo=$ac_try;; |
---|
| 2745 | esac |
---|
| 2746 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 2747 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 2748 | (eval "$ac_link") 2>&5 |
---|
| 2749 | ac_status=$? |
---|
| 2750 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 2751 | test $ac_status = 0; } |
---|
| 2752 | if { ac_try='./conftest$ac_cv_exeext' |
---|
| 2753 | { { case "(($ac_try" in |
---|
| 2754 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2755 | *) ac_try_echo=$ac_try;; |
---|
| 2756 | esac |
---|
| 2757 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 2758 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 2759 | (eval "$ac_try") 2>&5 |
---|
| 2760 | ac_status=$? |
---|
| 2761 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 2762 | test $ac_status = 0; }; }; then |
---|
| 2763 | cross_compiling=no |
---|
| 2764 | else |
---|
| 2765 | if test "$cross_compiling" = maybe; then |
---|
| 2766 | cross_compiling=yes |
---|
| 2767 | else |
---|
| 2768 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
| 2769 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
| 2770 | as_fn_error $? "cannot run C compiled programs. |
---|
| 2771 | If you meant to cross compile, use \`--host'. |
---|
[3748] | 2772 | See \`config.log' for more details" "$LINENO" 5; } |
---|
[2977] | 2773 | fi |
---|
| 2774 | fi |
---|
| 2775 | fi |
---|
| 2776 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
---|
| 2777 | $as_echo "$cross_compiling" >&6; } |
---|
| 2778 | |
---|
| 2779 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
---|
| 2780 | ac_clean_files=$ac_clean_files_save |
---|
| 2781 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
---|
| 2782 | $as_echo_n "checking for suffix of object files... " >&6; } |
---|
[3748] | 2783 | if ${ac_cv_objext+:} false; then : |
---|
[2977] | 2784 | $as_echo_n "(cached) " >&6 |
---|
[2780] | 2785 | else |
---|
[2977] | 2786 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
[2709] | 2787 | /* end confdefs.h. */ |
---|
| 2788 | |
---|
| 2789 | int |
---|
| 2790 | main () |
---|
| 2791 | { |
---|
| 2792 | |
---|
| 2793 | ; |
---|
| 2794 | return 0; |
---|
| 2795 | } |
---|
| 2796 | _ACEOF |
---|
| 2797 | rm -f conftest.o conftest.obj |
---|
[2977] | 2798 | if { { ac_try="$ac_compile" |
---|
[2709] | 2799 | case "(($ac_try" in |
---|
| 2800 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2801 | *) ac_try_echo=$ac_try;; |
---|
| 2802 | esac |
---|
[2977] | 2803 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 2804 | $as_echo "$ac_try_echo"; } >&5 |
---|
[2709] | 2805 | (eval "$ac_compile") 2>&5 |
---|
| 2806 | ac_status=$? |
---|
[2977] | 2807 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 2808 | test $ac_status = 0; }; then : |
---|
[2709] | 2809 | for ac_file in conftest.o conftest.obj conftest.*; do |
---|
| 2810 | test -f "$ac_file" || continue; |
---|
| 2811 | case $ac_file in |
---|
[2977] | 2812 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
---|
[2709] | 2813 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
---|
| 2814 | break;; |
---|
| 2815 | esac |
---|
| 2816 | done |
---|
| 2817 | else |
---|
[2977] | 2818 | $as_echo "$as_me: failed program was:" >&5 |
---|
[2709] | 2819 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2820 | |
---|
[2977] | 2821 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
| 2822 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
| 2823 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
---|
[3748] | 2824 | See \`config.log' for more details" "$LINENO" 5; } |
---|
[2709] | 2825 | fi |
---|
| 2826 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
---|
| 2827 | fi |
---|
[2977] | 2828 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
---|
| 2829 | $as_echo "$ac_cv_objext" >&6; } |
---|
[2709] | 2830 | OBJEXT=$ac_cv_objext |
---|
| 2831 | ac_objext=$OBJEXT |
---|
[2977] | 2832 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
---|
| 2833 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
---|
[3748] | 2834 | if ${ac_cv_c_compiler_gnu+:} false; then : |
---|
[2977] | 2835 | $as_echo_n "(cached) " >&6 |
---|
[2709] | 2836 | else |
---|
[2977] | 2837 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
[2709] | 2838 | /* end confdefs.h. */ |
---|
| 2839 | |
---|
| 2840 | int |
---|
| 2841 | main () |
---|
| 2842 | { |
---|
| 2843 | #ifndef __GNUC__ |
---|
| 2844 | choke me |
---|
| 2845 | #endif |
---|
| 2846 | |
---|
| 2847 | ; |
---|
| 2848 | return 0; |
---|
| 2849 | } |
---|
| 2850 | _ACEOF |
---|
[2977] | 2851 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
[2709] | 2852 | ac_compiler_gnu=yes |
---|
| 2853 | else |
---|
[2977] | 2854 | ac_compiler_gnu=no |
---|
[2709] | 2855 | fi |
---|
| 2856 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 2857 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
---|
| 2858 | |
---|
| 2859 | fi |
---|
[2977] | 2860 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
---|
| 2861 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
---|
| 2862 | if test $ac_compiler_gnu = yes; then |
---|
| 2863 | GCC=yes |
---|
| 2864 | else |
---|
| 2865 | GCC= |
---|
| 2866 | fi |
---|
[2709] | 2867 | ac_test_CFLAGS=${CFLAGS+set} |
---|
| 2868 | ac_save_CFLAGS=$CFLAGS |
---|
[2977] | 2869 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
---|
| 2870 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
---|
[3748] | 2871 | if ${ac_cv_prog_cc_g+:} false; then : |
---|
[2977] | 2872 | $as_echo_n "(cached) " >&6 |
---|
[2709] | 2873 | else |
---|
| 2874 | ac_save_c_werror_flag=$ac_c_werror_flag |
---|
| 2875 | ac_c_werror_flag=yes |
---|
| 2876 | ac_cv_prog_cc_g=no |
---|
| 2877 | CFLAGS="-g" |
---|
[2977] | 2878 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
[2709] | 2879 | /* end confdefs.h. */ |
---|
| 2880 | |
---|
| 2881 | int |
---|
| 2882 | main () |
---|
| 2883 | { |
---|
| 2884 | |
---|
| 2885 | ; |
---|
| 2886 | return 0; |
---|
| 2887 | } |
---|
| 2888 | _ACEOF |
---|
[2977] | 2889 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
[2709] | 2890 | ac_cv_prog_cc_g=yes |
---|
| 2891 | else |
---|
[2977] | 2892 | CFLAGS="" |
---|
| 2893 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
[2709] | 2894 | /* end confdefs.h. */ |
---|
| 2895 | |
---|
| 2896 | int |
---|
| 2897 | main () |
---|
| 2898 | { |
---|
| 2899 | |
---|
| 2900 | ; |
---|
| 2901 | return 0; |
---|
| 2902 | } |
---|
| 2903 | _ACEOF |
---|
[2977] | 2904 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 2905 | |
---|
[2780] | 2906 | else |
---|
[2977] | 2907 | ac_c_werror_flag=$ac_save_c_werror_flag |
---|
[2709] | 2908 | CFLAGS="-g" |
---|
[2977] | 2909 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
[2709] | 2910 | /* end confdefs.h. */ |
---|
| 2911 | |
---|
| 2912 | int |
---|
| 2913 | main () |
---|
| 2914 | { |
---|
| 2915 | |
---|
| 2916 | ; |
---|
| 2917 | return 0; |
---|
| 2918 | } |
---|
| 2919 | _ACEOF |
---|
[2977] | 2920 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
[2709] | 2921 | ac_cv_prog_cc_g=yes |
---|
| 2922 | fi |
---|
| 2923 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 2924 | fi |
---|
| 2925 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 2926 | fi |
---|
| 2927 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 2928 | ac_c_werror_flag=$ac_save_c_werror_flag |
---|
| 2929 | fi |
---|
[2977] | 2930 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
---|
| 2931 | $as_echo "$ac_cv_prog_cc_g" >&6; } |
---|
[2709] | 2932 | if test "$ac_test_CFLAGS" = set; then |
---|
| 2933 | CFLAGS=$ac_save_CFLAGS |
---|
| 2934 | elif test $ac_cv_prog_cc_g = yes; then |
---|
| 2935 | if test "$GCC" = yes; then |
---|
| 2936 | CFLAGS="-g -O2" |
---|
| 2937 | else |
---|
| 2938 | CFLAGS="-g" |
---|
| 2939 | fi |
---|
| 2940 | else |
---|
| 2941 | if test "$GCC" = yes; then |
---|
| 2942 | CFLAGS="-O2" |
---|
| 2943 | else |
---|
| 2944 | CFLAGS= |
---|
| 2945 | fi |
---|
| 2946 | fi |
---|
[2977] | 2947 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
---|
| 2948 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
---|
[3748] | 2949 | if ${ac_cv_prog_cc_c89+:} false; then : |
---|
[2977] | 2950 | $as_echo_n "(cached) " >&6 |
---|
[2709] | 2951 | else |
---|
| 2952 | ac_cv_prog_cc_c89=no |
---|
| 2953 | ac_save_CC=$CC |
---|
[2977] | 2954 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
[2709] | 2955 | /* end confdefs.h. */ |
---|
| 2956 | #include <stdarg.h> |
---|
| 2957 | #include <stdio.h> |
---|
[3748] | 2958 | struct stat; |
---|
[2709] | 2959 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
---|
| 2960 | struct buf { int x; }; |
---|
| 2961 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
---|
| 2962 | static char *e (p, i) |
---|
| 2963 | char **p; |
---|
| 2964 | int i; |
---|
| 2965 | { |
---|
| 2966 | return p[i]; |
---|
| 2967 | } |
---|
| 2968 | static char *f (char * (*g) (char **, int), char **p, ...) |
---|
| 2969 | { |
---|
| 2970 | char *s; |
---|
| 2971 | va_list v; |
---|
| 2972 | va_start (v,p); |
---|
| 2973 | s = g (p, va_arg (v,int)); |
---|
| 2974 | va_end (v); |
---|
| 2975 | return s; |
---|
| 2976 | } |
---|
| 2977 | |
---|
| 2978 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
---|
| 2979 | function prototypes and stuff, but not '\xHH' hex character constants. |
---|
| 2980 | These don't provoke an error unfortunately, instead are silently treated |
---|
| 2981 | as 'x'. The following induces an error, until -std is added to get |
---|
| 2982 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
---|
| 2983 | array size at least. It's necessary to write '\x00'==0 to get something |
---|
| 2984 | that's true only with -std. */ |
---|
| 2985 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
---|
| 2986 | |
---|
| 2987 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
---|
| 2988 | inside strings and character constants. */ |
---|
| 2989 | #define FOO(x) 'x' |
---|
| 2990 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
---|
| 2991 | |
---|
| 2992 | int test (int i, double x); |
---|
| 2993 | struct s1 {int (*f) (int a);}; |
---|
| 2994 | struct s2 {int (*f) (double a);}; |
---|
| 2995 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
---|
| 2996 | int argc; |
---|
| 2997 | char **argv; |
---|
| 2998 | int |
---|
| 2999 | main () |
---|
| 3000 | { |
---|
| 3001 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
---|
| 3002 | ; |
---|
| 3003 | return 0; |
---|
| 3004 | } |
---|
| 3005 | _ACEOF |
---|
| 3006 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
---|
| 3007 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
---|
| 3008 | do |
---|
| 3009 | CC="$ac_save_CC $ac_arg" |
---|
[2977] | 3010 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
[2709] | 3011 | ac_cv_prog_cc_c89=$ac_arg |
---|
| 3012 | fi |
---|
| 3013 | rm -f core conftest.err conftest.$ac_objext |
---|
| 3014 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
---|
| 3015 | done |
---|
| 3016 | rm -f conftest.$ac_ext |
---|
| 3017 | CC=$ac_save_CC |
---|
| 3018 | |
---|
| 3019 | fi |
---|
| 3020 | # AC_CACHE_VAL |
---|
| 3021 | case "x$ac_cv_prog_cc_c89" in |
---|
| 3022 | x) |
---|
[2977] | 3023 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
---|
| 3024 | $as_echo "none needed" >&6; } ;; |
---|
[2709] | 3025 | xno) |
---|
[2977] | 3026 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
---|
| 3027 | $as_echo "unsupported" >&6; } ;; |
---|
[2709] | 3028 | *) |
---|
| 3029 | CC="$CC $ac_cv_prog_cc_c89" |
---|
[2977] | 3030 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
---|
| 3031 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
---|
[2709] | 3032 | esac |
---|
[2977] | 3033 | if test "x$ac_cv_prog_cc_c89" != xno; then : |
---|
[2709] | 3034 | |
---|
[2977] | 3035 | fi |
---|
[2709] | 3036 | |
---|
| 3037 | ac_ext=c |
---|
| 3038 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 3039 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 3040 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 3041 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
| 3042 | |
---|
| 3043 | |
---|
| 3044 | ac_ext=c |
---|
| 3045 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 3046 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 3047 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 3048 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
[2977] | 3049 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
---|
| 3050 | $as_echo_n "checking how to run the C preprocessor... " >&6; } |
---|
[2709] | 3051 | # On Suns, sometimes $CPP names a directory. |
---|
| 3052 | if test -n "$CPP" && test -d "$CPP"; then |
---|
| 3053 | CPP= |
---|
| 3054 | fi |
---|
| 3055 | if test -z "$CPP"; then |
---|
[3748] | 3056 | if ${ac_cv_prog_CPP+:} false; then : |
---|
[2977] | 3057 | $as_echo_n "(cached) " >&6 |
---|
[2709] | 3058 | else |
---|
| 3059 | # Double quotes because CPP needs to be expanded |
---|
| 3060 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
---|
| 3061 | do |
---|
| 3062 | ac_preproc_ok=false |
---|
| 3063 | for ac_c_preproc_warn_flag in '' yes |
---|
| 3064 | do |
---|
| 3065 | # Use a header file that comes with gcc, so configuring glibc |
---|
| 3066 | # with a fresh cross-compiler works. |
---|
| 3067 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
| 3068 | # <limits.h> exists even on freestanding compilers. |
---|
| 3069 | # On the NeXT, cc -E runs the code through the compiler's parser, |
---|
| 3070 | # not just through cpp. "Syntax error" is here to catch this case. |
---|
[2977] | 3071 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
[2709] | 3072 | /* end confdefs.h. */ |
---|
| 3073 | #ifdef __STDC__ |
---|
| 3074 | # include <limits.h> |
---|
| 3075 | #else |
---|
| 3076 | # include <assert.h> |
---|
| 3077 | #endif |
---|
| 3078 | Syntax error |
---|
| 3079 | _ACEOF |
---|
[2977] | 3080 | if ac_fn_c_try_cpp "$LINENO"; then : |
---|
| 3081 | |
---|
[2780] | 3082 | else |
---|
[2709] | 3083 | # Broken: fails on valid input. |
---|
| 3084 | continue |
---|
| 3085 | fi |
---|
[2977] | 3086 | rm -f conftest.err conftest.i conftest.$ac_ext |
---|
[2709] | 3087 | |
---|
| 3088 | # OK, works on sane cases. Now check whether nonexistent headers |
---|
| 3089 | # can be detected and how. |
---|
[2977] | 3090 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
[2709] | 3091 | /* end confdefs.h. */ |
---|
| 3092 | #include <ac_nonexistent.h> |
---|
| 3093 | _ACEOF |
---|
[2977] | 3094 | if ac_fn_c_try_cpp "$LINENO"; then : |
---|
[2709] | 3095 | # Broken: success on invalid input. |
---|
| 3096 | continue |
---|
| 3097 | else |
---|
| 3098 | # Passes both tests. |
---|
| 3099 | ac_preproc_ok=: |
---|
| 3100 | break |
---|
| 3101 | fi |
---|
[2977] | 3102 | rm -f conftest.err conftest.i conftest.$ac_ext |
---|
[2709] | 3103 | |
---|
| 3104 | done |
---|
| 3105 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
---|
[2977] | 3106 | rm -f conftest.i conftest.err conftest.$ac_ext |
---|
| 3107 | if $ac_preproc_ok; then : |
---|
[2709] | 3108 | break |
---|
| 3109 | fi |
---|
| 3110 | |
---|
| 3111 | done |
---|
| 3112 | ac_cv_prog_CPP=$CPP |
---|
| 3113 | |
---|
| 3114 | fi |
---|
| 3115 | CPP=$ac_cv_prog_CPP |
---|
| 3116 | else |
---|
| 3117 | ac_cv_prog_CPP=$CPP |
---|
| 3118 | fi |
---|
[2977] | 3119 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
---|
| 3120 | $as_echo "$CPP" >&6; } |
---|
[2709] | 3121 | ac_preproc_ok=false |
---|
| 3122 | for ac_c_preproc_warn_flag in '' yes |
---|
| 3123 | do |
---|
| 3124 | # Use a header file that comes with gcc, so configuring glibc |
---|
| 3125 | # with a fresh cross-compiler works. |
---|
| 3126 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
| 3127 | # <limits.h> exists even on freestanding compilers. |
---|
| 3128 | # On the NeXT, cc -E runs the code through the compiler's parser, |
---|
| 3129 | # not just through cpp. "Syntax error" is here to catch this case. |
---|
[2977] | 3130 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
[2709] | 3131 | /* end confdefs.h. */ |
---|
| 3132 | #ifdef __STDC__ |
---|
| 3133 | # include <limits.h> |
---|
| 3134 | #else |
---|
| 3135 | # include <assert.h> |
---|
| 3136 | #endif |
---|
| 3137 | Syntax error |
---|
| 3138 | _ACEOF |
---|
[2977] | 3139 | if ac_fn_c_try_cpp "$LINENO"; then : |
---|
| 3140 | |
---|
[2780] | 3141 | else |
---|
[2709] | 3142 | # Broken: fails on valid input. |
---|
| 3143 | continue |
---|
| 3144 | fi |
---|
[2977] | 3145 | rm -f conftest.err conftest.i conftest.$ac_ext |
---|
[2709] | 3146 | |
---|
| 3147 | # OK, works on sane cases. Now check whether nonexistent headers |
---|
| 3148 | # can be detected and how. |
---|
[2977] | 3149 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
[2709] | 3150 | /* end confdefs.h. */ |
---|
| 3151 | #include <ac_nonexistent.h> |
---|
| 3152 | _ACEOF |
---|
[2977] | 3153 | if ac_fn_c_try_cpp "$LINENO"; then : |
---|
[2709] | 3154 | # Broken: success on invalid input. |
---|
| 3155 | continue |
---|
| 3156 | else |
---|
| 3157 | # Passes both tests. |
---|
| 3158 | ac_preproc_ok=: |
---|
| 3159 | break |
---|
| 3160 | fi |
---|
[2977] | 3161 | rm -f conftest.err conftest.i conftest.$ac_ext |
---|
[2709] | 3162 | |
---|
| 3163 | done |
---|
| 3164 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
---|
[2977] | 3165 | rm -f conftest.i conftest.err conftest.$ac_ext |
---|
| 3166 | if $ac_preproc_ok; then : |
---|
| 3167 | |
---|
[2709] | 3168 | else |
---|
[2977] | 3169 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
| 3170 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
| 3171 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
---|
[3748] | 3172 | See \`config.log' for more details" "$LINENO" 5; } |
---|
[2709] | 3173 | fi |
---|
| 3174 | |
---|
| 3175 | ac_ext=c |
---|
| 3176 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 3177 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 3178 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 3179 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
| 3180 | |
---|
| 3181 | |
---|
[2977] | 3182 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
---|
| 3183 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
---|
[3748] | 3184 | if ${ac_cv_path_GREP+:} false; then : |
---|
[2977] | 3185 | $as_echo_n "(cached) " >&6 |
---|
[2709] | 3186 | else |
---|
[2977] | 3187 | if test -z "$GREP"; then |
---|
[2709] | 3188 | ac_path_GREP_found=false |
---|
[2977] | 3189 | # Loop through the user's path and test for each of PROGNAME-LIST |
---|
| 3190 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
[2709] | 3191 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
---|
| 3192 | do |
---|
| 3193 | IFS=$as_save_IFS |
---|
| 3194 | test -z "$as_dir" && as_dir=. |
---|
[2977] | 3195 | for ac_prog in grep ggrep; do |
---|
| 3196 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 3197 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
---|
[3748] | 3198 | as_fn_executable_p "$ac_path_GREP" || continue |
---|
[2977] | 3199 | # Check for GNU ac_path_GREP and select it if it is found. |
---|
[2709] | 3200 | # Check for GNU $ac_path_GREP |
---|
| 3201 | case `"$ac_path_GREP" --version 2>&1` in |
---|
| 3202 | *GNU*) |
---|
| 3203 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
---|
| 3204 | *) |
---|
| 3205 | ac_count=0 |
---|
[2977] | 3206 | $as_echo_n 0123456789 >"conftest.in" |
---|
[2709] | 3207 | while : |
---|
| 3208 | do |
---|
| 3209 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
---|
| 3210 | mv "conftest.tmp" "conftest.in" |
---|
| 3211 | cp "conftest.in" "conftest.nl" |
---|
[2977] | 3212 | $as_echo 'GREP' >> "conftest.nl" |
---|
[2709] | 3213 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
---|
| 3214 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
---|
[2977] | 3215 | as_fn_arith $ac_count + 1 && ac_count=$as_val |
---|
[2709] | 3216 | if test $ac_count -gt ${ac_path_GREP_max-0}; then |
---|
| 3217 | # Best one so far, save it but keep looking for a better one |
---|
| 3218 | ac_cv_path_GREP="$ac_path_GREP" |
---|
| 3219 | ac_path_GREP_max=$ac_count |
---|
| 3220 | fi |
---|
| 3221 | # 10*(2^10) chars as input seems more than enough |
---|
| 3222 | test $ac_count -gt 10 && break |
---|
| 3223 | done |
---|
| 3224 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
---|
| 3225 | esac |
---|
| 3226 | |
---|
[2977] | 3227 | $ac_path_GREP_found && break 3 |
---|
| 3228 | done |
---|
[2709] | 3229 | done |
---|
[2977] | 3230 | done |
---|
[2709] | 3231 | IFS=$as_save_IFS |
---|
[2977] | 3232 | if test -z "$ac_cv_path_GREP"; then |
---|
| 3233 | as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
---|
| 3234 | fi |
---|
[2709] | 3235 | else |
---|
| 3236 | ac_cv_path_GREP=$GREP |
---|
| 3237 | fi |
---|
| 3238 | |
---|
| 3239 | fi |
---|
[2977] | 3240 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
---|
| 3241 | $as_echo "$ac_cv_path_GREP" >&6; } |
---|
[2709] | 3242 | GREP="$ac_cv_path_GREP" |
---|
| 3243 | |
---|
| 3244 | |
---|
[2977] | 3245 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
---|
| 3246 | $as_echo_n "checking for egrep... " >&6; } |
---|
[3748] | 3247 | if ${ac_cv_path_EGREP+:} false; then : |
---|
[2977] | 3248 | $as_echo_n "(cached) " >&6 |
---|
[2709] | 3249 | else |
---|
| 3250 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
---|
| 3251 | then ac_cv_path_EGREP="$GREP -E" |
---|
| 3252 | else |
---|
[2977] | 3253 | if test -z "$EGREP"; then |
---|
[2709] | 3254 | ac_path_EGREP_found=false |
---|
[2977] | 3255 | # Loop through the user's path and test for each of PROGNAME-LIST |
---|
| 3256 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
[2709] | 3257 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
---|
| 3258 | do |
---|
| 3259 | IFS=$as_save_IFS |
---|
| 3260 | test -z "$as_dir" && as_dir=. |
---|
[2977] | 3261 | for ac_prog in egrep; do |
---|
| 3262 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 3263 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
---|
[3748] | 3264 | as_fn_executable_p "$ac_path_EGREP" || continue |
---|
[2977] | 3265 | # Check for GNU ac_path_EGREP and select it if it is found. |
---|
[2709] | 3266 | # Check for GNU $ac_path_EGREP |
---|
| 3267 | case `"$ac_path_EGREP" --version 2>&1` in |
---|
| 3268 | *GNU*) |
---|
| 3269 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
---|
| 3270 | *) |
---|
| 3271 | ac_count=0 |
---|
[2977] | 3272 | $as_echo_n 0123456789 >"conftest.in" |
---|
[2709] | 3273 | while : |
---|
| 3274 | do |
---|
| 3275 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
---|
| 3276 | mv "conftest.tmp" "conftest.in" |
---|
| 3277 | cp "conftest.in" "conftest.nl" |
---|
[2977] | 3278 | $as_echo 'EGREP' >> "conftest.nl" |
---|
[2709] | 3279 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
---|
| 3280 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
---|
[2977] | 3281 | as_fn_arith $ac_count + 1 && ac_count=$as_val |
---|
[2709] | 3282 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
---|
| 3283 | # Best one so far, save it but keep looking for a better one |
---|
| 3284 | ac_cv_path_EGREP="$ac_path_EGREP" |
---|
| 3285 | ac_path_EGREP_max=$ac_count |
---|
| 3286 | fi |
---|
| 3287 | # 10*(2^10) chars as input seems more than enough |
---|
| 3288 | test $ac_count -gt 10 && break |
---|
| 3289 | done |
---|
| 3290 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
---|
| 3291 | esac |
---|
| 3292 | |
---|
[2977] | 3293 | $ac_path_EGREP_found && break 3 |
---|
| 3294 | done |
---|
[2709] | 3295 | done |
---|
[2977] | 3296 | done |
---|
[2709] | 3297 | IFS=$as_save_IFS |
---|
[2977] | 3298 | if test -z "$ac_cv_path_EGREP"; then |
---|
| 3299 | as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
---|
| 3300 | fi |
---|
[2709] | 3301 | else |
---|
| 3302 | ac_cv_path_EGREP=$EGREP |
---|
| 3303 | fi |
---|
| 3304 | |
---|
| 3305 | fi |
---|
| 3306 | fi |
---|
[2977] | 3307 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
---|
| 3308 | $as_echo "$ac_cv_path_EGREP" >&6; } |
---|
[2709] | 3309 | EGREP="$ac_cv_path_EGREP" |
---|
| 3310 | |
---|
| 3311 | |
---|
[2977] | 3312 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
---|
| 3313 | $as_echo_n "checking for ANSI C header files... " >&6; } |
---|
[3748] | 3314 | if ${ac_cv_header_stdc+:} false; then : |
---|
[2977] | 3315 | $as_echo_n "(cached) " >&6 |
---|
[2709] | 3316 | else |
---|
[2977] | 3317 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
[2709] | 3318 | /* end confdefs.h. */ |
---|
| 3319 | #include <stdlib.h> |
---|
| 3320 | #include <stdarg.h> |
---|
| 3321 | #include <string.h> |
---|
| 3322 | #include <float.h> |
---|
| 3323 | |
---|
| 3324 | int |
---|
| 3325 | main () |
---|
| 3326 | { |
---|
| 3327 | |
---|
| 3328 | ; |
---|
| 3329 | return 0; |
---|
| 3330 | } |
---|
| 3331 | _ACEOF |
---|
[2977] | 3332 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
[2709] | 3333 | ac_cv_header_stdc=yes |
---|
| 3334 | else |
---|
[2977] | 3335 | ac_cv_header_stdc=no |
---|
[2709] | 3336 | fi |
---|
| 3337 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 3338 | |
---|
| 3339 | if test $ac_cv_header_stdc = yes; then |
---|
| 3340 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
---|
[2977] | 3341 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
[2709] | 3342 | /* end confdefs.h. */ |
---|
| 3343 | #include <string.h> |
---|
| 3344 | |
---|
| 3345 | _ACEOF |
---|
| 3346 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
[2977] | 3347 | $EGREP "memchr" >/dev/null 2>&1; then : |
---|
| 3348 | |
---|
[2709] | 3349 | else |
---|
| 3350 | ac_cv_header_stdc=no |
---|
| 3351 | fi |
---|
| 3352 | rm -f conftest* |
---|
| 3353 | |
---|
| 3354 | fi |
---|
| 3355 | |
---|
| 3356 | if test $ac_cv_header_stdc = yes; then |
---|
| 3357 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
---|
[2977] | 3358 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
[2709] | 3359 | /* end confdefs.h. */ |
---|
| 3360 | #include <stdlib.h> |
---|
| 3361 | |
---|
| 3362 | _ACEOF |
---|
| 3363 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
[2977] | 3364 | $EGREP "free" >/dev/null 2>&1; then : |
---|
| 3365 | |
---|
[2709] | 3366 | else |
---|
| 3367 | ac_cv_header_stdc=no |
---|
| 3368 | fi |
---|
| 3369 | rm -f conftest* |
---|
| 3370 | |
---|
| 3371 | fi |
---|
| 3372 | |
---|
| 3373 | if test $ac_cv_header_stdc = yes; then |
---|
| 3374 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
---|
[2977] | 3375 | if test "$cross_compiling" = yes; then : |
---|
[2709] | 3376 | : |
---|
| 3377 | else |
---|
[2977] | 3378 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
[2709] | 3379 | /* end confdefs.h. */ |
---|
| 3380 | #include <ctype.h> |
---|
| 3381 | #include <stdlib.h> |
---|
| 3382 | #if ((' ' & 0x0FF) == 0x020) |
---|
| 3383 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
---|
| 3384 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
---|
| 3385 | #else |
---|
| 3386 | # define ISLOWER(c) \ |
---|
| 3387 | (('a' <= (c) && (c) <= 'i') \ |
---|
| 3388 | || ('j' <= (c) && (c) <= 'r') \ |
---|
| 3389 | || ('s' <= (c) && (c) <= 'z')) |
---|
| 3390 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
---|
| 3391 | #endif |
---|
| 3392 | |
---|
| 3393 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
---|
| 3394 | int |
---|
| 3395 | main () |
---|
| 3396 | { |
---|
| 3397 | int i; |
---|
| 3398 | for (i = 0; i < 256; i++) |
---|
| 3399 | if (XOR (islower (i), ISLOWER (i)) |
---|
| 3400 | || toupper (i) != TOUPPER (i)) |
---|
| 3401 | return 2; |
---|
| 3402 | return 0; |
---|
| 3403 | } |
---|
| 3404 | _ACEOF |
---|
[2977] | 3405 | if ac_fn_c_try_run "$LINENO"; then : |
---|
| 3406 | |
---|
[2780] | 3407 | else |
---|
[2977] | 3408 | ac_cv_header_stdc=no |
---|
[2709] | 3409 | fi |
---|
[2977] | 3410 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
---|
| 3411 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
---|
[2709] | 3412 | fi |
---|
| 3413 | |
---|
| 3414 | fi |
---|
| 3415 | fi |
---|
[2977] | 3416 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
---|
| 3417 | $as_echo "$ac_cv_header_stdc" >&6; } |
---|
[2709] | 3418 | if test $ac_cv_header_stdc = yes; then |
---|
| 3419 | |
---|
[2977] | 3420 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h |
---|
[2709] | 3421 | |
---|
| 3422 | fi |
---|
| 3423 | |
---|
| 3424 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
---|
| 3425 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
---|
| 3426 | inttypes.h stdint.h unistd.h |
---|
[2977] | 3427 | do : |
---|
| 3428 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
---|
| 3429 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
---|
| 3430 | " |
---|
| 3431 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
---|
[2709] | 3432 | cat >>confdefs.h <<_ACEOF |
---|
[2977] | 3433 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
---|
[2709] | 3434 | _ACEOF |
---|
| 3435 | |
---|
| 3436 | fi |
---|
| 3437 | |
---|
| 3438 | done |
---|
| 3439 | |
---|
| 3440 | |
---|
[2780] | 3441 | for ac_header in RpLibrary.h RpUnits.h RpUtils.h |
---|
[2977] | 3442 | do : |
---|
| 3443 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
---|
| 3444 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
---|
| 3445 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
---|
[2709] | 3446 | cat >>confdefs.h <<_ACEOF |
---|
[2977] | 3447 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
---|
[2709] | 3448 | _ACEOF |
---|
| 3449 | |
---|
| 3450 | fi |
---|
| 3451 | |
---|
| 3452 | done |
---|
| 3453 | |
---|
| 3454 | if test "${ac_cv_header_RpLibrary_h}" = no || |
---|
[2780] | 3455 | test "${ac_cv_header_RpUnits_h}" = no || |
---|
| 3456 | test "${ac_cv_header_RpUtils_h}" = no; then |
---|
[2977] | 3457 | as_fn_error RpUnits.h "\"Rappture headers RpLibrary.h" "$LINENO" 5 |
---|
[2709] | 3458 | fi |
---|
| 3459 | |
---|
[2977] | 3460 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing rpLibrary" >&5 |
---|
| 3461 | $as_echo_n "checking for library containing rpLibrary... " >&6; } |
---|
[3748] | 3462 | if ${ac_cv_search_rpLibrary+:} false; then : |
---|
[2977] | 3463 | $as_echo_n "(cached) " >&6 |
---|
[2709] | 3464 | else |
---|
| 3465 | ac_func_search_save_LIBS=$LIBS |
---|
[2977] | 3466 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
[2709] | 3467 | /* end confdefs.h. */ |
---|
| 3468 | |
---|
| 3469 | /* Override any GCC internal prototype to avoid an error. |
---|
| 3470 | Use char because int might match the return type of a GCC |
---|
| 3471 | builtin and then its argument prototype would still apply. */ |
---|
| 3472 | #ifdef __cplusplus |
---|
| 3473 | extern "C" |
---|
| 3474 | #endif |
---|
| 3475 | char rpLibrary (); |
---|
| 3476 | int |
---|
| 3477 | main () |
---|
| 3478 | { |
---|
| 3479 | return rpLibrary (); |
---|
| 3480 | ; |
---|
| 3481 | return 0; |
---|
| 3482 | } |
---|
| 3483 | _ACEOF |
---|
| 3484 | for ac_lib in '' rappture; do |
---|
| 3485 | if test -z "$ac_lib"; then |
---|
| 3486 | ac_res="none required" |
---|
| 3487 | else |
---|
| 3488 | ac_res=-l$ac_lib |
---|
| 3489 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
---|
| 3490 | fi |
---|
[2977] | 3491 | if ac_fn_c_try_link "$LINENO"; then : |
---|
[2709] | 3492 | ac_cv_search_rpLibrary=$ac_res |
---|
| 3493 | fi |
---|
[2977] | 3494 | rm -f core conftest.err conftest.$ac_objext \ |
---|
| 3495 | conftest$ac_exeext |
---|
[3748] | 3496 | if ${ac_cv_search_rpLibrary+:} false; then : |
---|
[2709] | 3497 | break |
---|
| 3498 | fi |
---|
| 3499 | done |
---|
[3748] | 3500 | if ${ac_cv_search_rpLibrary+:} false; then : |
---|
[2977] | 3501 | |
---|
[2709] | 3502 | else |
---|
| 3503 | ac_cv_search_rpLibrary=no |
---|
| 3504 | fi |
---|
| 3505 | rm conftest.$ac_ext |
---|
| 3506 | LIBS=$ac_func_search_save_LIBS |
---|
| 3507 | fi |
---|
[2977] | 3508 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_rpLibrary" >&5 |
---|
| 3509 | $as_echo "$ac_cv_search_rpLibrary" >&6; } |
---|
[2709] | 3510 | ac_res=$ac_cv_search_rpLibrary |
---|
[2977] | 3511 | if test "$ac_res" != no; then : |
---|
[2709] | 3512 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
---|
| 3513 | |
---|
| 3514 | else |
---|
[2977] | 3515 | as_fn_error $? "\"no librappture with RpLibrary found\"" "$LINENO" 5 |
---|
[2709] | 3516 | fi |
---|
| 3517 | |
---|
[2977] | 3518 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing rpConvert" >&5 |
---|
| 3519 | $as_echo_n "checking for library containing rpConvert... " >&6; } |
---|
[3748] | 3520 | if ${ac_cv_search_rpConvert+:} false; then : |
---|
[2977] | 3521 | $as_echo_n "(cached) " >&6 |
---|
[2709] | 3522 | else |
---|
| 3523 | ac_func_search_save_LIBS=$LIBS |
---|
[2977] | 3524 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
[2709] | 3525 | /* end confdefs.h. */ |
---|
| 3526 | |
---|
| 3527 | /* Override any GCC internal prototype to avoid an error. |
---|
| 3528 | Use char because int might match the return type of a GCC |
---|
| 3529 | builtin and then its argument prototype would still apply. */ |
---|
| 3530 | #ifdef __cplusplus |
---|
| 3531 | extern "C" |
---|
| 3532 | #endif |
---|
| 3533 | char rpConvert (); |
---|
| 3534 | int |
---|
| 3535 | main () |
---|
| 3536 | { |
---|
| 3537 | return rpConvert (); |
---|
| 3538 | ; |
---|
| 3539 | return 0; |
---|
| 3540 | } |
---|
| 3541 | _ACEOF |
---|
| 3542 | for ac_lib in '' rappture; do |
---|
| 3543 | if test -z "$ac_lib"; then |
---|
| 3544 | ac_res="none required" |
---|
| 3545 | else |
---|
| 3546 | ac_res=-l$ac_lib |
---|
| 3547 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
---|
| 3548 | fi |
---|
[2977] | 3549 | if ac_fn_c_try_link "$LINENO"; then : |
---|
[2709] | 3550 | ac_cv_search_rpConvert=$ac_res |
---|
| 3551 | fi |
---|
[2977] | 3552 | rm -f core conftest.err conftest.$ac_objext \ |
---|
| 3553 | conftest$ac_exeext |
---|
[3748] | 3554 | if ${ac_cv_search_rpConvert+:} false; then : |
---|
[2709] | 3555 | break |
---|
| 3556 | fi |
---|
| 3557 | done |
---|
[3748] | 3558 | if ${ac_cv_search_rpConvert+:} false; then : |
---|
[2977] | 3559 | |
---|
[2709] | 3560 | else |
---|
| 3561 | ac_cv_search_rpConvert=no |
---|
| 3562 | fi |
---|
| 3563 | rm conftest.$ac_ext |
---|
| 3564 | LIBS=$ac_func_search_save_LIBS |
---|
| 3565 | fi |
---|
[2977] | 3566 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_rpConvert" >&5 |
---|
| 3567 | $as_echo "$ac_cv_search_rpConvert" >&6; } |
---|
[2709] | 3568 | ac_res=$ac_cv_search_rpConvert |
---|
[2977] | 3569 | if test "$ac_res" != no; then : |
---|
[2709] | 3570 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
---|
| 3571 | |
---|
| 3572 | else |
---|
[2977] | 3573 | as_fn_error $? "\"no librappture with RpUnits found\"" "$LINENO" 5 |
---|
[2709] | 3574 | fi |
---|
| 3575 | |
---|
[2977] | 3576 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing rpUtilsProgress" >&5 |
---|
| 3577 | $as_echo_n "checking for library containing rpUtilsProgress... " >&6; } |
---|
[3748] | 3578 | if ${ac_cv_search_rpUtilsProgress+:} false; then : |
---|
[2977] | 3579 | $as_echo_n "(cached) " >&6 |
---|
[2780] | 3580 | else |
---|
| 3581 | ac_func_search_save_LIBS=$LIBS |
---|
[2977] | 3582 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
[2780] | 3583 | /* end confdefs.h. */ |
---|
[2709] | 3584 | |
---|
[2780] | 3585 | /* Override any GCC internal prototype to avoid an error. |
---|
| 3586 | Use char because int might match the return type of a GCC |
---|
| 3587 | builtin and then its argument prototype would still apply. */ |
---|
| 3588 | #ifdef __cplusplus |
---|
| 3589 | extern "C" |
---|
| 3590 | #endif |
---|
| 3591 | char rpUtilsProgress (); |
---|
| 3592 | int |
---|
| 3593 | main () |
---|
| 3594 | { |
---|
| 3595 | return rpUtilsProgress (); |
---|
| 3596 | ; |
---|
| 3597 | return 0; |
---|
| 3598 | } |
---|
| 3599 | _ACEOF |
---|
| 3600 | for ac_lib in '' rappture; do |
---|
| 3601 | if test -z "$ac_lib"; then |
---|
| 3602 | ac_res="none required" |
---|
| 3603 | else |
---|
| 3604 | ac_res=-l$ac_lib |
---|
| 3605 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
---|
| 3606 | fi |
---|
[2977] | 3607 | if ac_fn_c_try_link "$LINENO"; then : |
---|
[2780] | 3608 | ac_cv_search_rpUtilsProgress=$ac_res |
---|
| 3609 | fi |
---|
[2977] | 3610 | rm -f core conftest.err conftest.$ac_objext \ |
---|
| 3611 | conftest$ac_exeext |
---|
[3748] | 3612 | if ${ac_cv_search_rpUtilsProgress+:} false; then : |
---|
[2780] | 3613 | break |
---|
| 3614 | fi |
---|
| 3615 | done |
---|
[3748] | 3616 | if ${ac_cv_search_rpUtilsProgress+:} false; then : |
---|
[2977] | 3617 | |
---|
[2780] | 3618 | else |
---|
| 3619 | ac_cv_search_rpUtilsProgress=no |
---|
| 3620 | fi |
---|
| 3621 | rm conftest.$ac_ext |
---|
| 3622 | LIBS=$ac_func_search_save_LIBS |
---|
| 3623 | fi |
---|
[2977] | 3624 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_rpUtilsProgress" >&5 |
---|
| 3625 | $as_echo "$ac_cv_search_rpUtilsProgress" >&6; } |
---|
[2780] | 3626 | ac_res=$ac_cv_search_rpUtilsProgress |
---|
[2977] | 3627 | if test "$ac_res" != no; then : |
---|
[2780] | 3628 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
---|
| 3629 | |
---|
| 3630 | else |
---|
[2977] | 3631 | as_fn_error $? "\"no librappture with RpUtils found\"" "$LINENO" 5 |
---|
[2780] | 3632 | fi |
---|
| 3633 | |
---|
| 3634 | |
---|
| 3635 | |
---|
[2709] | 3636 | # The cast to long int works around a bug in the HP C Compiler |
---|
| 3637 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
---|
| 3638 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
---|
| 3639 | # This bug is HP SR number 8606223364. |
---|
[2977] | 3640 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 |
---|
| 3641 | $as_echo_n "checking size of long... " >&6; } |
---|
[3748] | 3642 | if ${ac_cv_sizeof_long+:} false; then : |
---|
[2977] | 3643 | $as_echo_n "(cached) " >&6 |
---|
[2709] | 3644 | else |
---|
[2977] | 3645 | if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : |
---|
[2709] | 3646 | |
---|
| 3647 | else |
---|
[2977] | 3648 | if test "$ac_cv_type_long" = yes; then |
---|
| 3649 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
| 3650 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
| 3651 | as_fn_error 77 "cannot compute sizeof (long) |
---|
[3748] | 3652 | See \`config.log' for more details" "$LINENO" 5; } |
---|
[2709] | 3653 | else |
---|
| 3654 | ac_cv_sizeof_long=0 |
---|
| 3655 | fi |
---|
| 3656 | fi |
---|
[2977] | 3657 | |
---|
[2709] | 3658 | fi |
---|
[2977] | 3659 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 |
---|
| 3660 | $as_echo "$ac_cv_sizeof_long" >&6; } |
---|
[2709] | 3661 | |
---|
| 3662 | |
---|
| 3663 | |
---|
| 3664 | cat >>confdefs.h <<_ACEOF |
---|
| 3665 | #define SIZEOF_LONG $ac_cv_sizeof_long |
---|
| 3666 | _ACEOF |
---|
| 3667 | |
---|
| 3668 | |
---|
| 3669 | |
---|
| 3670 | |
---|
| 3671 | |
---|
| 3672 | ac_config_files="$ac_config_files src/Makevars" |
---|
| 3673 | |
---|
| 3674 | cat >confcache <<\_ACEOF |
---|
| 3675 | # This file is a shell script that caches the results of configure |
---|
| 3676 | # tests run on this system so they can be shared between configure |
---|
| 3677 | # scripts and configure runs, see configure's option --config-cache. |
---|
| 3678 | # It is not useful on other systems. If it contains results you don't |
---|
| 3679 | # want to keep, you may remove or edit it. |
---|
| 3680 | # |
---|
| 3681 | # config.status only pays attention to the cache file if you give it |
---|
| 3682 | # the --recheck option to rerun configure. |
---|
| 3683 | # |
---|
| 3684 | # `ac_cv_env_foo' variables (set or unset) will be overridden when |
---|
| 3685 | # loading this file, other *unset* `ac_cv_foo' will be assigned the |
---|
| 3686 | # following values. |
---|
| 3687 | |
---|
| 3688 | _ACEOF |
---|
| 3689 | |
---|
| 3690 | # The following way of writing the cache mishandles newlines in values, |
---|
| 3691 | # but we know of no workaround that is simple, portable, and efficient. |
---|
| 3692 | # So, we kill variables containing newlines. |
---|
| 3693 | # Ultrix sh set writes to stderr and can't be redirected directly, |
---|
| 3694 | # and sets the high bit in the cache file unless we assign to the vars. |
---|
| 3695 | ( |
---|
| 3696 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
---|
| 3697 | eval ac_val=\$$ac_var |
---|
| 3698 | case $ac_val in #( |
---|
| 3699 | *${as_nl}*) |
---|
| 3700 | case $ac_var in #( |
---|
[2977] | 3701 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
---|
| 3702 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
---|
[2709] | 3703 | esac |
---|
| 3704 | case $ac_var in #( |
---|
| 3705 | _ | IFS | as_nl) ;; #( |
---|
[2977] | 3706 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
---|
| 3707 | *) { eval $ac_var=; unset $ac_var;} ;; |
---|
[2709] | 3708 | esac ;; |
---|
| 3709 | esac |
---|
| 3710 | done |
---|
| 3711 | |
---|
| 3712 | (set) 2>&1 | |
---|
| 3713 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
---|
| 3714 | *${as_nl}ac_space=\ *) |
---|
[2977] | 3715 | # `set' does not quote correctly, so add quotes: double-quote |
---|
| 3716 | # substitution turns \\\\ into \\, and sed turns \\ into \. |
---|
[2709] | 3717 | sed -n \ |
---|
| 3718 | "s/'/'\\\\''/g; |
---|
| 3719 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
---|
| 3720 | ;; #( |
---|
| 3721 | *) |
---|
| 3722 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
---|
| 3723 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
---|
| 3724 | ;; |
---|
| 3725 | esac | |
---|
| 3726 | sort |
---|
| 3727 | ) | |
---|
| 3728 | sed ' |
---|
| 3729 | /^ac_cv_env_/b end |
---|
| 3730 | t clear |
---|
| 3731 | :clear |
---|
| 3732 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
---|
| 3733 | t end |
---|
| 3734 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
---|
| 3735 | :end' >>confcache |
---|
| 3736 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
---|
| 3737 | if test -w "$cache_file"; then |
---|
[3748] | 3738 | if test "x$cache_file" != "x/dev/null"; then |
---|
[2977] | 3739 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
---|
| 3740 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
---|
[3748] | 3741 | if test ! -f "$cache_file" || test -h "$cache_file"; then |
---|
| 3742 | cat confcache >"$cache_file" |
---|
| 3743 | else |
---|
| 3744 | case $cache_file in #( |
---|
| 3745 | */* | ?:*) |
---|
| 3746 | mv -f confcache "$cache_file"$$ && |
---|
| 3747 | mv -f "$cache_file"$$ "$cache_file" ;; #( |
---|
| 3748 | *) |
---|
| 3749 | mv -f confcache "$cache_file" ;; |
---|
| 3750 | esac |
---|
| 3751 | fi |
---|
| 3752 | fi |
---|
[2709] | 3753 | else |
---|
[2977] | 3754 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
---|
| 3755 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
---|
[2709] | 3756 | fi |
---|
| 3757 | fi |
---|
| 3758 | rm -f confcache |
---|
| 3759 | |
---|
| 3760 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
---|
| 3761 | # Let make expand exec_prefix. |
---|
| 3762 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
---|
| 3763 | |
---|
| 3764 | # Transform confdefs.h into DEFS. |
---|
| 3765 | # Protect against shell expansion while executing Makefile rules. |
---|
| 3766 | # Protect against Makefile macro expansion. |
---|
| 3767 | # |
---|
| 3768 | # If the first sed substitution is executed (which looks for macros that |
---|
| 3769 | # take arguments), then branch to the quote section. Otherwise, |
---|
| 3770 | # look for a macro that doesn't take arguments. |
---|
| 3771 | ac_script=' |
---|
[2977] | 3772 | :mline |
---|
| 3773 | /\\$/{ |
---|
| 3774 | N |
---|
| 3775 | s,\\\n,, |
---|
| 3776 | b mline |
---|
| 3777 | } |
---|
[2709] | 3778 | t clear |
---|
| 3779 | :clear |
---|
| 3780 | s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g |
---|
| 3781 | t quote |
---|
| 3782 | s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g |
---|
| 3783 | t quote |
---|
| 3784 | b any |
---|
| 3785 | :quote |
---|
| 3786 | s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g |
---|
| 3787 | s/\[/\\&/g |
---|
| 3788 | s/\]/\\&/g |
---|
| 3789 | s/\$/$$/g |
---|
| 3790 | H |
---|
| 3791 | :any |
---|
| 3792 | ${ |
---|
| 3793 | g |
---|
| 3794 | s/^\n// |
---|
| 3795 | s/\n/ /g |
---|
| 3796 | p |
---|
| 3797 | } |
---|
| 3798 | ' |
---|
| 3799 | DEFS=`sed -n "$ac_script" confdefs.h` |
---|
| 3800 | |
---|
| 3801 | |
---|
| 3802 | ac_libobjs= |
---|
| 3803 | ac_ltlibobjs= |
---|
[2977] | 3804 | U= |
---|
[2709] | 3805 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
---|
| 3806 | # 1. Remove the extension, and $U if already installed. |
---|
| 3807 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
---|
[2977] | 3808 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
---|
[2709] | 3809 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
---|
| 3810 | # will be set to the directory where LIBOBJS objects are built. |
---|
[2977] | 3811 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
---|
| 3812 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
---|
[2709] | 3813 | done |
---|
| 3814 | LIBOBJS=$ac_libobjs |
---|
| 3815 | |
---|
| 3816 | LTLIBOBJS=$ac_ltlibobjs |
---|
| 3817 | |
---|
| 3818 | |
---|
| 3819 | |
---|
[3748] | 3820 | : "${CONFIG_STATUS=./config.status}" |
---|
[2977] | 3821 | ac_write_fail=0 |
---|
[2709] | 3822 | ac_clean_files_save=$ac_clean_files |
---|
| 3823 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
---|
[2977] | 3824 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
---|
| 3825 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
---|
| 3826 | as_write_fail=0 |
---|
| 3827 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
---|
[2709] | 3828 | #! $SHELL |
---|
| 3829 | # Generated by $as_me. |
---|
| 3830 | # Run this file to recreate the current configuration. |
---|
| 3831 | # Compiler output produced by configure, useful for debugging |
---|
| 3832 | # configure, is in config.log if it exists. |
---|
| 3833 | |
---|
| 3834 | debug=false |
---|
| 3835 | ac_cs_recheck=false |
---|
| 3836 | ac_cs_silent=false |
---|
[2977] | 3837 | |
---|
[2709] | 3838 | SHELL=\${CONFIG_SHELL-$SHELL} |
---|
[2977] | 3839 | export SHELL |
---|
| 3840 | _ASEOF |
---|
| 3841 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
---|
| 3842 | ## -------------------- ## |
---|
| 3843 | ## M4sh Initialization. ## |
---|
| 3844 | ## -------------------- ## |
---|
[2709] | 3845 | |
---|
| 3846 | # Be more Bourne compatible |
---|
| 3847 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
[2977] | 3848 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
---|
[2709] | 3849 | emulate sh |
---|
| 3850 | NULLCMD=: |
---|
[2977] | 3851 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
---|
[2709] | 3852 | # is contrary to our usage. Disable this feature. |
---|
| 3853 | alias -g '${1+"$@"}'='"$@"' |
---|
| 3854 | setopt NO_GLOB_SUBST |
---|
| 3855 | else |
---|
[2977] | 3856 | case `(set -o) 2>/dev/null` in #( |
---|
| 3857 | *posix*) : |
---|
| 3858 | set -o posix ;; #( |
---|
| 3859 | *) : |
---|
| 3860 | ;; |
---|
[2709] | 3861 | esac |
---|
| 3862 | fi |
---|
| 3863 | |
---|
| 3864 | |
---|
[2977] | 3865 | as_nl=' |
---|
| 3866 | ' |
---|
| 3867 | export as_nl |
---|
| 3868 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
---|
| 3869 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
---|
| 3870 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
| 3871 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
| 3872 | # Prefer a ksh shell builtin over an external printf program on Solaris, |
---|
| 3873 | # but without wasting forks for bash or zsh. |
---|
| 3874 | if test -z "$BASH_VERSION$ZSH_VERSION" \ |
---|
| 3875 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
---|
| 3876 | as_echo='print -r --' |
---|
| 3877 | as_echo_n='print -rn --' |
---|
| 3878 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
---|
| 3879 | as_echo='printf %s\n' |
---|
| 3880 | as_echo_n='printf %s' |
---|
| 3881 | else |
---|
| 3882 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
---|
| 3883 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
---|
| 3884 | as_echo_n='/usr/ucb/echo -n' |
---|
[2709] | 3885 | else |
---|
[2977] | 3886 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
---|
| 3887 | as_echo_n_body='eval |
---|
| 3888 | arg=$1; |
---|
| 3889 | case $arg in #( |
---|
| 3890 | *"$as_nl"*) |
---|
| 3891 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
---|
| 3892 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
---|
| 3893 | esac; |
---|
| 3894 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
---|
| 3895 | ' |
---|
| 3896 | export as_echo_n_body |
---|
| 3897 | as_echo_n='sh -c $as_echo_n_body as_echo' |
---|
[2709] | 3898 | fi |
---|
[2977] | 3899 | export as_echo_body |
---|
| 3900 | as_echo='sh -c $as_echo_body as_echo' |
---|
[2709] | 3901 | fi |
---|
| 3902 | |
---|
[2977] | 3903 | # The user is always right. |
---|
| 3904 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
| 3905 | PATH_SEPARATOR=: |
---|
| 3906 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
---|
| 3907 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
---|
| 3908 | PATH_SEPARATOR=';' |
---|
| 3909 | } |
---|
[2709] | 3910 | fi |
---|
| 3911 | |
---|
| 3912 | |
---|
| 3913 | # IFS |
---|
| 3914 | # We need space, tab and new line, in precisely that order. Quoting is |
---|
| 3915 | # there to prevent editors from complaining about space-tab. |
---|
| 3916 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
---|
| 3917 | # splitting by setting IFS to empty value.) |
---|
| 3918 | IFS=" "" $as_nl" |
---|
| 3919 | |
---|
| 3920 | # Find who we are. Look in the path if we contain no directory separator. |
---|
[3748] | 3921 | as_myself= |
---|
[2977] | 3922 | case $0 in #(( |
---|
[2709] | 3923 | *[\\/]* ) as_myself=$0 ;; |
---|
| 3924 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 3925 | for as_dir in $PATH |
---|
| 3926 | do |
---|
| 3927 | IFS=$as_save_IFS |
---|
| 3928 | test -z "$as_dir" && as_dir=. |
---|
[2977] | 3929 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
| 3930 | done |
---|
[2709] | 3931 | IFS=$as_save_IFS |
---|
| 3932 | |
---|
| 3933 | ;; |
---|
| 3934 | esac |
---|
| 3935 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
| 3936 | # in which case we are not to be found in the path. |
---|
| 3937 | if test "x$as_myself" = x; then |
---|
| 3938 | as_myself=$0 |
---|
| 3939 | fi |
---|
| 3940 | if test ! -f "$as_myself"; then |
---|
[2977] | 3941 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
---|
| 3942 | exit 1 |
---|
[2709] | 3943 | fi |
---|
| 3944 | |
---|
[2977] | 3945 | # Unset variables that we do not need and which cause bugs (e.g. in |
---|
| 3946 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
---|
| 3947 | # suppresses any "Segmentation fault" message there. '((' could |
---|
| 3948 | # trigger a bug in pdksh 5.2.14. |
---|
| 3949 | for as_var in BASH_ENV ENV MAIL MAILPATH |
---|
| 3950 | do eval test x\${$as_var+set} = xset \ |
---|
| 3951 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
---|
[2709] | 3952 | done |
---|
| 3953 | PS1='$ ' |
---|
| 3954 | PS2='> ' |
---|
| 3955 | PS4='+ ' |
---|
| 3956 | |
---|
| 3957 | # NLS nuisances. |
---|
[2977] | 3958 | LC_ALL=C |
---|
| 3959 | export LC_ALL |
---|
| 3960 | LANGUAGE=C |
---|
| 3961 | export LANGUAGE |
---|
| 3962 | |
---|
| 3963 | # CDPATH. |
---|
| 3964 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
---|
| 3965 | |
---|
| 3966 | |
---|
| 3967 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
---|
| 3968 | # ---------------------------------------- |
---|
| 3969 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
---|
| 3970 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
---|
| 3971 | # script with STATUS, using 1 if that was 0. |
---|
| 3972 | as_fn_error () |
---|
| 3973 | { |
---|
| 3974 | as_status=$1; test $as_status -eq 0 && as_status=1 |
---|
| 3975 | if test "$4"; then |
---|
| 3976 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
| 3977 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
---|
[2709] | 3978 | fi |
---|
[2977] | 3979 | $as_echo "$as_me: error: $2" >&2 |
---|
| 3980 | as_fn_exit $as_status |
---|
| 3981 | } # as_fn_error |
---|
[2709] | 3982 | |
---|
[2977] | 3983 | |
---|
| 3984 | # as_fn_set_status STATUS |
---|
| 3985 | # ----------------------- |
---|
| 3986 | # Set $? to STATUS, without forking. |
---|
| 3987 | as_fn_set_status () |
---|
| 3988 | { |
---|
| 3989 | return $1 |
---|
| 3990 | } # as_fn_set_status |
---|
| 3991 | |
---|
| 3992 | # as_fn_exit STATUS |
---|
| 3993 | # ----------------- |
---|
| 3994 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
---|
| 3995 | as_fn_exit () |
---|
| 3996 | { |
---|
| 3997 | set +e |
---|
| 3998 | as_fn_set_status $1 |
---|
| 3999 | exit $1 |
---|
| 4000 | } # as_fn_exit |
---|
| 4001 | |
---|
| 4002 | # as_fn_unset VAR |
---|
| 4003 | # --------------- |
---|
| 4004 | # Portably unset VAR. |
---|
| 4005 | as_fn_unset () |
---|
| 4006 | { |
---|
| 4007 | { eval $1=; unset $1;} |
---|
| 4008 | } |
---|
| 4009 | as_unset=as_fn_unset |
---|
| 4010 | # as_fn_append VAR VALUE |
---|
| 4011 | # ---------------------- |
---|
| 4012 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
---|
| 4013 | # advantage of any shell optimizations that allow amortized linear growth over |
---|
| 4014 | # repeated appends, instead of the typical quadratic growth present in naive |
---|
| 4015 | # implementations. |
---|
| 4016 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
---|
| 4017 | eval 'as_fn_append () |
---|
| 4018 | { |
---|
| 4019 | eval $1+=\$2 |
---|
| 4020 | }' |
---|
| 4021 | else |
---|
| 4022 | as_fn_append () |
---|
| 4023 | { |
---|
| 4024 | eval $1=\$$1\$2 |
---|
| 4025 | } |
---|
| 4026 | fi # as_fn_append |
---|
| 4027 | |
---|
| 4028 | # as_fn_arith ARG... |
---|
| 4029 | # ------------------ |
---|
| 4030 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
---|
| 4031 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
---|
| 4032 | # must be portable across $(()) and expr. |
---|
| 4033 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
---|
| 4034 | eval 'as_fn_arith () |
---|
| 4035 | { |
---|
| 4036 | as_val=$(( $* )) |
---|
| 4037 | }' |
---|
| 4038 | else |
---|
| 4039 | as_fn_arith () |
---|
| 4040 | { |
---|
| 4041 | as_val=`expr "$@" || test $? -eq 1` |
---|
| 4042 | } |
---|
| 4043 | fi # as_fn_arith |
---|
| 4044 | |
---|
| 4045 | |
---|
[2709] | 4046 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
| 4047 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
| 4048 | as_expr=expr |
---|
| 4049 | else |
---|
| 4050 | as_expr=false |
---|
| 4051 | fi |
---|
| 4052 | |
---|
| 4053 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
---|
| 4054 | as_basename=basename |
---|
| 4055 | else |
---|
| 4056 | as_basename=false |
---|
| 4057 | fi |
---|
| 4058 | |
---|
[2977] | 4059 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
---|
| 4060 | as_dirname=dirname |
---|
| 4061 | else |
---|
| 4062 | as_dirname=false |
---|
| 4063 | fi |
---|
[2709] | 4064 | |
---|
| 4065 | as_me=`$as_basename -- "$0" || |
---|
| 4066 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
| 4067 | X"$0" : 'X\(//\)$' \| \ |
---|
| 4068 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
---|
[2977] | 4069 | $as_echo X/"$0" | |
---|
[2709] | 4070 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
---|
| 4071 | s//\1/ |
---|
| 4072 | q |
---|
| 4073 | } |
---|
| 4074 | /^X\/\(\/\/\)$/{ |
---|
| 4075 | s//\1/ |
---|
| 4076 | q |
---|
| 4077 | } |
---|
| 4078 | /^X\/\(\/\).*/{ |
---|
| 4079 | s//\1/ |
---|
| 4080 | q |
---|
| 4081 | } |
---|
| 4082 | s/.*/./; q'` |
---|
| 4083 | |
---|
[2977] | 4084 | # Avoid depending upon Character Ranges. |
---|
| 4085 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
| 4086 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
| 4087 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
| 4088 | as_cr_digits='0123456789' |
---|
| 4089 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
[2709] | 4090 | |
---|
| 4091 | ECHO_C= ECHO_N= ECHO_T= |
---|
[2977] | 4092 | case `echo -n x` in #((((( |
---|
[2709] | 4093 | -n*) |
---|
[2977] | 4094 | case `echo 'xy\c'` in |
---|
[2709] | 4095 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
---|
[2977] | 4096 | xy) ECHO_C='\c';; |
---|
| 4097 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
---|
| 4098 | ECHO_T=' ';; |
---|
[2709] | 4099 | esac;; |
---|
| 4100 | *) |
---|
| 4101 | ECHO_N='-n';; |
---|
| 4102 | esac |
---|
| 4103 | |
---|
| 4104 | rm -f conf$$ conf$$.exe conf$$.file |
---|
| 4105 | if test -d conf$$.dir; then |
---|
| 4106 | rm -f conf$$.dir/conf$$.file |
---|
| 4107 | else |
---|
| 4108 | rm -f conf$$.dir |
---|
[2977] | 4109 | mkdir conf$$.dir 2>/dev/null |
---|
[2709] | 4110 | fi |
---|
[2977] | 4111 | if (echo >conf$$.file) 2>/dev/null; then |
---|
| 4112 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
| 4113 | as_ln_s='ln -s' |
---|
| 4114 | # ... but there are two gotchas: |
---|
| 4115 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
---|
| 4116 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
---|
[3748] | 4117 | # In both cases, we have to default to `cp -pR'. |
---|
[2977] | 4118 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
---|
[3748] | 4119 | as_ln_s='cp -pR' |
---|
[2977] | 4120 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
| 4121 | as_ln_s=ln |
---|
| 4122 | else |
---|
[3748] | 4123 | as_ln_s='cp -pR' |
---|
[2977] | 4124 | fi |
---|
[2709] | 4125 | else |
---|
[3748] | 4126 | as_ln_s='cp -pR' |
---|
[2709] | 4127 | fi |
---|
| 4128 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
---|
| 4129 | rmdir conf$$.dir 2>/dev/null |
---|
| 4130 | |
---|
[2977] | 4131 | |
---|
| 4132 | # as_fn_mkdir_p |
---|
| 4133 | # ------------- |
---|
| 4134 | # Create "$as_dir" as a directory, including parents if necessary. |
---|
| 4135 | as_fn_mkdir_p () |
---|
| 4136 | { |
---|
| 4137 | |
---|
| 4138 | case $as_dir in #( |
---|
| 4139 | -*) as_dir=./$as_dir;; |
---|
| 4140 | esac |
---|
| 4141 | test -d "$as_dir" || eval $as_mkdir_p || { |
---|
| 4142 | as_dirs= |
---|
| 4143 | while :; do |
---|
| 4144 | case $as_dir in #( |
---|
| 4145 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
---|
| 4146 | *) as_qdir=$as_dir;; |
---|
| 4147 | esac |
---|
| 4148 | as_dirs="'$as_qdir' $as_dirs" |
---|
| 4149 | as_dir=`$as_dirname -- "$as_dir" || |
---|
| 4150 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 4151 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
| 4152 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
| 4153 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 4154 | $as_echo X"$as_dir" | |
---|
| 4155 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 4156 | s//\1/ |
---|
| 4157 | q |
---|
| 4158 | } |
---|
| 4159 | /^X\(\/\/\)[^/].*/{ |
---|
| 4160 | s//\1/ |
---|
| 4161 | q |
---|
| 4162 | } |
---|
| 4163 | /^X\(\/\/\)$/{ |
---|
| 4164 | s//\1/ |
---|
| 4165 | q |
---|
| 4166 | } |
---|
| 4167 | /^X\(\/\).*/{ |
---|
| 4168 | s//\1/ |
---|
| 4169 | q |
---|
| 4170 | } |
---|
| 4171 | s/.*/./; q'` |
---|
| 4172 | test -d "$as_dir" && break |
---|
| 4173 | done |
---|
| 4174 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
---|
| 4175 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
---|
| 4176 | |
---|
| 4177 | |
---|
| 4178 | } # as_fn_mkdir_p |
---|
[2709] | 4179 | if mkdir -p . 2>/dev/null; then |
---|
[2977] | 4180 | as_mkdir_p='mkdir -p "$as_dir"' |
---|
[2709] | 4181 | else |
---|
| 4182 | test -d ./-p && rmdir ./-p |
---|
| 4183 | as_mkdir_p=false |
---|
| 4184 | fi |
---|
| 4185 | |
---|
| 4186 | |
---|
[3748] | 4187 | # as_fn_executable_p FILE |
---|
| 4188 | # ----------------------- |
---|
| 4189 | # Test if FILE is an executable regular file. |
---|
| 4190 | as_fn_executable_p () |
---|
| 4191 | { |
---|
| 4192 | test -f "$1" && test -x "$1" |
---|
| 4193 | } # as_fn_executable_p |
---|
| 4194 | as_test_x='test -x' |
---|
| 4195 | as_executable_p=as_fn_executable_p |
---|
| 4196 | |
---|
[2709] | 4197 | # Sed expression to map a string onto a valid CPP name. |
---|
| 4198 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
---|
| 4199 | |
---|
| 4200 | # Sed expression to map a string onto a valid variable name. |
---|
| 4201 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
---|
| 4202 | |
---|
| 4203 | |
---|
| 4204 | exec 6>&1 |
---|
[2977] | 4205 | ## ----------------------------------- ## |
---|
| 4206 | ## Main body of $CONFIG_STATUS script. ## |
---|
| 4207 | ## ----------------------------------- ## |
---|
| 4208 | _ASEOF |
---|
| 4209 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
---|
[2709] | 4210 | |
---|
[2977] | 4211 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 4212 | # Save the log message, to keep $0 and so on meaningful, and to |
---|
[2709] | 4213 | # report actual input values of CONFIG_FILES etc. instead of their |
---|
| 4214 | # values after options handling. |
---|
| 4215 | ac_log=" |
---|
| 4216 | This file was extended by Rappture $as_me 1.0, which was |
---|
[3748] | 4217 | generated by GNU Autoconf 2.69. Invocation command line was |
---|
[2709] | 4218 | |
---|
| 4219 | CONFIG_FILES = $CONFIG_FILES |
---|
| 4220 | CONFIG_HEADERS = $CONFIG_HEADERS |
---|
| 4221 | CONFIG_LINKS = $CONFIG_LINKS |
---|
| 4222 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
---|
| 4223 | $ $0 $@ |
---|
| 4224 | |
---|
| 4225 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
| 4226 | " |
---|
| 4227 | |
---|
| 4228 | _ACEOF |
---|
| 4229 | |
---|
[2977] | 4230 | case $ac_config_files in *" |
---|
| 4231 | "*) set x $ac_config_files; shift; ac_config_files=$*;; |
---|
| 4232 | esac |
---|
| 4233 | |
---|
| 4234 | |
---|
| 4235 | |
---|
| 4236 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
[2709] | 4237 | # Files that config.status was made for. |
---|
| 4238 | config_files="$ac_config_files" |
---|
| 4239 | |
---|
| 4240 | _ACEOF |
---|
| 4241 | |
---|
[2977] | 4242 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
[2709] | 4243 | ac_cs_usage="\ |
---|
[2977] | 4244 | \`$as_me' instantiates files and other configuration actions |
---|
| 4245 | from templates according to the current configuration. Unless the files |
---|
| 4246 | and actions are specified as TAGs, all are instantiated by default. |
---|
[2709] | 4247 | |
---|
[2977] | 4248 | Usage: $0 [OPTION]... [TAG]... |
---|
[2709] | 4249 | |
---|
| 4250 | -h, --help print this help, then exit |
---|
| 4251 | -V, --version print version number and configuration settings, then exit |
---|
[2977] | 4252 | --config print configuration, then exit |
---|
| 4253 | -q, --quiet, --silent |
---|
| 4254 | do not print progress messages |
---|
[2709] | 4255 | -d, --debug don't remove temporary files |
---|
| 4256 | --recheck update $as_me by reconfiguring in the same conditions |
---|
[2977] | 4257 | --file=FILE[:TEMPLATE] |
---|
| 4258 | instantiate the configuration file FILE |
---|
[2709] | 4259 | |
---|
| 4260 | Configuration files: |
---|
| 4261 | $config_files |
---|
| 4262 | |
---|
[2977] | 4263 | Report bugs to <rappture@nanohub.org>." |
---|
[2709] | 4264 | |
---|
| 4265 | _ACEOF |
---|
[2977] | 4266 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 4267 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
---|
[2709] | 4268 | ac_cs_version="\\ |
---|
| 4269 | Rappture config.status 1.0 |
---|
[3748] | 4270 | configured by $0, generated by GNU Autoconf 2.69, |
---|
[2977] | 4271 | with options \\"\$ac_cs_config\\" |
---|
[2709] | 4272 | |
---|
[3748] | 4273 | Copyright (C) 2012 Free Software Foundation, Inc. |
---|
[2709] | 4274 | This config.status script is free software; the Free Software Foundation |
---|
| 4275 | gives unlimited permission to copy, distribute and modify it." |
---|
| 4276 | |
---|
| 4277 | ac_pwd='$ac_pwd' |
---|
| 4278 | srcdir='$srcdir' |
---|
[2977] | 4279 | test -n "\$AWK" || AWK=awk |
---|
[2709] | 4280 | _ACEOF |
---|
| 4281 | |
---|
[2977] | 4282 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 4283 | # The default lists apply if the user does not specify any file. |
---|
[2709] | 4284 | ac_need_defaults=: |
---|
| 4285 | while test $# != 0 |
---|
| 4286 | do |
---|
| 4287 | case $1 in |
---|
[2977] | 4288 | --*=?*) |
---|
[2709] | 4289 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
---|
| 4290 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
---|
| 4291 | ac_shift=: |
---|
| 4292 | ;; |
---|
[2977] | 4293 | --*=) |
---|
| 4294 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
---|
| 4295 | ac_optarg= |
---|
| 4296 | ac_shift=: |
---|
| 4297 | ;; |
---|
[2709] | 4298 | *) |
---|
| 4299 | ac_option=$1 |
---|
| 4300 | ac_optarg=$2 |
---|
| 4301 | ac_shift=shift |
---|
| 4302 | ;; |
---|
| 4303 | esac |
---|
| 4304 | |
---|
| 4305 | case $ac_option in |
---|
| 4306 | # Handling of the options. |
---|
| 4307 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
---|
| 4308 | ac_cs_recheck=: ;; |
---|
| 4309 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
---|
[2977] | 4310 | $as_echo "$ac_cs_version"; exit ;; |
---|
| 4311 | --config | --confi | --conf | --con | --co | --c ) |
---|
| 4312 | $as_echo "$ac_cs_config"; exit ;; |
---|
[2709] | 4313 | --debug | --debu | --deb | --de | --d | -d ) |
---|
| 4314 | debug=: ;; |
---|
| 4315 | --file | --fil | --fi | --f ) |
---|
| 4316 | $ac_shift |
---|
[2977] | 4317 | case $ac_optarg in |
---|
| 4318 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
| 4319 | '') as_fn_error $? "missing file argument" ;; |
---|
| 4320 | esac |
---|
| 4321 | as_fn_append CONFIG_FILES " '$ac_optarg'" |
---|
[2709] | 4322 | ac_need_defaults=false;; |
---|
| 4323 | --he | --h | --help | --hel | -h ) |
---|
[2977] | 4324 | $as_echo "$ac_cs_usage"; exit ;; |
---|
[2709] | 4325 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
| 4326 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
---|
| 4327 | ac_cs_silent=: ;; |
---|
| 4328 | |
---|
| 4329 | # This is an error. |
---|
[2977] | 4330 | -*) as_fn_error $? "unrecognized option: \`$1' |
---|
| 4331 | Try \`$0 --help' for more information." ;; |
---|
[2709] | 4332 | |
---|
[2977] | 4333 | *) as_fn_append ac_config_targets " $1" |
---|
[2709] | 4334 | ac_need_defaults=false ;; |
---|
| 4335 | |
---|
| 4336 | esac |
---|
| 4337 | shift |
---|
| 4338 | done |
---|
| 4339 | |
---|
| 4340 | ac_configure_extra_args= |
---|
| 4341 | |
---|
| 4342 | if $ac_cs_silent; then |
---|
| 4343 | exec 6>/dev/null |
---|
| 4344 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
---|
| 4345 | fi |
---|
| 4346 | |
---|
| 4347 | _ACEOF |
---|
[2977] | 4348 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
[2709] | 4349 | if \$ac_cs_recheck; then |
---|
[3748] | 4350 | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
---|
[2977] | 4351 | shift |
---|
| 4352 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
---|
| 4353 | CONFIG_SHELL='$SHELL' |
---|
[2709] | 4354 | export CONFIG_SHELL |
---|
[2977] | 4355 | exec "\$@" |
---|
[2709] | 4356 | fi |
---|
| 4357 | |
---|
| 4358 | _ACEOF |
---|
[2977] | 4359 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
[2709] | 4360 | exec 5>>config.log |
---|
| 4361 | { |
---|
| 4362 | echo |
---|
| 4363 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
---|
| 4364 | ## Running $as_me. ## |
---|
| 4365 | _ASBOX |
---|
[2977] | 4366 | $as_echo "$ac_log" |
---|
[2709] | 4367 | } >&5 |
---|
| 4368 | |
---|
| 4369 | _ACEOF |
---|
[2977] | 4370 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
[2709] | 4371 | _ACEOF |
---|
| 4372 | |
---|
[2977] | 4373 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
[2709] | 4374 | |
---|
| 4375 | # Handling of arguments. |
---|
| 4376 | for ac_config_target in $ac_config_targets |
---|
| 4377 | do |
---|
| 4378 | case $ac_config_target in |
---|
| 4379 | "src/Makevars") CONFIG_FILES="$CONFIG_FILES src/Makevars" ;; |
---|
| 4380 | |
---|
[3748] | 4381 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
---|
[2709] | 4382 | esac |
---|
| 4383 | done |
---|
| 4384 | |
---|
| 4385 | |
---|
| 4386 | # If the user did not use the arguments to specify the items to instantiate, |
---|
| 4387 | # then the envvar interface is used. Set only those that are not. |
---|
| 4388 | # We use the long form for the default assignment because of an extremely |
---|
| 4389 | # bizarre bug on SunOS 4.1.3. |
---|
| 4390 | if $ac_need_defaults; then |
---|
| 4391 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
---|
| 4392 | fi |
---|
| 4393 | |
---|
| 4394 | # Have a temporary directory for convenience. Make it in the build tree |
---|
| 4395 | # simply because there is no reason against having it here, and in addition, |
---|
| 4396 | # creating and moving files from /tmp can sometimes cause problems. |
---|
| 4397 | # Hook for its removal unless debugging. |
---|
| 4398 | # Note that there is a small window in which the directory will not be cleaned: |
---|
| 4399 | # after its creation but before its name has been assigned to `$tmp'. |
---|
| 4400 | $debug || |
---|
| 4401 | { |
---|
[3748] | 4402 | tmp= ac_tmp= |
---|
[2709] | 4403 | trap 'exit_status=$? |
---|
[3748] | 4404 | : "${ac_tmp:=$tmp}" |
---|
| 4405 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
---|
[2709] | 4406 | ' 0 |
---|
[2977] | 4407 | trap 'as_fn_exit 1' 1 2 13 15 |
---|
[2709] | 4408 | } |
---|
| 4409 | # Create a (secure) tmp directory for tmp files. |
---|
| 4410 | |
---|
| 4411 | { |
---|
| 4412 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
---|
[3748] | 4413 | test -d "$tmp" |
---|
[2709] | 4414 | } || |
---|
| 4415 | { |
---|
| 4416 | tmp=./conf$$-$RANDOM |
---|
| 4417 | (umask 077 && mkdir "$tmp") |
---|
[2977] | 4418 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
---|
[3748] | 4419 | ac_tmp=$tmp |
---|
[2709] | 4420 | |
---|
[2977] | 4421 | # Set up the scripts for CONFIG_FILES section. |
---|
| 4422 | # No need to generate them if there are no CONFIG_FILES. |
---|
| 4423 | # This happens for instance with `./config.status config.h'. |
---|
[2709] | 4424 | if test -n "$CONFIG_FILES"; then |
---|
| 4425 | |
---|
[2977] | 4426 | |
---|
| 4427 | ac_cr=`echo X | tr X '\015'` |
---|
| 4428 | # On cygwin, bash can eat \r inside `` if the user requested igncr. |
---|
| 4429 | # But we know of no other shell where ac_cr would be empty at this |
---|
| 4430 | # point, so we can use a bashism as a fallback. |
---|
| 4431 | if test "x$ac_cr" = x; then |
---|
| 4432 | eval ac_cr=\$\'\\r\' |
---|
| 4433 | fi |
---|
| 4434 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
---|
| 4435 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
---|
| 4436 | ac_cs_awk_cr='\\r' |
---|
| 4437 | else |
---|
| 4438 | ac_cs_awk_cr=$ac_cr |
---|
| 4439 | fi |
---|
| 4440 | |
---|
[3748] | 4441 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
---|
[2780] | 4442 | _ACEOF |
---|
[2709] | 4443 | |
---|
| 4444 | |
---|
[2977] | 4445 | { |
---|
| 4446 | echo "cat >conf$$subs.awk <<_ACEOF" && |
---|
| 4447 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
---|
| 4448 | echo "_ACEOF" |
---|
| 4449 | } >conf$$subs.sh || |
---|
| 4450 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
---|
| 4451 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
---|
[2709] | 4452 | ac_delim='%!_!# ' |
---|
| 4453 | for ac_last_try in false false false false false :; do |
---|
[2977] | 4454 | . ./conf$$subs.sh || |
---|
| 4455 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
---|
[2709] | 4456 | |
---|
[2977] | 4457 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
---|
| 4458 | if test $ac_delim_n = $ac_delim_num; then |
---|
[2709] | 4459 | break |
---|
| 4460 | elif $ac_last_try; then |
---|
[2977] | 4461 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
---|
[2709] | 4462 | else |
---|
| 4463 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
---|
| 4464 | fi |
---|
| 4465 | done |
---|
[2977] | 4466 | rm -f conf$$subs.sh |
---|
[2709] | 4467 | |
---|
[2977] | 4468 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
[3748] | 4469 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
---|
[2977] | 4470 | _ACEOF |
---|
| 4471 | sed -n ' |
---|
| 4472 | h |
---|
| 4473 | s/^/S["/; s/!.*/"]=/ |
---|
| 4474 | p |
---|
| 4475 | g |
---|
| 4476 | s/^[^!]*!// |
---|
| 4477 | :repl |
---|
| 4478 | t repl |
---|
| 4479 | s/'"$ac_delim"'$// |
---|
| 4480 | t delim |
---|
| 4481 | :nl |
---|
| 4482 | h |
---|
| 4483 | s/\(.\{148\}\)..*/\1/ |
---|
| 4484 | t more1 |
---|
| 4485 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
---|
| 4486 | p |
---|
| 4487 | n |
---|
| 4488 | b repl |
---|
| 4489 | :more1 |
---|
| 4490 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
---|
| 4491 | p |
---|
| 4492 | g |
---|
| 4493 | s/.\{148\}// |
---|
| 4494 | t nl |
---|
| 4495 | :delim |
---|
| 4496 | h |
---|
| 4497 | s/\(.\{148\}\)..*/\1/ |
---|
| 4498 | t more2 |
---|
| 4499 | s/["\\]/\\&/g; s/^/"/; s/$/"/ |
---|
| 4500 | p |
---|
| 4501 | b |
---|
| 4502 | :more2 |
---|
| 4503 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
---|
| 4504 | p |
---|
| 4505 | g |
---|
| 4506 | s/.\{148\}// |
---|
| 4507 | t delim |
---|
| 4508 | ' <conf$$subs.awk | sed ' |
---|
| 4509 | /^[^""]/{ |
---|
| 4510 | N |
---|
| 4511 | s/\n// |
---|
| 4512 | } |
---|
| 4513 | ' >>$CONFIG_STATUS || ac_write_fail=1 |
---|
| 4514 | rm -f conf$$subs.awk |
---|
| 4515 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 4516 | _ACAWK |
---|
[3748] | 4517 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
---|
[2977] | 4518 | for (key in S) S_is_set[key] = 1 |
---|
| 4519 | FS = "" |
---|
[2709] | 4520 | |
---|
[2977] | 4521 | } |
---|
| 4522 | { |
---|
| 4523 | line = $ 0 |
---|
| 4524 | nfields = split(line, field, "@") |
---|
| 4525 | substed = 0 |
---|
| 4526 | len = length(field[1]) |
---|
| 4527 | for (i = 2; i < nfields; i++) { |
---|
| 4528 | key = field[i] |
---|
| 4529 | keylen = length(key) |
---|
| 4530 | if (S_is_set[key]) { |
---|
| 4531 | value = S[key] |
---|
| 4532 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
---|
| 4533 | len += length(value) + length(field[++i]) |
---|
| 4534 | substed = 1 |
---|
| 4535 | } else |
---|
| 4536 | len += 1 + keylen |
---|
| 4537 | } |
---|
| 4538 | |
---|
| 4539 | print line |
---|
| 4540 | } |
---|
| 4541 | |
---|
| 4542 | _ACAWK |
---|
[2709] | 4543 | _ACEOF |
---|
[2977] | 4544 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 4545 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
---|
| 4546 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
---|
| 4547 | else |
---|
| 4548 | cat |
---|
[3748] | 4549 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
---|
[2977] | 4550 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
---|
[2709] | 4551 | _ACEOF |
---|
| 4552 | |
---|
[2977] | 4553 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
---|
| 4554 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
---|
[2709] | 4555 | # trailing colons and then remove the whole line if VPATH becomes empty |
---|
| 4556 | # (actually we leave an empty line to preserve line numbers). |
---|
| 4557 | if test "x$srcdir" = x.; then |
---|
[2977] | 4558 | ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
---|
| 4559 | h |
---|
| 4560 | s/// |
---|
| 4561 | s/^/:/ |
---|
| 4562 | s/[ ]*$/:/ |
---|
| 4563 | s/:\$(srcdir):/:/g |
---|
| 4564 | s/:\${srcdir}:/:/g |
---|
| 4565 | s/:@srcdir@:/:/g |
---|
| 4566 | s/^:*// |
---|
[2709] | 4567 | s/:*$// |
---|
[2977] | 4568 | x |
---|
| 4569 | s/\(=[ ]*\).*/\1/ |
---|
| 4570 | G |
---|
| 4571 | s/\n// |
---|
[2709] | 4572 | s/^[^=]*=[ ]*$// |
---|
| 4573 | }' |
---|
| 4574 | fi |
---|
| 4575 | |
---|
[2977] | 4576 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
[2709] | 4577 | fi # test -n "$CONFIG_FILES" |
---|
| 4578 | |
---|
| 4579 | |
---|
[2977] | 4580 | eval set X " :F $CONFIG_FILES " |
---|
| 4581 | shift |
---|
| 4582 | for ac_tag |
---|
[2709] | 4583 | do |
---|
| 4584 | case $ac_tag in |
---|
| 4585 | :[FHLC]) ac_mode=$ac_tag; continue;; |
---|
| 4586 | esac |
---|
| 4587 | case $ac_mode$ac_tag in |
---|
| 4588 | :[FHL]*:*);; |
---|
[3748] | 4589 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
---|
[2709] | 4590 | :[FH]-) ac_tag=-:-;; |
---|
| 4591 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
---|
| 4592 | esac |
---|
| 4593 | ac_save_IFS=$IFS |
---|
| 4594 | IFS=: |
---|
| 4595 | set x $ac_tag |
---|
| 4596 | IFS=$ac_save_IFS |
---|
| 4597 | shift |
---|
| 4598 | ac_file=$1 |
---|
| 4599 | shift |
---|
| 4600 | |
---|
| 4601 | case $ac_mode in |
---|
| 4602 | :L) ac_source=$1;; |
---|
| 4603 | :[FH]) |
---|
| 4604 | ac_file_inputs= |
---|
| 4605 | for ac_f |
---|
| 4606 | do |
---|
| 4607 | case $ac_f in |
---|
[3748] | 4608 | -) ac_f="$ac_tmp/stdin";; |
---|
[2709] | 4609 | *) # Look for the file first in the build tree, then in the source tree |
---|
| 4610 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
---|
| 4611 | # because $ac_f cannot contain `:'. |
---|
| 4612 | test -f "$ac_f" || |
---|
| 4613 | case $ac_f in |
---|
| 4614 | [\\/$]*) false;; |
---|
| 4615 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
---|
| 4616 | esac || |
---|
[3748] | 4617 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
---|
[2709] | 4618 | esac |
---|
[2977] | 4619 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
---|
| 4620 | as_fn_append ac_file_inputs " '$ac_f'" |
---|
[2709] | 4621 | done |
---|
| 4622 | |
---|
| 4623 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
---|
| 4624 | # use $as_me), people would be surprised to read: |
---|
| 4625 | # /* config.h. Generated by config.status. */ |
---|
[2977] | 4626 | configure_input='Generated from '` |
---|
| 4627 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
---|
| 4628 | `' by configure.' |
---|
[2709] | 4629 | if test x"$ac_file" != x-; then |
---|
| 4630 | configure_input="$ac_file. $configure_input" |
---|
[2977] | 4631 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
---|
| 4632 | $as_echo "$as_me: creating $ac_file" >&6;} |
---|
[2709] | 4633 | fi |
---|
[2977] | 4634 | # Neutralize special characters interpreted by sed in replacement strings. |
---|
| 4635 | case $configure_input in #( |
---|
| 4636 | *\&* | *\|* | *\\* ) |
---|
| 4637 | ac_sed_conf_input=`$as_echo "$configure_input" | |
---|
| 4638 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
---|
| 4639 | *) ac_sed_conf_input=$configure_input;; |
---|
| 4640 | esac |
---|
[2709] | 4641 | |
---|
| 4642 | case $ac_tag in |
---|
[3748] | 4643 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
---|
| 4644 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
---|
[2709] | 4645 | esac |
---|
| 4646 | ;; |
---|
| 4647 | esac |
---|
| 4648 | |
---|
| 4649 | ac_dir=`$as_dirname -- "$ac_file" || |
---|
| 4650 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 4651 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
---|
| 4652 | X"$ac_file" : 'X\(//\)$' \| \ |
---|
| 4653 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
---|
[2977] | 4654 | $as_echo X"$ac_file" | |
---|
[2709] | 4655 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 4656 | s//\1/ |
---|
| 4657 | q |
---|
| 4658 | } |
---|
| 4659 | /^X\(\/\/\)[^/].*/{ |
---|
| 4660 | s//\1/ |
---|
| 4661 | q |
---|
| 4662 | } |
---|
| 4663 | /^X\(\/\/\)$/{ |
---|
| 4664 | s//\1/ |
---|
| 4665 | q |
---|
| 4666 | } |
---|
| 4667 | /^X\(\/\).*/{ |
---|
| 4668 | s//\1/ |
---|
| 4669 | q |
---|
| 4670 | } |
---|
| 4671 | s/.*/./; q'` |
---|
[2977] | 4672 | as_dir="$ac_dir"; as_fn_mkdir_p |
---|
[2709] | 4673 | ac_builddir=. |
---|
| 4674 | |
---|
| 4675 | case "$ac_dir" in |
---|
| 4676 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
| 4677 | *) |
---|
[2977] | 4678 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
---|
[2709] | 4679 | # A ".." for each directory in $ac_dir_suffix. |
---|
[2977] | 4680 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
---|
[2709] | 4681 | case $ac_top_builddir_sub in |
---|
| 4682 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
| 4683 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
---|
| 4684 | esac ;; |
---|
| 4685 | esac |
---|
| 4686 | ac_abs_top_builddir=$ac_pwd |
---|
| 4687 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
---|
| 4688 | # for backward compatibility: |
---|
| 4689 | ac_top_builddir=$ac_top_build_prefix |
---|
| 4690 | |
---|
| 4691 | case $srcdir in |
---|
| 4692 | .) # We are building in place. |
---|
| 4693 | ac_srcdir=. |
---|
| 4694 | ac_top_srcdir=$ac_top_builddir_sub |
---|
| 4695 | ac_abs_top_srcdir=$ac_pwd ;; |
---|
| 4696 | [\\/]* | ?:[\\/]* ) # Absolute name. |
---|
| 4697 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
| 4698 | ac_top_srcdir=$srcdir |
---|
| 4699 | ac_abs_top_srcdir=$srcdir ;; |
---|
| 4700 | *) # Relative name. |
---|
| 4701 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
---|
| 4702 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
---|
| 4703 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
---|
| 4704 | esac |
---|
| 4705 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
---|
| 4706 | |
---|
| 4707 | |
---|
| 4708 | case $ac_mode in |
---|
| 4709 | :F) |
---|
| 4710 | # |
---|
| 4711 | # CONFIG_FILE |
---|
| 4712 | # |
---|
| 4713 | |
---|
| 4714 | _ACEOF |
---|
| 4715 | |
---|
[2977] | 4716 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
[2709] | 4717 | # If the template does not know about datarootdir, expand it. |
---|
| 4718 | # FIXME: This hack should be removed a few years after 2.60. |
---|
| 4719 | ac_datarootdir_hack=; ac_datarootdir_seen= |
---|
[2977] | 4720 | ac_sed_dataroot=' |
---|
| 4721 | /datarootdir/ { |
---|
[2709] | 4722 | p |
---|
| 4723 | q |
---|
| 4724 | } |
---|
| 4725 | /@datadir@/p |
---|
| 4726 | /@docdir@/p |
---|
| 4727 | /@infodir@/p |
---|
| 4728 | /@localedir@/p |
---|
[2977] | 4729 | /@mandir@/p' |
---|
| 4730 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
---|
[2709] | 4731 | *datarootdir*) ac_datarootdir_seen=yes;; |
---|
| 4732 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
---|
[2977] | 4733 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
---|
| 4734 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
---|
[2709] | 4735 | _ACEOF |
---|
[2977] | 4736 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
[2709] | 4737 | ac_datarootdir_hack=' |
---|
| 4738 | s&@datadir@&$datadir&g |
---|
| 4739 | s&@docdir@&$docdir&g |
---|
| 4740 | s&@infodir@&$infodir&g |
---|
| 4741 | s&@localedir@&$localedir&g |
---|
| 4742 | s&@mandir@&$mandir&g |
---|
[2977] | 4743 | s&\\\${datarootdir}&$datarootdir&g' ;; |
---|
[2709] | 4744 | esac |
---|
| 4745 | _ACEOF |
---|
| 4746 | |
---|
| 4747 | # Neutralize VPATH when `$srcdir' = `.'. |
---|
| 4748 | # Shell code in configure.ac might set extrasub. |
---|
| 4749 | # FIXME: do we really want to maintain this feature? |
---|
[2977] | 4750 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 4751 | ac_sed_extra="$ac_vpsub |
---|
[2709] | 4752 | $extrasub |
---|
| 4753 | _ACEOF |
---|
[2977] | 4754 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
[2709] | 4755 | :t |
---|
| 4756 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
---|
[2977] | 4757 | s|@configure_input@|$ac_sed_conf_input|;t t |
---|
[2709] | 4758 | s&@top_builddir@&$ac_top_builddir_sub&;t t |
---|
[2977] | 4759 | s&@top_build_prefix@&$ac_top_build_prefix&;t t |
---|
[2709] | 4760 | s&@srcdir@&$ac_srcdir&;t t |
---|
| 4761 | s&@abs_srcdir@&$ac_abs_srcdir&;t t |
---|
| 4762 | s&@top_srcdir@&$ac_top_srcdir&;t t |
---|
| 4763 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
---|
| 4764 | s&@builddir@&$ac_builddir&;t t |
---|
| 4765 | s&@abs_builddir@&$ac_abs_builddir&;t t |
---|
| 4766 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
---|
| 4767 | $ac_datarootdir_hack |
---|
[2977] | 4768 | " |
---|
[3748] | 4769 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
---|
| 4770 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
---|
[2709] | 4771 | |
---|
| 4772 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
---|
[3748] | 4773 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
---|
| 4774 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
---|
| 4775 | "$ac_tmp/out"`; test -z "$ac_out"; } && |
---|
[2977] | 4776 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
---|
| 4777 | which seems to be undefined. Please make sure it is defined" >&5 |
---|
| 4778 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
---|
| 4779 | which seems to be undefined. Please make sure it is defined" >&2;} |
---|
[2709] | 4780 | |
---|
[3748] | 4781 | rm -f "$ac_tmp/stdin" |
---|
[2709] | 4782 | case $ac_file in |
---|
[3748] | 4783 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
---|
| 4784 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
---|
[2977] | 4785 | esac \ |
---|
| 4786 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
---|
[2709] | 4787 | ;; |
---|
| 4788 | |
---|
| 4789 | |
---|
| 4790 | |
---|
| 4791 | esac |
---|
| 4792 | |
---|
| 4793 | done # for ac_tag |
---|
| 4794 | |
---|
| 4795 | |
---|
[2977] | 4796 | as_fn_exit 0 |
---|
[2709] | 4797 | _ACEOF |
---|
| 4798 | ac_clean_files=$ac_clean_files_save |
---|
| 4799 | |
---|
[2977] | 4800 | test $ac_write_fail = 0 || |
---|
| 4801 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
---|
[2709] | 4802 | |
---|
[2977] | 4803 | |
---|
[2709] | 4804 | # configure is writing to config.log, and then calls config.status. |
---|
| 4805 | # config.status does its own redirection, appending to config.log. |
---|
| 4806 | # Unfortunately, on DOS this fails, as config.log is still kept open |
---|
| 4807 | # by configure, so config.status won't be able to write to it; its |
---|
| 4808 | # output is simply discarded. So we exec the FD to /dev/null, |
---|
| 4809 | # effectively closing config.log, so it can be properly (re)opened and |
---|
| 4810 | # appended to by config.status. When coming back to configure, we |
---|
| 4811 | # need to make the FD available again. |
---|
| 4812 | if test "$no_create" != yes; then |
---|
| 4813 | ac_cs_success=: |
---|
| 4814 | ac_config_status_args= |
---|
| 4815 | test "$silent" = yes && |
---|
| 4816 | ac_config_status_args="$ac_config_status_args --quiet" |
---|
| 4817 | exec 5>/dev/null |
---|
| 4818 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
---|
| 4819 | exec 5>>config.log |
---|
| 4820 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
---|
| 4821 | # would make configure fail if this is the last instruction. |
---|
[2977] | 4822 | $ac_cs_success || as_fn_exit 1 |
---|
[2709] | 4823 | fi |
---|
[2977] | 4824 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
---|
| 4825 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
---|
| 4826 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
---|
| 4827 | fi |
---|
[2709] | 4828 | |
---|