Skip to content
Snippets Groups Projects
configure 351 KiB
Newer Older
  • Learn to ignore specific revisions
  • Kenneth Johansson's avatar
    Kenneth Johansson committed
    11001 11002 11003 11004 11005 11006 11007 11008 11009 11010 11011 11012 11013 11014 11015 11016 11017 11018 11019 11020 11021 11022 11023 11024 11025 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 11036 11037 11038 11039 11040 11041 11042 11043 11044 11045 11046 11047 11048 11049 11050 11051 11052 11053 11054 11055 11056 11057 11058 11059 11060 11061 11062 11063 11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 11080 11081 11082 11083 11084 11085 11086 11087 11088 11089 11090 11091 11092 11093 11094 11095 11096 11097 11098 11099 11100 11101 11102 11103 11104 11105 11106 11107 11108 11109 11110 11111 11112 11113 11114 11115 11116 11117 11118 11119 11120 11121 11122 11123 11124 11125 11126 11127 11128 11129 11130 11131 11132 11133 11134 11135 11136 11137 11138 11139 11140 11141 11142 11143 11144 11145 11146 11147 11148 11149 11150 11151 11152 11153 11154 11155 11156 11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 11180 11181 11182 11183 11184 11185 11186 11187 11188 11189 11190 11191 11192 11193 11194 11195 11196 11197 11198 11199 11200 11201 11202 11203 11204 11205 11206 11207 11208 11209 11210 11211 11212 11213 11214 11215 11216 11217 11218 11219 11220 11221 11222 11223 11224 11225 11226 11227 11228 11229 11230 11231 11232 11233 11234 11235 11236 11237 11238 11239 11240 11241 11242 11243 11244 11245 11246 11247 11248 11249 11250 11251 11252 11253 11254 11255 11256 11257 11258 11259 11260 11261 11262 11263 11264 11265 11266 11267 11268 11269 11270 11271 11272 11273 11274 11275 11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 11295 11296 11297 11298 11299 11300 11301 11302 11303 11304 11305 11306 11307 11308 11309 11310 11311 11312 11313 11314 11315 11316 11317 11318 11319 11320 11321 11322 11323 11324 11325 11326 11327 11328 11329 11330 11331 11332 11333 11334 11335 11336 11337 11338 11339 11340 11341 11342 11343 11344 11345 11346 11347 11348 11349 11350 11351 11352 11353 11354 11355 11356 11357 11358 11359 11360 11361 11362 11363 11364 11365 11366 11367 11368 11369 11370 11371 11372 11373 11374 11375 11376 11377 11378 11379 11380 11381 11382 11383 11384 11385 11386 11387 11388 11389 11390 11391 11392 11393 11394 11395 11396 11397 11398 11399 11400 11401 11402 11403 11404 11405 11406 11407 11408 11409 11410 11411 11412 11413 11414 11415 11416 11417 11418 11419 11420 11421 11422 11423 11424 11425 11426 11427 11428 11429 11430 11431 11432 11433 11434 11435 11436 11437 11438 11439 11440 11441 11442 11443 11444 11445 11446 11447 11448 11449 11450 11451 11452 11453 11454 11455 11456 11457 11458 11459 11460 11461 11462 11463 11464 11465 11466 11467 11468 11469 11470 11471 11472 11473 11474 11475 11476 11477 11478 11479 11480 11481 11482 11483 11484 11485 11486 11487 11488 11489 11490 11491 11492 11493 11494 11495 11496 11497 11498 11499 11500 11501 11502 11503 11504 11505 11506 11507 11508 11509 11510 11511 11512 11513 11514 11515 11516 11517 11518 11519 11520 11521 11522 11523 11524 11525 11526 11527 11528 11529 11530 11531 11532 11533 11534 11535 11536 11537 11538 11539 11540 11541 11542 11543 11544 11545 11546 11547 11548 11549 11550 11551 11552 11553 11554 11555 11556 11557 11558 11559 11560 11561 11562 11563 11564 11565 11566 11567 11568 11569 11570 11571 11572 11573 11574 11575 11576 11577 11578 11579 11580 11581 11582 11583 11584 11585 11586 11587 11588 11589 11590 11591 11592 11593 11594 11595 11596 11597 11598 11599 11600 11601 11602 11603 11604 11605 11606 11607 11608 11609 11610 11611 11612 11613 11614 11615 11616 11617 11618 11619 11620 11621 11622 11623 11624 11625 11626 11627 11628 11629 11630 11631 11632 11633 11634 11635 11636 11637 11638 11639 11640 11641 11642 11643 11644 11645 11646 11647 11648 11649 11650 11651 11652 11653 11654 11655 11656 11657 11658 11659 11660 11661 11662 11663 11664 11665 11666 11667 11668 11669 11670 11671 11672 11673 11674 11675 11676 11677 11678 11679 11680 11681 11682
    # No need to generate them if there are no CONFIG_FILES.
    # This happens for instance with `./config.status config.h'.
    if test -n "$CONFIG_FILES"; then
    
    
    ac_cr=`echo X | tr X '\015'`
    # On cygwin, bash can eat \r inside `` if the user requested igncr.
    # But we know of no other shell where ac_cr would be empty at this
    # point, so we can use a bashism as a fallback.
    if test "x$ac_cr" = x; then
      eval ac_cr=\$\'\\r\'
    fi
    ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
    if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
      ac_cs_awk_cr='\\r'
    else
      ac_cs_awk_cr=$ac_cr
    fi
    
    echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
    _ACEOF
    
    
    {
      echo "cat >conf$$subs.awk <<_ACEOF" &&
      echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
      echo "_ACEOF"
    } >conf$$subs.sh ||
      as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
    ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
    ac_delim='%!_!# '
    for ac_last_try in false false false false false :; do
      . ./conf$$subs.sh ||
        as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
    
      ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
      if test $ac_delim_n = $ac_delim_num; then
        break
      elif $ac_last_try; then
        as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
      else
        ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
      fi
    done
    rm -f conf$$subs.sh
    
    cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
    _ACEOF
    sed -n '
    h
    s/^/S["/; s/!.*/"]=/
    p
    g
    s/^[^!]*!//
    :repl
    t repl
    s/'"$ac_delim"'$//
    t delim
    :nl
    h
    s/\(.\{148\}\)..*/\1/
    t more1
    s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
    p
    n
    b repl
    :more1
    s/["\\]/\\&/g; s/^/"/; s/$/"\\/
    p
    g
    s/.\{148\}//
    t nl
    :delim
    h
    s/\(.\{148\}\)..*/\1/
    t more2
    s/["\\]/\\&/g; s/^/"/; s/$/"/
    p
    b
    :more2
    s/["\\]/\\&/g; s/^/"/; s/$/"\\/
    p
    g
    s/.\{148\}//
    t delim
    ' <conf$$subs.awk | sed '
    /^[^""]/{
      N
      s/\n//
    }
    ' >>$CONFIG_STATUS || ac_write_fail=1
    rm -f conf$$subs.awk
    cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    _ACAWK
    cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
      for (key in S) S_is_set[key] = 1
      FS = ""
    
    }
    {
      line = $ 0
      nfields = split(line, field, "@")
      substed = 0
      len = length(field[1])
      for (i = 2; i < nfields; i++) {
        key = field[i]
        keylen = length(key)
        if (S_is_set[key]) {
          value = S[key]
          line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
          len += length(value) + length(field[++i])
          substed = 1
        } else
          len += 1 + keylen
      }
    
      print line
    }
    
    _ACAWK
    _ACEOF
    cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
      sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
    else
      cat
    fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
      || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
    _ACEOF
    
    # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
    # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
    # trailing colons and then remove the whole line if VPATH becomes empty
    # (actually we leave an empty line to preserve line numbers).
    if test "x$srcdir" = x.; then
      ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
    h
    s///
    s/^/:/
    s/[	 ]*$/:/
    s/:\$(srcdir):/:/g
    s/:\${srcdir}:/:/g
    s/:@srcdir@:/:/g
    s/^:*//
    s/:*$//
    x
    s/\(=[	 ]*\).*/\1/
    G
    s/\n//
    s/^[^=]*=[	 ]*$//
    }'
    fi
    
    cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    fi # test -n "$CONFIG_FILES"
    
    # Set up the scripts for CONFIG_HEADERS section.
    # No need to generate them if there are no CONFIG_HEADERS.
    # This happens for instance with `./config.status Makefile'.
    if test -n "$CONFIG_HEADERS"; then
    cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
    BEGIN {
    _ACEOF
    
    # Transform confdefs.h into an awk script `defines.awk', embedded as
    # here-document in config.status, that substitutes the proper values into
    # config.h.in to produce config.h.
    
    # Create a delimiter string that does not exist in confdefs.h, to ease
    # handling of long lines.
    ac_delim='%!_!# '
    for ac_last_try in false false :; do
      ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
      if test -z "$ac_tt"; then
        break
      elif $ac_last_try; then
        as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
      else
        ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
      fi
    done
    
    # For the awk script, D is an array of macro values keyed by name,
    # likewise P contains macro parameters if any.  Preserve backslash
    # newline sequences.
    
    ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
    sed -n '
    s/.\{148\}/&'"$ac_delim"'/g
    t rset
    :rset
    s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
    t def
    d
    :def
    s/\\$//
    t bsnl
    s/["\\]/\\&/g
    s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
    D["\1"]=" \3"/p
    s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
    d
    :bsnl
    s/["\\]/\\&/g
    s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
    D["\1"]=" \3\\\\\\n"\\/p
    t cont
    s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
    t cont
    d
    :cont
    n
    s/.\{148\}/&'"$ac_delim"'/g
    t clear
    :clear
    s/\\$//
    t bsnlc
    s/["\\]/\\&/g; s/^/"/; s/$/"/p
    d
    :bsnlc
    s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
    b cont
    ' <confdefs.h | sed '
    s/'"$ac_delim"'/"\\\
    "/g' >>$CONFIG_STATUS || ac_write_fail=1
    
    cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
      for (key in D) D_is_set[key] = 1
      FS = ""
    }
    /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
      line = \$ 0
      split(line, arg, " ")
      if (arg[1] == "#") {
        defundef = arg[2]
        mac1 = arg[3]
      } else {
        defundef = substr(arg[1], 2)
        mac1 = arg[2]
      }
      split(mac1, mac2, "(") #)
      macro = mac2[1]
      prefix = substr(line, 1, index(line, defundef) - 1)
      if (D_is_set[macro]) {
        # Preserve the white space surrounding the "#".
        print prefix "define", macro P[macro] D[macro]
        next
      } else {
        # Replace #undef with comments.  This is necessary, for example,
        # in the case of _POSIX_SOURCE, which is predefined and required
        # on some systems where configure will not decide to define it.
        if (defundef == "undef") {
          print "/*", prefix defundef, macro, "*/"
          next
        }
      }
    }
    { print }
    _ACAWK
    _ACEOF
    cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
      as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
    fi # test -n "$CONFIG_HEADERS"
    
    
    eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
    shift
    for ac_tag
    do
      case $ac_tag in
      :[FHLC]) ac_mode=$ac_tag; continue;;
      esac
      case $ac_mode$ac_tag in
      :[FHL]*:*);;
      :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
      :[FH]-) ac_tag=-:-;;
      :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
      esac
      ac_save_IFS=$IFS
      IFS=:
      set x $ac_tag
      IFS=$ac_save_IFS
      shift
      ac_file=$1
      shift
    
      case $ac_mode in
      :L) ac_source=$1;;
      :[FH])
        ac_file_inputs=
        for ac_f
        do
          case $ac_f in
          -) ac_f="$ac_tmp/stdin";;
          *) # Look for the file first in the build tree, then in the source tree
    	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
    	 # because $ac_f cannot contain `:'.
    	 test -f "$ac_f" ||
    	   case $ac_f in
    	   [\\/$]*) false;;
    	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
    	   esac ||
    	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
          esac
          case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
          as_fn_append ac_file_inputs " '$ac_f'"
        done
    
        # Let's still pretend it is `configure' which instantiates (i.e., don't
        # use $as_me), people would be surprised to read:
        #    /* config.h.  Generated by config.status.  */
        configure_input='Generated from '`
    	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
    	`' by configure.'
        if test x"$ac_file" != x-; then
          configure_input="$ac_file.  $configure_input"
          { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
    $as_echo "$as_me: creating $ac_file" >&6;}
        fi
        # Neutralize special characters interpreted by sed in replacement strings.
        case $configure_input in #(
        *\&* | *\|* | *\\* )
           ac_sed_conf_input=`$as_echo "$configure_input" |
           sed 's/[\\\\&|]/\\\\&/g'`;; #(
        *) ac_sed_conf_input=$configure_input;;
        esac
    
        case $ac_tag in
        *:-:* | *:-) cat >"$ac_tmp/stdin" \
          || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
        esac
        ;;
      esac
    
      ac_dir=`$as_dirname -- "$ac_file" ||
    $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    	 X"$ac_file" : 'X\(//\)[^/]' \| \
    	 X"$ac_file" : 'X\(//\)$' \| \
    	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
    $as_echo X"$ac_file" |
        sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    	    s//\1/
    	    q
    	  }
    	  /^X\(\/\/\)[^/].*/{
    	    s//\1/
    	    q
    	  }
    	  /^X\(\/\/\)$/{
    	    s//\1/
    	    q
    	  }
    	  /^X\(\/\).*/{
    	    s//\1/
    	    q
    	  }
    	  s/.*/./; q'`
      as_dir="$ac_dir"; as_fn_mkdir_p
      ac_builddir=.
    
    case "$ac_dir" in
    .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
    *)
      ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
      # A ".." for each directory in $ac_dir_suffix.
      ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
      case $ac_top_builddir_sub in
      "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
      *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
      esac ;;
    esac
    ac_abs_top_builddir=$ac_pwd
    ac_abs_builddir=$ac_pwd$ac_dir_suffix
    # for backward compatibility:
    ac_top_builddir=$ac_top_build_prefix
    
    case $srcdir in
      .)  # We are building in place.
        ac_srcdir=.
        ac_top_srcdir=$ac_top_builddir_sub
        ac_abs_top_srcdir=$ac_pwd ;;
      [\\/]* | ?:[\\/]* )  # Absolute name.
        ac_srcdir=$srcdir$ac_dir_suffix;
        ac_top_srcdir=$srcdir
        ac_abs_top_srcdir=$srcdir ;;
      *) # Relative name.
        ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
        ac_top_srcdir=$ac_top_build_prefix$srcdir
        ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
    esac
    ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
    
    
      case $ac_mode in
      :F)
      #
      # CONFIG_FILE
      #
    
      case $INSTALL in
      [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
      *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
      esac
      ac_MKDIR_P=$MKDIR_P
      case $MKDIR_P in
      [\\/$]* | ?:[\\/]* ) ;;
      */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
      esac
    _ACEOF
    
    cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    # If the template does not know about datarootdir, expand it.
    # FIXME: This hack should be removed a few years after 2.60.
    ac_datarootdir_hack=; ac_datarootdir_seen=
    ac_sed_dataroot='
    /datarootdir/ {
      p
      q
    }
    /@datadir@/p
    /@docdir@/p
    /@infodir@/p
    /@localedir@/p
    /@mandir@/p'
    case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
    *datarootdir*) ac_datarootdir_seen=yes;;
    *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
    $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
    _ACEOF
    cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
      ac_datarootdir_hack='
      s&@datadir@&$datadir&g
      s&@docdir@&$docdir&g
      s&@infodir@&$infodir&g
      s&@localedir@&$localedir&g
      s&@mandir@&$mandir&g
      s&\\\${datarootdir}&$datarootdir&g' ;;
    esac
    _ACEOF
    
    # Neutralize VPATH when `$srcdir' = `.'.
    # Shell code in configure.ac might set extrasub.
    # FIXME: do we really want to maintain this feature?
    cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    ac_sed_extra="$ac_vpsub
    $extrasub
    _ACEOF
    cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    :t
    /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
    s|@configure_input@|$ac_sed_conf_input|;t t
    s&@top_builddir@&$ac_top_builddir_sub&;t t
    s&@top_build_prefix@&$ac_top_build_prefix&;t t
    s&@srcdir@&$ac_srcdir&;t t
    s&@abs_srcdir@&$ac_abs_srcdir&;t t
    s&@top_srcdir@&$ac_top_srcdir&;t t
    s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
    s&@builddir@&$ac_builddir&;t t
    s&@abs_builddir@&$ac_abs_builddir&;t t
    s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
    s&@INSTALL@&$ac_INSTALL&;t t
    s&@MKDIR_P@&$ac_MKDIR_P&;t t
    $ac_datarootdir_hack
    "
    eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
      >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    
    test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
      { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
      { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
          "$ac_tmp/out"`; test -z "$ac_out"; } &&
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
    which seems to be undefined.  Please make sure it is defined" >&5
    $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
    which seems to be undefined.  Please make sure it is defined" >&2;}
    
      rm -f "$ac_tmp/stdin"
      case $ac_file in
      -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
      *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
      esac \
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
     ;;
      :H)
      #
      # CONFIG_HEADER
      #
      if test x"$ac_file" != x-; then
        {
          $as_echo "/* $configure_input  */" \
          && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
        } >"$ac_tmp/config.h" \
          || as_fn_error $? "could not create $ac_file" "$LINENO" 5
        if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
          { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
    $as_echo "$as_me: $ac_file is unchanged" >&6;}
        else
          rm -f "$ac_file"
          mv "$ac_tmp/config.h" "$ac_file" \
    	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
        fi
      else
        $as_echo "/* $configure_input  */" \
          && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
          || as_fn_error $? "could not create -" "$LINENO" 5
      fi
    # Compute "$ac_file"'s index in $config_headers.
    _am_arg="$ac_file"
    _am_stamp_count=1
    for _am_header in $config_headers :; do
      case $_am_header in
        $_am_arg | $_am_arg:* )
          break ;;
        * )
          _am_stamp_count=`expr $_am_stamp_count + 1` ;;
      esac
    done
    echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
    $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    	 X"$_am_arg" : 'X\(//\)[^/]' \| \
    	 X"$_am_arg" : 'X\(//\)$' \| \
    	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
    $as_echo X"$_am_arg" |
        sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    	    s//\1/
    	    q
    	  }
    	  /^X\(\/\/\)[^/].*/{
    	    s//\1/
    	    q
    	  }
    	  /^X\(\/\/\)$/{
    	    s//\1/
    	    q
    	  }
    	  /^X\(\/\).*/{
    	    s//\1/
    	    q
    	  }
    	  s/.*/./; q'`/stamp-h$_am_stamp_count
     ;;
    
      :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
    $as_echo "$as_me: executing $ac_file commands" >&6;}
     ;;
      esac
    
    
      case $ac_file$ac_mode in
        "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
      # Older Autoconf quotes --file arguments for eval, but not when files
      # are listed without --file.  Let's play safe and only enable the eval
      # if we detect the quoting.
      case $CONFIG_FILES in
      *\'*) eval set x "$CONFIG_FILES" ;;
      *)   set x $CONFIG_FILES ;;
      esac
      shift
      for mf
      do
        # Strip MF so we end up with the name of the file.
        mf=`echo "$mf" | sed -e 's/:.*$//'`
        # Check whether this is an Automake generated Makefile or not.
        # We used to match only the files named 'Makefile.in', but
        # some people rename them; so instead we look at the file content.
        # Grep'ing the first line is not enough: some people post-process
        # each Makefile.in and add a new line on top of each file to say so.
        # Grep'ing the whole file is not good either: AIX grep has a line
        # limit of 2048, but all sed's we know have understand at least 4000.
        if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
          dirpart=`$as_dirname -- "$mf" ||
    $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    	 X"$mf" : 'X\(//\)[^/]' \| \
    	 X"$mf" : 'X\(//\)$' \| \
    	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
    $as_echo X"$mf" |
        sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    	    s//\1/
    	    q
    	  }
    	  /^X\(\/\/\)[^/].*/{
    	    s//\1/
    	    q
    	  }
    	  /^X\(\/\/\)$/{
    	    s//\1/
    	    q
    	  }
    	  /^X\(\/\).*/{
    	    s//\1/
    	    q
    	  }
    	  s/.*/./; q'`
        else
          continue
        fi
        # Extract the definition of DEPDIR, am__include, and am__quote
        # from the Makefile without running 'make'.
        DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
        test -z "$DEPDIR" && continue
        am__include=`sed -n 's/^am__include = //p' < "$mf"`
        test -z "$am__include" && continue
        am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
        # Find all dependency output files, they are included files with
        # $(DEPDIR) in their names.  We invoke sed twice because it is the
        # simplest approach to changing $(DEPDIR) to its actual value in the
        # expansion.
        for file in `sed -n "
          s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
    	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
          # Make sure the directory exists.
          test -f "$dirpart/$file" && continue
          fdir=`$as_dirname -- "$file" ||
    $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    	 X"$file" : 'X\(//\)[^/]' \| \
    	 X"$file" : 'X\(//\)$' \| \
    	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
    $as_echo X"$file" |
        sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    	    s//\1/
    	    q
    	  }
    	  /^X\(\/\/\)[^/].*/{
    	    s//\1/
    	    q
    	  }
    	  /^X\(\/\/\)$/{
    	    s//\1/
    	    q
    	  }
    	  /^X\(\/\).*/{
    	    s//\1/
    	    q
    	  }
    	  s/.*/./; q'`
          as_dir=$dirpart/$fdir; as_fn_mkdir_p
          # echo "creating $dirpart/$file"
          echo '# dummy' > "$dirpart/$file"
        done
      done
    }
     ;;
    
      esac
    done # for ac_tag
    
    
    as_fn_exit 0
    _ACEOF
    ac_clean_files=$ac_clean_files_save
    
    test $ac_write_fail = 0 ||
      as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
    
    
    # configure is writing to config.log, and then calls config.status.
    # config.status does its own redirection, appending to config.log.
    # Unfortunately, on DOS this fails, as config.log is still kept open
    # by configure, so config.status won't be able to write to it; its
    # output is simply discarded.  So we exec the FD to /dev/null,
    # effectively closing config.log, so it can be properly (re)opened and
    # appended to by config.status.  When coming back to configure, we
    # need to make the FD available again.
    if test "$no_create" != yes; then
      ac_cs_success=:
      ac_config_status_args=
      test "$silent" = yes &&
        ac_config_status_args="$ac_config_status_args --quiet"
      exec 5>/dev/null
      $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
      exec 5>>config.log
      # Use ||, not &&, to avoid exiting from the if with $? = 1, which
      # would make configure fail if this is the last instruction.
      $ac_cs_success || as_fn_exit 1
    fi
    if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
    $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
    fi