[444] | 1 | #! /bin/sh |
---|
| 2 | # Guess values for system-dependent variables and create Makefiles. |
---|
| 3 | # Generated by GNU Autoconf 2.68. |
---|
| 4 | # |
---|
| 5 | # |
---|
| 6 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
---|
| 7 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software |
---|
| 8 | # Foundation, Inc. |
---|
| 9 | # |
---|
| 10 | # |
---|
| 11 | # This configure script is free software; the Free Software Foundation |
---|
| 12 | # gives unlimited permission to copy, distribute and modify it. |
---|
| 13 | ## -------------------- ## |
---|
| 14 | ## M4sh Initialization. ## |
---|
| 15 | ## -------------------- ## |
---|
| 16 | |
---|
| 17 | # Be more Bourne compatible |
---|
| 18 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
| 19 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
---|
| 20 | emulate sh |
---|
| 21 | NULLCMD=: |
---|
| 22 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
---|
| 23 | # is contrary to our usage. Disable this feature. |
---|
| 24 | alias -g '${1+"$@"}'='"$@"' |
---|
| 25 | setopt NO_GLOB_SUBST |
---|
| 26 | else |
---|
| 27 | case `(set -o) 2>/dev/null` in #( |
---|
| 28 | *posix*) : |
---|
| 29 | set -o posix ;; #( |
---|
| 30 | *) : |
---|
| 31 | ;; |
---|
| 32 | esac |
---|
| 33 | fi |
---|
| 34 | |
---|
| 35 | |
---|
| 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' |
---|
| 56 | else |
---|
| 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' |
---|
| 69 | fi |
---|
| 70 | export as_echo_body |
---|
| 71 | as_echo='sh -c $as_echo_body as_echo' |
---|
| 72 | fi |
---|
| 73 | |
---|
| 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 | } |
---|
| 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. |
---|
| 92 | as_myself= |
---|
| 93 | case $0 in #(( |
---|
| 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=. |
---|
| 100 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
| 101 | done |
---|
| 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 |
---|
| 112 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
---|
| 113 | exit 1 |
---|
| 114 | fi |
---|
| 115 | |
---|
| 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 || : |
---|
| 123 | done |
---|
| 124 | PS1='$ ' |
---|
| 125 | PS2='> ' |
---|
| 126 | PS4='+ ' |
---|
| 127 | |
---|
| 128 | # NLS nuisances. |
---|
| 129 | LC_ALL=C |
---|
| 130 | export LC_ALL |
---|
| 131 | LANGUAGE=C |
---|
| 132 | export LANGUAGE |
---|
| 133 | |
---|
| 134 | # CDPATH. |
---|
| 135 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
---|
| 136 | |
---|
| 137 | if test "x$CONFIG_SHELL" = x; then |
---|
| 138 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
---|
| 139 | emulate sh |
---|
| 140 | NULLCMD=: |
---|
| 141 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
---|
| 142 | # is contrary to our usage. Disable this feature. |
---|
| 143 | alias -g '\${1+\"\$@\"}'='\"\$@\"' |
---|
| 144 | setopt NO_GLOB_SUBST |
---|
| 145 | else |
---|
| 146 | case \`(set -o) 2>/dev/null\` in #( |
---|
| 147 | *posix*) : |
---|
| 148 | set -o posix ;; #( |
---|
| 149 | *) : |
---|
| 150 | ;; |
---|
| 151 | esac |
---|
| 152 | fi |
---|
| 153 | " |
---|
| 154 | as_required="as_fn_return () { (exit \$1); } |
---|
| 155 | as_fn_success () { as_fn_return 0; } |
---|
| 156 | as_fn_failure () { as_fn_return 1; } |
---|
| 157 | as_fn_ret_success () { return 0; } |
---|
| 158 | as_fn_ret_failure () { return 1; } |
---|
| 159 | |
---|
| 160 | exitcode=0 |
---|
| 161 | as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
---|
| 162 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
---|
| 163 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
---|
| 164 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
---|
| 165 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
---|
| 166 | |
---|
| 167 | else |
---|
| 168 | exitcode=1; echo positional parameters were not saved. |
---|
| 169 | fi |
---|
| 170 | test x\$exitcode = x0 || exit 1" |
---|
| 171 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
---|
| 172 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
---|
| 173 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
---|
| 174 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1" |
---|
| 175 | if (eval "$as_required") 2>/dev/null; then : |
---|
| 176 | as_have_required=yes |
---|
| 177 | else |
---|
| 178 | as_have_required=no |
---|
| 179 | fi |
---|
| 180 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : |
---|
| 181 | |
---|
| 182 | else |
---|
| 183 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 184 | as_found=false |
---|
| 185 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
---|
| 186 | do |
---|
| 187 | IFS=$as_save_IFS |
---|
| 188 | test -z "$as_dir" && as_dir=. |
---|
| 189 | as_found=: |
---|
| 190 | case $as_dir in #( |
---|
| 191 | /*) |
---|
| 192 | for as_base in sh bash ksh sh5; do |
---|
| 193 | # Try only shells that exist, to save several forks. |
---|
| 194 | as_shell=$as_dir/$as_base |
---|
| 195 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
---|
| 196 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : |
---|
| 197 | CONFIG_SHELL=$as_shell as_have_required=yes |
---|
| 198 | if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : |
---|
| 199 | break 2 |
---|
| 200 | fi |
---|
| 201 | fi |
---|
| 202 | done;; |
---|
| 203 | esac |
---|
| 204 | as_found=false |
---|
| 205 | done |
---|
| 206 | $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
---|
| 207 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : |
---|
| 208 | CONFIG_SHELL=$SHELL as_have_required=yes |
---|
| 209 | fi; } |
---|
| 210 | IFS=$as_save_IFS |
---|
| 211 | |
---|
| 212 | |
---|
| 213 | if test "x$CONFIG_SHELL" != x; then : |
---|
| 214 | # We cannot yet assume a decent shell, so we have to provide a |
---|
| 215 | # neutralization value for shells without unset; and this also |
---|
| 216 | # works around shells that cannot unset nonexistent variables. |
---|
| 217 | # Preserve -v and -x to the replacement shell. |
---|
| 218 | BASH_ENV=/dev/null |
---|
| 219 | ENV=/dev/null |
---|
| 220 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
---|
| 221 | export CONFIG_SHELL |
---|
| 222 | case $- in # (((( |
---|
| 223 | *v*x* | *x*v* ) as_opts=-vx ;; |
---|
| 224 | *v* ) as_opts=-v ;; |
---|
| 225 | *x* ) as_opts=-x ;; |
---|
| 226 | * ) as_opts= ;; |
---|
| 227 | esac |
---|
| 228 | exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} |
---|
| 229 | fi |
---|
| 230 | |
---|
| 231 | if test x$as_have_required = xno; then : |
---|
| 232 | $as_echo "$0: This script requires a shell more modern than all" |
---|
| 233 | $as_echo "$0: the shells that I found on your system." |
---|
| 234 | if test x${ZSH_VERSION+set} = xset ; then |
---|
| 235 | $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
---|
| 236 | $as_echo "$0: be upgraded to zsh 4.3.4 or later." |
---|
| 237 | else |
---|
| 238 | $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, |
---|
| 239 | $0: including any error possibly output before this |
---|
| 240 | $0: message. Then install a modern shell, or manually run |
---|
| 241 | $0: the script under such a shell if you do have one." |
---|
| 242 | fi |
---|
| 243 | exit 1 |
---|
| 244 | fi |
---|
| 245 | fi |
---|
| 246 | fi |
---|
| 247 | SHELL=${CONFIG_SHELL-/bin/sh} |
---|
| 248 | export SHELL |
---|
| 249 | # Unset more variables known to interfere with behavior of common tools. |
---|
| 250 | CLICOLOR_FORCE= GREP_OPTIONS= |
---|
| 251 | unset CLICOLOR_FORCE GREP_OPTIONS |
---|
| 252 | |
---|
| 253 | ## --------------------- ## |
---|
| 254 | ## M4sh Shell Functions. ## |
---|
| 255 | ## --------------------- ## |
---|
| 256 | # as_fn_unset VAR |
---|
| 257 | # --------------- |
---|
| 258 | # Portably unset VAR. |
---|
| 259 | as_fn_unset () |
---|
| 260 | { |
---|
| 261 | { eval $1=; unset $1;} |
---|
| 262 | } |
---|
| 263 | as_unset=as_fn_unset |
---|
| 264 | |
---|
| 265 | # as_fn_set_status STATUS |
---|
| 266 | # ----------------------- |
---|
| 267 | # Set $? to STATUS, without forking. |
---|
| 268 | as_fn_set_status () |
---|
| 269 | { |
---|
| 270 | return $1 |
---|
| 271 | } # as_fn_set_status |
---|
| 272 | |
---|
| 273 | # as_fn_exit STATUS |
---|
| 274 | # ----------------- |
---|
| 275 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
---|
| 276 | as_fn_exit () |
---|
| 277 | { |
---|
| 278 | set +e |
---|
| 279 | as_fn_set_status $1 |
---|
| 280 | exit $1 |
---|
| 281 | } # as_fn_exit |
---|
| 282 | |
---|
| 283 | # as_fn_mkdir_p |
---|
| 284 | # ------------- |
---|
| 285 | # Create "$as_dir" as a directory, including parents if necessary. |
---|
| 286 | as_fn_mkdir_p () |
---|
| 287 | { |
---|
| 288 | |
---|
| 289 | case $as_dir in #( |
---|
| 290 | -*) as_dir=./$as_dir;; |
---|
| 291 | esac |
---|
| 292 | test -d "$as_dir" || eval $as_mkdir_p || { |
---|
| 293 | as_dirs= |
---|
| 294 | while :; do |
---|
| 295 | case $as_dir in #( |
---|
| 296 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
---|
| 297 | *) as_qdir=$as_dir;; |
---|
| 298 | esac |
---|
| 299 | as_dirs="'$as_qdir' $as_dirs" |
---|
| 300 | as_dir=`$as_dirname -- "$as_dir" || |
---|
| 301 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 302 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
| 303 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
| 304 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 305 | $as_echo X"$as_dir" | |
---|
| 306 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 307 | s//\1/ |
---|
| 308 | q |
---|
| 309 | } |
---|
| 310 | /^X\(\/\/\)[^/].*/{ |
---|
| 311 | s//\1/ |
---|
| 312 | q |
---|
| 313 | } |
---|
| 314 | /^X\(\/\/\)$/{ |
---|
| 315 | s//\1/ |
---|
| 316 | q |
---|
| 317 | } |
---|
| 318 | /^X\(\/\).*/{ |
---|
| 319 | s//\1/ |
---|
| 320 | q |
---|
| 321 | } |
---|
| 322 | s/.*/./; q'` |
---|
| 323 | test -d "$as_dir" && break |
---|
| 324 | done |
---|
| 325 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
---|
| 326 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
---|
| 327 | |
---|
| 328 | |
---|
| 329 | } # as_fn_mkdir_p |
---|
| 330 | # as_fn_append VAR VALUE |
---|
| 331 | # ---------------------- |
---|
| 332 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
---|
| 333 | # advantage of any shell optimizations that allow amortized linear growth over |
---|
| 334 | # repeated appends, instead of the typical quadratic growth present in naive |
---|
| 335 | # implementations. |
---|
| 336 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
---|
| 337 | eval 'as_fn_append () |
---|
| 338 | { |
---|
| 339 | eval $1+=\$2 |
---|
| 340 | }' |
---|
| 341 | else |
---|
| 342 | as_fn_append () |
---|
| 343 | { |
---|
| 344 | eval $1=\$$1\$2 |
---|
| 345 | } |
---|
| 346 | fi # as_fn_append |
---|
| 347 | |
---|
| 348 | # as_fn_arith ARG... |
---|
| 349 | # ------------------ |
---|
| 350 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
---|
| 351 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
---|
| 352 | # must be portable across $(()) and expr. |
---|
| 353 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
---|
| 354 | eval 'as_fn_arith () |
---|
| 355 | { |
---|
| 356 | as_val=$(( $* )) |
---|
| 357 | }' |
---|
| 358 | else |
---|
| 359 | as_fn_arith () |
---|
| 360 | { |
---|
| 361 | as_val=`expr "$@" || test $? -eq 1` |
---|
| 362 | } |
---|
| 363 | fi # as_fn_arith |
---|
| 364 | |
---|
| 365 | |
---|
| 366 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
---|
| 367 | # ---------------------------------------- |
---|
| 368 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
---|
| 369 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
---|
| 370 | # script with STATUS, using 1 if that was 0. |
---|
| 371 | as_fn_error () |
---|
| 372 | { |
---|
| 373 | as_status=$1; test $as_status -eq 0 && as_status=1 |
---|
| 374 | if test "$4"; then |
---|
| 375 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
| 376 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
---|
| 377 | fi |
---|
| 378 | $as_echo "$as_me: error: $2" >&2 |
---|
| 379 | as_fn_exit $as_status |
---|
| 380 | } # as_fn_error |
---|
| 381 | |
---|
| 382 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
| 383 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
| 384 | as_expr=expr |
---|
| 385 | else |
---|
| 386 | as_expr=false |
---|
| 387 | fi |
---|
| 388 | |
---|
| 389 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
---|
| 390 | as_basename=basename |
---|
| 391 | else |
---|
| 392 | as_basename=false |
---|
| 393 | fi |
---|
| 394 | |
---|
| 395 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
---|
| 396 | as_dirname=dirname |
---|
| 397 | else |
---|
| 398 | as_dirname=false |
---|
| 399 | fi |
---|
| 400 | |
---|
| 401 | as_me=`$as_basename -- "$0" || |
---|
| 402 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
| 403 | X"$0" : 'X\(//\)$' \| \ |
---|
| 404 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 405 | $as_echo X/"$0" | |
---|
| 406 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
---|
| 407 | s//\1/ |
---|
| 408 | q |
---|
| 409 | } |
---|
| 410 | /^X\/\(\/\/\)$/{ |
---|
| 411 | s//\1/ |
---|
| 412 | q |
---|
| 413 | } |
---|
| 414 | /^X\/\(\/\).*/{ |
---|
| 415 | s//\1/ |
---|
| 416 | q |
---|
| 417 | } |
---|
| 418 | s/.*/./; q'` |
---|
| 419 | |
---|
| 420 | # Avoid depending upon Character Ranges. |
---|
| 421 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
| 422 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
| 423 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
| 424 | as_cr_digits='0123456789' |
---|
| 425 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
| 426 | |
---|
| 427 | |
---|
| 428 | as_lineno_1=$LINENO as_lineno_1a=$LINENO |
---|
| 429 | as_lineno_2=$LINENO as_lineno_2a=$LINENO |
---|
| 430 | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
---|
| 431 | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
---|
| 432 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
---|
| 433 | sed -n ' |
---|
| 434 | p |
---|
| 435 | /[$]LINENO/= |
---|
| 436 | ' <$as_myself | |
---|
| 437 | sed ' |
---|
| 438 | s/[$]LINENO.*/&-/ |
---|
| 439 | t lineno |
---|
| 440 | b |
---|
| 441 | :lineno |
---|
| 442 | N |
---|
| 443 | :loop |
---|
| 444 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
---|
| 445 | t loop |
---|
| 446 | s/-\n.*// |
---|
| 447 | ' >$as_me.lineno && |
---|
| 448 | chmod +x "$as_me.lineno" || |
---|
| 449 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
---|
| 450 | |
---|
| 451 | # Don't try to exec as it changes $[0], causing all sort of problems |
---|
| 452 | # (the dirname of $[0] is not the place where we might find the |
---|
| 453 | # original and so on. Autoconf is especially sensitive to this). |
---|
| 454 | . "./$as_me.lineno" |
---|
| 455 | # Exit status is that of the last command. |
---|
| 456 | exit |
---|
| 457 | } |
---|
| 458 | |
---|
| 459 | ECHO_C= ECHO_N= ECHO_T= |
---|
| 460 | case `echo -n x` in #((((( |
---|
| 461 | -n*) |
---|
| 462 | case `echo 'xy\c'` in |
---|
| 463 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
---|
| 464 | xy) ECHO_C='\c';; |
---|
| 465 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
---|
| 466 | ECHO_T=' ';; |
---|
| 467 | esac;; |
---|
| 468 | *) |
---|
| 469 | ECHO_N='-n';; |
---|
| 470 | esac |
---|
| 471 | |
---|
| 472 | rm -f conf$$ conf$$.exe conf$$.file |
---|
| 473 | if test -d conf$$.dir; then |
---|
| 474 | rm -f conf$$.dir/conf$$.file |
---|
| 475 | else |
---|
| 476 | rm -f conf$$.dir |
---|
| 477 | mkdir conf$$.dir 2>/dev/null |
---|
| 478 | fi |
---|
| 479 | if (echo >conf$$.file) 2>/dev/null; then |
---|
| 480 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
| 481 | as_ln_s='ln -s' |
---|
| 482 | # ... but there are two gotchas: |
---|
| 483 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
---|
| 484 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
---|
| 485 | # In both cases, we have to default to `cp -p'. |
---|
| 486 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
---|
| 487 | as_ln_s='cp -p' |
---|
| 488 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
| 489 | as_ln_s=ln |
---|
| 490 | else |
---|
| 491 | as_ln_s='cp -p' |
---|
| 492 | fi |
---|
| 493 | else |
---|
| 494 | as_ln_s='cp -p' |
---|
| 495 | fi |
---|
| 496 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
---|
| 497 | rmdir conf$$.dir 2>/dev/null |
---|
| 498 | |
---|
| 499 | if mkdir -p . 2>/dev/null; then |
---|
| 500 | as_mkdir_p='mkdir -p "$as_dir"' |
---|
| 501 | else |
---|
| 502 | test -d ./-p && rmdir ./-p |
---|
| 503 | as_mkdir_p=false |
---|
| 504 | fi |
---|
| 505 | |
---|
| 506 | if test -x / >/dev/null 2>&1; then |
---|
| 507 | as_test_x='test -x' |
---|
| 508 | else |
---|
| 509 | if ls -dL / >/dev/null 2>&1; then |
---|
| 510 | as_ls_L_option=L |
---|
| 511 | else |
---|
| 512 | as_ls_L_option= |
---|
| 513 | fi |
---|
| 514 | as_test_x=' |
---|
| 515 | eval sh -c '\'' |
---|
| 516 | if test -d "$1"; then |
---|
| 517 | test -d "$1/."; |
---|
| 518 | else |
---|
| 519 | case $1 in #( |
---|
| 520 | -*)set "./$1";; |
---|
| 521 | esac; |
---|
| 522 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
---|
| 523 | ???[sx]*):;;*)false;;esac;fi |
---|
| 524 | '\'' sh |
---|
| 525 | ' |
---|
| 526 | fi |
---|
| 527 | as_executable_p=$as_test_x |
---|
| 528 | |
---|
| 529 | # Sed expression to map a string onto a valid CPP name. |
---|
| 530 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
---|
| 531 | |
---|
| 532 | # Sed expression to map a string onto a valid variable name. |
---|
| 533 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
---|
| 534 | |
---|
| 535 | |
---|
| 536 | test -n "$DJDIR" || exec 7<&0 </dev/null |
---|
| 537 | exec 6>&1 |
---|
| 538 | |
---|
| 539 | # Name of the host. |
---|
| 540 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
---|
| 541 | # so uname gets run too. |
---|
| 542 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
| 543 | |
---|
| 544 | # |
---|
| 545 | # Initializations. |
---|
| 546 | # |
---|
| 547 | ac_default_prefix=/usr/local |
---|
| 548 | ac_clean_files= |
---|
| 549 | ac_config_libobj_dir=. |
---|
| 550 | LIBOBJS= |
---|
| 551 | cross_compiling=no |
---|
| 552 | subdirs= |
---|
| 553 | MFLAGS= |
---|
| 554 | MAKEFLAGS= |
---|
| 555 | |
---|
| 556 | # Identity of this package. |
---|
| 557 | PACKAGE_NAME= |
---|
| 558 | PACKAGE_TARNAME= |
---|
| 559 | PACKAGE_VERSION= |
---|
| 560 | PACKAGE_STRING= |
---|
| 561 | PACKAGE_BUGREPORT= |
---|
| 562 | PACKAGE_URL= |
---|
| 563 | |
---|
| 564 | ac_unique_file="crt0.S" |
---|
| 565 | ac_subst_vars='LTLIBOBJS |
---|
| 566 | LIBOBJS |
---|
| 567 | host_makefile_frag_path |
---|
| 568 | CCASFLAGS |
---|
| 569 | CCAS |
---|
| 570 | RANLIB |
---|
| 571 | LD |
---|
| 572 | AR |
---|
| 573 | AS |
---|
| 574 | am__fastdepCC_FALSE |
---|
| 575 | am__fastdepCC_TRUE |
---|
| 576 | CCDEPMODE |
---|
| 577 | AMDEPBACKSLASH |
---|
| 578 | AMDEP_FALSE |
---|
| 579 | AMDEP_TRUE |
---|
| 580 | am__quote |
---|
| 581 | am__include |
---|
| 582 | DEPDIR |
---|
| 583 | am__leading_dot |
---|
| 584 | CC |
---|
| 585 | INSTALL_DATA |
---|
| 586 | INSTALL_SCRIPT |
---|
| 587 | INSTALL_PROGRAM |
---|
| 588 | target_os |
---|
| 589 | target_vendor |
---|
| 590 | target_cpu |
---|
| 591 | target |
---|
| 592 | host_os |
---|
| 593 | host_vendor |
---|
| 594 | host_cpu |
---|
| 595 | host |
---|
| 596 | build_os |
---|
| 597 | build_vendor |
---|
| 598 | build_cpu |
---|
| 599 | build |
---|
| 600 | target_alias |
---|
| 601 | host_alias |
---|
| 602 | build_alias |
---|
| 603 | LIBS |
---|
| 604 | ECHO_T |
---|
| 605 | ECHO_N |
---|
| 606 | ECHO_C |
---|
| 607 | DEFS |
---|
| 608 | mandir |
---|
| 609 | localedir |
---|
| 610 | libdir |
---|
| 611 | psdir |
---|
| 612 | pdfdir |
---|
| 613 | dvidir |
---|
| 614 | htmldir |
---|
| 615 | infodir |
---|
| 616 | docdir |
---|
| 617 | oldincludedir |
---|
| 618 | includedir |
---|
| 619 | localstatedir |
---|
| 620 | sharedstatedir |
---|
| 621 | sysconfdir |
---|
| 622 | datadir |
---|
| 623 | datarootdir |
---|
| 624 | libexecdir |
---|
| 625 | sbindir |
---|
| 626 | bindir |
---|
| 627 | program_transform_name |
---|
| 628 | prefix |
---|
| 629 | exec_prefix |
---|
| 630 | PACKAGE_URL |
---|
| 631 | PACKAGE_BUGREPORT |
---|
| 632 | PACKAGE_STRING |
---|
| 633 | PACKAGE_VERSION |
---|
| 634 | PACKAGE_TARNAME |
---|
| 635 | PACKAGE_NAME |
---|
| 636 | PATH_SEPARATOR |
---|
| 637 | SHELL' |
---|
| 638 | ac_subst_files='host_makefile_frag' |
---|
| 639 | ac_user_opts=' |
---|
| 640 | enable_option_checking |
---|
| 641 | enable_dependency_tracking |
---|
| 642 | ' |
---|
| 643 | ac_precious_vars='build_alias |
---|
| 644 | host_alias |
---|
| 645 | target_alias |
---|
| 646 | CCAS |
---|
| 647 | CCASFLAGS' |
---|
| 648 | |
---|
| 649 | |
---|
| 650 | # Initialize some variables set by options. |
---|
| 651 | ac_init_help= |
---|
| 652 | ac_init_version=false |
---|
| 653 | ac_unrecognized_opts= |
---|
| 654 | ac_unrecognized_sep= |
---|
| 655 | # The variables have the same names as the options, with |
---|
| 656 | # dashes changed to underlines. |
---|
| 657 | cache_file=/dev/null |
---|
| 658 | exec_prefix=NONE |
---|
| 659 | no_create= |
---|
| 660 | no_recursion= |
---|
| 661 | prefix=NONE |
---|
| 662 | program_prefix=NONE |
---|
| 663 | program_suffix=NONE |
---|
| 664 | program_transform_name=s,x,x, |
---|
| 665 | silent= |
---|
| 666 | site= |
---|
| 667 | srcdir= |
---|
| 668 | verbose= |
---|
| 669 | x_includes=NONE |
---|
| 670 | x_libraries=NONE |
---|
| 671 | |
---|
| 672 | # Installation directory options. |
---|
| 673 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
---|
| 674 | # and all the variables that are supposed to be based on exec_prefix |
---|
| 675 | # by default will actually change. |
---|
| 676 | # Use braces instead of parens because sh, perl, etc. also accept them. |
---|
| 677 | # (The list follows the same order as the GNU Coding Standards.) |
---|
| 678 | bindir='${exec_prefix}/bin' |
---|
| 679 | sbindir='${exec_prefix}/sbin' |
---|
| 680 | libexecdir='${exec_prefix}/libexec' |
---|
| 681 | datarootdir='${prefix}/share' |
---|
| 682 | datadir='${datarootdir}' |
---|
| 683 | sysconfdir='${prefix}/etc' |
---|
| 684 | sharedstatedir='${prefix}/com' |
---|
| 685 | localstatedir='${prefix}/var' |
---|
| 686 | includedir='${prefix}/include' |
---|
| 687 | oldincludedir='/usr/include' |
---|
| 688 | docdir='${datarootdir}/doc/${PACKAGE}' |
---|
| 689 | infodir='${datarootdir}/info' |
---|
| 690 | htmldir='${docdir}' |
---|
| 691 | dvidir='${docdir}' |
---|
| 692 | pdfdir='${docdir}' |
---|
| 693 | psdir='${docdir}' |
---|
| 694 | libdir='${exec_prefix}/lib' |
---|
| 695 | localedir='${datarootdir}/locale' |
---|
| 696 | mandir='${datarootdir}/man' |
---|
| 697 | |
---|
| 698 | ac_prev= |
---|
| 699 | ac_dashdash= |
---|
| 700 | for ac_option |
---|
| 701 | do |
---|
| 702 | # If the previous option needs an argument, assign it. |
---|
| 703 | if test -n "$ac_prev"; then |
---|
| 704 | eval $ac_prev=\$ac_option |
---|
| 705 | ac_prev= |
---|
| 706 | continue |
---|
| 707 | fi |
---|
| 708 | |
---|
| 709 | case $ac_option in |
---|
| 710 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
---|
| 711 | *=) ac_optarg= ;; |
---|
| 712 | *) ac_optarg=yes ;; |
---|
| 713 | esac |
---|
| 714 | |
---|
| 715 | # Accept the important Cygnus configure options, so we can diagnose typos. |
---|
| 716 | |
---|
| 717 | case $ac_dashdash$ac_option in |
---|
| 718 | --) |
---|
| 719 | ac_dashdash=yes ;; |
---|
| 720 | |
---|
| 721 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
---|
| 722 | ac_prev=bindir ;; |
---|
| 723 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
---|
| 724 | bindir=$ac_optarg ;; |
---|
| 725 | |
---|
| 726 | -build | --build | --buil | --bui | --bu) |
---|
| 727 | ac_prev=build_alias ;; |
---|
| 728 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
---|
| 729 | build_alias=$ac_optarg ;; |
---|
| 730 | |
---|
| 731 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
---|
| 732 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
---|
| 733 | ac_prev=cache_file ;; |
---|
| 734 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
---|
| 735 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
---|
| 736 | cache_file=$ac_optarg ;; |
---|
| 737 | |
---|
| 738 | --config-cache | -C) |
---|
| 739 | cache_file=config.cache ;; |
---|
| 740 | |
---|
| 741 | -datadir | --datadir | --datadi | --datad) |
---|
| 742 | ac_prev=datadir ;; |
---|
| 743 | -datadir=* | --datadir=* | --datadi=* | --datad=*) |
---|
| 744 | datadir=$ac_optarg ;; |
---|
| 745 | |
---|
| 746 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
---|
| 747 | | --dataroo | --dataro | --datar) |
---|
| 748 | ac_prev=datarootdir ;; |
---|
| 749 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
---|
| 750 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
---|
| 751 | datarootdir=$ac_optarg ;; |
---|
| 752 | |
---|
| 753 | -disable-* | --disable-*) |
---|
| 754 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
---|
| 755 | # Reject names that are not valid shell variable names. |
---|
| 756 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
| 757 | as_fn_error $? "invalid feature name: $ac_useropt" |
---|
| 758 | ac_useropt_orig=$ac_useropt |
---|
| 759 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
| 760 | case $ac_user_opts in |
---|
| 761 | *" |
---|
| 762 | "enable_$ac_useropt" |
---|
| 763 | "*) ;; |
---|
| 764 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
---|
| 765 | ac_unrecognized_sep=', ';; |
---|
| 766 | esac |
---|
| 767 | eval enable_$ac_useropt=no ;; |
---|
| 768 | |
---|
| 769 | -docdir | --docdir | --docdi | --doc | --do) |
---|
| 770 | ac_prev=docdir ;; |
---|
| 771 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
---|
| 772 | docdir=$ac_optarg ;; |
---|
| 773 | |
---|
| 774 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
---|
| 775 | ac_prev=dvidir ;; |
---|
| 776 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
---|
| 777 | dvidir=$ac_optarg ;; |
---|
| 778 | |
---|
| 779 | -enable-* | --enable-*) |
---|
| 780 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
---|
| 781 | # Reject names that are not valid shell variable names. |
---|
| 782 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
| 783 | as_fn_error $? "invalid feature name: $ac_useropt" |
---|
| 784 | ac_useropt_orig=$ac_useropt |
---|
| 785 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
| 786 | case $ac_user_opts in |
---|
| 787 | *" |
---|
| 788 | "enable_$ac_useropt" |
---|
| 789 | "*) ;; |
---|
| 790 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
---|
| 791 | ac_unrecognized_sep=', ';; |
---|
| 792 | esac |
---|
| 793 | eval enable_$ac_useropt=\$ac_optarg ;; |
---|
| 794 | |
---|
| 795 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
---|
| 796 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
---|
| 797 | | --exec | --exe | --ex) |
---|
| 798 | ac_prev=exec_prefix ;; |
---|
| 799 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
---|
| 800 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
---|
| 801 | | --exec=* | --exe=* | --ex=*) |
---|
| 802 | exec_prefix=$ac_optarg ;; |
---|
| 803 | |
---|
| 804 | -gas | --gas | --ga | --g) |
---|
| 805 | # Obsolete; use --with-gas. |
---|
| 806 | with_gas=yes ;; |
---|
| 807 | |
---|
| 808 | -help | --help | --hel | --he | -h) |
---|
| 809 | ac_init_help=long ;; |
---|
| 810 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
---|
| 811 | ac_init_help=recursive ;; |
---|
| 812 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
---|
| 813 | ac_init_help=short ;; |
---|
| 814 | |
---|
| 815 | -host | --host | --hos | --ho) |
---|
| 816 | ac_prev=host_alias ;; |
---|
| 817 | -host=* | --host=* | --hos=* | --ho=*) |
---|
| 818 | host_alias=$ac_optarg ;; |
---|
| 819 | |
---|
| 820 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
---|
| 821 | ac_prev=htmldir ;; |
---|
| 822 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
---|
| 823 | | --ht=*) |
---|
| 824 | htmldir=$ac_optarg ;; |
---|
| 825 | |
---|
| 826 | -includedir | --includedir | --includedi | --included | --include \ |
---|
| 827 | | --includ | --inclu | --incl | --inc) |
---|
| 828 | ac_prev=includedir ;; |
---|
| 829 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
---|
| 830 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
---|
| 831 | includedir=$ac_optarg ;; |
---|
| 832 | |
---|
| 833 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
---|
| 834 | ac_prev=infodir ;; |
---|
| 835 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
---|
| 836 | infodir=$ac_optarg ;; |
---|
| 837 | |
---|
| 838 | -libdir | --libdir | --libdi | --libd) |
---|
| 839 | ac_prev=libdir ;; |
---|
| 840 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
---|
| 841 | libdir=$ac_optarg ;; |
---|
| 842 | |
---|
| 843 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
---|
| 844 | | --libexe | --libex | --libe) |
---|
| 845 | ac_prev=libexecdir ;; |
---|
| 846 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
---|
| 847 | | --libexe=* | --libex=* | --libe=*) |
---|
| 848 | libexecdir=$ac_optarg ;; |
---|
| 849 | |
---|
| 850 | -localedir | --localedir | --localedi | --localed | --locale) |
---|
| 851 | ac_prev=localedir ;; |
---|
| 852 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
---|
| 853 | localedir=$ac_optarg ;; |
---|
| 854 | |
---|
| 855 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
---|
| 856 | | --localstate | --localstat | --localsta | --localst | --locals) |
---|
| 857 | ac_prev=localstatedir ;; |
---|
| 858 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
---|
| 859 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
---|
| 860 | localstatedir=$ac_optarg ;; |
---|
| 861 | |
---|
| 862 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
---|
| 863 | ac_prev=mandir ;; |
---|
| 864 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
---|
| 865 | mandir=$ac_optarg ;; |
---|
| 866 | |
---|
| 867 | -nfp | --nfp | --nf) |
---|
| 868 | # Obsolete; use --without-fp. |
---|
| 869 | with_fp=no ;; |
---|
| 870 | |
---|
| 871 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
---|
| 872 | | --no-cr | --no-c | -n) |
---|
| 873 | no_create=yes ;; |
---|
| 874 | |
---|
| 875 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
---|
| 876 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
---|
| 877 | no_recursion=yes ;; |
---|
| 878 | |
---|
| 879 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
---|
| 880 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
---|
| 881 | | --oldin | --oldi | --old | --ol | --o) |
---|
| 882 | ac_prev=oldincludedir ;; |
---|
| 883 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
---|
| 884 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
---|
| 885 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
---|
| 886 | oldincludedir=$ac_optarg ;; |
---|
| 887 | |
---|
| 888 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
---|
| 889 | ac_prev=prefix ;; |
---|
| 890 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
---|
| 891 | prefix=$ac_optarg ;; |
---|
| 892 | |
---|
| 893 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
---|
| 894 | | --program-pre | --program-pr | --program-p) |
---|
| 895 | ac_prev=program_prefix ;; |
---|
| 896 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
---|
| 897 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
---|
| 898 | program_prefix=$ac_optarg ;; |
---|
| 899 | |
---|
| 900 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
---|
| 901 | | --program-suf | --program-su | --program-s) |
---|
| 902 | ac_prev=program_suffix ;; |
---|
| 903 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
---|
| 904 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
---|
| 905 | program_suffix=$ac_optarg ;; |
---|
| 906 | |
---|
| 907 | -program-transform-name | --program-transform-name \ |
---|
| 908 | | --program-transform-nam | --program-transform-na \ |
---|
| 909 | | --program-transform-n | --program-transform- \ |
---|
| 910 | | --program-transform | --program-transfor \ |
---|
| 911 | | --program-transfo | --program-transf \ |
---|
| 912 | | --program-trans | --program-tran \ |
---|
| 913 | | --progr-tra | --program-tr | --program-t) |
---|
| 914 | ac_prev=program_transform_name ;; |
---|
| 915 | -program-transform-name=* | --program-transform-name=* \ |
---|
| 916 | | --program-transform-nam=* | --program-transform-na=* \ |
---|
| 917 | | --program-transform-n=* | --program-transform-=* \ |
---|
| 918 | | --program-transform=* | --program-transfor=* \ |
---|
| 919 | | --program-transfo=* | --program-transf=* \ |
---|
| 920 | | --program-trans=* | --program-tran=* \ |
---|
| 921 | | --progr-tra=* | --program-tr=* | --program-t=*) |
---|
| 922 | program_transform_name=$ac_optarg ;; |
---|
| 923 | |
---|
| 924 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
---|
| 925 | ac_prev=pdfdir ;; |
---|
| 926 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
---|
| 927 | pdfdir=$ac_optarg ;; |
---|
| 928 | |
---|
| 929 | -psdir | --psdir | --psdi | --psd | --ps) |
---|
| 930 | ac_prev=psdir ;; |
---|
| 931 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
---|
| 932 | psdir=$ac_optarg ;; |
---|
| 933 | |
---|
| 934 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
| 935 | | -silent | --silent | --silen | --sile | --sil) |
---|
| 936 | silent=yes ;; |
---|
| 937 | |
---|
| 938 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
---|
| 939 | ac_prev=sbindir ;; |
---|
| 940 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
---|
| 941 | | --sbi=* | --sb=*) |
---|
| 942 | sbindir=$ac_optarg ;; |
---|
| 943 | |
---|
| 944 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
---|
| 945 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
---|
| 946 | | --sharedst | --shareds | --shared | --share | --shar \ |
---|
| 947 | | --sha | --sh) |
---|
| 948 | ac_prev=sharedstatedir ;; |
---|
| 949 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
---|
| 950 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
---|
| 951 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
---|
| 952 | | --sha=* | --sh=*) |
---|
| 953 | sharedstatedir=$ac_optarg ;; |
---|
| 954 | |
---|
| 955 | -site | --site | --sit) |
---|
| 956 | ac_prev=site ;; |
---|
| 957 | -site=* | --site=* | --sit=*) |
---|
| 958 | site=$ac_optarg ;; |
---|
| 959 | |
---|
| 960 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
---|
| 961 | ac_prev=srcdir ;; |
---|
| 962 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
---|
| 963 | srcdir=$ac_optarg ;; |
---|
| 964 | |
---|
| 965 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
---|
| 966 | | --syscon | --sysco | --sysc | --sys | --sy) |
---|
| 967 | ac_prev=sysconfdir ;; |
---|
| 968 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
---|
| 969 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
---|
| 970 | sysconfdir=$ac_optarg ;; |
---|
| 971 | |
---|
| 972 | -target | --target | --targe | --targ | --tar | --ta | --t) |
---|
| 973 | ac_prev=target_alias ;; |
---|
| 974 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
---|
| 975 | target_alias=$ac_optarg ;; |
---|
| 976 | |
---|
| 977 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
---|
| 978 | verbose=yes ;; |
---|
| 979 | |
---|
| 980 | -version | --version | --versio | --versi | --vers | -V) |
---|
| 981 | ac_init_version=: ;; |
---|
| 982 | |
---|
| 983 | -with-* | --with-*) |
---|
| 984 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
---|
| 985 | # Reject names that are not valid shell variable names. |
---|
| 986 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
| 987 | as_fn_error $? "invalid package name: $ac_useropt" |
---|
| 988 | ac_useropt_orig=$ac_useropt |
---|
| 989 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
| 990 | case $ac_user_opts in |
---|
| 991 | *" |
---|
| 992 | "with_$ac_useropt" |
---|
| 993 | "*) ;; |
---|
| 994 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
---|
| 995 | ac_unrecognized_sep=', ';; |
---|
| 996 | esac |
---|
| 997 | eval with_$ac_useropt=\$ac_optarg ;; |
---|
| 998 | |
---|
| 999 | -without-* | --without-*) |
---|
| 1000 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
---|
| 1001 | # Reject names that are not valid shell variable names. |
---|
| 1002 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
| 1003 | as_fn_error $? "invalid package name: $ac_useropt" |
---|
| 1004 | ac_useropt_orig=$ac_useropt |
---|
| 1005 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
| 1006 | case $ac_user_opts in |
---|
| 1007 | *" |
---|
| 1008 | "with_$ac_useropt" |
---|
| 1009 | "*) ;; |
---|
| 1010 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
---|
| 1011 | ac_unrecognized_sep=', ';; |
---|
| 1012 | esac |
---|
| 1013 | eval with_$ac_useropt=no ;; |
---|
| 1014 | |
---|
| 1015 | --x) |
---|
| 1016 | # Obsolete; use --with-x. |
---|
| 1017 | with_x=yes ;; |
---|
| 1018 | |
---|
| 1019 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
---|
| 1020 | | --x-incl | --x-inc | --x-in | --x-i) |
---|
| 1021 | ac_prev=x_includes ;; |
---|
| 1022 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
---|
| 1023 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
---|
| 1024 | x_includes=$ac_optarg ;; |
---|
| 1025 | |
---|
| 1026 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
---|
| 1027 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
---|
| 1028 | ac_prev=x_libraries ;; |
---|
| 1029 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
---|
| 1030 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
---|
| 1031 | x_libraries=$ac_optarg ;; |
---|
| 1032 | |
---|
| 1033 | -*) as_fn_error $? "unrecognized option: \`$ac_option' |
---|
| 1034 | Try \`$0 --help' for more information" |
---|
| 1035 | ;; |
---|
| 1036 | |
---|
| 1037 | *=*) |
---|
| 1038 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
---|
| 1039 | # Reject names that are not valid shell variable names. |
---|
| 1040 | case $ac_envvar in #( |
---|
| 1041 | '' | [0-9]* | *[!_$as_cr_alnum]* ) |
---|
| 1042 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
---|
| 1043 | esac |
---|
| 1044 | eval $ac_envvar=\$ac_optarg |
---|
| 1045 | export $ac_envvar ;; |
---|
| 1046 | |
---|
| 1047 | *) |
---|
| 1048 | # FIXME: should be removed in autoconf 3.0. |
---|
| 1049 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
---|
| 1050 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
---|
| 1051 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
---|
| 1052 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
---|
| 1053 | ;; |
---|
| 1054 | |
---|
| 1055 | esac |
---|
| 1056 | done |
---|
| 1057 | |
---|
| 1058 | if test -n "$ac_prev"; then |
---|
| 1059 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
---|
| 1060 | as_fn_error $? "missing argument to $ac_option" |
---|
| 1061 | fi |
---|
| 1062 | |
---|
| 1063 | if test -n "$ac_unrecognized_opts"; then |
---|
| 1064 | case $enable_option_checking in |
---|
| 1065 | no) ;; |
---|
| 1066 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
---|
| 1067 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
---|
| 1068 | esac |
---|
| 1069 | fi |
---|
| 1070 | |
---|
| 1071 | # Check all directory arguments for consistency. |
---|
| 1072 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
---|
| 1073 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
---|
| 1074 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
---|
| 1075 | libdir localedir mandir |
---|
| 1076 | do |
---|
| 1077 | eval ac_val=\$$ac_var |
---|
| 1078 | # Remove trailing slashes. |
---|
| 1079 | case $ac_val in |
---|
| 1080 | */ ) |
---|
| 1081 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
---|
| 1082 | eval $ac_var=\$ac_val;; |
---|
| 1083 | esac |
---|
| 1084 | # Be sure to have absolute directory names. |
---|
| 1085 | case $ac_val in |
---|
| 1086 | [\\/$]* | ?:[\\/]* ) continue;; |
---|
| 1087 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
---|
| 1088 | esac |
---|
| 1089 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
---|
| 1090 | done |
---|
| 1091 | |
---|
| 1092 | # There might be people who depend on the old broken behavior: `$host' |
---|
| 1093 | # used to hold the argument of --host etc. |
---|
| 1094 | # FIXME: To remove some day. |
---|
| 1095 | build=$build_alias |
---|
| 1096 | host=$host_alias |
---|
| 1097 | target=$target_alias |
---|
| 1098 | |
---|
| 1099 | # FIXME: To remove some day. |
---|
| 1100 | if test "x$host_alias" != x; then |
---|
| 1101 | if test "x$build_alias" = x; then |
---|
| 1102 | cross_compiling=maybe |
---|
| 1103 | $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
---|
| 1104 | If a cross compiler is detected then cross compile mode will be used" >&2 |
---|
| 1105 | elif test "x$build_alias" != "x$host_alias"; then |
---|
| 1106 | cross_compiling=yes |
---|
| 1107 | fi |
---|
| 1108 | fi |
---|
| 1109 | |
---|
| 1110 | ac_tool_prefix= |
---|
| 1111 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
---|
| 1112 | |
---|
| 1113 | test "$silent" = yes && exec 6>/dev/null |
---|
| 1114 | |
---|
| 1115 | |
---|
| 1116 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
---|
| 1117 | ac_ls_di=`ls -di .` && |
---|
| 1118 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
---|
| 1119 | as_fn_error $? "working directory cannot be determined" |
---|
| 1120 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
---|
| 1121 | as_fn_error $? "pwd does not report name of working directory" |
---|
| 1122 | |
---|
| 1123 | |
---|
| 1124 | # Find the source files, if location was not specified. |
---|
| 1125 | if test -z "$srcdir"; then |
---|
| 1126 | ac_srcdir_defaulted=yes |
---|
| 1127 | # Try the directory containing this script, then the parent directory. |
---|
| 1128 | ac_confdir=`$as_dirname -- "$as_myself" || |
---|
| 1129 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 1130 | X"$as_myself" : 'X\(//\)[^/]' \| \ |
---|
| 1131 | X"$as_myself" : 'X\(//\)$' \| \ |
---|
| 1132 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 1133 | $as_echo X"$as_myself" | |
---|
| 1134 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 1135 | s//\1/ |
---|
| 1136 | q |
---|
| 1137 | } |
---|
| 1138 | /^X\(\/\/\)[^/].*/{ |
---|
| 1139 | s//\1/ |
---|
| 1140 | q |
---|
| 1141 | } |
---|
| 1142 | /^X\(\/\/\)$/{ |
---|
| 1143 | s//\1/ |
---|
| 1144 | q |
---|
| 1145 | } |
---|
| 1146 | /^X\(\/\).*/{ |
---|
| 1147 | s//\1/ |
---|
| 1148 | q |
---|
| 1149 | } |
---|
| 1150 | s/.*/./; q'` |
---|
| 1151 | srcdir=$ac_confdir |
---|
| 1152 | if test ! -r "$srcdir/$ac_unique_file"; then |
---|
| 1153 | srcdir=.. |
---|
| 1154 | fi |
---|
| 1155 | else |
---|
| 1156 | ac_srcdir_defaulted=no |
---|
| 1157 | fi |
---|
| 1158 | if test ! -r "$srcdir/$ac_unique_file"; then |
---|
| 1159 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
---|
| 1160 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
---|
| 1161 | fi |
---|
| 1162 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
---|
| 1163 | ac_abs_confdir=`( |
---|
| 1164 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
---|
| 1165 | pwd)` |
---|
| 1166 | # When building in place, set srcdir=. |
---|
| 1167 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
---|
| 1168 | srcdir=. |
---|
| 1169 | fi |
---|
| 1170 | # Remove unnecessary trailing slashes from srcdir. |
---|
| 1171 | # Double slashes in file names in object file debugging info |
---|
| 1172 | # mess up M-x gdb in Emacs. |
---|
| 1173 | case $srcdir in |
---|
| 1174 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
---|
| 1175 | esac |
---|
| 1176 | for ac_var in $ac_precious_vars; do |
---|
| 1177 | eval ac_env_${ac_var}_set=\${${ac_var}+set} |
---|
| 1178 | eval ac_env_${ac_var}_value=\$${ac_var} |
---|
| 1179 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
---|
| 1180 | eval ac_cv_env_${ac_var}_value=\$${ac_var} |
---|
| 1181 | done |
---|
| 1182 | |
---|
| 1183 | # |
---|
| 1184 | # Report the --help message. |
---|
| 1185 | # |
---|
| 1186 | if test "$ac_init_help" = "long"; then |
---|
| 1187 | # Omit some internal or obsolete options to make the list less imposing. |
---|
| 1188 | # This message is too long to be a string in the A/UX 3.1 sh. |
---|
| 1189 | cat <<_ACEOF |
---|
| 1190 | \`configure' configures this package to adapt to many kinds of systems. |
---|
| 1191 | |
---|
| 1192 | Usage: $0 [OPTION]... [VAR=VALUE]... |
---|
| 1193 | |
---|
| 1194 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
---|
| 1195 | VAR=VALUE. See below for descriptions of some of the useful variables. |
---|
| 1196 | |
---|
| 1197 | Defaults for the options are specified in brackets. |
---|
| 1198 | |
---|
| 1199 | Configuration: |
---|
| 1200 | -h, --help display this help and exit |
---|
| 1201 | --help=short display options specific to this package |
---|
| 1202 | --help=recursive display the short help of all the included packages |
---|
| 1203 | -V, --version display version information and exit |
---|
| 1204 | -q, --quiet, --silent do not print \`checking ...' messages |
---|
| 1205 | --cache-file=FILE cache test results in FILE [disabled] |
---|
| 1206 | -C, --config-cache alias for \`--cache-file=config.cache' |
---|
| 1207 | -n, --no-create do not create output files |
---|
| 1208 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
---|
| 1209 | |
---|
| 1210 | Installation directories: |
---|
| 1211 | --prefix=PREFIX install architecture-independent files in PREFIX |
---|
| 1212 | [$ac_default_prefix] |
---|
| 1213 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
---|
| 1214 | [PREFIX] |
---|
| 1215 | |
---|
| 1216 | By default, \`make install' will install all the files in |
---|
| 1217 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
---|
| 1218 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
---|
| 1219 | for instance \`--prefix=\$HOME'. |
---|
| 1220 | |
---|
| 1221 | For better control, use the options below. |
---|
| 1222 | |
---|
| 1223 | Fine tuning of the installation directories: |
---|
| 1224 | --bindir=DIR user executables [EPREFIX/bin] |
---|
| 1225 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
---|
| 1226 | --libexecdir=DIR program executables [EPREFIX/libexec] |
---|
| 1227 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
---|
| 1228 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
---|
| 1229 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
---|
| 1230 | --libdir=DIR object code libraries [EPREFIX/lib] |
---|
| 1231 | --includedir=DIR C header files [PREFIX/include] |
---|
| 1232 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
---|
| 1233 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
---|
| 1234 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
---|
| 1235 | --infodir=DIR info documentation [DATAROOTDIR/info] |
---|
| 1236 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
---|
| 1237 | --mandir=DIR man documentation [DATAROOTDIR/man] |
---|
| 1238 | --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] |
---|
| 1239 | --htmldir=DIR html documentation [DOCDIR] |
---|
| 1240 | --dvidir=DIR dvi documentation [DOCDIR] |
---|
| 1241 | --pdfdir=DIR pdf documentation [DOCDIR] |
---|
| 1242 | --psdir=DIR ps documentation [DOCDIR] |
---|
| 1243 | _ACEOF |
---|
| 1244 | |
---|
| 1245 | cat <<\_ACEOF |
---|
| 1246 | |
---|
| 1247 | Program names: |
---|
| 1248 | --program-prefix=PREFIX prepend PREFIX to installed program names |
---|
| 1249 | --program-suffix=SUFFIX append SUFFIX to installed program names |
---|
| 1250 | --program-transform-name=PROGRAM run sed PROGRAM on installed program names |
---|
| 1251 | |
---|
| 1252 | System types: |
---|
| 1253 | --build=BUILD configure for building on BUILD [guessed] |
---|
| 1254 | --host=HOST cross-compile to build programs to run on HOST [BUILD] |
---|
| 1255 | --target=TARGET configure for building compilers for TARGET [HOST] |
---|
| 1256 | _ACEOF |
---|
| 1257 | fi |
---|
| 1258 | |
---|
| 1259 | if test -n "$ac_init_help"; then |
---|
| 1260 | |
---|
| 1261 | cat <<\_ACEOF |
---|
| 1262 | |
---|
| 1263 | Optional Features: |
---|
| 1264 | --disable-option-checking ignore unrecognized --enable/--with options |
---|
| 1265 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
---|
| 1266 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
---|
| 1267 | --disable-dependency-tracking speeds up one-time build |
---|
| 1268 | --enable-dependency-tracking do not reject slow dependency extractors |
---|
| 1269 | |
---|
| 1270 | Some influential environment variables: |
---|
| 1271 | CCAS assembler compiler command (defaults to CC) |
---|
| 1272 | CCASFLAGS assembler compiler flags (defaults to CFLAGS) |
---|
| 1273 | |
---|
| 1274 | Use these variables to override the choices made by `configure' or to help |
---|
| 1275 | it to find libraries and programs with nonstandard names/locations. |
---|
| 1276 | |
---|
| 1277 | Report bugs to the package provider. |
---|
| 1278 | _ACEOF |
---|
| 1279 | ac_status=$? |
---|
| 1280 | fi |
---|
| 1281 | |
---|
| 1282 | if test "$ac_init_help" = "recursive"; then |
---|
| 1283 | # If there are subdirs, report their specific --help. |
---|
| 1284 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
---|
| 1285 | test -d "$ac_dir" || |
---|
| 1286 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
---|
| 1287 | continue |
---|
| 1288 | ac_builddir=. |
---|
| 1289 | |
---|
| 1290 | case "$ac_dir" in |
---|
| 1291 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
| 1292 | *) |
---|
| 1293 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
---|
| 1294 | # A ".." for each directory in $ac_dir_suffix. |
---|
| 1295 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
---|
| 1296 | case $ac_top_builddir_sub in |
---|
| 1297 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
| 1298 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
---|
| 1299 | esac ;; |
---|
| 1300 | esac |
---|
| 1301 | ac_abs_top_builddir=$ac_pwd |
---|
| 1302 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
---|
| 1303 | # for backward compatibility: |
---|
| 1304 | ac_top_builddir=$ac_top_build_prefix |
---|
| 1305 | |
---|
| 1306 | case $srcdir in |
---|
| 1307 | .) # We are building in place. |
---|
| 1308 | ac_srcdir=. |
---|
| 1309 | ac_top_srcdir=$ac_top_builddir_sub |
---|
| 1310 | ac_abs_top_srcdir=$ac_pwd ;; |
---|
| 1311 | [\\/]* | ?:[\\/]* ) # Absolute name. |
---|
| 1312 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
| 1313 | ac_top_srcdir=$srcdir |
---|
| 1314 | ac_abs_top_srcdir=$srcdir ;; |
---|
| 1315 | *) # Relative name. |
---|
| 1316 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
---|
| 1317 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
---|
| 1318 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
---|
| 1319 | esac |
---|
| 1320 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
---|
| 1321 | |
---|
| 1322 | cd "$ac_dir" || { ac_status=$?; continue; } |
---|
| 1323 | # Check for guested configure. |
---|
| 1324 | if test -f "$ac_srcdir/configure.gnu"; then |
---|
| 1325 | echo && |
---|
| 1326 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
---|
| 1327 | elif test -f "$ac_srcdir/configure"; then |
---|
| 1328 | echo && |
---|
| 1329 | $SHELL "$ac_srcdir/configure" --help=recursive |
---|
| 1330 | else |
---|
| 1331 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
---|
| 1332 | fi || ac_status=$? |
---|
| 1333 | cd "$ac_pwd" || { ac_status=$?; break; } |
---|
| 1334 | done |
---|
| 1335 | fi |
---|
| 1336 | |
---|
| 1337 | test -n "$ac_init_help" && exit $ac_status |
---|
| 1338 | if $ac_init_version; then |
---|
| 1339 | cat <<\_ACEOF |
---|
| 1340 | configure |
---|
| 1341 | generated by GNU Autoconf 2.68 |
---|
| 1342 | |
---|
| 1343 | Copyright (C) 2010 Free Software Foundation, Inc. |
---|
| 1344 | This configure script is free software; the Free Software Foundation |
---|
| 1345 | gives unlimited permission to copy, distribute and modify it. |
---|
| 1346 | _ACEOF |
---|
| 1347 | exit |
---|
| 1348 | fi |
---|
| 1349 | |
---|
| 1350 | ## ------------------------ ## |
---|
| 1351 | ## Autoconf initialization. ## |
---|
| 1352 | ## ------------------------ ## |
---|
| 1353 | |
---|
| 1354 | # ac_fn_c_try_compile LINENO |
---|
| 1355 | # -------------------------- |
---|
| 1356 | # Try to compile conftest.$ac_ext, and return whether this succeeded. |
---|
| 1357 | ac_fn_c_try_compile () |
---|
| 1358 | { |
---|
| 1359 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
| 1360 | rm -f conftest.$ac_objext |
---|
| 1361 | if { { ac_try="$ac_compile" |
---|
| 1362 | case "(($ac_try" in |
---|
| 1363 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 1364 | *) ac_try_echo=$ac_try;; |
---|
| 1365 | esac |
---|
| 1366 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 1367 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 1368 | (eval "$ac_compile") 2>conftest.err |
---|
| 1369 | ac_status=$? |
---|
| 1370 | if test -s conftest.err; then |
---|
| 1371 | grep -v '^ *+' conftest.err >conftest.er1 |
---|
| 1372 | cat conftest.er1 >&5 |
---|
| 1373 | mv -f conftest.er1 conftest.err |
---|
| 1374 | fi |
---|
| 1375 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 1376 | test $ac_status = 0; } && { |
---|
| 1377 | test -z "$ac_c_werror_flag" || |
---|
| 1378 | test ! -s conftest.err |
---|
| 1379 | } && test -s conftest.$ac_objext; then : |
---|
| 1380 | ac_retval=0 |
---|
| 1381 | else |
---|
| 1382 | $as_echo "$as_me: failed program was:" >&5 |
---|
| 1383 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 1384 | |
---|
| 1385 | ac_retval=1 |
---|
| 1386 | fi |
---|
| 1387 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
| 1388 | as_fn_set_status $ac_retval |
---|
| 1389 | |
---|
| 1390 | } # ac_fn_c_try_compile |
---|
| 1391 | cat >config.log <<_ACEOF |
---|
| 1392 | This file contains any messages produced by compilers while |
---|
| 1393 | running configure, to aid debugging if configure makes a mistake. |
---|
| 1394 | |
---|
| 1395 | It was created by $as_me, which was |
---|
| 1396 | generated by GNU Autoconf 2.68. Invocation command line was |
---|
| 1397 | |
---|
| 1398 | $ $0 $@ |
---|
| 1399 | |
---|
| 1400 | _ACEOF |
---|
| 1401 | exec 5>>config.log |
---|
| 1402 | { |
---|
| 1403 | cat <<_ASUNAME |
---|
| 1404 | ## --------- ## |
---|
| 1405 | ## Platform. ## |
---|
| 1406 | ## --------- ## |
---|
| 1407 | |
---|
| 1408 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
| 1409 | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
---|
| 1410 | uname -r = `(uname -r) 2>/dev/null || echo unknown` |
---|
| 1411 | uname -s = `(uname -s) 2>/dev/null || echo unknown` |
---|
| 1412 | uname -v = `(uname -v) 2>/dev/null || echo unknown` |
---|
| 1413 | |
---|
| 1414 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
---|
| 1415 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
---|
| 1416 | |
---|
| 1417 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
---|
| 1418 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
---|
| 1419 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
---|
| 1420 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
---|
| 1421 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
---|
| 1422 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
---|
| 1423 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
---|
| 1424 | |
---|
| 1425 | _ASUNAME |
---|
| 1426 | |
---|
| 1427 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 1428 | for as_dir in $PATH |
---|
| 1429 | do |
---|
| 1430 | IFS=$as_save_IFS |
---|
| 1431 | test -z "$as_dir" && as_dir=. |
---|
| 1432 | $as_echo "PATH: $as_dir" |
---|
| 1433 | done |
---|
| 1434 | IFS=$as_save_IFS |
---|
| 1435 | |
---|
| 1436 | } >&5 |
---|
| 1437 | |
---|
| 1438 | cat >&5 <<_ACEOF |
---|
| 1439 | |
---|
| 1440 | |
---|
| 1441 | ## ----------- ## |
---|
| 1442 | ## Core tests. ## |
---|
| 1443 | ## ----------- ## |
---|
| 1444 | |
---|
| 1445 | _ACEOF |
---|
| 1446 | |
---|
| 1447 | |
---|
| 1448 | # Keep a trace of the command line. |
---|
| 1449 | # Strip out --no-create and --no-recursion so they do not pile up. |
---|
| 1450 | # Strip out --silent because we don't want to record it for future runs. |
---|
| 1451 | # Also quote any args containing shell meta-characters. |
---|
| 1452 | # Make two passes to allow for proper duplicate-argument suppression. |
---|
| 1453 | ac_configure_args= |
---|
| 1454 | ac_configure_args0= |
---|
| 1455 | ac_configure_args1= |
---|
| 1456 | ac_must_keep_next=false |
---|
| 1457 | for ac_pass in 1 2 |
---|
| 1458 | do |
---|
| 1459 | for ac_arg |
---|
| 1460 | do |
---|
| 1461 | case $ac_arg in |
---|
| 1462 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
---|
| 1463 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
| 1464 | | -silent | --silent | --silen | --sile | --sil) |
---|
| 1465 | continue ;; |
---|
| 1466 | *\'*) |
---|
| 1467 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
| 1468 | esac |
---|
| 1469 | case $ac_pass in |
---|
| 1470 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
---|
| 1471 | 2) |
---|
| 1472 | as_fn_append ac_configure_args1 " '$ac_arg'" |
---|
| 1473 | if test $ac_must_keep_next = true; then |
---|
| 1474 | ac_must_keep_next=false # Got value, back to normal. |
---|
| 1475 | else |
---|
| 1476 | case $ac_arg in |
---|
| 1477 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
---|
| 1478 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
---|
| 1479 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
---|
| 1480 | | -with-* | --with-* | -without-* | --without-* | --x) |
---|
| 1481 | case "$ac_configure_args0 " in |
---|
| 1482 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
---|
| 1483 | esac |
---|
| 1484 | ;; |
---|
| 1485 | -* ) ac_must_keep_next=true ;; |
---|
| 1486 | esac |
---|
| 1487 | fi |
---|
| 1488 | as_fn_append ac_configure_args " '$ac_arg'" |
---|
| 1489 | ;; |
---|
| 1490 | esac |
---|
| 1491 | done |
---|
| 1492 | done |
---|
| 1493 | { ac_configure_args0=; unset ac_configure_args0;} |
---|
| 1494 | { ac_configure_args1=; unset ac_configure_args1;} |
---|
| 1495 | |
---|
| 1496 | # When interrupted or exit'd, cleanup temporary files, and complete |
---|
| 1497 | # config.log. We remove comments because anyway the quotes in there |
---|
| 1498 | # would cause problems or look ugly. |
---|
| 1499 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
---|
| 1500 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
---|
| 1501 | trap 'exit_status=$? |
---|
| 1502 | # Save into config.log some information that might help in debugging. |
---|
| 1503 | { |
---|
| 1504 | echo |
---|
| 1505 | |
---|
| 1506 | $as_echo "## ---------------- ## |
---|
| 1507 | ## Cache variables. ## |
---|
| 1508 | ## ---------------- ##" |
---|
| 1509 | echo |
---|
| 1510 | # The following way of writing the cache mishandles newlines in values, |
---|
| 1511 | ( |
---|
| 1512 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
---|
| 1513 | eval ac_val=\$$ac_var |
---|
| 1514 | case $ac_val in #( |
---|
| 1515 | *${as_nl}*) |
---|
| 1516 | case $ac_var in #( |
---|
| 1517 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
---|
| 1518 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
---|
| 1519 | esac |
---|
| 1520 | case $ac_var in #( |
---|
| 1521 | _ | IFS | as_nl) ;; #( |
---|
| 1522 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
---|
| 1523 | *) { eval $ac_var=; unset $ac_var;} ;; |
---|
| 1524 | esac ;; |
---|
| 1525 | esac |
---|
| 1526 | done |
---|
| 1527 | (set) 2>&1 | |
---|
| 1528 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
---|
| 1529 | *${as_nl}ac_space=\ *) |
---|
| 1530 | sed -n \ |
---|
| 1531 | "s/'\''/'\''\\\\'\'''\''/g; |
---|
| 1532 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
---|
| 1533 | ;; #( |
---|
| 1534 | *) |
---|
| 1535 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
---|
| 1536 | ;; |
---|
| 1537 | esac | |
---|
| 1538 | sort |
---|
| 1539 | ) |
---|
| 1540 | echo |
---|
| 1541 | |
---|
| 1542 | $as_echo "## ----------------- ## |
---|
| 1543 | ## Output variables. ## |
---|
| 1544 | ## ----------------- ##" |
---|
| 1545 | echo |
---|
| 1546 | for ac_var in $ac_subst_vars |
---|
| 1547 | do |
---|
| 1548 | eval ac_val=\$$ac_var |
---|
| 1549 | case $ac_val in |
---|
| 1550 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
---|
| 1551 | esac |
---|
| 1552 | $as_echo "$ac_var='\''$ac_val'\''" |
---|
| 1553 | done | sort |
---|
| 1554 | echo |
---|
| 1555 | |
---|
| 1556 | if test -n "$ac_subst_files"; then |
---|
| 1557 | $as_echo "## ------------------- ## |
---|
| 1558 | ## File substitutions. ## |
---|
| 1559 | ## ------------------- ##" |
---|
| 1560 | echo |
---|
| 1561 | for ac_var in $ac_subst_files |
---|
| 1562 | do |
---|
| 1563 | eval ac_val=\$$ac_var |
---|
| 1564 | case $ac_val in |
---|
| 1565 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
---|
| 1566 | esac |
---|
| 1567 | $as_echo "$ac_var='\''$ac_val'\''" |
---|
| 1568 | done | sort |
---|
| 1569 | echo |
---|
| 1570 | fi |
---|
| 1571 | |
---|
| 1572 | if test -s confdefs.h; then |
---|
| 1573 | $as_echo "## ----------- ## |
---|
| 1574 | ## confdefs.h. ## |
---|
| 1575 | ## ----------- ##" |
---|
| 1576 | echo |
---|
| 1577 | cat confdefs.h |
---|
| 1578 | echo |
---|
| 1579 | fi |
---|
| 1580 | test "$ac_signal" != 0 && |
---|
| 1581 | $as_echo "$as_me: caught signal $ac_signal" |
---|
| 1582 | $as_echo "$as_me: exit $exit_status" |
---|
| 1583 | } >&5 |
---|
| 1584 | rm -f core *.core core.conftest.* && |
---|
| 1585 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
---|
| 1586 | exit $exit_status |
---|
| 1587 | ' 0 |
---|
| 1588 | for ac_signal in 1 2 13 15; do |
---|
| 1589 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
---|
| 1590 | done |
---|
| 1591 | ac_signal=0 |
---|
| 1592 | |
---|
| 1593 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
---|
| 1594 | rm -f -r conftest* confdefs.h |
---|
| 1595 | |
---|
| 1596 | $as_echo "/* confdefs.h */" > confdefs.h |
---|
| 1597 | |
---|
| 1598 | # Predefined preprocessor variables. |
---|
| 1599 | |
---|
| 1600 | cat >>confdefs.h <<_ACEOF |
---|
| 1601 | #define PACKAGE_NAME "$PACKAGE_NAME" |
---|
| 1602 | _ACEOF |
---|
| 1603 | |
---|
| 1604 | cat >>confdefs.h <<_ACEOF |
---|
| 1605 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
---|
| 1606 | _ACEOF |
---|
| 1607 | |
---|
| 1608 | cat >>confdefs.h <<_ACEOF |
---|
| 1609 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
---|
| 1610 | _ACEOF |
---|
| 1611 | |
---|
| 1612 | cat >>confdefs.h <<_ACEOF |
---|
| 1613 | #define PACKAGE_STRING "$PACKAGE_STRING" |
---|
| 1614 | _ACEOF |
---|
| 1615 | |
---|
| 1616 | cat >>confdefs.h <<_ACEOF |
---|
| 1617 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
---|
| 1618 | _ACEOF |
---|
| 1619 | |
---|
| 1620 | cat >>confdefs.h <<_ACEOF |
---|
| 1621 | #define PACKAGE_URL "$PACKAGE_URL" |
---|
| 1622 | _ACEOF |
---|
| 1623 | |
---|
| 1624 | |
---|
| 1625 | # Let the site file select an alternate cache file if it wants to. |
---|
| 1626 | # Prefer an explicitly selected file to automatically selected ones. |
---|
| 1627 | ac_site_file1=NONE |
---|
| 1628 | ac_site_file2=NONE |
---|
| 1629 | if test -n "$CONFIG_SITE"; then |
---|
| 1630 | # We do not want a PATH search for config.site. |
---|
| 1631 | case $CONFIG_SITE in #(( |
---|
| 1632 | -*) ac_site_file1=./$CONFIG_SITE;; |
---|
| 1633 | */*) ac_site_file1=$CONFIG_SITE;; |
---|
| 1634 | *) ac_site_file1=./$CONFIG_SITE;; |
---|
| 1635 | esac |
---|
| 1636 | elif test "x$prefix" != xNONE; then |
---|
| 1637 | ac_site_file1=$prefix/share/config.site |
---|
| 1638 | ac_site_file2=$prefix/etc/config.site |
---|
| 1639 | else |
---|
| 1640 | ac_site_file1=$ac_default_prefix/share/config.site |
---|
| 1641 | ac_site_file2=$ac_default_prefix/etc/config.site |
---|
| 1642 | fi |
---|
| 1643 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
---|
| 1644 | do |
---|
| 1645 | test "x$ac_site_file" = xNONE && continue |
---|
| 1646 | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
---|
| 1647 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
---|
| 1648 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
---|
| 1649 | sed 's/^/| /' "$ac_site_file" >&5 |
---|
| 1650 | . "$ac_site_file" \ |
---|
| 1651 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
| 1652 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
| 1653 | as_fn_error $? "failed to load site script $ac_site_file |
---|
| 1654 | See \`config.log' for more details" "$LINENO" 5; } |
---|
| 1655 | fi |
---|
| 1656 | done |
---|
| 1657 | |
---|
| 1658 | if test -r "$cache_file"; then |
---|
| 1659 | # Some versions of bash will fail to source /dev/null (special files |
---|
| 1660 | # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
---|
| 1661 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
---|
| 1662 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
---|
| 1663 | $as_echo "$as_me: loading cache $cache_file" >&6;} |
---|
| 1664 | case $cache_file in |
---|
| 1665 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
---|
| 1666 | *) . "./$cache_file";; |
---|
| 1667 | esac |
---|
| 1668 | fi |
---|
| 1669 | else |
---|
| 1670 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
---|
| 1671 | $as_echo "$as_me: creating cache $cache_file" >&6;} |
---|
| 1672 | >$cache_file |
---|
| 1673 | fi |
---|
| 1674 | |
---|
| 1675 | # Check that the precious variables saved in the cache have kept the same |
---|
| 1676 | # value. |
---|
| 1677 | ac_cache_corrupted=false |
---|
| 1678 | for ac_var in $ac_precious_vars; do |
---|
| 1679 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
---|
| 1680 | eval ac_new_set=\$ac_env_${ac_var}_set |
---|
| 1681 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
---|
| 1682 | eval ac_new_val=\$ac_env_${ac_var}_value |
---|
| 1683 | case $ac_old_set,$ac_new_set in |
---|
| 1684 | set,) |
---|
| 1685 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
---|
| 1686 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
---|
| 1687 | ac_cache_corrupted=: ;; |
---|
| 1688 | ,set) |
---|
| 1689 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
---|
| 1690 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
---|
| 1691 | ac_cache_corrupted=: ;; |
---|
| 1692 | ,);; |
---|
| 1693 | *) |
---|
| 1694 | if test "x$ac_old_val" != "x$ac_new_val"; then |
---|
| 1695 | # differences in whitespace do not lead to failure. |
---|
| 1696 | ac_old_val_w=`echo x $ac_old_val` |
---|
| 1697 | ac_new_val_w=`echo x $ac_new_val` |
---|
| 1698 | if test "$ac_old_val_w" != "$ac_new_val_w"; then |
---|
| 1699 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
---|
| 1700 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
---|
| 1701 | ac_cache_corrupted=: |
---|
| 1702 | else |
---|
| 1703 | { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
---|
| 1704 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
---|
| 1705 | eval $ac_var=\$ac_old_val |
---|
| 1706 | fi |
---|
| 1707 | { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
---|
| 1708 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
---|
| 1709 | { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
---|
| 1710 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
---|
| 1711 | fi;; |
---|
| 1712 | esac |
---|
| 1713 | # Pass precious variables to config.status. |
---|
| 1714 | if test "$ac_new_set" = set; then |
---|
| 1715 | case $ac_new_val in |
---|
| 1716 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
| 1717 | *) ac_arg=$ac_var=$ac_new_val ;; |
---|
| 1718 | esac |
---|
| 1719 | case " $ac_configure_args " in |
---|
| 1720 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
---|
| 1721 | *) as_fn_append ac_configure_args " '$ac_arg'" ;; |
---|
| 1722 | esac |
---|
| 1723 | fi |
---|
| 1724 | done |
---|
| 1725 | if $ac_cache_corrupted; then |
---|
| 1726 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
| 1727 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
| 1728 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
---|
| 1729 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
---|
| 1730 | as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
---|
| 1731 | fi |
---|
| 1732 | ## -------------------- ## |
---|
| 1733 | ## Main body of script. ## |
---|
| 1734 | ## -------------------- ## |
---|
| 1735 | |
---|
| 1736 | ac_ext=c |
---|
| 1737 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 1738 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 1739 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 1740 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
| 1741 | |
---|
| 1742 | |
---|
| 1743 | |
---|
| 1744 | if test "${enable_shared}" = "yes" ; then |
---|
| 1745 | echo "Shared libraries not supported for cross compiling, ignored" |
---|
| 1746 | fi |
---|
| 1747 | |
---|
| 1748 | if test "$srcdir" = "." ; then |
---|
| 1749 | if test "${with_target_subdir}" != "." ; then |
---|
| 1750 | libgloss_topdir="${srcdir}/${with_multisrctop}../../.." |
---|
| 1751 | else |
---|
| 1752 | libgloss_topdir="${srcdir}/${with_multisrctop}../.." |
---|
| 1753 | fi |
---|
| 1754 | else |
---|
| 1755 | libgloss_topdir="${srcdir}/../.." |
---|
| 1756 | fi |
---|
| 1757 | ac_aux_dir= |
---|
| 1758 | for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do |
---|
| 1759 | if test -f "$ac_dir/install-sh"; then |
---|
| 1760 | ac_aux_dir=$ac_dir |
---|
| 1761 | ac_install_sh="$ac_aux_dir/install-sh -c" |
---|
| 1762 | break |
---|
| 1763 | elif test -f "$ac_dir/install.sh"; then |
---|
| 1764 | ac_aux_dir=$ac_dir |
---|
| 1765 | ac_install_sh="$ac_aux_dir/install.sh -c" |
---|
| 1766 | break |
---|
| 1767 | elif test -f "$ac_dir/shtool"; then |
---|
| 1768 | ac_aux_dir=$ac_dir |
---|
| 1769 | ac_install_sh="$ac_aux_dir/shtool install -c" |
---|
| 1770 | break |
---|
| 1771 | fi |
---|
| 1772 | done |
---|
| 1773 | if test -z "$ac_aux_dir"; then |
---|
| 1774 | as_fn_error $? "cannot find install-sh, install.sh, or shtool in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" "$LINENO" 5 |
---|
| 1775 | fi |
---|
| 1776 | |
---|
| 1777 | # These three variables are undocumented and unsupported, |
---|
| 1778 | # and are intended to be withdrawn in a future Autoconf release. |
---|
| 1779 | # They can cause serious problems if a builder's source tree is in a directory |
---|
| 1780 | # whose full name contains unusual characters. |
---|
| 1781 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
---|
| 1782 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
---|
| 1783 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
---|
| 1784 | |
---|
| 1785 | |
---|
| 1786 | |
---|
| 1787 | # Make sure we can run config.sub. |
---|
| 1788 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
---|
| 1789 | as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
---|
| 1790 | |
---|
| 1791 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
---|
| 1792 | $as_echo_n "checking build system type... " >&6; } |
---|
| 1793 | if ${ac_cv_build+:} false; then : |
---|
| 1794 | $as_echo_n "(cached) " >&6 |
---|
| 1795 | else |
---|
| 1796 | ac_build_alias=$build_alias |
---|
| 1797 | test "x$ac_build_alias" = x && |
---|
| 1798 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
---|
| 1799 | test "x$ac_build_alias" = x && |
---|
| 1800 | as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 |
---|
| 1801 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
---|
| 1802 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
---|
| 1803 | |
---|
| 1804 | fi |
---|
| 1805 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
---|
| 1806 | $as_echo "$ac_cv_build" >&6; } |
---|
| 1807 | case $ac_cv_build in |
---|
| 1808 | *-*-*) ;; |
---|
| 1809 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; |
---|
| 1810 | esac |
---|
| 1811 | build=$ac_cv_build |
---|
| 1812 | ac_save_IFS=$IFS; IFS='-' |
---|
| 1813 | set x $ac_cv_build |
---|
| 1814 | shift |
---|
| 1815 | build_cpu=$1 |
---|
| 1816 | build_vendor=$2 |
---|
| 1817 | shift; shift |
---|
| 1818 | # Remember, the first character of IFS is used to create $*, |
---|
| 1819 | # except with old shells: |
---|
| 1820 | build_os=$* |
---|
| 1821 | IFS=$ac_save_IFS |
---|
| 1822 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
---|
| 1823 | |
---|
| 1824 | |
---|
| 1825 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
---|
| 1826 | $as_echo_n "checking host system type... " >&6; } |
---|
| 1827 | if ${ac_cv_host+:} false; then : |
---|
| 1828 | $as_echo_n "(cached) " >&6 |
---|
| 1829 | else |
---|
| 1830 | if test "x$host_alias" = x; then |
---|
| 1831 | ac_cv_host=$ac_cv_build |
---|
| 1832 | else |
---|
| 1833 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
---|
| 1834 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
---|
| 1835 | fi |
---|
| 1836 | |
---|
| 1837 | fi |
---|
| 1838 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
---|
| 1839 | $as_echo "$ac_cv_host" >&6; } |
---|
| 1840 | case $ac_cv_host in |
---|
| 1841 | *-*-*) ;; |
---|
| 1842 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; |
---|
| 1843 | esac |
---|
| 1844 | host=$ac_cv_host |
---|
| 1845 | ac_save_IFS=$IFS; IFS='-' |
---|
| 1846 | set x $ac_cv_host |
---|
| 1847 | shift |
---|
| 1848 | host_cpu=$1 |
---|
| 1849 | host_vendor=$2 |
---|
| 1850 | shift; shift |
---|
| 1851 | # Remember, the first character of IFS is used to create $*, |
---|
| 1852 | # except with old shells: |
---|
| 1853 | host_os=$* |
---|
| 1854 | IFS=$ac_save_IFS |
---|
| 1855 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
---|
| 1856 | |
---|
| 1857 | |
---|
| 1858 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 |
---|
| 1859 | $as_echo_n "checking target system type... " >&6; } |
---|
| 1860 | if ${ac_cv_target+:} false; then : |
---|
| 1861 | $as_echo_n "(cached) " >&6 |
---|
| 1862 | else |
---|
| 1863 | if test "x$target_alias" = x; then |
---|
| 1864 | ac_cv_target=$ac_cv_host |
---|
| 1865 | else |
---|
| 1866 | ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || |
---|
| 1867 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 |
---|
| 1868 | fi |
---|
| 1869 | |
---|
| 1870 | fi |
---|
| 1871 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 |
---|
| 1872 | $as_echo "$ac_cv_target" >&6; } |
---|
| 1873 | case $ac_cv_target in |
---|
| 1874 | *-*-*) ;; |
---|
| 1875 | *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; |
---|
| 1876 | esac |
---|
| 1877 | target=$ac_cv_target |
---|
| 1878 | ac_save_IFS=$IFS; IFS='-' |
---|
| 1879 | set x $ac_cv_target |
---|
| 1880 | shift |
---|
| 1881 | target_cpu=$1 |
---|
| 1882 | target_vendor=$2 |
---|
| 1883 | shift; shift |
---|
| 1884 | # Remember, the first character of IFS is used to create $*, |
---|
| 1885 | # except with old shells: |
---|
| 1886 | target_os=$* |
---|
| 1887 | IFS=$ac_save_IFS |
---|
| 1888 | case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac |
---|
| 1889 | |
---|
| 1890 | |
---|
| 1891 | # The aliases save the names the user supplied, while $host etc. |
---|
| 1892 | # will get canonicalized. |
---|
| 1893 | test -n "$target_alias" && |
---|
| 1894 | test "$program_prefix$program_suffix$program_transform_name" = \ |
---|
| 1895 | NONENONEs,x,x, && |
---|
| 1896 | program_prefix=${target_alias}- |
---|
| 1897 | |
---|
| 1898 | test "$program_prefix" != NONE && |
---|
| 1899 | program_transform_name="s&^&$program_prefix&;$program_transform_name" |
---|
| 1900 | # Use a double $ so make ignores it. |
---|
| 1901 | test "$program_suffix" != NONE && |
---|
| 1902 | program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
---|
| 1903 | # Double any \ or $. |
---|
| 1904 | # By default was `s,x,x', remove it if useless. |
---|
| 1905 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
---|
| 1906 | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
---|
| 1907 | |
---|
| 1908 | |
---|
| 1909 | # Find a good install program. We prefer a C program (faster), |
---|
| 1910 | # so one script is as good as another. But avoid the broken or |
---|
| 1911 | # incompatible versions: |
---|
| 1912 | # SysV /etc/install, /usr/sbin/install |
---|
| 1913 | # SunOS /usr/etc/install |
---|
| 1914 | # IRIX /sbin/install |
---|
| 1915 | # AIX /bin/install |
---|
| 1916 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
---|
| 1917 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
---|
| 1918 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
---|
| 1919 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
---|
| 1920 | # OS/2's system install, which has a completely different semantic |
---|
| 1921 | # ./install, which can be erroneously created by make from ./install.sh. |
---|
| 1922 | # Reject install programs that cannot install multiple files. |
---|
| 1923 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
---|
| 1924 | $as_echo_n "checking for a BSD-compatible install... " >&6; } |
---|
| 1925 | if test -z "$INSTALL"; then |
---|
| 1926 | if ${ac_cv_path_install+:} false; then : |
---|
| 1927 | $as_echo_n "(cached) " >&6 |
---|
| 1928 | else |
---|
| 1929 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 1930 | for as_dir in $PATH |
---|
| 1931 | do |
---|
| 1932 | IFS=$as_save_IFS |
---|
| 1933 | test -z "$as_dir" && as_dir=. |
---|
| 1934 | # Account for people who put trailing slashes in PATH elements. |
---|
| 1935 | case $as_dir/ in #(( |
---|
| 1936 | ./ | .// | /[cC]/* | \ |
---|
| 1937 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
---|
| 1938 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
---|
| 1939 | /usr/ucb/* ) ;; |
---|
| 1940 | *) |
---|
| 1941 | # OSF1 and SCO ODT 3.0 have their own names for install. |
---|
| 1942 | # Don't use installbsd from OSF since it installs stuff as root |
---|
| 1943 | # by default. |
---|
| 1944 | for ac_prog in ginstall scoinst install; do |
---|
| 1945 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 1946 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
---|
| 1947 | if test $ac_prog = install && |
---|
| 1948 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
---|
| 1949 | # AIX install. It has an incompatible calling convention. |
---|
| 1950 | : |
---|
| 1951 | elif test $ac_prog = install && |
---|
| 1952 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
---|
| 1953 | # program-specific install script used by HP pwplus--don't use. |
---|
| 1954 | : |
---|
| 1955 | else |
---|
| 1956 | rm -rf conftest.one conftest.two conftest.dir |
---|
| 1957 | echo one > conftest.one |
---|
| 1958 | echo two > conftest.two |
---|
| 1959 | mkdir conftest.dir |
---|
| 1960 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
---|
| 1961 | test -s conftest.one && test -s conftest.two && |
---|
| 1962 | test -s conftest.dir/conftest.one && |
---|
| 1963 | test -s conftest.dir/conftest.two |
---|
| 1964 | then |
---|
| 1965 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
---|
| 1966 | break 3 |
---|
| 1967 | fi |
---|
| 1968 | fi |
---|
| 1969 | fi |
---|
| 1970 | done |
---|
| 1971 | done |
---|
| 1972 | ;; |
---|
| 1973 | esac |
---|
| 1974 | |
---|
| 1975 | done |
---|
| 1976 | IFS=$as_save_IFS |
---|
| 1977 | |
---|
| 1978 | rm -rf conftest.one conftest.two conftest.dir |
---|
| 1979 | |
---|
| 1980 | fi |
---|
| 1981 | if test "${ac_cv_path_install+set}" = set; then |
---|
| 1982 | INSTALL=$ac_cv_path_install |
---|
| 1983 | else |
---|
| 1984 | # As a last resort, use the slow shell script. Don't cache a |
---|
| 1985 | # value for INSTALL within a source directory, because that will |
---|
| 1986 | # break other packages using the cache if that directory is |
---|
| 1987 | # removed, or if the value is a relative name. |
---|
| 1988 | INSTALL=$ac_install_sh |
---|
| 1989 | fi |
---|
| 1990 | fi |
---|
| 1991 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
---|
| 1992 | $as_echo "$INSTALL" >&6; } |
---|
| 1993 | |
---|
| 1994 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
---|
| 1995 | # It thinks the first close brace ends the variable substitution. |
---|
| 1996 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
---|
| 1997 | |
---|
| 1998 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
---|
| 1999 | |
---|
| 2000 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
---|
| 2001 | |
---|
| 2002 | |
---|
| 2003 | rm -rf .tst 2>/dev/null |
---|
| 2004 | mkdir .tst 2>/dev/null |
---|
| 2005 | if test -d .tst; then |
---|
| 2006 | am__leading_dot=. |
---|
| 2007 | else |
---|
| 2008 | am__leading_dot=_ |
---|
| 2009 | fi |
---|
| 2010 | rmdir .tst 2>/dev/null |
---|
| 2011 | |
---|
| 2012 | DEPDIR="${am__leading_dot}deps" |
---|
| 2013 | |
---|
| 2014 | ac_config_commands="$ac_config_commands depfiles" |
---|
| 2015 | |
---|
| 2016 | |
---|
| 2017 | am_make=${MAKE-make} |
---|
| 2018 | cat > confinc << 'END' |
---|
| 2019 | am__doit: |
---|
| 2020 | @echo this is the am__doit target |
---|
| 2021 | .PHONY: am__doit |
---|
| 2022 | END |
---|
| 2023 | # If we don't find an include directive, just comment out the code. |
---|
| 2024 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
---|
| 2025 | $as_echo_n "checking for style of include used by $am_make... " >&6; } |
---|
| 2026 | am__include="#" |
---|
| 2027 | am__quote= |
---|
| 2028 | _am_result=none |
---|
| 2029 | # First try GNU make style include. |
---|
| 2030 | echo "include confinc" > confmf |
---|
| 2031 | # Ignore all kinds of additional output from `make'. |
---|
| 2032 | case `$am_make -s -f confmf 2> /dev/null` in #( |
---|
| 2033 | *the\ am__doit\ target*) |
---|
| 2034 | am__include=include |
---|
| 2035 | am__quote= |
---|
| 2036 | _am_result=GNU |
---|
| 2037 | ;; |
---|
| 2038 | esac |
---|
| 2039 | # Now try BSD make style include. |
---|
| 2040 | if test "$am__include" = "#"; then |
---|
| 2041 | echo '.include "confinc"' > confmf |
---|
| 2042 | case `$am_make -s -f confmf 2> /dev/null` in #( |
---|
| 2043 | *the\ am__doit\ target*) |
---|
| 2044 | am__include=.include |
---|
| 2045 | am__quote="\"" |
---|
| 2046 | _am_result=BSD |
---|
| 2047 | ;; |
---|
| 2048 | esac |
---|
| 2049 | fi |
---|
| 2050 | |
---|
| 2051 | |
---|
| 2052 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
---|
| 2053 | $as_echo "$_am_result" >&6; } |
---|
| 2054 | rm -f confinc confmf |
---|
| 2055 | |
---|
| 2056 | # Check whether --enable-dependency-tracking was given. |
---|
| 2057 | if test "${enable_dependency_tracking+set}" = set; then : |
---|
| 2058 | enableval=$enable_dependency_tracking; |
---|
| 2059 | fi |
---|
| 2060 | |
---|
| 2061 | if test "x$enable_dependency_tracking" != xno; then |
---|
| 2062 | am_depcomp="$ac_aux_dir/depcomp" |
---|
| 2063 | AMDEPBACKSLASH='\' |
---|
| 2064 | fi |
---|
| 2065 | if test "x$enable_dependency_tracking" != xno; then |
---|
| 2066 | AMDEP_TRUE= |
---|
| 2067 | AMDEP_FALSE='#' |
---|
| 2068 | else |
---|
| 2069 | AMDEP_TRUE='#' |
---|
| 2070 | AMDEP_FALSE= |
---|
| 2071 | fi |
---|
| 2072 | |
---|
| 2073 | |
---|
| 2074 | # Extract the first word of "gcc", so it can be a program name with args. |
---|
| 2075 | set dummy gcc; ac_word=$2 |
---|
| 2076 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 2077 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 2078 | if ${ac_cv_prog_CC+:} false; then : |
---|
| 2079 | $as_echo_n "(cached) " >&6 |
---|
| 2080 | else |
---|
| 2081 | if test -n "$CC"; then |
---|
| 2082 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
| 2083 | else |
---|
| 2084 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2085 | for as_dir in $PATH |
---|
| 2086 | do |
---|
| 2087 | IFS=$as_save_IFS |
---|
| 2088 | test -z "$as_dir" && as_dir=. |
---|
| 2089 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 2090 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
| 2091 | ac_cv_prog_CC="gcc" |
---|
| 2092 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 2093 | break 2 |
---|
| 2094 | fi |
---|
| 2095 | done |
---|
| 2096 | done |
---|
| 2097 | IFS=$as_save_IFS |
---|
| 2098 | |
---|
| 2099 | fi |
---|
| 2100 | fi |
---|
| 2101 | CC=$ac_cv_prog_CC |
---|
| 2102 | if test -n "$CC"; then |
---|
| 2103 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
---|
| 2104 | $as_echo "$CC" >&6; } |
---|
| 2105 | else |
---|
| 2106 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 2107 | $as_echo "no" >&6; } |
---|
| 2108 | fi |
---|
| 2109 | |
---|
| 2110 | |
---|
| 2111 | |
---|
| 2112 | depcc="$CC" am_compiler_list= |
---|
| 2113 | |
---|
| 2114 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
---|
| 2115 | $as_echo_n "checking dependency style of $depcc... " >&6; } |
---|
| 2116 | if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
---|
| 2117 | $as_echo_n "(cached) " >&6 |
---|
| 2118 | else |
---|
| 2119 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
---|
| 2120 | # We make a subdir and do the tests there. Otherwise we can end up |
---|
| 2121 | # making bogus files that we don't know about and never remove. For |
---|
| 2122 | # instance it was reported that on HP-UX the gcc test will end up |
---|
| 2123 | # making a dummy file named `D' -- because `-MD' means `put the output |
---|
| 2124 | # in D'. |
---|
| 2125 | mkdir conftest.dir |
---|
| 2126 | # Copy depcomp to subdir because otherwise we won't find it if we're |
---|
| 2127 | # using a relative directory. |
---|
| 2128 | cp "$am_depcomp" conftest.dir |
---|
| 2129 | cd conftest.dir |
---|
| 2130 | # We will build objects and dependencies in a subdirectory because |
---|
| 2131 | # it helps to detect inapplicable dependency modes. For instance |
---|
| 2132 | # both Tru64's cc and ICC support -MD to output dependencies as a |
---|
| 2133 | # side effect of compilation, but ICC will put the dependencies in |
---|
| 2134 | # the current directory while Tru64 will put them in the object |
---|
| 2135 | # directory. |
---|
| 2136 | mkdir sub |
---|
| 2137 | |
---|
| 2138 | am_cv_CC_dependencies_compiler_type=none |
---|
| 2139 | if test "$am_compiler_list" = ""; then |
---|
| 2140 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
---|
| 2141 | fi |
---|
| 2142 | am__universal=false |
---|
| 2143 | case " $depcc " in #( |
---|
| 2144 | *\ -arch\ *\ -arch\ *) am__universal=true ;; |
---|
| 2145 | esac |
---|
| 2146 | |
---|
| 2147 | for depmode in $am_compiler_list; do |
---|
| 2148 | # Setup a source with many dependencies, because some compilers |
---|
| 2149 | # like to wrap large dependency lists on column 80 (with \), and |
---|
| 2150 | # we should not choose a depcomp mode which is confused by this. |
---|
| 2151 | # |
---|
| 2152 | # We need to recreate these files for each test, as the compiler may |
---|
| 2153 | # overwrite some of them when testing with obscure command lines. |
---|
| 2154 | # This happens at least with the AIX C compiler. |
---|
| 2155 | : > sub/conftest.c |
---|
| 2156 | for i in 1 2 3 4 5 6; do |
---|
| 2157 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
---|
| 2158 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
---|
| 2159 | # Solaris 8's {/usr,}/bin/sh. |
---|
| 2160 | touch sub/conftst$i.h |
---|
| 2161 | done |
---|
| 2162 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
---|
| 2163 | |
---|
| 2164 | # We check with `-c' and `-o' for the sake of the "dashmstdout" |
---|
| 2165 | # mode. It turns out that the SunPro C++ compiler does not properly |
---|
| 2166 | # handle `-M -o', and we need to detect this. Also, some Intel |
---|
| 2167 | # versions had trouble with output in subdirs |
---|
| 2168 | am__obj=sub/conftest.${OBJEXT-o} |
---|
| 2169 | am__minus_obj="-o $am__obj" |
---|
| 2170 | case $depmode in |
---|
| 2171 | gcc) |
---|
| 2172 | # This depmode causes a compiler race in universal mode. |
---|
| 2173 | test "$am__universal" = false || continue |
---|
| 2174 | ;; |
---|
| 2175 | nosideeffect) |
---|
| 2176 | # after this tag, mechanisms are not by side-effect, so they'll |
---|
| 2177 | # only be used when explicitly requested |
---|
| 2178 | if test "x$enable_dependency_tracking" = xyes; then |
---|
| 2179 | continue |
---|
| 2180 | else |
---|
| 2181 | break |
---|
| 2182 | fi |
---|
| 2183 | ;; |
---|
| 2184 | msvisualcpp | msvcmsys) |
---|
| 2185 | # This compiler won't grok `-c -o', but also, the minuso test has |
---|
| 2186 | # not run yet. These depmodes are late enough in the game, and |
---|
| 2187 | # so weak that their functioning should not be impacted. |
---|
| 2188 | am__obj=conftest.${OBJEXT-o} |
---|
| 2189 | am__minus_obj= |
---|
| 2190 | ;; |
---|
| 2191 | none) break ;; |
---|
| 2192 | esac |
---|
| 2193 | if depmode=$depmode \ |
---|
| 2194 | source=sub/conftest.c object=$am__obj \ |
---|
| 2195 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
---|
| 2196 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
---|
| 2197 | >/dev/null 2>conftest.err && |
---|
| 2198 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
---|
| 2199 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
---|
| 2200 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
---|
| 2201 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
---|
| 2202 | # icc doesn't choke on unknown options, it will just issue warnings |
---|
| 2203 | # or remarks (even with -Werror). So we grep stderr for any message |
---|
| 2204 | # that says an option was ignored or not supported. |
---|
| 2205 | # When given -MP, icc 7.0 and 7.1 complain thusly: |
---|
| 2206 | # icc: Command line warning: ignoring option '-M'; no argument required |
---|
| 2207 | # The diagnosis changed in icc 8.0: |
---|
| 2208 | # icc: Command line remark: option '-MP' not supported |
---|
| 2209 | if (grep 'ignoring option' conftest.err || |
---|
| 2210 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
---|
| 2211 | am_cv_CC_dependencies_compiler_type=$depmode |
---|
| 2212 | break |
---|
| 2213 | fi |
---|
| 2214 | fi |
---|
| 2215 | done |
---|
| 2216 | |
---|
| 2217 | cd .. |
---|
| 2218 | rm -rf conftest.dir |
---|
| 2219 | else |
---|
| 2220 | am_cv_CC_dependencies_compiler_type=none |
---|
| 2221 | fi |
---|
| 2222 | |
---|
| 2223 | fi |
---|
| 2224 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
---|
| 2225 | $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
---|
| 2226 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
---|
| 2227 | |
---|
| 2228 | if |
---|
| 2229 | test "x$enable_dependency_tracking" != xno \ |
---|
| 2230 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
---|
| 2231 | am__fastdepCC_TRUE= |
---|
| 2232 | am__fastdepCC_FALSE='#' |
---|
| 2233 | else |
---|
| 2234 | am__fastdepCC_TRUE='#' |
---|
| 2235 | am__fastdepCC_FALSE= |
---|
| 2236 | fi |
---|
| 2237 | |
---|
| 2238 | |
---|
| 2239 | if test -z "$CC"; then |
---|
| 2240 | # Extract the first word of "cc", so it can be a program name with args. |
---|
| 2241 | set dummy cc; ac_word=$2 |
---|
| 2242 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 2243 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 2244 | if ${ac_cv_prog_CC+:} false; then : |
---|
| 2245 | $as_echo_n "(cached) " >&6 |
---|
| 2246 | else |
---|
| 2247 | if test -n "$CC"; then |
---|
| 2248 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
| 2249 | else |
---|
| 2250 | ac_prog_rejected=no |
---|
| 2251 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2252 | for as_dir in $PATH |
---|
| 2253 | do |
---|
| 2254 | IFS=$as_save_IFS |
---|
| 2255 | test -z "$as_dir" && as_dir=. |
---|
| 2256 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 2257 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
| 2258 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
---|
| 2259 | ac_prog_rejected=yes |
---|
| 2260 | continue |
---|
| 2261 | fi |
---|
| 2262 | ac_cv_prog_CC="cc" |
---|
| 2263 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 2264 | break 2 |
---|
| 2265 | fi |
---|
| 2266 | done |
---|
| 2267 | done |
---|
| 2268 | IFS=$as_save_IFS |
---|
| 2269 | |
---|
| 2270 | if test $ac_prog_rejected = yes; then |
---|
| 2271 | # We found a bogon in the path, so make sure we never use it. |
---|
| 2272 | set dummy $ac_cv_prog_CC |
---|
| 2273 | shift |
---|
| 2274 | if test $# != 0; then |
---|
| 2275 | # We chose a different compiler from the bogus one. |
---|
| 2276 | # However, it has the same basename, so the bogon will be chosen |
---|
| 2277 | # first if we set CC to just the basename; use the full file name. |
---|
| 2278 | shift |
---|
| 2279 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
---|
| 2280 | fi |
---|
| 2281 | fi |
---|
| 2282 | fi |
---|
| 2283 | fi |
---|
| 2284 | CC=$ac_cv_prog_CC |
---|
| 2285 | if test -n "$CC"; then |
---|
| 2286 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
---|
| 2287 | $as_echo "$CC" >&6; } |
---|
| 2288 | else |
---|
| 2289 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 2290 | $as_echo "no" >&6; } |
---|
| 2291 | fi |
---|
| 2292 | |
---|
| 2293 | |
---|
| 2294 | test -z "$CC" && as_fn_error $? "no acceptable cc found in \$PATH" "$LINENO" 5 |
---|
| 2295 | fi |
---|
| 2296 | |
---|
| 2297 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using GNU C" >&5 |
---|
| 2298 | $as_echo_n "checking whether we are using GNU C... " >&6; } |
---|
| 2299 | if ${ac_cv_c_compiler_gnu+:} false; then : |
---|
| 2300 | $as_echo_n "(cached) " >&6 |
---|
| 2301 | else |
---|
| 2302 | cat > conftest.c <<EOF |
---|
| 2303 | #ifdef __GNUC__ |
---|
| 2304 | yes; |
---|
| 2305 | #endif |
---|
| 2306 | EOF |
---|
| 2307 | if { ac_try='${CC-cc} -E conftest.c' |
---|
| 2308 | { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 |
---|
| 2309 | (eval $ac_try) 2>&5 |
---|
| 2310 | ac_status=$? |
---|
| 2311 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 2312 | test $ac_status = 0; }; } | egrep yes >/dev/null 2>&1; then |
---|
| 2313 | ac_cv_c_compiler_gnu=yes |
---|
| 2314 | else |
---|
| 2315 | ac_cv_c_compiler_gnu=no |
---|
| 2316 | fi |
---|
| 2317 | fi |
---|
| 2318 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
---|
| 2319 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
---|
| 2320 | |
---|
| 2321 | if test $ac_cv_c_compiler_gnu = yes; then |
---|
| 2322 | GCC=yes |
---|
| 2323 | ac_test_CFLAGS="${CFLAGS+set}" |
---|
| 2324 | ac_save_CFLAGS="$CFLAGS" |
---|
| 2325 | CFLAGS= |
---|
| 2326 | ac_test_CFLAGS=${CFLAGS+set} |
---|
| 2327 | ac_save_CFLAGS=$CFLAGS |
---|
| 2328 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
---|
| 2329 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
---|
| 2330 | if ${ac_cv_prog_cc_g+:} false; then : |
---|
| 2331 | $as_echo_n "(cached) " >&6 |
---|
| 2332 | else |
---|
| 2333 | ac_save_c_werror_flag=$ac_c_werror_flag |
---|
| 2334 | ac_c_werror_flag=yes |
---|
| 2335 | ac_cv_prog_cc_g=no |
---|
| 2336 | CFLAGS="-g" |
---|
| 2337 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 2338 | /* end confdefs.h. */ |
---|
| 2339 | |
---|
| 2340 | int |
---|
| 2341 | main () |
---|
| 2342 | { |
---|
| 2343 | |
---|
| 2344 | ; |
---|
| 2345 | return 0; |
---|
| 2346 | } |
---|
| 2347 | _ACEOF |
---|
| 2348 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 2349 | ac_cv_prog_cc_g=yes |
---|
| 2350 | else |
---|
| 2351 | CFLAGS="" |
---|
| 2352 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 2353 | /* end confdefs.h. */ |
---|
| 2354 | |
---|
| 2355 | int |
---|
| 2356 | main () |
---|
| 2357 | { |
---|
| 2358 | |
---|
| 2359 | ; |
---|
| 2360 | return 0; |
---|
| 2361 | } |
---|
| 2362 | _ACEOF |
---|
| 2363 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 2364 | |
---|
| 2365 | else |
---|
| 2366 | ac_c_werror_flag=$ac_save_c_werror_flag |
---|
| 2367 | CFLAGS="-g" |
---|
| 2368 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 2369 | /* end confdefs.h. */ |
---|
| 2370 | |
---|
| 2371 | int |
---|
| 2372 | main () |
---|
| 2373 | { |
---|
| 2374 | |
---|
| 2375 | ; |
---|
| 2376 | return 0; |
---|
| 2377 | } |
---|
| 2378 | _ACEOF |
---|
| 2379 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 2380 | ac_cv_prog_cc_g=yes |
---|
| 2381 | fi |
---|
| 2382 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 2383 | fi |
---|
| 2384 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 2385 | fi |
---|
| 2386 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 2387 | ac_c_werror_flag=$ac_save_c_werror_flag |
---|
| 2388 | fi |
---|
| 2389 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
---|
| 2390 | $as_echo "$ac_cv_prog_cc_g" >&6; } |
---|
| 2391 | if test "$ac_test_CFLAGS" = set; then |
---|
| 2392 | CFLAGS=$ac_save_CFLAGS |
---|
| 2393 | elif test $ac_cv_prog_cc_g = yes; then |
---|
| 2394 | if test "$GCC" = yes; then |
---|
| 2395 | CFLAGS="-g -O2" |
---|
| 2396 | else |
---|
| 2397 | CFLAGS="-g" |
---|
| 2398 | fi |
---|
| 2399 | else |
---|
| 2400 | if test "$GCC" = yes; then |
---|
| 2401 | CFLAGS="-O2" |
---|
| 2402 | else |
---|
| 2403 | CFLAGS= |
---|
| 2404 | fi |
---|
| 2405 | fi |
---|
| 2406 | if test "$ac_test_CFLAGS" = set; then |
---|
| 2407 | CFLAGS="$ac_save_CFLAGS" |
---|
| 2408 | elif test $ac_cv_prog_cc_g = yes; then |
---|
| 2409 | CFLAGS="-g -O2" |
---|
| 2410 | else |
---|
| 2411 | CFLAGS="-O2" |
---|
| 2412 | fi |
---|
| 2413 | else |
---|
| 2414 | GCC= |
---|
| 2415 | test "${CFLAGS+set}" = set || CFLAGS="-g" |
---|
| 2416 | fi |
---|
| 2417 | |
---|
| 2418 | |
---|
| 2419 | AS=${AS-as} |
---|
| 2420 | |
---|
| 2421 | AR=${AR-ar} |
---|
| 2422 | |
---|
| 2423 | LD=${LD-ld} |
---|
| 2424 | |
---|
| 2425 | if test -n "$ac_tool_prefix"; then |
---|
| 2426 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
---|
| 2427 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
---|
| 2428 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 2429 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 2430 | if ${ac_cv_prog_RANLIB+:} false; then : |
---|
| 2431 | $as_echo_n "(cached) " >&6 |
---|
| 2432 | else |
---|
| 2433 | if test -n "$RANLIB"; then |
---|
| 2434 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
---|
| 2435 | else |
---|
| 2436 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2437 | for as_dir in $PATH |
---|
| 2438 | do |
---|
| 2439 | IFS=$as_save_IFS |
---|
| 2440 | test -z "$as_dir" && as_dir=. |
---|
| 2441 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 2442 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
| 2443 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
---|
| 2444 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 2445 | break 2 |
---|
| 2446 | fi |
---|
| 2447 | done |
---|
| 2448 | done |
---|
| 2449 | IFS=$as_save_IFS |
---|
| 2450 | |
---|
| 2451 | fi |
---|
| 2452 | fi |
---|
| 2453 | RANLIB=$ac_cv_prog_RANLIB |
---|
| 2454 | if test -n "$RANLIB"; then |
---|
| 2455 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 |
---|
| 2456 | $as_echo "$RANLIB" >&6; } |
---|
| 2457 | else |
---|
| 2458 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 2459 | $as_echo "no" >&6; } |
---|
| 2460 | fi |
---|
| 2461 | |
---|
| 2462 | |
---|
| 2463 | fi |
---|
| 2464 | if test -z "$ac_cv_prog_RANLIB"; then |
---|
| 2465 | ac_ct_RANLIB=$RANLIB |
---|
| 2466 | # Extract the first word of "ranlib", so it can be a program name with args. |
---|
| 2467 | set dummy ranlib; ac_word=$2 |
---|
| 2468 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 2469 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 2470 | if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : |
---|
| 2471 | $as_echo_n "(cached) " >&6 |
---|
| 2472 | else |
---|
| 2473 | if test -n "$ac_ct_RANLIB"; then |
---|
| 2474 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
---|
| 2475 | else |
---|
| 2476 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2477 | for as_dir in $PATH |
---|
| 2478 | do |
---|
| 2479 | IFS=$as_save_IFS |
---|
| 2480 | test -z "$as_dir" && as_dir=. |
---|
| 2481 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 2482 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
| 2483 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
---|
| 2484 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 2485 | break 2 |
---|
| 2486 | fi |
---|
| 2487 | done |
---|
| 2488 | done |
---|
| 2489 | IFS=$as_save_IFS |
---|
| 2490 | |
---|
| 2491 | fi |
---|
| 2492 | fi |
---|
| 2493 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
---|
| 2494 | if test -n "$ac_ct_RANLIB"; then |
---|
| 2495 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 |
---|
| 2496 | $as_echo "$ac_ct_RANLIB" >&6; } |
---|
| 2497 | else |
---|
| 2498 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 2499 | $as_echo "no" >&6; } |
---|
| 2500 | fi |
---|
| 2501 | |
---|
| 2502 | if test "x$ac_ct_RANLIB" = x; then |
---|
| 2503 | RANLIB=":" |
---|
| 2504 | else |
---|
| 2505 | case $cross_compiling:$ac_tool_warned in |
---|
| 2506 | yes:) |
---|
| 2507 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
---|
| 2508 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
---|
| 2509 | ac_tool_warned=yes ;; |
---|
| 2510 | esac |
---|
| 2511 | RANLIB=$ac_ct_RANLIB |
---|
| 2512 | fi |
---|
| 2513 | else |
---|
| 2514 | RANLIB="$ac_cv_prog_RANLIB" |
---|
| 2515 | fi |
---|
| 2516 | |
---|
| 2517 | # By default we simply use the C compiler to build assembly code. |
---|
| 2518 | |
---|
| 2519 | test "${CCAS+set}" = set || CCAS=$CC |
---|
| 2520 | test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS |
---|
| 2521 | |
---|
| 2522 | |
---|
| 2523 | |
---|
| 2524 | |
---|
| 2525 | host_makefile_frag=${srcdir}/../config/default.mh |
---|
| 2526 | |
---|
| 2527 | host_makefile_frag_path=$host_makefile_frag |
---|
| 2528 | |
---|
| 2529 | |
---|
| 2530 | |
---|
| 2531 | ac_config_files="$ac_config_files Makefile" |
---|
| 2532 | |
---|
| 2533 | cat >confcache <<\_ACEOF |
---|
| 2534 | # This file is a shell script that caches the results of configure |
---|
| 2535 | # tests run on this system so they can be shared between configure |
---|
| 2536 | # scripts and configure runs, see configure's option --config-cache. |
---|
| 2537 | # It is not useful on other systems. If it contains results you don't |
---|
| 2538 | # want to keep, you may remove or edit it. |
---|
| 2539 | # |
---|
| 2540 | # config.status only pays attention to the cache file if you give it |
---|
| 2541 | # the --recheck option to rerun configure. |
---|
| 2542 | # |
---|
| 2543 | # `ac_cv_env_foo' variables (set or unset) will be overridden when |
---|
| 2544 | # loading this file, other *unset* `ac_cv_foo' will be assigned the |
---|
| 2545 | # following values. |
---|
| 2546 | |
---|
| 2547 | _ACEOF |
---|
| 2548 | |
---|
| 2549 | # The following way of writing the cache mishandles newlines in values, |
---|
| 2550 | # but we know of no workaround that is simple, portable, and efficient. |
---|
| 2551 | # So, we kill variables containing newlines. |
---|
| 2552 | # Ultrix sh set writes to stderr and can't be redirected directly, |
---|
| 2553 | # and sets the high bit in the cache file unless we assign to the vars. |
---|
| 2554 | ( |
---|
| 2555 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
---|
| 2556 | eval ac_val=\$$ac_var |
---|
| 2557 | case $ac_val in #( |
---|
| 2558 | *${as_nl}*) |
---|
| 2559 | case $ac_var in #( |
---|
| 2560 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
---|
| 2561 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
---|
| 2562 | esac |
---|
| 2563 | case $ac_var in #( |
---|
| 2564 | _ | IFS | as_nl) ;; #( |
---|
| 2565 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
---|
| 2566 | *) { eval $ac_var=; unset $ac_var;} ;; |
---|
| 2567 | esac ;; |
---|
| 2568 | esac |
---|
| 2569 | done |
---|
| 2570 | |
---|
| 2571 | (set) 2>&1 | |
---|
| 2572 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
---|
| 2573 | *${as_nl}ac_space=\ *) |
---|
| 2574 | # `set' does not quote correctly, so add quotes: double-quote |
---|
| 2575 | # substitution turns \\\\ into \\, and sed turns \\ into \. |
---|
| 2576 | sed -n \ |
---|
| 2577 | "s/'/'\\\\''/g; |
---|
| 2578 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
---|
| 2579 | ;; #( |
---|
| 2580 | *) |
---|
| 2581 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
---|
| 2582 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
---|
| 2583 | ;; |
---|
| 2584 | esac | |
---|
| 2585 | sort |
---|
| 2586 | ) | |
---|
| 2587 | sed ' |
---|
| 2588 | /^ac_cv_env_/b end |
---|
| 2589 | t clear |
---|
| 2590 | :clear |
---|
| 2591 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
---|
| 2592 | t end |
---|
| 2593 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
---|
| 2594 | :end' >>confcache |
---|
| 2595 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
---|
| 2596 | if test -w "$cache_file"; then |
---|
| 2597 | if test "x$cache_file" != "x/dev/null"; then |
---|
| 2598 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
---|
| 2599 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
---|
| 2600 | if test ! -f "$cache_file" || test -h "$cache_file"; then |
---|
| 2601 | cat confcache >"$cache_file" |
---|
| 2602 | else |
---|
| 2603 | case $cache_file in #( |
---|
| 2604 | */* | ?:*) |
---|
| 2605 | mv -f confcache "$cache_file"$$ && |
---|
| 2606 | mv -f "$cache_file"$$ "$cache_file" ;; #( |
---|
| 2607 | *) |
---|
| 2608 | mv -f confcache "$cache_file" ;; |
---|
| 2609 | esac |
---|
| 2610 | fi |
---|
| 2611 | fi |
---|
| 2612 | else |
---|
| 2613 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
---|
| 2614 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
---|
| 2615 | fi |
---|
| 2616 | fi |
---|
| 2617 | rm -f confcache |
---|
| 2618 | |
---|
| 2619 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
---|
| 2620 | # Let make expand exec_prefix. |
---|
| 2621 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
---|
| 2622 | |
---|
| 2623 | # Transform confdefs.h into DEFS. |
---|
| 2624 | # Protect against shell expansion while executing Makefile rules. |
---|
| 2625 | # Protect against Makefile macro expansion. |
---|
| 2626 | # |
---|
| 2627 | # If the first sed substitution is executed (which looks for macros that |
---|
| 2628 | # take arguments), then branch to the quote section. Otherwise, |
---|
| 2629 | # look for a macro that doesn't take arguments. |
---|
| 2630 | ac_script=' |
---|
| 2631 | :mline |
---|
| 2632 | /\\$/{ |
---|
| 2633 | N |
---|
| 2634 | s,\\\n,, |
---|
| 2635 | b mline |
---|
| 2636 | } |
---|
| 2637 | t clear |
---|
| 2638 | :clear |
---|
| 2639 | s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g |
---|
| 2640 | t quote |
---|
| 2641 | s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g |
---|
| 2642 | t quote |
---|
| 2643 | b any |
---|
| 2644 | :quote |
---|
| 2645 | s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g |
---|
| 2646 | s/\[/\\&/g |
---|
| 2647 | s/\]/\\&/g |
---|
| 2648 | s/\$/$$/g |
---|
| 2649 | H |
---|
| 2650 | :any |
---|
| 2651 | ${ |
---|
| 2652 | g |
---|
| 2653 | s/^\n// |
---|
| 2654 | s/\n/ /g |
---|
| 2655 | p |
---|
| 2656 | } |
---|
| 2657 | ' |
---|
| 2658 | DEFS=`sed -n "$ac_script" confdefs.h` |
---|
| 2659 | |
---|
| 2660 | |
---|
| 2661 | ac_libobjs= |
---|
| 2662 | ac_ltlibobjs= |
---|
| 2663 | U= |
---|
| 2664 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
---|
| 2665 | # 1. Remove the extension, and $U if already installed. |
---|
| 2666 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
---|
| 2667 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
---|
| 2668 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
---|
| 2669 | # will be set to the directory where LIBOBJS objects are built. |
---|
| 2670 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
---|
| 2671 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
---|
| 2672 | done |
---|
| 2673 | LIBOBJS=$ac_libobjs |
---|
| 2674 | |
---|
| 2675 | LTLIBOBJS=$ac_ltlibobjs |
---|
| 2676 | |
---|
| 2677 | |
---|
| 2678 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
---|
| 2679 | as_fn_error $? "conditional \"AMDEP\" was never defined. |
---|
| 2680 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
---|
| 2681 | fi |
---|
| 2682 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
---|
| 2683 | as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
---|
| 2684 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
---|
| 2685 | fi |
---|
| 2686 | |
---|
| 2687 | : "${CONFIG_STATUS=./config.status}" |
---|
| 2688 | ac_write_fail=0 |
---|
| 2689 | ac_clean_files_save=$ac_clean_files |
---|
| 2690 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
---|
| 2691 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
---|
| 2692 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
---|
| 2693 | as_write_fail=0 |
---|
| 2694 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
---|
| 2695 | #! $SHELL |
---|
| 2696 | # Generated by $as_me. |
---|
| 2697 | # Run this file to recreate the current configuration. |
---|
| 2698 | # Compiler output produced by configure, useful for debugging |
---|
| 2699 | # configure, is in config.log if it exists. |
---|
| 2700 | |
---|
| 2701 | debug=false |
---|
| 2702 | ac_cs_recheck=false |
---|
| 2703 | ac_cs_silent=false |
---|
| 2704 | |
---|
| 2705 | SHELL=\${CONFIG_SHELL-$SHELL} |
---|
| 2706 | export SHELL |
---|
| 2707 | _ASEOF |
---|
| 2708 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
---|
| 2709 | ## -------------------- ## |
---|
| 2710 | ## M4sh Initialization. ## |
---|
| 2711 | ## -------------------- ## |
---|
| 2712 | |
---|
| 2713 | # Be more Bourne compatible |
---|
| 2714 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
| 2715 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
---|
| 2716 | emulate sh |
---|
| 2717 | NULLCMD=: |
---|
| 2718 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
---|
| 2719 | # is contrary to our usage. Disable this feature. |
---|
| 2720 | alias -g '${1+"$@"}'='"$@"' |
---|
| 2721 | setopt NO_GLOB_SUBST |
---|
| 2722 | else |
---|
| 2723 | case `(set -o) 2>/dev/null` in #( |
---|
| 2724 | *posix*) : |
---|
| 2725 | set -o posix ;; #( |
---|
| 2726 | *) : |
---|
| 2727 | ;; |
---|
| 2728 | esac |
---|
| 2729 | fi |
---|
| 2730 | |
---|
| 2731 | |
---|
| 2732 | as_nl=' |
---|
| 2733 | ' |
---|
| 2734 | export as_nl |
---|
| 2735 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
---|
| 2736 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
---|
| 2737 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
| 2738 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
| 2739 | # Prefer a ksh shell builtin over an external printf program on Solaris, |
---|
| 2740 | # but without wasting forks for bash or zsh. |
---|
| 2741 | if test -z "$BASH_VERSION$ZSH_VERSION" \ |
---|
| 2742 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
---|
| 2743 | as_echo='print -r --' |
---|
| 2744 | as_echo_n='print -rn --' |
---|
| 2745 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
---|
| 2746 | as_echo='printf %s\n' |
---|
| 2747 | as_echo_n='printf %s' |
---|
| 2748 | else |
---|
| 2749 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
---|
| 2750 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
---|
| 2751 | as_echo_n='/usr/ucb/echo -n' |
---|
| 2752 | else |
---|
| 2753 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
---|
| 2754 | as_echo_n_body='eval |
---|
| 2755 | arg=$1; |
---|
| 2756 | case $arg in #( |
---|
| 2757 | *"$as_nl"*) |
---|
| 2758 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
---|
| 2759 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
---|
| 2760 | esac; |
---|
| 2761 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
---|
| 2762 | ' |
---|
| 2763 | export as_echo_n_body |
---|
| 2764 | as_echo_n='sh -c $as_echo_n_body as_echo' |
---|
| 2765 | fi |
---|
| 2766 | export as_echo_body |
---|
| 2767 | as_echo='sh -c $as_echo_body as_echo' |
---|
| 2768 | fi |
---|
| 2769 | |
---|
| 2770 | # The user is always right. |
---|
| 2771 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
| 2772 | PATH_SEPARATOR=: |
---|
| 2773 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
---|
| 2774 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
---|
| 2775 | PATH_SEPARATOR=';' |
---|
| 2776 | } |
---|
| 2777 | fi |
---|
| 2778 | |
---|
| 2779 | |
---|
| 2780 | # IFS |
---|
| 2781 | # We need space, tab and new line, in precisely that order. Quoting is |
---|
| 2782 | # there to prevent editors from complaining about space-tab. |
---|
| 2783 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
---|
| 2784 | # splitting by setting IFS to empty value.) |
---|
| 2785 | IFS=" "" $as_nl" |
---|
| 2786 | |
---|
| 2787 | # Find who we are. Look in the path if we contain no directory separator. |
---|
| 2788 | as_myself= |
---|
| 2789 | case $0 in #(( |
---|
| 2790 | *[\\/]* ) as_myself=$0 ;; |
---|
| 2791 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2792 | for as_dir in $PATH |
---|
| 2793 | do |
---|
| 2794 | IFS=$as_save_IFS |
---|
| 2795 | test -z "$as_dir" && as_dir=. |
---|
| 2796 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
| 2797 | done |
---|
| 2798 | IFS=$as_save_IFS |
---|
| 2799 | |
---|
| 2800 | ;; |
---|
| 2801 | esac |
---|
| 2802 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
| 2803 | # in which case we are not to be found in the path. |
---|
| 2804 | if test "x$as_myself" = x; then |
---|
| 2805 | as_myself=$0 |
---|
| 2806 | fi |
---|
| 2807 | if test ! -f "$as_myself"; then |
---|
| 2808 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
---|
| 2809 | exit 1 |
---|
| 2810 | fi |
---|
| 2811 | |
---|
| 2812 | # Unset variables that we do not need and which cause bugs (e.g. in |
---|
| 2813 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
---|
| 2814 | # suppresses any "Segmentation fault" message there. '((' could |
---|
| 2815 | # trigger a bug in pdksh 5.2.14. |
---|
| 2816 | for as_var in BASH_ENV ENV MAIL MAILPATH |
---|
| 2817 | do eval test x\${$as_var+set} = xset \ |
---|
| 2818 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
---|
| 2819 | done |
---|
| 2820 | PS1='$ ' |
---|
| 2821 | PS2='> ' |
---|
| 2822 | PS4='+ ' |
---|
| 2823 | |
---|
| 2824 | # NLS nuisances. |
---|
| 2825 | LC_ALL=C |
---|
| 2826 | export LC_ALL |
---|
| 2827 | LANGUAGE=C |
---|
| 2828 | export LANGUAGE |
---|
| 2829 | |
---|
| 2830 | # CDPATH. |
---|
| 2831 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
---|
| 2832 | |
---|
| 2833 | |
---|
| 2834 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
---|
| 2835 | # ---------------------------------------- |
---|
| 2836 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
---|
| 2837 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
---|
| 2838 | # script with STATUS, using 1 if that was 0. |
---|
| 2839 | as_fn_error () |
---|
| 2840 | { |
---|
| 2841 | as_status=$1; test $as_status -eq 0 && as_status=1 |
---|
| 2842 | if test "$4"; then |
---|
| 2843 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
| 2844 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
---|
| 2845 | fi |
---|
| 2846 | $as_echo "$as_me: error: $2" >&2 |
---|
| 2847 | as_fn_exit $as_status |
---|
| 2848 | } # as_fn_error |
---|
| 2849 | |
---|
| 2850 | |
---|
| 2851 | # as_fn_set_status STATUS |
---|
| 2852 | # ----------------------- |
---|
| 2853 | # Set $? to STATUS, without forking. |
---|
| 2854 | as_fn_set_status () |
---|
| 2855 | { |
---|
| 2856 | return $1 |
---|
| 2857 | } # as_fn_set_status |
---|
| 2858 | |
---|
| 2859 | # as_fn_exit STATUS |
---|
| 2860 | # ----------------- |
---|
| 2861 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
---|
| 2862 | as_fn_exit () |
---|
| 2863 | { |
---|
| 2864 | set +e |
---|
| 2865 | as_fn_set_status $1 |
---|
| 2866 | exit $1 |
---|
| 2867 | } # as_fn_exit |
---|
| 2868 | |
---|
| 2869 | # as_fn_unset VAR |
---|
| 2870 | # --------------- |
---|
| 2871 | # Portably unset VAR. |
---|
| 2872 | as_fn_unset () |
---|
| 2873 | { |
---|
| 2874 | { eval $1=; unset $1;} |
---|
| 2875 | } |
---|
| 2876 | as_unset=as_fn_unset |
---|
| 2877 | # as_fn_append VAR VALUE |
---|
| 2878 | # ---------------------- |
---|
| 2879 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
---|
| 2880 | # advantage of any shell optimizations that allow amortized linear growth over |
---|
| 2881 | # repeated appends, instead of the typical quadratic growth present in naive |
---|
| 2882 | # implementations. |
---|
| 2883 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
---|
| 2884 | eval 'as_fn_append () |
---|
| 2885 | { |
---|
| 2886 | eval $1+=\$2 |
---|
| 2887 | }' |
---|
| 2888 | else |
---|
| 2889 | as_fn_append () |
---|
| 2890 | { |
---|
| 2891 | eval $1=\$$1\$2 |
---|
| 2892 | } |
---|
| 2893 | fi # as_fn_append |
---|
| 2894 | |
---|
| 2895 | # as_fn_arith ARG... |
---|
| 2896 | # ------------------ |
---|
| 2897 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
---|
| 2898 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
---|
| 2899 | # must be portable across $(()) and expr. |
---|
| 2900 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
---|
| 2901 | eval 'as_fn_arith () |
---|
| 2902 | { |
---|
| 2903 | as_val=$(( $* )) |
---|
| 2904 | }' |
---|
| 2905 | else |
---|
| 2906 | as_fn_arith () |
---|
| 2907 | { |
---|
| 2908 | as_val=`expr "$@" || test $? -eq 1` |
---|
| 2909 | } |
---|
| 2910 | fi # as_fn_arith |
---|
| 2911 | |
---|
| 2912 | |
---|
| 2913 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
| 2914 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
| 2915 | as_expr=expr |
---|
| 2916 | else |
---|
| 2917 | as_expr=false |
---|
| 2918 | fi |
---|
| 2919 | |
---|
| 2920 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
---|
| 2921 | as_basename=basename |
---|
| 2922 | else |
---|
| 2923 | as_basename=false |
---|
| 2924 | fi |
---|
| 2925 | |
---|
| 2926 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
---|
| 2927 | as_dirname=dirname |
---|
| 2928 | else |
---|
| 2929 | as_dirname=false |
---|
| 2930 | fi |
---|
| 2931 | |
---|
| 2932 | as_me=`$as_basename -- "$0" || |
---|
| 2933 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
| 2934 | X"$0" : 'X\(//\)$' \| \ |
---|
| 2935 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 2936 | $as_echo X/"$0" | |
---|
| 2937 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
---|
| 2938 | s//\1/ |
---|
| 2939 | q |
---|
| 2940 | } |
---|
| 2941 | /^X\/\(\/\/\)$/{ |
---|
| 2942 | s//\1/ |
---|
| 2943 | q |
---|
| 2944 | } |
---|
| 2945 | /^X\/\(\/\).*/{ |
---|
| 2946 | s//\1/ |
---|
| 2947 | q |
---|
| 2948 | } |
---|
| 2949 | s/.*/./; q'` |
---|
| 2950 | |
---|
| 2951 | # Avoid depending upon Character Ranges. |
---|
| 2952 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
| 2953 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
| 2954 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
| 2955 | as_cr_digits='0123456789' |
---|
| 2956 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
| 2957 | |
---|
| 2958 | ECHO_C= ECHO_N= ECHO_T= |
---|
| 2959 | case `echo -n x` in #((((( |
---|
| 2960 | -n*) |
---|
| 2961 | case `echo 'xy\c'` in |
---|
| 2962 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
---|
| 2963 | xy) ECHO_C='\c';; |
---|
| 2964 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
---|
| 2965 | ECHO_T=' ';; |
---|
| 2966 | esac;; |
---|
| 2967 | *) |
---|
| 2968 | ECHO_N='-n';; |
---|
| 2969 | esac |
---|
| 2970 | |
---|
| 2971 | rm -f conf$$ conf$$.exe conf$$.file |
---|
| 2972 | if test -d conf$$.dir; then |
---|
| 2973 | rm -f conf$$.dir/conf$$.file |
---|
| 2974 | else |
---|
| 2975 | rm -f conf$$.dir |
---|
| 2976 | mkdir conf$$.dir 2>/dev/null |
---|
| 2977 | fi |
---|
| 2978 | if (echo >conf$$.file) 2>/dev/null; then |
---|
| 2979 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
| 2980 | as_ln_s='ln -s' |
---|
| 2981 | # ... but there are two gotchas: |
---|
| 2982 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
---|
| 2983 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
---|
| 2984 | # In both cases, we have to default to `cp -p'. |
---|
| 2985 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
---|
| 2986 | as_ln_s='cp -p' |
---|
| 2987 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
| 2988 | as_ln_s=ln |
---|
| 2989 | else |
---|
| 2990 | as_ln_s='cp -p' |
---|
| 2991 | fi |
---|
| 2992 | else |
---|
| 2993 | as_ln_s='cp -p' |
---|
| 2994 | fi |
---|
| 2995 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
---|
| 2996 | rmdir conf$$.dir 2>/dev/null |
---|
| 2997 | |
---|
| 2998 | |
---|
| 2999 | # as_fn_mkdir_p |
---|
| 3000 | # ------------- |
---|
| 3001 | # Create "$as_dir" as a directory, including parents if necessary. |
---|
| 3002 | as_fn_mkdir_p () |
---|
| 3003 | { |
---|
| 3004 | |
---|
| 3005 | case $as_dir in #( |
---|
| 3006 | -*) as_dir=./$as_dir;; |
---|
| 3007 | esac |
---|
| 3008 | test -d "$as_dir" || eval $as_mkdir_p || { |
---|
| 3009 | as_dirs= |
---|
| 3010 | while :; do |
---|
| 3011 | case $as_dir in #( |
---|
| 3012 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
---|
| 3013 | *) as_qdir=$as_dir;; |
---|
| 3014 | esac |
---|
| 3015 | as_dirs="'$as_qdir' $as_dirs" |
---|
| 3016 | as_dir=`$as_dirname -- "$as_dir" || |
---|
| 3017 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 3018 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
| 3019 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
| 3020 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 3021 | $as_echo X"$as_dir" | |
---|
| 3022 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 3023 | s//\1/ |
---|
| 3024 | q |
---|
| 3025 | } |
---|
| 3026 | /^X\(\/\/\)[^/].*/{ |
---|
| 3027 | s//\1/ |
---|
| 3028 | q |
---|
| 3029 | } |
---|
| 3030 | /^X\(\/\/\)$/{ |
---|
| 3031 | s//\1/ |
---|
| 3032 | q |
---|
| 3033 | } |
---|
| 3034 | /^X\(\/\).*/{ |
---|
| 3035 | s//\1/ |
---|
| 3036 | q |
---|
| 3037 | } |
---|
| 3038 | s/.*/./; q'` |
---|
| 3039 | test -d "$as_dir" && break |
---|
| 3040 | done |
---|
| 3041 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
---|
| 3042 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
---|
| 3043 | |
---|
| 3044 | |
---|
| 3045 | } # as_fn_mkdir_p |
---|
| 3046 | if mkdir -p . 2>/dev/null; then |
---|
| 3047 | as_mkdir_p='mkdir -p "$as_dir"' |
---|
| 3048 | else |
---|
| 3049 | test -d ./-p && rmdir ./-p |
---|
| 3050 | as_mkdir_p=false |
---|
| 3051 | fi |
---|
| 3052 | |
---|
| 3053 | if test -x / >/dev/null 2>&1; then |
---|
| 3054 | as_test_x='test -x' |
---|
| 3055 | else |
---|
| 3056 | if ls -dL / >/dev/null 2>&1; then |
---|
| 3057 | as_ls_L_option=L |
---|
| 3058 | else |
---|
| 3059 | as_ls_L_option= |
---|
| 3060 | fi |
---|
| 3061 | as_test_x=' |
---|
| 3062 | eval sh -c '\'' |
---|
| 3063 | if test -d "$1"; then |
---|
| 3064 | test -d "$1/."; |
---|
| 3065 | else |
---|
| 3066 | case $1 in #( |
---|
| 3067 | -*)set "./$1";; |
---|
| 3068 | esac; |
---|
| 3069 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
---|
| 3070 | ???[sx]*):;;*)false;;esac;fi |
---|
| 3071 | '\'' sh |
---|
| 3072 | ' |
---|
| 3073 | fi |
---|
| 3074 | as_executable_p=$as_test_x |
---|
| 3075 | |
---|
| 3076 | # Sed expression to map a string onto a valid CPP name. |
---|
| 3077 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
---|
| 3078 | |
---|
| 3079 | # Sed expression to map a string onto a valid variable name. |
---|
| 3080 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
---|
| 3081 | |
---|
| 3082 | |
---|
| 3083 | exec 6>&1 |
---|
| 3084 | ## ----------------------------------- ## |
---|
| 3085 | ## Main body of $CONFIG_STATUS script. ## |
---|
| 3086 | ## ----------------------------------- ## |
---|
| 3087 | _ASEOF |
---|
| 3088 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
---|
| 3089 | |
---|
| 3090 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 3091 | # Save the log message, to keep $0 and so on meaningful, and to |
---|
| 3092 | # report actual input values of CONFIG_FILES etc. instead of their |
---|
| 3093 | # values after options handling. |
---|
| 3094 | ac_log=" |
---|
| 3095 | This file was extended by $as_me, which was |
---|
| 3096 | generated by GNU Autoconf 2.68. Invocation command line was |
---|
| 3097 | |
---|
| 3098 | CONFIG_FILES = $CONFIG_FILES |
---|
| 3099 | CONFIG_HEADERS = $CONFIG_HEADERS |
---|
| 3100 | CONFIG_LINKS = $CONFIG_LINKS |
---|
| 3101 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
---|
| 3102 | $ $0 $@ |
---|
| 3103 | |
---|
| 3104 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
| 3105 | " |
---|
| 3106 | |
---|
| 3107 | _ACEOF |
---|
| 3108 | |
---|
| 3109 | case $ac_config_files in *" |
---|
| 3110 | "*) set x $ac_config_files; shift; ac_config_files=$*;; |
---|
| 3111 | esac |
---|
| 3112 | |
---|
| 3113 | |
---|
| 3114 | |
---|
| 3115 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 3116 | # Files that config.status was made for. |
---|
| 3117 | config_files="$ac_config_files" |
---|
| 3118 | config_commands="$ac_config_commands" |
---|
| 3119 | |
---|
| 3120 | _ACEOF |
---|
| 3121 | |
---|
| 3122 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 3123 | ac_cs_usage="\ |
---|
| 3124 | \`$as_me' instantiates files and other configuration actions |
---|
| 3125 | from templates according to the current configuration. Unless the files |
---|
| 3126 | and actions are specified as TAGs, all are instantiated by default. |
---|
| 3127 | |
---|
| 3128 | Usage: $0 [OPTION]... [TAG]... |
---|
| 3129 | |
---|
| 3130 | -h, --help print this help, then exit |
---|
| 3131 | -V, --version print version number and configuration settings, then exit |
---|
| 3132 | --config print configuration, then exit |
---|
| 3133 | -q, --quiet, --silent |
---|
| 3134 | do not print progress messages |
---|
| 3135 | -d, --debug don't remove temporary files |
---|
| 3136 | --recheck update $as_me by reconfiguring in the same conditions |
---|
| 3137 | --file=FILE[:TEMPLATE] |
---|
| 3138 | instantiate the configuration file FILE |
---|
| 3139 | |
---|
| 3140 | Configuration files: |
---|
| 3141 | $config_files |
---|
| 3142 | |
---|
| 3143 | Configuration commands: |
---|
| 3144 | $config_commands |
---|
| 3145 | |
---|
| 3146 | Report bugs to the package provider." |
---|
| 3147 | |
---|
| 3148 | _ACEOF |
---|
| 3149 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 3150 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
---|
| 3151 | ac_cs_version="\\ |
---|
| 3152 | config.status |
---|
| 3153 | configured by $0, generated by GNU Autoconf 2.68, |
---|
| 3154 | with options \\"\$ac_cs_config\\" |
---|
| 3155 | |
---|
| 3156 | Copyright (C) 2010 Free Software Foundation, Inc. |
---|
| 3157 | This config.status script is free software; the Free Software Foundation |
---|
| 3158 | gives unlimited permission to copy, distribute and modify it." |
---|
| 3159 | |
---|
| 3160 | ac_pwd='$ac_pwd' |
---|
| 3161 | srcdir='$srcdir' |
---|
| 3162 | INSTALL='$INSTALL' |
---|
| 3163 | test -n "\$AWK" || AWK=awk |
---|
| 3164 | _ACEOF |
---|
| 3165 | |
---|
| 3166 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 3167 | # The default lists apply if the user does not specify any file. |
---|
| 3168 | ac_need_defaults=: |
---|
| 3169 | while test $# != 0 |
---|
| 3170 | do |
---|
| 3171 | case $1 in |
---|
| 3172 | --*=?*) |
---|
| 3173 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
---|
| 3174 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
---|
| 3175 | ac_shift=: |
---|
| 3176 | ;; |
---|
| 3177 | --*=) |
---|
| 3178 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
---|
| 3179 | ac_optarg= |
---|
| 3180 | ac_shift=: |
---|
| 3181 | ;; |
---|
| 3182 | *) |
---|
| 3183 | ac_option=$1 |
---|
| 3184 | ac_optarg=$2 |
---|
| 3185 | ac_shift=shift |
---|
| 3186 | ;; |
---|
| 3187 | esac |
---|
| 3188 | |
---|
| 3189 | case $ac_option in |
---|
| 3190 | # Handling of the options. |
---|
| 3191 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
---|
| 3192 | ac_cs_recheck=: ;; |
---|
| 3193 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
---|
| 3194 | $as_echo "$ac_cs_version"; exit ;; |
---|
| 3195 | --config | --confi | --conf | --con | --co | --c ) |
---|
| 3196 | $as_echo "$ac_cs_config"; exit ;; |
---|
| 3197 | --debug | --debu | --deb | --de | --d | -d ) |
---|
| 3198 | debug=: ;; |
---|
| 3199 | --file | --fil | --fi | --f ) |
---|
| 3200 | $ac_shift |
---|
| 3201 | case $ac_optarg in |
---|
| 3202 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
| 3203 | '') as_fn_error $? "missing file argument" ;; |
---|
| 3204 | esac |
---|
| 3205 | as_fn_append CONFIG_FILES " '$ac_optarg'" |
---|
| 3206 | ac_need_defaults=false;; |
---|
| 3207 | --he | --h | --help | --hel | -h ) |
---|
| 3208 | $as_echo "$ac_cs_usage"; exit ;; |
---|
| 3209 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
| 3210 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
---|
| 3211 | ac_cs_silent=: ;; |
---|
| 3212 | |
---|
| 3213 | # This is an error. |
---|
| 3214 | -*) as_fn_error $? "unrecognized option: \`$1' |
---|
| 3215 | Try \`$0 --help' for more information." ;; |
---|
| 3216 | |
---|
| 3217 | *) as_fn_append ac_config_targets " $1" |
---|
| 3218 | ac_need_defaults=false ;; |
---|
| 3219 | |
---|
| 3220 | esac |
---|
| 3221 | shift |
---|
| 3222 | done |
---|
| 3223 | |
---|
| 3224 | ac_configure_extra_args= |
---|
| 3225 | |
---|
| 3226 | if $ac_cs_silent; then |
---|
| 3227 | exec 6>/dev/null |
---|
| 3228 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
---|
| 3229 | fi |
---|
| 3230 | |
---|
| 3231 | _ACEOF |
---|
| 3232 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 3233 | if \$ac_cs_recheck; then |
---|
| 3234 | set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
---|
| 3235 | shift |
---|
| 3236 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
---|
| 3237 | CONFIG_SHELL='$SHELL' |
---|
| 3238 | export CONFIG_SHELL |
---|
| 3239 | exec "\$@" |
---|
| 3240 | fi |
---|
| 3241 | |
---|
| 3242 | _ACEOF |
---|
| 3243 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 3244 | exec 5>>config.log |
---|
| 3245 | { |
---|
| 3246 | echo |
---|
| 3247 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
---|
| 3248 | ## Running $as_me. ## |
---|
| 3249 | _ASBOX |
---|
| 3250 | $as_echo "$ac_log" |
---|
| 3251 | } >&5 |
---|
| 3252 | |
---|
| 3253 | _ACEOF |
---|
| 3254 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 3255 | # |
---|
| 3256 | # INIT-COMMANDS |
---|
| 3257 | # |
---|
| 3258 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
---|
| 3259 | srcdir=${srcdir} |
---|
| 3260 | target=${target} |
---|
| 3261 | with_multisubdir=${with_multisubdir} |
---|
| 3262 | ac_configure_args="${ac_configure_args} --enable-multilib" |
---|
| 3263 | CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} |
---|
| 3264 | libgloss_topdir=${libgloss_topdir} |
---|
| 3265 | |
---|
| 3266 | |
---|
| 3267 | _ACEOF |
---|
| 3268 | |
---|
| 3269 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 3270 | |
---|
| 3271 | # Handling of arguments. |
---|
| 3272 | for ac_config_target in $ac_config_targets |
---|
| 3273 | do |
---|
| 3274 | case $ac_config_target in |
---|
| 3275 | "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
---|
| 3276 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
---|
| 3277 | |
---|
| 3278 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
---|
| 3279 | esac |
---|
| 3280 | done |
---|
| 3281 | |
---|
| 3282 | |
---|
| 3283 | # If the user did not use the arguments to specify the items to instantiate, |
---|
| 3284 | # then the envvar interface is used. Set only those that are not. |
---|
| 3285 | # We use the long form for the default assignment because of an extremely |
---|
| 3286 | # bizarre bug on SunOS 4.1.3. |
---|
| 3287 | if $ac_need_defaults; then |
---|
| 3288 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
---|
| 3289 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
---|
| 3290 | fi |
---|
| 3291 | |
---|
| 3292 | # Have a temporary directory for convenience. Make it in the build tree |
---|
| 3293 | # simply because there is no reason against having it here, and in addition, |
---|
| 3294 | # creating and moving files from /tmp can sometimes cause problems. |
---|
| 3295 | # Hook for its removal unless debugging. |
---|
| 3296 | # Note that there is a small window in which the directory will not be cleaned: |
---|
| 3297 | # after its creation but before its name has been assigned to `$tmp'. |
---|
| 3298 | $debug || |
---|
| 3299 | { |
---|
| 3300 | tmp= ac_tmp= |
---|
| 3301 | trap 'exit_status=$? |
---|
| 3302 | : "${ac_tmp:=$tmp}" |
---|
| 3303 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
---|
| 3304 | ' 0 |
---|
| 3305 | trap 'as_fn_exit 1' 1 2 13 15 |
---|
| 3306 | } |
---|
| 3307 | # Create a (secure) tmp directory for tmp files. |
---|
| 3308 | |
---|
| 3309 | { |
---|
| 3310 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
---|
| 3311 | test -d "$tmp" |
---|
| 3312 | } || |
---|
| 3313 | { |
---|
| 3314 | tmp=./conf$$-$RANDOM |
---|
| 3315 | (umask 077 && mkdir "$tmp") |
---|
| 3316 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
---|
| 3317 | ac_tmp=$tmp |
---|
| 3318 | |
---|
| 3319 | # Set up the scripts for CONFIG_FILES section. |
---|
| 3320 | # No need to generate them if there are no CONFIG_FILES. |
---|
| 3321 | # This happens for instance with `./config.status config.h'. |
---|
| 3322 | if test -n "$CONFIG_FILES"; then |
---|
| 3323 | |
---|
| 3324 | if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then |
---|
| 3325 | ac_cs_awk_getline=: |
---|
| 3326 | ac_cs_awk_pipe_init= |
---|
| 3327 | ac_cs_awk_read_file=' |
---|
| 3328 | while ((getline aline < (F[key])) > 0) |
---|
| 3329 | print(aline) |
---|
| 3330 | close(F[key])' |
---|
| 3331 | ac_cs_awk_pipe_fini= |
---|
| 3332 | else |
---|
| 3333 | ac_cs_awk_getline=false |
---|
| 3334 | ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\"" |
---|
| 3335 | ac_cs_awk_read_file=' |
---|
| 3336 | print "|#_!!_#|" |
---|
| 3337 | print "cat " F[key] " &&" |
---|
| 3338 | '$ac_cs_awk_pipe_init |
---|
| 3339 | # The final `:' finishes the AND list. |
---|
| 3340 | ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }' |
---|
| 3341 | fi |
---|
| 3342 | ac_cr=`echo X | tr X '\015'` |
---|
| 3343 | # On cygwin, bash can eat \r inside `` if the user requested igncr. |
---|
| 3344 | # But we know of no other shell where ac_cr would be empty at this |
---|
| 3345 | # point, so we can use a bashism as a fallback. |
---|
| 3346 | if test "x$ac_cr" = x; then |
---|
| 3347 | eval ac_cr=\$\'\\r\' |
---|
| 3348 | fi |
---|
| 3349 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
---|
| 3350 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
---|
| 3351 | ac_cs_awk_cr='\\r' |
---|
| 3352 | else |
---|
| 3353 | ac_cs_awk_cr=$ac_cr |
---|
| 3354 | fi |
---|
| 3355 | |
---|
| 3356 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
---|
| 3357 | _ACEOF |
---|
| 3358 | |
---|
| 3359 | # Create commands to substitute file output variables. |
---|
| 3360 | { |
---|
| 3361 | echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" && |
---|
| 3362 | echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' && |
---|
| 3363 | echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' && |
---|
| 3364 | echo "_ACAWK" && |
---|
| 3365 | echo "_ACEOF" |
---|
| 3366 | } >conf$$files.sh && |
---|
| 3367 | . ./conf$$files.sh || |
---|
| 3368 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
---|
| 3369 | rm -f conf$$files.sh |
---|
| 3370 | |
---|
| 3371 | { |
---|
| 3372 | echo "cat >conf$$subs.awk <<_ACEOF" && |
---|
| 3373 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
---|
| 3374 | echo "_ACEOF" |
---|
| 3375 | } >conf$$subs.sh || |
---|
| 3376 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
---|
| 3377 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
---|
| 3378 | ac_delim='%!_!# ' |
---|
| 3379 | for ac_last_try in false false false false false :; do |
---|
| 3380 | . ./conf$$subs.sh || |
---|
| 3381 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
---|
| 3382 | |
---|
| 3383 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
---|
| 3384 | if test $ac_delim_n = $ac_delim_num; then |
---|
| 3385 | break |
---|
| 3386 | elif $ac_last_try; then |
---|
| 3387 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
---|
| 3388 | else |
---|
| 3389 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
---|
| 3390 | fi |
---|
| 3391 | done |
---|
| 3392 | rm -f conf$$subs.sh |
---|
| 3393 | |
---|
| 3394 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 3395 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
---|
| 3396 | _ACEOF |
---|
| 3397 | sed -n ' |
---|
| 3398 | h |
---|
| 3399 | s/^/S["/; s/!.*/"]=/ |
---|
| 3400 | p |
---|
| 3401 | g |
---|
| 3402 | s/^[^!]*!// |
---|
| 3403 | :repl |
---|
| 3404 | t repl |
---|
| 3405 | s/'"$ac_delim"'$// |
---|
| 3406 | t delim |
---|
| 3407 | :nl |
---|
| 3408 | h |
---|
| 3409 | s/\(.\{148\}\)..*/\1/ |
---|
| 3410 | t more1 |
---|
| 3411 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
---|
| 3412 | p |
---|
| 3413 | n |
---|
| 3414 | b repl |
---|
| 3415 | :more1 |
---|
| 3416 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
---|
| 3417 | p |
---|
| 3418 | g |
---|
| 3419 | s/.\{148\}// |
---|
| 3420 | t nl |
---|
| 3421 | :delim |
---|
| 3422 | h |
---|
| 3423 | s/\(.\{148\}\)..*/\1/ |
---|
| 3424 | t more2 |
---|
| 3425 | s/["\\]/\\&/g; s/^/"/; s/$/"/ |
---|
| 3426 | p |
---|
| 3427 | b |
---|
| 3428 | :more2 |
---|
| 3429 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
---|
| 3430 | p |
---|
| 3431 | g |
---|
| 3432 | s/.\{148\}// |
---|
| 3433 | t delim |
---|
| 3434 | ' <conf$$subs.awk | sed ' |
---|
| 3435 | /^[^""]/{ |
---|
| 3436 | N |
---|
| 3437 | s/\n// |
---|
| 3438 | } |
---|
| 3439 | ' >>$CONFIG_STATUS || ac_write_fail=1 |
---|
| 3440 | rm -f conf$$subs.awk |
---|
| 3441 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 3442 | _ACAWK |
---|
| 3443 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
---|
| 3444 | for (key in S) S_is_set[key] = 1 |
---|
| 3445 | FS = "" |
---|
| 3446 | \$ac_cs_awk_pipe_init |
---|
| 3447 | } |
---|
| 3448 | { |
---|
| 3449 | line = $ 0 |
---|
| 3450 | nfields = split(line, field, "@") |
---|
| 3451 | substed = 0 |
---|
| 3452 | len = length(field[1]) |
---|
| 3453 | for (i = 2; i < nfields; i++) { |
---|
| 3454 | key = field[i] |
---|
| 3455 | keylen = length(key) |
---|
| 3456 | if (S_is_set[key]) { |
---|
| 3457 | value = S[key] |
---|
| 3458 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
---|
| 3459 | len += length(value) + length(field[++i]) |
---|
| 3460 | substed = 1 |
---|
| 3461 | } else |
---|
| 3462 | len += 1 + keylen |
---|
| 3463 | } |
---|
| 3464 | if (nfields == 3 && !substed) { |
---|
| 3465 | key = field[2] |
---|
| 3466 | if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) { |
---|
| 3467 | \$ac_cs_awk_read_file |
---|
| 3468 | next |
---|
| 3469 | } |
---|
| 3470 | } |
---|
| 3471 | print line |
---|
| 3472 | } |
---|
| 3473 | \$ac_cs_awk_pipe_fini |
---|
| 3474 | _ACAWK |
---|
| 3475 | _ACEOF |
---|
| 3476 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 3477 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
---|
| 3478 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
---|
| 3479 | else |
---|
| 3480 | cat |
---|
| 3481 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
---|
| 3482 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
---|
| 3483 | _ACEOF |
---|
| 3484 | |
---|
| 3485 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
---|
| 3486 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
---|
| 3487 | # trailing colons and then remove the whole line if VPATH becomes empty |
---|
| 3488 | # (actually we leave an empty line to preserve line numbers). |
---|
| 3489 | if test "x$srcdir" = x.; then |
---|
| 3490 | ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
---|
| 3491 | h |
---|
| 3492 | s/// |
---|
| 3493 | s/^/:/ |
---|
| 3494 | s/[ ]*$/:/ |
---|
| 3495 | s/:\$(srcdir):/:/g |
---|
| 3496 | s/:\${srcdir}:/:/g |
---|
| 3497 | s/:@srcdir@:/:/g |
---|
| 3498 | s/^:*// |
---|
| 3499 | s/:*$// |
---|
| 3500 | x |
---|
| 3501 | s/\(=[ ]*\).*/\1/ |
---|
| 3502 | G |
---|
| 3503 | s/\n// |
---|
| 3504 | s/^[^=]*=[ ]*$// |
---|
| 3505 | }' |
---|
| 3506 | fi |
---|
| 3507 | |
---|
| 3508 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 3509 | fi # test -n "$CONFIG_FILES" |
---|
| 3510 | |
---|
| 3511 | |
---|
| 3512 | eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" |
---|
| 3513 | shift |
---|
| 3514 | for ac_tag |
---|
| 3515 | do |
---|
| 3516 | case $ac_tag in |
---|
| 3517 | :[FHLC]) ac_mode=$ac_tag; continue;; |
---|
| 3518 | esac |
---|
| 3519 | case $ac_mode$ac_tag in |
---|
| 3520 | :[FHL]*:*);; |
---|
| 3521 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
---|
| 3522 | :[FH]-) ac_tag=-:-;; |
---|
| 3523 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
---|
| 3524 | esac |
---|
| 3525 | ac_save_IFS=$IFS |
---|
| 3526 | IFS=: |
---|
| 3527 | set x $ac_tag |
---|
| 3528 | IFS=$ac_save_IFS |
---|
| 3529 | shift |
---|
| 3530 | ac_file=$1 |
---|
| 3531 | shift |
---|
| 3532 | |
---|
| 3533 | case $ac_mode in |
---|
| 3534 | :L) ac_source=$1;; |
---|
| 3535 | :[FH]) |
---|
| 3536 | ac_file_inputs= |
---|
| 3537 | for ac_f |
---|
| 3538 | do |
---|
| 3539 | case $ac_f in |
---|
| 3540 | -) ac_f="$ac_tmp/stdin";; |
---|
| 3541 | *) # Look for the file first in the build tree, then in the source tree |
---|
| 3542 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
---|
| 3543 | # because $ac_f cannot contain `:'. |
---|
| 3544 | test -f "$ac_f" || |
---|
| 3545 | case $ac_f in |
---|
| 3546 | [\\/$]*) false;; |
---|
| 3547 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
---|
| 3548 | esac || |
---|
| 3549 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
---|
| 3550 | esac |
---|
| 3551 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
---|
| 3552 | as_fn_append ac_file_inputs " '$ac_f'" |
---|
| 3553 | done |
---|
| 3554 | |
---|
| 3555 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
---|
| 3556 | # use $as_me), people would be surprised to read: |
---|
| 3557 | # /* config.h. Generated by config.status. */ |
---|
| 3558 | configure_input='Generated from '` |
---|
| 3559 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
---|
| 3560 | `' by configure.' |
---|
| 3561 | if test x"$ac_file" != x-; then |
---|
| 3562 | configure_input="$ac_file. $configure_input" |
---|
| 3563 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
---|
| 3564 | $as_echo "$as_me: creating $ac_file" >&6;} |
---|
| 3565 | fi |
---|
| 3566 | # Neutralize special characters interpreted by sed in replacement strings. |
---|
| 3567 | case $configure_input in #( |
---|
| 3568 | *\&* | *\|* | *\\* ) |
---|
| 3569 | ac_sed_conf_input=`$as_echo "$configure_input" | |
---|
| 3570 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
---|
| 3571 | *) ac_sed_conf_input=$configure_input;; |
---|
| 3572 | esac |
---|
| 3573 | |
---|
| 3574 | case $ac_tag in |
---|
| 3575 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
---|
| 3576 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
---|
| 3577 | esac |
---|
| 3578 | ;; |
---|
| 3579 | esac |
---|
| 3580 | |
---|
| 3581 | ac_dir=`$as_dirname -- "$ac_file" || |
---|
| 3582 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 3583 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
---|
| 3584 | X"$ac_file" : 'X\(//\)$' \| \ |
---|
| 3585 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 3586 | $as_echo X"$ac_file" | |
---|
| 3587 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 3588 | s//\1/ |
---|
| 3589 | q |
---|
| 3590 | } |
---|
| 3591 | /^X\(\/\/\)[^/].*/{ |
---|
| 3592 | s//\1/ |
---|
| 3593 | q |
---|
| 3594 | } |
---|
| 3595 | /^X\(\/\/\)$/{ |
---|
| 3596 | s//\1/ |
---|
| 3597 | q |
---|
| 3598 | } |
---|
| 3599 | /^X\(\/\).*/{ |
---|
| 3600 | s//\1/ |
---|
| 3601 | q |
---|
| 3602 | } |
---|
| 3603 | s/.*/./; q'` |
---|
| 3604 | as_dir="$ac_dir"; as_fn_mkdir_p |
---|
| 3605 | ac_builddir=. |
---|
| 3606 | |
---|
| 3607 | case "$ac_dir" in |
---|
| 3608 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
| 3609 | *) |
---|
| 3610 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
---|
| 3611 | # A ".." for each directory in $ac_dir_suffix. |
---|
| 3612 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
---|
| 3613 | case $ac_top_builddir_sub in |
---|
| 3614 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
| 3615 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
---|
| 3616 | esac ;; |
---|
| 3617 | esac |
---|
| 3618 | ac_abs_top_builddir=$ac_pwd |
---|
| 3619 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
---|
| 3620 | # for backward compatibility: |
---|
| 3621 | ac_top_builddir=$ac_top_build_prefix |
---|
| 3622 | |
---|
| 3623 | case $srcdir in |
---|
| 3624 | .) # We are building in place. |
---|
| 3625 | ac_srcdir=. |
---|
| 3626 | ac_top_srcdir=$ac_top_builddir_sub |
---|
| 3627 | ac_abs_top_srcdir=$ac_pwd ;; |
---|
| 3628 | [\\/]* | ?:[\\/]* ) # Absolute name. |
---|
| 3629 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
| 3630 | ac_top_srcdir=$srcdir |
---|
| 3631 | ac_abs_top_srcdir=$srcdir ;; |
---|
| 3632 | *) # Relative name. |
---|
| 3633 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
---|
| 3634 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
---|
| 3635 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
---|
| 3636 | esac |
---|
| 3637 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
---|
| 3638 | |
---|
| 3639 | |
---|
| 3640 | case $ac_mode in |
---|
| 3641 | :F) |
---|
| 3642 | # |
---|
| 3643 | # CONFIG_FILE |
---|
| 3644 | # |
---|
| 3645 | |
---|
| 3646 | case $INSTALL in |
---|
| 3647 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
---|
| 3648 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
---|
| 3649 | esac |
---|
| 3650 | _ACEOF |
---|
| 3651 | |
---|
| 3652 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 3653 | # If the template does not know about datarootdir, expand it. |
---|
| 3654 | # FIXME: This hack should be removed a few years after 2.60. |
---|
| 3655 | ac_datarootdir_hack=; ac_datarootdir_seen= |
---|
| 3656 | ac_sed_dataroot=' |
---|
| 3657 | /datarootdir/ { |
---|
| 3658 | p |
---|
| 3659 | q |
---|
| 3660 | } |
---|
| 3661 | /@datadir@/p |
---|
| 3662 | /@docdir@/p |
---|
| 3663 | /@infodir@/p |
---|
| 3664 | /@localedir@/p |
---|
| 3665 | /@mandir@/p' |
---|
| 3666 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
---|
| 3667 | *datarootdir*) ac_datarootdir_seen=yes;; |
---|
| 3668 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
---|
| 3669 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
---|
| 3670 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
---|
| 3671 | _ACEOF |
---|
| 3672 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 3673 | ac_datarootdir_hack=' |
---|
| 3674 | s&@datadir@&$datadir&g |
---|
| 3675 | s&@docdir@&$docdir&g |
---|
| 3676 | s&@infodir@&$infodir&g |
---|
| 3677 | s&@localedir@&$localedir&g |
---|
| 3678 | s&@mandir@&$mandir&g |
---|
| 3679 | s&\\\${datarootdir}&$datarootdir&g' ;; |
---|
| 3680 | esac |
---|
| 3681 | _ACEOF |
---|
| 3682 | |
---|
| 3683 | # Neutralize VPATH when `$srcdir' = `.'. |
---|
| 3684 | # Shell code in configure.ac might set extrasub. |
---|
| 3685 | # FIXME: do we really want to maintain this feature? |
---|
| 3686 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 3687 | ac_sed_extra="$ac_vpsub |
---|
| 3688 | $extrasub |
---|
| 3689 | _ACEOF |
---|
| 3690 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 3691 | :t |
---|
| 3692 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
---|
| 3693 | s|@configure_input@|$ac_sed_conf_input|;t t |
---|
| 3694 | s&@top_builddir@&$ac_top_builddir_sub&;t t |
---|
| 3695 | s&@top_build_prefix@&$ac_top_build_prefix&;t t |
---|
| 3696 | s&@srcdir@&$ac_srcdir&;t t |
---|
| 3697 | s&@abs_srcdir@&$ac_abs_srcdir&;t t |
---|
| 3698 | s&@top_srcdir@&$ac_top_srcdir&;t t |
---|
| 3699 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
---|
| 3700 | s&@builddir@&$ac_builddir&;t t |
---|
| 3701 | s&@abs_builddir@&$ac_abs_builddir&;t t |
---|
| 3702 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
---|
| 3703 | s&@INSTALL@&$ac_INSTALL&;t t |
---|
| 3704 | $ac_datarootdir_hack |
---|
| 3705 | " |
---|
| 3706 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | |
---|
| 3707 | if $ac_cs_awk_getline; then |
---|
| 3708 | $AWK -f "$ac_tmp/subs.awk" |
---|
| 3709 | else |
---|
| 3710 | $AWK -f "$ac_tmp/subs.awk" | $SHELL |
---|
| 3711 | fi \ |
---|
| 3712 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
---|
| 3713 | |
---|
| 3714 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
---|
| 3715 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
---|
| 3716 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
---|
| 3717 | "$ac_tmp/out"`; test -z "$ac_out"; } && |
---|
| 3718 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
---|
| 3719 | which seems to be undefined. Please make sure it is defined" >&5 |
---|
| 3720 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
---|
| 3721 | which seems to be undefined. Please make sure it is defined" >&2;} |
---|
| 3722 | |
---|
| 3723 | rm -f "$ac_tmp/stdin" |
---|
| 3724 | case $ac_file in |
---|
| 3725 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
---|
| 3726 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
---|
| 3727 | esac \ |
---|
| 3728 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
---|
| 3729 | ;; |
---|
| 3730 | |
---|
| 3731 | |
---|
| 3732 | :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
---|
| 3733 | $as_echo "$as_me: executing $ac_file commands" >&6;} |
---|
| 3734 | ;; |
---|
| 3735 | esac |
---|
| 3736 | |
---|
| 3737 | |
---|
| 3738 | case $ac_file$ac_mode in |
---|
| 3739 | "depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
---|
| 3740 | # Autoconf 2.62 quotes --file arguments for eval, but not when files |
---|
| 3741 | # are listed without --file. Let's play safe and only enable the eval |
---|
| 3742 | # if we detect the quoting. |
---|
| 3743 | case $CONFIG_FILES in |
---|
| 3744 | *\'*) eval set x "$CONFIG_FILES" ;; |
---|
| 3745 | *) set x $CONFIG_FILES ;; |
---|
| 3746 | esac |
---|
| 3747 | shift |
---|
| 3748 | for mf |
---|
| 3749 | do |
---|
| 3750 | # Strip MF so we end up with the name of the file. |
---|
| 3751 | mf=`echo "$mf" | sed -e 's/:.*$//'` |
---|
| 3752 | # Check whether this is an Automake generated Makefile or not. |
---|
| 3753 | # We used to match only the files named `Makefile.in', but |
---|
| 3754 | # some people rename them; so instead we look at the file content. |
---|
| 3755 | # Grep'ing the first line is not enough: some people post-process |
---|
| 3756 | # each Makefile.in and add a new line on top of each file to say so. |
---|
| 3757 | # Grep'ing the whole file is not good either: AIX grep has a line |
---|
| 3758 | # limit of 2048, but all sed's we know have understand at least 4000. |
---|
| 3759 | if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
---|
| 3760 | dirpart=`$as_dirname -- "$mf" || |
---|
| 3761 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 3762 | X"$mf" : 'X\(//\)[^/]' \| \ |
---|
| 3763 | X"$mf" : 'X\(//\)$' \| \ |
---|
| 3764 | X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 3765 | $as_echo X"$mf" | |
---|
| 3766 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 3767 | s//\1/ |
---|
| 3768 | q |
---|
| 3769 | } |
---|
| 3770 | /^X\(\/\/\)[^/].*/{ |
---|
| 3771 | s//\1/ |
---|
| 3772 | q |
---|
| 3773 | } |
---|
| 3774 | /^X\(\/\/\)$/{ |
---|
| 3775 | s//\1/ |
---|
| 3776 | q |
---|
| 3777 | } |
---|
| 3778 | /^X\(\/\).*/{ |
---|
| 3779 | s//\1/ |
---|
| 3780 | q |
---|
| 3781 | } |
---|
| 3782 | s/.*/./; q'` |
---|
| 3783 | else |
---|
| 3784 | continue |
---|
| 3785 | fi |
---|
| 3786 | # Extract the definition of DEPDIR, am__include, and am__quote |
---|
| 3787 | # from the Makefile without running `make'. |
---|
| 3788 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
---|
| 3789 | test -z "$DEPDIR" && continue |
---|
| 3790 | am__include=`sed -n 's/^am__include = //p' < "$mf"` |
---|
| 3791 | test -z "am__include" && continue |
---|
| 3792 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
---|
| 3793 | # When using ansi2knr, U may be empty or an underscore; expand it |
---|
| 3794 | U=`sed -n 's/^U = //p' < "$mf"` |
---|
| 3795 | # Find all dependency output files, they are included files with |
---|
| 3796 | # $(DEPDIR) in their names. We invoke sed twice because it is the |
---|
| 3797 | # simplest approach to changing $(DEPDIR) to its actual value in the |
---|
| 3798 | # expansion. |
---|
| 3799 | for file in `sed -n " |
---|
| 3800 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
---|
| 3801 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
---|
| 3802 | # Make sure the directory exists. |
---|
| 3803 | test -f "$dirpart/$file" && continue |
---|
| 3804 | fdir=`$as_dirname -- "$file" || |
---|
| 3805 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 3806 | X"$file" : 'X\(//\)[^/]' \| \ |
---|
| 3807 | X"$file" : 'X\(//\)$' \| \ |
---|
| 3808 | X"$file" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 3809 | $as_echo X"$file" | |
---|
| 3810 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 3811 | s//\1/ |
---|
| 3812 | q |
---|
| 3813 | } |
---|
| 3814 | /^X\(\/\/\)[^/].*/{ |
---|
| 3815 | s//\1/ |
---|
| 3816 | q |
---|
| 3817 | } |
---|
| 3818 | /^X\(\/\/\)$/{ |
---|
| 3819 | s//\1/ |
---|
| 3820 | q |
---|
| 3821 | } |
---|
| 3822 | /^X\(\/\).*/{ |
---|
| 3823 | s//\1/ |
---|
| 3824 | q |
---|
| 3825 | } |
---|
| 3826 | s/.*/./; q'` |
---|
| 3827 | as_dir=$dirpart/$fdir; as_fn_mkdir_p |
---|
| 3828 | # echo "creating $dirpart/$file" |
---|
| 3829 | echo '# dummy' > "$dirpart/$file" |
---|
| 3830 | done |
---|
| 3831 | done |
---|
| 3832 | } |
---|
| 3833 | ;; |
---|
| 3834 | "Makefile":F) . ${libgloss_topdir}/config-ml.in ;; |
---|
| 3835 | |
---|
| 3836 | esac |
---|
| 3837 | done # for ac_tag |
---|
| 3838 | |
---|
| 3839 | |
---|
| 3840 | as_fn_exit 0 |
---|
| 3841 | _ACEOF |
---|
| 3842 | ac_clean_files=$ac_clean_files_save |
---|
| 3843 | |
---|
| 3844 | test $ac_write_fail = 0 || |
---|
| 3845 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
---|
| 3846 | |
---|
| 3847 | |
---|
| 3848 | # configure is writing to config.log, and then calls config.status. |
---|
| 3849 | # config.status does its own redirection, appending to config.log. |
---|
| 3850 | # Unfortunately, on DOS this fails, as config.log is still kept open |
---|
| 3851 | # by configure, so config.status won't be able to write to it; its |
---|
| 3852 | # output is simply discarded. So we exec the FD to /dev/null, |
---|
| 3853 | # effectively closing config.log, so it can be properly (re)opened and |
---|
| 3854 | # appended to by config.status. When coming back to configure, we |
---|
| 3855 | # need to make the FD available again. |
---|
| 3856 | if test "$no_create" != yes; then |
---|
| 3857 | ac_cs_success=: |
---|
| 3858 | ac_config_status_args= |
---|
| 3859 | test "$silent" = yes && |
---|
| 3860 | ac_config_status_args="$ac_config_status_args --quiet" |
---|
| 3861 | exec 5>/dev/null |
---|
| 3862 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
---|
| 3863 | exec 5>>config.log |
---|
| 3864 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
---|
| 3865 | # would make configure fail if this is the last instruction. |
---|
| 3866 | $ac_cs_success || as_fn_exit 1 |
---|
| 3867 | fi |
---|
| 3868 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
---|
| 3869 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
---|
| 3870 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
---|
| 3871 | fi |
---|
| 3872 | |
---|