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