configure 904 KB
Newer Older
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29001
29002
29003
29004
# 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=

29005
29006
ac_sed_dataroot='
/datarootdir/ {
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29007
29008
29009
29010
29011
29012
29013
29014
  p
  q
}
/@datadir@/p
/@docdir@/p
/@infodir@/p
/@localedir@/p
/@mandir@/p
29015
29016
'
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29017
29018
*datarootdir*) ac_datarootdir_seen=yes;;
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
29019
29020
  { $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
29021
_ACEOF
29022
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29023
29024
29025
29026
29027
29028
29029
29030
  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
29031
_ACEOF
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29032
29033
29034
29035

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

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

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

29144
29145
  :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
29146
29147
 ;;
  esac
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29148
29149


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

Emmanuel Bertin's avatar
Emmanuel Bertin committed
29276
  esac
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29277
done # for ac_tag
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29278
29279
29280
29281
29282
29283
29284


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

29285
29286
29287
29288
29289
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
29290
29291
29292
29293
29294
29295
29296
29297
29298
29299
29300
29301
29302
29303
29304
29305
29306
29307
29308
29309
29310

# 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
29311
29312
29313
29314
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
29315
For faster browsing, not all history is shown. View entire blame