configure 904 KB
Newer Older
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29001
29002
29003
29004
29005
29006
}
/@datadir@/p
/@docdir@/p
/@infodir@/p
/@localedir@/p
/@mandir@/p
29007
29008
'
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29009
29010
*datarootdir*) ac_datarootdir_seen=yes;;
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
29011
29012
  { $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
29013
_ACEOF
29014
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29015
29016
29017
29018
29019
29020
29021
29022
  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
29023
_ACEOF
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29024
29025
29026
29027

# Neutralize VPATH when `$srcdir' = `.'.
# Shell code in configure.ac might set extrasub.
# FIXME: do we really want to maintain this feature?
29028
29029
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_sed_extra="$ac_vpsub
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29030
29031
$extrasub
_ACEOF
29032
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29033
29034
:t
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
29035
s|@configure_input@|$ac_sed_conf_input|;t t
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29036
s&@top_builddir@&$ac_top_builddir_sub&;t t
29037
s&@top_build_prefix@&$ac_top_build_prefix&;t t
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29038
29039
29040
29041
29042
29043
29044
29045
29046
29047
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
29048
29049
29050
29051
29052
"
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
29053
29054
29055
29056

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"; } &&
29057
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29058
which seems to be undefined.  Please make sure it is defined." >&5
29059
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29060
29061
29062
which seems to be undefined.  Please make sure it is defined." >&2;}

  rm -f "$tmp/stdin"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29063
  case $ac_file in
29064
29065
29066
29067
29068
29069
  -) 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
29070
29071
29072
29073
29074
 ;;
  :H)
  #
  # CONFIG_HEADER
  #
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29075
  if test x"$ac_file" != x-; then
29076
29077
29078
29079
29080
29081
29082
29083
29084
29085
    {
      $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
29086
    else
29087
29088
29089
29090
29091
      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
29092
29093
    fi
  else
29094
29095
29096
29097
29098
    $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
29099
  fi
29100
29101
# Compute "$ac_file"'s index in $config_headers.
_am_arg="$ac_file"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29102
29103
29104
_am_stamp_count=1
for _am_header in $config_headers :; do
  case $_am_header in
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29105
    $_am_arg | $_am_arg:* )
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29106
29107
29108
29109
29110
      break ;;
    * )
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  esac
done
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29111
29112
29113
29114
29115
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 ||
29116
$as_echo X"$_am_arg" |
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29117
29118
29119
29120
29121
29122
29123
29124
29125
29126
29127
29128
29129
29130
29131
29132
29133
29134
    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
29135

29136
29137
  :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
29138
29139
 ;;
  esac
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29140
29141


Emmanuel Bertin's avatar
Emmanuel Bertin committed
29142
29143
  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
29144
29145
29146
29147
29148
29149
29150
  # 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
29151
29152
29153
29154
  # 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
29155
29156
29157
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
	 X"$mf" : 'X\(//\)[^/]' \| \
	 X"$mf" : 'X\(//\)$' \| \
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29158
	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
29159
$as_echo X"$mf" |
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29160
29161
29162
29163
29164
29165
29166
29167
29168
29169
29170
29171
29172
29173
29174
29175
29176
    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
29177
29178
29179
29180
29181
29182
29183
29184
29185
29186
29187
29188
29189
29190
29191
29192
29193
29194
29195
29196
29197
  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
29198
    fdir=`$as_dirname -- "$file" ||
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29199
29200
29201
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
	 X"$file" : 'X\(//\)[^/]' \| \
	 X"$file" : 'X\(//\)$' \| \
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29202
	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
29203
$as_echo X"$file" |
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29204
29205
29206
29207
29208
29209
29210
29211
29212
29213
29214
29215
29216
29217
29218
29219
29220
29221
29222
29223
29224
29225
    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
29226
    as_dirs=
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29227
29228
    while :; do
      case $as_dir in #(
29229
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29230
29231
29232
29233
      *) as_qdir=$as_dir;;
      esac
      as_dirs="'$as_qdir' $as_dirs"
      as_dir=`$as_dirname -- "$as_dir" ||
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29234
29235
29236
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
	 X"$as_dir" : 'X\(//\)[^/]' \| \
	 X"$as_dir" : 'X\(//\)$' \| \
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29237
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
29238
$as_echo X"$as_dir" |
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29239
29240
29241
29242
29243
29244
29245
29246
29247
29248
29249
29250
29251
29252
29253
29254
29255
29256
    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
29257
    done
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29258
    test -z "$as_dirs" || eval "mkdir $as_dirs"
29259
29260
  } || 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
29261
29262
29263
29264
29265
29266
   { (exit 1); exit 1; }; }; }
    # echo "creating $dirpart/$file"
    echo '# dummy' > "$dirpart/$file"
  done
done
 ;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29267

Emmanuel Bertin's avatar
Emmanuel Bertin committed
29268
  esac
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29269
done # for ac_tag
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29270
29271
29272
29273
29274
29275
29276


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

29277
29278
29279
29280
29281
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
29282
29283
29284
29285
29286
29287
29288
29289
29290
29291
29292
29293
29294
29295
29296
29297
29298
29299
29300
29301
29302

# 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
29303
29304
29305
29306
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
29307
For faster browsing, not all history is shown. View entire blame