configure 911 KB
Newer Older
29001
29002
29003
29004
29005
29006
29007
29008
29009
29010
29011
29012
29013
29014
29015
29016
29017
29018
29019
29020
29021
29022
29023
29024
29025
29026
29027
29028
29029
29030
29031
29032
29033
29034
29035
29036
29037
29038
29039
29040
29041
29042
29043
29044
29045
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_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
   { (exit 1); exit 1; }; }
fi # test -n "$CONFIG_HEADERS"

Emmanuel Bertin's avatar
Emmanuel Bertin committed
29046

29047
29048
29049
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
shift
for ac_tag
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29050
29051
29052
29053
29054
29055
do
  case $ac_tag in
  :[FHLC]) ac_mode=$ac_tag; continue;;
  esac
  case $ac_mode$ac_tag in
  :[FHL]*:*);;
29056
29057
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29058
29059
29060
29061
29062
29063
29064
29065
29066
29067
29068
29069
29070
29071
29072
29073
29074
29075
29076
29077
29078
29079
29080
29081
29082
29083
29084
29085
   { (exit 1); exit 1; }; };;
  :[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="$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 ||
29086
29087
	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29088
29089
   { (exit 1); exit 1; }; };;
      esac
29090
29091
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
      ac_file_inputs="$ac_file_inputs '$ac_f'"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29092
29093
29094
29095
29096
    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.  */
29097
29098
29099
    configure_input='Generated from '`
	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
	`' by configure.'
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29100
29101
    if test x"$ac_file" != x-; then
      configure_input="$ac_file.  $configure_input"
29102
29103
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
$as_echo "$as_me: creating $ac_file" >&6;}
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29104
    fi
29105
29106
29107
29108
29109
29110
29111
    # 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
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29112
29113

    case $ac_tag in
29114
29115
29116
29117
    *:-:* | *:-) cat >"$tmp/stdin" \
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
$as_echo "$as_me: error: could not create $ac_file" >&2;}
   { (exit 1); exit 1; }; } ;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29118
29119
    esac
    ;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29120
29121
  esac

Emmanuel Bertin's avatar
Emmanuel Bertin committed
29122
  ac_dir=`$as_dirname -- "$ac_file" ||
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29123
29124
29125
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
	 X"$ac_file" : 'X\(//\)[^/]' \| \
	 X"$ac_file" : 'X\(//\)$' \| \
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29126
	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
29127
$as_echo X"$ac_file" |
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29128
29129
29130
29131
29132
29133
29134
29135
29136
29137
29138
29139
29140
29141
29142
29143
29144
29145
29146
29147
29148
29149
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)[^/].*/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`
  { as_dir="$ac_dir"
  case $as_dir in #(
  -*) as_dir=./$as_dir;;
  esac
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29150
    as_dirs=
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29151
29152
    while :; do
      case $as_dir in #(
29153
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29154
29155
29156
29157
      *) as_qdir=$as_dir;;
      esac
      as_dirs="'$as_qdir' $as_dirs"
      as_dir=`$as_dirname -- "$as_dir" ||
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29158
29159
29160
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
	 X"$as_dir" : 'X\(//\)[^/]' \| \
	 X"$as_dir" : 'X\(//\)$' \| \
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29161
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
29162
$as_echo X"$as_dir" |
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29163
29164
29165
29166
29167
29168
29169
29170
29171
29172
29173
29174
29175
29176
29177
29178
29179
29180
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)[^/].*/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`
      test -d "$as_dir" && break
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29181
    done
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29182
    test -z "$as_dirs" || eval "mkdir $as_dirs"
29183
29184
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29185
29186
29187
   { (exit 1); exit 1; }; }; }
  ac_builddir=.

Emmanuel Bertin's avatar
Emmanuel Bertin committed
29188
29189
29190
case "$ac_dir" in
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
*)
29191
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29192
  # A ".." for each directory in $ac_dir_suffix.
29193
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29194
29195
29196
29197
29198
29199
29200
29201
29202
  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
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29203
29204

case $srcdir in
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29205
  .)  # We are building in place.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29206
    ac_srcdir=.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29207
29208
29209
    ac_top_srcdir=$ac_top_builddir_sub
    ac_abs_top_srcdir=$ac_pwd ;;
  [\\/]* | ?:[\\/]* )  # Absolute name.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29210
    ac_srcdir=$srcdir$ac_dir_suffix;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29211
29212
29213
29214
29215
29216
    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 ;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29217
esac
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29218
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29219
29220


Emmanuel Bertin's avatar
Emmanuel Bertin committed
29221
29222
29223
29224
29225
  case $ac_mode in
  :F)
  #
  # CONFIG_FILE
  #
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29226
29227
29228

  case $INSTALL in
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29229
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29230
  esac
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29231
29232
29233
29234
29235
29236
  ac_MKDIR_P=$MKDIR_P
  case $MKDIR_P in
  [\\/$]* | ?:[\\/]* ) ;;
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  esac
_ACEOF
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29237

29238
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29239
29240
29241
29242
# 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=

29243
29244
ac_sed_dataroot='
/datarootdir/ {
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29245
29246
29247
29248
29249
29250
29251
29252
  p
  q
}
/@datadir@/p
/@docdir@/p
/@infodir@/p
/@localedir@/p
/@mandir@/p
29253
29254
'
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29255
29256
*datarootdir*) ac_datarootdir_seen=yes;;
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
29257
29258
  { $as_echo "$as_me:$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;}
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29259
_ACEOF
29260
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29261
29262
29263
29264
29265
29266
29267
29268
  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
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29269
_ACEOF
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29270
29271
29272
29273

# Neutralize VPATH when `$srcdir' = `.'.
# Shell code in configure.ac might set extrasub.
# FIXME: do we really want to maintain this feature?
29274
29275
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_sed_extra="$ac_vpsub
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29276
29277
$extrasub
_ACEOF
29278
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29279
29280
:t
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
29281
s|@configure_input@|$ac_sed_conf_input|;t t
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29282
s&@top_builddir@&$ac_top_builddir_sub&;t t
29283
s&@top_build_prefix@&$ac_top_build_prefix&;t t
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29284
29285
29286
29287
29288
29289
29290
29291
29292
29293
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
29294
29295
29296
29297
29298
"
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
$as_echo "$as_me: error: could not create $ac_file" >&2;}
   { (exit 1); exit 1; }; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29299
29300
29301
29302

test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
29303
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29304
which seems to be undefined.  Please make sure it is defined." >&5
29305
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29306
29307
29308
which seems to be undefined.  Please make sure it is defined." >&2;}

  rm -f "$tmp/stdin"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29309
  case $ac_file in
29310
29311
29312
29313
29314
29315
  -) cat "$tmp/out" && rm -f "$tmp/out";;
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
  esac \
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
$as_echo "$as_me: error: could not create $ac_file" >&2;}
   { (exit 1); exit 1; }; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29316
29317
29318
29319
29320
 ;;
  :H)
  #
  # CONFIG_HEADER
  #
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29321
  if test x"$ac_file" != x-; then
29322
29323
29324
29325
29326
29327
29328
29329
29330
29331
    {
      $as_echo "/* $configure_input  */" \
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
    } >"$tmp/config.h" \
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
$as_echo "$as_me: error: could not create $ac_file" >&2;}
   { (exit 1); exit 1; }; }
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
$as_echo "$as_me: $ac_file is unchanged" >&6;}
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29332
    else
29333
29334
29335
29336
29337
      rm -f "$ac_file"
      mv "$tmp/config.h" "$ac_file" \
	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
$as_echo "$as_me: error: could not create $ac_file" >&2;}
   { (exit 1); exit 1; }; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29338
29339
    fi
  else
29340
29341
29342
29343
29344
    $as_echo "/* $configure_input  */" \
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
$as_echo "$as_me: error: could not create -" >&2;}
   { (exit 1); exit 1; }; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29345
  fi
29346
29347
# Compute "$ac_file"'s index in $config_headers.
_am_arg="$ac_file"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29348
29349
29350
_am_stamp_count=1
for _am_header in $config_headers :; do
  case $_am_header in
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29351
    $_am_arg | $_am_arg:* )
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29352
29353
29354
29355
29356
      break ;;
    * )
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  esac
done
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29357
29358
29359
29360
29361
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 ||
29362
$as_echo X"$_am_arg" |
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29363
29364
29365
29366
29367
29368
29369
29370
29371
29372
29373
29374
29375
29376
29377
29378
29379
29380
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)[^/].*/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`/stamp-h$_am_stamp_count
 ;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29381

29382
29383
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
$as_echo "$as_me: executing $ac_file commands" >&6;}
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29384
29385
 ;;
  esac
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29386
29387


Emmanuel Bertin's avatar
Emmanuel Bertin committed
29388
29389
  case $ac_file$ac_mode in
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29390
29391
29392
29393
29394
29395
29396
  # 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.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29397
29398
29399
29400
  # 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" ||
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29401
29402
29403
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
	 X"$mf" : 'X\(//\)[^/]' \| \
	 X"$mf" : 'X\(//\)$' \| \
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29404
	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
29405
$as_echo X"$mf" |
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29406
29407
29408
29409
29410
29411
29412
29413
29414
29415
29416
29417
29418
29419
29420
29421
29422
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)[^/].*/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29423
29424
29425
29426
29427
29428
29429
29430
29431
29432
29433
29434
29435
29436
29437
29438
29439
29440
29441
29442
29443
  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"`
  # When using ansi2knr, U may be empty or an underscore; expand it
  U=`sed -n 's/^U = //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' -e 's/\$U/'"$U"'/g'`; do
    # Make sure the directory exists.
    test -f "$dirpart/$file" && continue
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29444
    fdir=`$as_dirname -- "$file" ||
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29445
29446
29447
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
	 X"$file" : 'X\(//\)[^/]' \| \
	 X"$file" : 'X\(//\)$' \| \
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29448
	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
29449
$as_echo X"$file" |
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29450
29451
29452
29453
29454
29455
29456
29457
29458
29459
29460
29461
29462
29463
29464
29465
29466
29467
29468
29469
29470
29471
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)[^/].*/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`
    { as_dir=$dirpart/$fdir
  case $as_dir in #(
  -*) as_dir=./$as_dir;;
  esac
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29472
    as_dirs=
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29473
29474
    while :; do
      case $as_dir in #(
29475
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29476
29477
29478
29479
      *) as_qdir=$as_dir;;
      esac
      as_dirs="'$as_qdir' $as_dirs"
      as_dir=`$as_dirname -- "$as_dir" ||
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29480
29481
29482
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
	 X"$as_dir" : 'X\(//\)[^/]' \| \
	 X"$as_dir" : 'X\(//\)$' \| \
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29483
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
29484
$as_echo X"$as_dir" |
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29485
29486
29487
29488
29489
29490
29491
29492
29493
29494
29495
29496
29497
29498
29499
29500
29501
29502
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)[^/].*/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`
      test -d "$as_dir" && break
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29503
    done
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29504
    test -z "$as_dirs" || eval "mkdir $as_dirs"
29505
29506
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29507
29508
29509
29510
29511
29512
   { (exit 1); exit 1; }; }; }
    # echo "creating $dirpart/$file"
    echo '# dummy' > "$dirpart/$file"
  done
done
 ;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29513

Emmanuel Bertin's avatar
Emmanuel Bertin committed
29514
  esac
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29515
done # for ac_tag
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29516
29517
29518
29519
29520
29521
29522


{ (exit 0); exit 0; }
_ACEOF
chmod +x $CONFIG_STATUS
ac_clean_files=$ac_clean_files_save

29523
29524
29525
29526
29527
test $ac_write_fail = 0 ||
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
   { (exit 1); exit 1; }; }

Emmanuel Bertin's avatar
Emmanuel Bertin committed
29528
29529
29530
29531
29532
29533
29534
29535
29536
29537
29538
29539
29540
29541
29542
29543
29544
29545
29546
29547
29548

# 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 || { (exit 1); exit 1; }
fi
29549
29550
29551
29552
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
fi
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29553
For faster browsing, not all history is shown. View entire blame