configure 759 KB
Newer Older
Emmanuel Bertin's avatar
Emmanuel Bertin committed
24001
/@localedir@/p
24002
/@mandir@/p'
24003
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
Emmanuel Bertin's avatar
Emmanuel Bertin committed
24004
24005
*datarootdir*) ac_datarootdir_seen=yes;;
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
24006
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
24007
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
Emmanuel Bertin's avatar
Emmanuel Bertin committed
24008
_ACEOF
24009
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
Emmanuel Bertin's avatar
Emmanuel Bertin committed
24010
24011
24012
24013
24014
24015
  ac_datarootdir_hack='
  s&@datadir@&$datadir&g
  s&@docdir@&$docdir&g
  s&@infodir@&$infodir&g
  s&@localedir@&$localedir&g
  s&@mandir@&$mandir&g
24016
  s&\\\${datarootdir}&$datarootdir&g' ;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
24017
esac
Emmanuel Bertin's avatar
Emmanuel Bertin committed
24018
_ACEOF
Emmanuel Bertin's avatar
Emmanuel Bertin committed
24019
24020
24021
24022

# Neutralize VPATH when `$srcdir' = `.'.
# Shell code in configure.ac might set extrasub.
# FIXME: do we really want to maintain this feature?
24023
24024
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_sed_extra="$ac_vpsub
Emmanuel Bertin's avatar
Emmanuel Bertin committed
24025
24026
$extrasub
_ACEOF
24027
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
Emmanuel Bertin's avatar
Emmanuel Bertin committed
24028
24029
:t
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24030
s|@configure_input@|$ac_sed_conf_input|;t t
Emmanuel Bertin's avatar
Emmanuel Bertin committed
24031
s&@top_builddir@&$ac_top_builddir_sub&;t t
24032
s&@top_build_prefix@&$ac_top_build_prefix&;t t
Emmanuel Bertin's avatar
Emmanuel Bertin committed
24033
24034
24035
24036
24037
24038
24039
24040
24041
24042
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
24043
"
24044
24045
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
Emmanuel Bertin's avatar
Emmanuel Bertin committed
24046
24047

test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
24048
24049
24050
24051
24052
  { 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
24053
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24054
which seems to be undefined.  Please make sure it is defined" >&2;}
Emmanuel Bertin's avatar
Emmanuel Bertin committed
24055

24056
  rm -f "$ac_tmp/stdin"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
24057
  case $ac_file in
24058
24059
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
24060
  esac \
24061
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
24062
24063
24064
24065
24066
 ;;
  :H)
  #
  # CONFIG_HEADER
  #
Emmanuel Bertin's avatar
Emmanuel Bertin committed
24067
  if test x"$ac_file" != x-; then
24068
24069
    {
      $as_echo "/* $configure_input  */" \
24070
24071
24072
24073
24074
      && 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
24075
$as_echo "$as_me: $ac_file is unchanged" >&6;}
Emmanuel Bertin's avatar
Emmanuel Bertin committed
24076
    else
24077
      rm -f "$ac_file"
24078
24079
      mv "$ac_tmp/config.h" "$ac_file" \
	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
24080
24081
    fi
  else
24082
    $as_echo "/* $configure_input  */" \
24083
24084
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
      || as_fn_error $? "could not create -" "$LINENO" 5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
24085
  fi
24086
24087
# Compute "$ac_file"'s index in $config_headers.
_am_arg="$ac_file"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
24088
24089
24090
_am_stamp_count=1
for _am_header in $config_headers :; do
  case $_am_header in
Emmanuel Bertin's avatar
Emmanuel Bertin committed
24091
    $_am_arg | $_am_arg:* )
Emmanuel Bertin's avatar
Emmanuel Bertin committed
24092
24093
24094
24095
24096
      break ;;
    * )
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  esac
done
Emmanuel Bertin's avatar
Emmanuel Bertin committed
24097
24098
24099
24100
24101
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 ||
24102
$as_echo X"$_am_arg" |
Emmanuel Bertin's avatar
Emmanuel Bertin committed
24103
24104
24105
24106
24107
24108
24109
24110
24111
24112
24113
24114
24115
24116
24117
24118
24119
24120
    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
24121

24122
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
24123
$as_echo "$as_me: executing $ac_file commands" >&6;}
Emmanuel Bertin's avatar
Emmanuel Bertin committed
24124
24125
 ;;
  esac
Emmanuel Bertin's avatar
Emmanuel Bertin committed
24126
24127


Emmanuel Bertin's avatar
Emmanuel Bertin committed
24128
24129
  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
24130
24131
24132
24133
24134
24135
24136
  # 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
24137
24138
24139
24140
  # 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
24141
24142
24143
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
	 X"$mf" : 'X\(//\)[^/]' \| \
	 X"$mf" : 'X\(//\)$' \| \
Emmanuel Bertin's avatar
Emmanuel Bertin committed
24144
	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
24145
$as_echo X"$mf" |
Emmanuel Bertin's avatar
Emmanuel Bertin committed
24146
24147
24148
24149
24150
24151
24152
24153
24154
24155
24156
24157
24158
24159
24160
24161
24162
    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
24163
24164
24165
24166
24167
24168
24169
24170
24171
24172
24173
24174
24175
24176
24177
24178
24179
24180
24181
24182
24183
  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
24184
    fdir=`$as_dirname -- "$file" ||
Emmanuel Bertin's avatar
Emmanuel Bertin committed
24185
24186
24187
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
	 X"$file" : 'X\(//\)[^/]' \| \
	 X"$file" : 'X\(//\)$' \| \
Emmanuel Bertin's avatar
Emmanuel Bertin committed
24188
	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
24189
$as_echo X"$file" |
Emmanuel Bertin's avatar
Emmanuel Bertin committed
24190
24191
24192
24193
24194
24195
24196
24197
24198
24199
24200
24201
24202
24203
24204
24205
24206
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)[^/].*/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`
24207
    as_dir=$dirpart/$fdir; as_fn_mkdir_p
Emmanuel Bertin's avatar
Emmanuel Bertin committed
24208
24209
24210
24211
24212
    # echo "creating $dirpart/$file"
    echo '# dummy' > "$dirpart/$file"
  done
done
 ;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
24213

Emmanuel Bertin's avatar
Emmanuel Bertin committed
24214
  esac
Emmanuel Bertin's avatar
Emmanuel Bertin committed
24215
done # for ac_tag
Emmanuel Bertin's avatar
Emmanuel Bertin committed
24216
24217


24218
as_fn_exit 0
Emmanuel Bertin's avatar
Emmanuel Bertin committed
24219
24220
24221
_ACEOF
ac_clean_files=$ac_clean_files_save

24222
test $ac_write_fail = 0 ||
24223
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
24224

Emmanuel Bertin's avatar
Emmanuel Bertin committed
24225
24226
24227
24228
24229
24230
24231
24232
24233
24234
24235
24236
24237
24238
24239
24240
24241
24242
24243

# 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.
24244
  $ac_cs_success || as_fn_exit 1
Emmanuel Bertin's avatar
Emmanuel Bertin committed
24245
fi
24246
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
24247
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24248
24249
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
fi
Emmanuel Bertin's avatar
Emmanuel Bertin committed
24250
For faster browsing, not all history is shown. View entire blame