configure 898 KB
Newer Older
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28001
28002
28003
28004
28005
  # line-number line after each line using $LINENO; the second 'sed'
  # does the real work.  The second script uses 'N' to pair each
  # line-number line with the line containing $LINENO, and appends
  # trailing '-' during substitution so that $LINENO is not a special
  # case at line end.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28006
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28007
28008
28009
28010
28011
28012
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
  # E. McMahon (1931-1989) for sed's syntax.  :-)
  sed -n '
    p
    /[$]LINENO/=
  ' <$as_myself |
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28013
    sed '
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28014
28015
28016
28017
      s/[$]LINENO.*/&-/
      t lineno
      b
      :lineno
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28018
      N
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28019
28020
      :loop
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28021
      t loop
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28022
      s/-\n.*//
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28023
    ' >$as_me.lineno &&
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28024
  chmod +x "$as_me.lineno" ||
28025
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28026
28027
28028
28029
   { (exit 1); exit 1; }; }

  # Don't try to exec as it changes $[0], causing all sort of problems
  # (the dirname of $[0] is not the place where we might find the
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28030
28031
  # original and so on.  Autoconf is especially sensitive to this).
  . "./$as_me.lineno"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28032
28033
28034
28035
28036
  # Exit status is that of the last command.
  exit
}


Emmanuel Bertin's avatar
Emmanuel Bertin committed
28037
28038
28039
28040
28041
28042
28043
28044
28045
28046
28047
28048
28049
28050
28051
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  as_dirname=dirname
else
  as_dirname=false
fi

ECHO_C= ECHO_N= ECHO_T=
case `echo -n x` in
-n*)
  case `echo 'x\c'` in
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
  *)   ECHO_C='\c';;
  esac;;
*)
  ECHO_N='-n';;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28052
esac
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28053
28054
if expr a : '\(a\)' >/dev/null 2>&1 &&
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28055
28056
28057
28058
28059
28060
  as_expr=expr
else
  as_expr=false
fi

rm -f conf$$ conf$$.exe conf$$.file
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28061
28062
28063
28064
if test -d conf$$.dir; then
  rm -f conf$$.dir/conf$$.file
else
  rm -f conf$$.dir
28065
28066
28067
28068
28069
28070
28071
28072
28073
28074
28075
28076
28077
28078
  mkdir conf$$.dir 2>/dev/null
fi
if (echo >conf$$.file) 2>/dev/null; then
  if ln -s conf$$.file conf$$ 2>/dev/null; then
    as_ln_s='ln -s'
    # ... but there are two gotchas:
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    # In both cases, we have to default to `cp -p'.
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
      as_ln_s='cp -p'
  elif ln conf$$.file conf$$ 2>/dev/null; then
    as_ln_s=ln
  else
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28079
    as_ln_s='cp -p'
28080
  fi
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28081
28082
28083
else
  as_ln_s='cp -p'
fi
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28084
28085
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
rmdir conf$$.dir 2>/dev/null
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28086
28087
28088
28089
28090
28091
28092
28093

if mkdir -p . 2>/dev/null; then
  as_mkdir_p=:
else
  test -d ./-p && rmdir ./-p
  as_mkdir_p=false
fi

Emmanuel Bertin's avatar
Emmanuel Bertin committed
28094
28095
28096
28097
28098
28099
28100
28101
28102
28103
28104
if test -x / >/dev/null 2>&1; then
  as_test_x='test -x'
else
  if ls -dL / >/dev/null 2>&1; then
    as_ls_L_option=L
  else
    as_ls_L_option=
  fi
  as_test_x='
    eval sh -c '\''
      if test -d "$1"; then
28105
	test -d "$1/.";
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28106
28107
      else
	case $1 in
28108
	-*)set "./$1";;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28109
28110
28111
28112
28113
28114
28115
	esac;
	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
	???[sx]*):;;*)false;;esac;fi
    '\'' sh
  '
fi
as_executable_p=$as_test_x
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28116
28117
28118
28119
28120
28121
28122
28123
28124
28125

# Sed expression to map a string onto a valid CPP name.
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"

# Sed expression to map a string onto a valid variable name.
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"


exec 6>&1

Emmanuel Bertin's avatar
Emmanuel Bertin committed
28126
# Save the log message, to keep $[0] and so on meaningful, and to
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28127
# report actual input values of CONFIG_FILES etc. instead of their
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28128
28129
# values after options handling.
ac_log="
28130
This file was extended by sextractor $as_me 2.8.9, which was
28131
generated by GNU Autoconf 2.63.  Invocation command line was
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28132
28133
28134
28135
28136
28137
28138

  CONFIG_FILES    = $CONFIG_FILES
  CONFIG_HEADERS  = $CONFIG_HEADERS
  CONFIG_LINKS    = $CONFIG_LINKS
  CONFIG_COMMANDS = $CONFIG_COMMANDS
  $ $0 $@

Emmanuel Bertin's avatar
Emmanuel Bertin committed
28139
28140
28141
on `(hostname || uname -n) 2>/dev/null | sed 1q`
"

Emmanuel Bertin's avatar
Emmanuel Bertin committed
28142
28143
_ACEOF

28144
28145
28146
28147
28148
28149
28150
28151
28152
28153
case $ac_config_files in *"
"*) set x $ac_config_files; shift; ac_config_files=$*;;
esac

case $ac_config_headers in *"
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
esac


cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28154
# Files that config.status was made for.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28155
28156
28157
config_files="$ac_config_files"
config_headers="$ac_config_headers"
config_commands="$ac_config_commands"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28158

Emmanuel Bertin's avatar
Emmanuel Bertin committed
28159
_ACEOF
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28160

28161
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28162
28163
28164
28165
ac_cs_usage="\
\`$as_me' instantiates files from templates according to the
current configuration.

28166
Usage: $0 [OPTION]... [FILE]...
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28167
28168

  -h, --help       print this help, then exit
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28169
  -V, --version    print version number and configuration settings, then exit
28170
28171
  -q, --quiet, --silent
                   do not print progress messages
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28172
28173
  -d, --debug      don't remove temporary files
      --recheck    update $as_me by reconfiguring in the same conditions
28174
28175
28176
28177
      --file=FILE[:TEMPLATE]
                   instantiate the configuration file FILE
      --header=FILE[:TEMPLATE]
                   instantiate the configuration header FILE
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28178
28179
28180
28181
28182
28183
28184
28185
28186
28187
28188
28189

Configuration files:
$config_files

Configuration headers:
$config_headers

Configuration commands:
$config_commands

Report bugs to <bug-autoconf@gnu.org>."

Emmanuel Bertin's avatar
Emmanuel Bertin committed
28190
_ACEOF
28191
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28192
ac_cs_version="\\
28193
sextractor config.status 2.8.9
28194
28195
configured by $0, generated by GNU Autoconf 2.63,
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28196

28197
Copyright (C) 2008 Free Software Foundation, Inc.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28198
28199
This config.status script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it."
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28200
28201
28202
28203
28204

ac_pwd='$ac_pwd'
srcdir='$srcdir'
INSTALL='$INSTALL'
MKDIR_P='$MKDIR_P'
28205
28206
AWK='$AWK'
test -n "\$AWK" || AWK=awk
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28207
28208
_ACEOF

28209
28210
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# The default lists apply if the user does not specify any file.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28211
28212
28213
28214
28215
ac_need_defaults=:
while test $# != 0
do
  case $1 in
  --*=*)
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28216
28217
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28218
28219
    ac_shift=:
    ;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28220
  *)
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28221
28222
28223
28224
28225
28226
28227
28228
28229
28230
    ac_option=$1
    ac_optarg=$2
    ac_shift=shift
    ;;
  esac

  case $ac_option in
  # Handling of the options.
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    ac_cs_recheck=: ;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28231
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
28232
    $as_echo "$ac_cs_version"; exit ;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28233
  --debug | --debu | --deb | --de | --d | -d )
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28234
28235
28236
    debug=: ;;
  --file | --fil | --fi | --f )
    $ac_shift
28237
28238
28239
28240
    case $ac_optarg in
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
    esac
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28241
28242
28243
    ac_need_defaults=false;;
  --header | --heade | --head | --hea )
    $ac_shift
28244
28245
28246
28247
    case $ac_optarg in
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
    esac
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28248
    ac_need_defaults=false;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28249
28250
  --he | --h)
    # Conflict between --help and --header
28251
    { $as_echo "$as_me: error: ambiguous option: $1
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28252
28253
28254
Try \`$0 --help' for more information." >&2
   { (exit 1); exit 1; }; };;
  --help | --hel | -h )
28255
    $as_echo "$ac_cs_usage"; exit ;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28256
28257
28258
28259
28260
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
    ac_cs_silent=: ;;

  # This is an error.
28261
  -*) { $as_echo "$as_me: error: unrecognized option: $1
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28262
Try \`$0 --help' for more information." >&2
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28263
28264
   { (exit 1); exit 1; }; } ;;

Emmanuel Bertin's avatar
Emmanuel Bertin committed
28265
28266
  *) ac_config_targets="$ac_config_targets $1"
     ac_need_defaults=false ;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28267
28268
28269
28270
28271
28272
28273
28274
28275
28276
28277
28278
28279

  esac
  shift
done

ac_configure_extra_args=

if $ac_cs_silent; then
  exec 6>/dev/null
  ac_configure_extra_args="$ac_configure_extra_args --silent"
fi

_ACEOF
28280
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28281
if \$ac_cs_recheck; then
28282
28283
28284
28285
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  shift
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  CONFIG_SHELL='$SHELL'
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28286
  export CONFIG_SHELL
28287
  exec "\$@"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28288
28289
28290
fi

_ACEOF
28291
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28292
28293
28294
28295
28296
28297
exec 5>>config.log
{
  echo
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
## Running $as_me. ##
_ASBOX
28298
  $as_echo "$ac_log"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28299
} >&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28300

Emmanuel Bertin's avatar
Emmanuel Bertin committed
28301
_ACEOF
28302
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28303
#
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28304
# INIT-COMMANDS
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28305
28306
28307
28308
28309
#
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"

_ACEOF

28310
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28311
28312

# Handling of arguments.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28313
28314
for ac_config_target in $ac_config_targets
do
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28315
28316
28317
28318
28319
28320
28321
28322
28323
28324
28325
28326
28327
  case $ac_config_target in
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
    "src/fits/Makefile") CONFIG_FILES="$CONFIG_FILES src/fits/Makefile" ;;
    "src/levmar/Makefile") CONFIG_FILES="$CONFIG_FILES src/levmar/Makefile" ;;
    "src/wcs/Makefile") CONFIG_FILES="$CONFIG_FILES src/wcs/Makefile" ;;
    "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
    "sextractor.spec") CONFIG_FILES="$CONFIG_FILES sextractor.spec" ;;
    "man/sex.1") CONFIG_FILES="$CONFIG_FILES man/sex.1" ;;

28328
28329
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28330
28331
28332
28333
   { (exit 1); exit 1; }; };;
  esac
done

Emmanuel Bertin's avatar
Emmanuel Bertin committed
28334

Emmanuel Bertin's avatar
Emmanuel Bertin committed
28335
28336
28337
28338
28339
28340
28341
28342
28343
28344
28345
# If the user did not use the arguments to specify the items to instantiate,
# then the envvar interface is used.  Set only those that are not.
# We use the long form for the default assignment because of an extremely
# bizarre bug on SunOS 4.1.3.
if $ac_need_defaults; then
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
fi

# Have a temporary directory for convenience.  Make it in the build tree
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28346
# simply because there is no reason against having it here, and in addition,
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28347
# creating and moving files from /tmp can sometimes cause problems.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28348
28349
28350
# Hook for its removal unless debugging.
# Note that there is a small window in which the directory will not be cleaned:
# after its creation but before its name has been assigned to `$tmp'.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28351
28352
$debug ||
{
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28353
28354
28355
28356
  tmp=
  trap 'exit_status=$?
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
' 0
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28357
28358
28359
28360
28361
  trap '{ (exit 1); exit 1; }' 1 2 13 15
}
# Create a (secure) tmp directory for tmp files.

{
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28362
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28363
28364
28365
  test -n "$tmp" && test -d "$tmp"
}  ||
{
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28366
28367
  tmp=./conf$$-$RANDOM
  (umask 077 && mkdir "$tmp")
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28368
28369
} ||
{
28370
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28371
28372
28373
   { (exit 1); exit 1; }
}

28374
28375
28376
# Set up the scripts for CONFIG_FILES section.
# No need to generate them if there are no CONFIG_FILES.
# This happens for instance with `./config.status config.h'.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28377
28378
if test -n "$CONFIG_FILES"; then

28379

28380
28381
28382
28383
28384
28385
ac_cr='
'
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
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28386
28387
fi

28388
echo 'BEGIN {' >"$tmp/subs1.awk" &&
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28389
28390
28391
_ACEOF


28392
28393
28394
28395
28396
28397
28398
28399
28400
{
  echo "cat >conf$$subs.awk <<_ACEOF" &&
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  echo "_ACEOF"
} >conf$$subs.sh ||
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   { (exit 1); exit 1; }; }
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28401
28402
ac_delim='%!_!# '
for ac_last_try in false false false false false :; do
28403
28404
28405
28406
28407
28408
28409
  . ./conf$$subs.sh ||
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   { (exit 1); exit 1; }; }

  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
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28410
28411
    break
  elif $ac_last_try; then
28412
28413
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28414
28415
28416
28417
28418
   { (exit 1); exit 1; }; }
  else
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  fi
done
28419
28420
28421
28422
28423
28424
28425
28426
28427
28428
28429
28430
28431
28432
28433
28434
28435
28436
28437
28438
28439
28440
28441
28442
28443
28444
28445
28446
28447
28448
28449
28450
28451
28452
28453
28454
28455
28456
28457
28458
28459
28460
28461
28462
28463
28464
28465
28466
28467
28468
28469
28470
28471
28472
rm -f conf$$subs.sh

cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
cat >>"\$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 >>"\$tmp/subs1.awk" <<_ACAWK &&
  for (key in S) S_is_set[key] = 1
  FS = ""
28473

28474
28475
28476
28477
28478
28479
28480
28481
28482
28483
28484
28485
28486
28487
28488
28489
28490
28491
28492
28493
}
{
  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
}
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28494

28495
_ACAWK
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28496
_ACEOF
28497
28498
28499
28500
28501
28502
28503
28504
28505
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 < "$tmp/subs1.awk" > "$tmp/subs.awk" \
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
   { (exit 1); exit 1; }; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28506
_ACEOF
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28507
28508
28509
28510
28511
28512
28513
28514
28515
28516
28517
28518
28519
28520
28521
28522

# VPATH may cause trouble with some makes, so we remove $(srcdir),
# ${srcdir} and @srcdir@ 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[	 ]*=/{
s/:*\$(srcdir):*/:/
s/:*\${srcdir}:*/:/
s/:*@srcdir@:*/:/
s/^\([^=]*=[	 ]*\):*/\1/
s/:*$//
s/^[^=]*=[	 ]*$//
}'
fi

28523
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28524
28525
fi # test -n "$CONFIG_FILES"

28526
28527
28528
28529
28530
28531
28532
28533
28534
28535
28536
28537
28538
28539
28540
28541
28542
28543
28544
28545
28546
28547
28548
28549
28550
28551
28552
28553
28554
28555
28556
28557
28558
28559
28560
28561
28562
28563
28564
28565
28566
28567
28568
28569
28570
28571
28572
28573
28574
28575
28576
28577
28578
28579
28580
28581
28582
28583
28584
28585
28586
28587
28588
28589
28590
28591
28592
28593
28594
28595
28596
28597
28598
28599
28600
28601
28602
28603
28604
28605
28606
28607
28608
28609
28610
28611
28612
28613
28614
28615
28616
28617
28618
28619
28620
28621
28622
28623
28624
28625
28626
28627
28628
28629
28630
28631
28632
28633
28634
28635
28636
28637
# 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 >"$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_t=`sed -n "/$ac_delim/p" confdefs.h`
  if test -z "$ac_t"; then
    break
  elif $ac_last_try; then
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
   { (exit 1); exit 1; }; }
  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_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
28638

28639
28640
28641
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
shift
for ac_tag
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28642
28643
28644
28645
28646
28647
do
  case $ac_tag in
  :[FHLC]) ac_mode=$ac_tag; continue;;
  esac
  case $ac_mode$ac_tag in
  :[FHL]*:*);;
28648
28649
  :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
28650
28651
28652
28653
28654
28655
28656
28657
28658
28659
28660
28661
28662
28663
28664
28665
28666
28667
28668
28669
28670
28671
28672
28673
28674
28675
28676
28677
   { (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 ||
28678
28679
	   { { $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
28680
28681
   { (exit 1); exit 1; }; };;
      esac
28682
28683
      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
28684
28685
28686
28687
28688
    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.  */
28689
28690
28691
    configure_input='Generated from '`
	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
	`' by configure.'
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28692
28693
    if test x"$ac_file" != x-; then
      configure_input="$ac_file.  $configure_input"
28694
28695
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
$as_echo "$as_me: creating $ac_file" >&6;}
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28696
    fi
28697
28698
28699
28700
28701
28702
28703
    # 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
28704
28705

    case $ac_tag in
28706
28707
28708
28709
    *:-:* | *:-) 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
28710
28711
    esac
    ;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28712
28713
  esac

Emmanuel Bertin's avatar
Emmanuel Bertin committed
28714
  ac_dir=`$as_dirname -- "$ac_file" ||
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28715
28716
28717
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
	 X"$ac_file" : 'X\(//\)[^/]' \| \
	 X"$ac_file" : 'X\(//\)$' \| \
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28718
	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
28719
$as_echo X"$ac_file" |
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28720
28721
28722
28723
28724
28725
28726
28727
28728
28729
28730
28731
28732
28733
28734
28735
28736
28737
28738
28739
28740
28741
    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
28742
    as_dirs=
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28743
28744
    while :; do
      case $as_dir in #(
28745
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28746
28747
28748
28749
      *) as_qdir=$as_dir;;
      esac
      as_dirs="'$as_qdir' $as_dirs"
      as_dir=`$as_dirname -- "$as_dir" ||
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28750
28751
28752
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
	 X"$as_dir" : 'X\(//\)[^/]' \| \
	 X"$as_dir" : 'X\(//\)$' \| \
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28753
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
28754
$as_echo X"$as_dir" |
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28755
28756
28757
28758
28759
28760
28761
28762
28763
28764
28765
28766
28767
28768
28769
28770
28771
28772
    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
28773
    done
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28774
    test -z "$as_dirs" || eval "mkdir $as_dirs"
28775
28776
  } || 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
28777
28778
28779
   { (exit 1); exit 1; }; }; }
  ac_builddir=.

Emmanuel Bertin's avatar
Emmanuel Bertin committed
28780
28781
28782
case "$ac_dir" in
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
*)
28783
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28784
  # A ".." for each directory in $ac_dir_suffix.
28785
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28786
28787
28788
28789
28790
28791
28792
28793
28794
  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
28795
28796

case $srcdir in
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28797
  .)  # We are building in place.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28798
    ac_srcdir=.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28799
28800
28801
    ac_top_srcdir=$ac_top_builddir_sub
    ac_abs_top_srcdir=$ac_pwd ;;
  [\\/]* | ?:[\\/]* )  # Absolute name.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28802
    ac_srcdir=$srcdir$ac_dir_suffix;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28803
28804
28805
28806
28807
28808
    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
28809
esac
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28810
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28811
28812


Emmanuel Bertin's avatar
Emmanuel Bertin committed
28813
28814
28815
28816
28817
  case $ac_mode in
  :F)
  #
  # CONFIG_FILE
  #
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28818
28819
28820

  case $INSTALL in
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28821
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28822
  esac
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28823
28824
28825
28826
28827
28828
  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
28829

28830
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28831
28832
28833
28834
# 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=

28835
28836
ac_sed_dataroot='
/datarootdir/ {
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28837
28838
28839
28840
28841
28842
28843
28844
  p
  q
}
/@datadir@/p
/@docdir@/p
/@infodir@/p
/@localedir@/p
/@mandir@/p
28845
28846
'
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28847
28848
*datarootdir*) ac_datarootdir_seen=yes;;
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
28849
28850
  { $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
28851
_ACEOF
28852
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28853
28854
28855
28856
28857
28858
28859
28860
  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
28861
_ACEOF
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28862
28863
28864
28865

# Neutralize VPATH when `$srcdir' = `.'.
# Shell code in configure.ac might set extrasub.
# FIXME: do we really want to maintain this feature?
28866
28867
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_sed_extra="$ac_vpsub
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28868
28869
$extrasub
_ACEOF
28870
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28871
28872
:t
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
28873
s|@configure_input@|$ac_sed_conf_input|;t t
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28874
s&@top_builddir@&$ac_top_builddir_sub&;t t
28875
s&@top_build_prefix@&$ac_top_build_prefix&;t t
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28876
28877
28878
28879
28880
28881
28882
28883
28884
28885
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
28886
28887
28888
28889
28890
"
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
28891
28892
28893
28894

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

  rm -f "$tmp/stdin"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28901
  case $ac_file in
28902
28903
28904
28905
28906
28907
  -) 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
28908
28909
28910
28911
28912
 ;;
  :H)
  #
  # CONFIG_HEADER
  #
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28913
  if test x"$ac_file" != x-; then
28914
28915
28916
28917
28918
28919
28920
28921
28922
28923
    {
      $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
28924
    else
28925
28926
28927
28928
28929
      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
28930
28931
    fi
  else
28932
28933
28934
28935
28936
    $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
28937
  fi
28938
28939
# Compute "$ac_file"'s index in $config_headers.
_am_arg="$ac_file"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28940
28941
28942
_am_stamp_count=1
for _am_header in $config_headers :; do
  case $_am_header in
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28943
    $_am_arg | $_am_arg:* )
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28944
28945
28946
28947
28948
      break ;;
    * )
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  esac
done
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28949
28950
28951
28952
28953
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 ||
28954
$as_echo X"$_am_arg" |
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28955
28956
28957
28958
28959
28960
28961
28962
28963
28964
28965
28966
28967
28968
28969
28970
28971
28972
    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
28973

28974
28975
  :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
28976
28977
 ;;
  esac
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28978
28979


Emmanuel Bertin's avatar
Emmanuel Bertin committed
28980
28981
  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
28982
28983
28984
28985
28986
28987
28988
  # 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
28989
28990
28991
28992
  # 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
28993
28994
28995
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
	 X"$mf" : 'X\(//\)[^/]' \| \
	 X"$mf" : 'X\(//\)$' \| \
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28996
	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
28997
$as_echo X"$mf" |
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28998
28999
29000
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
	    s//\1/
	    q
For faster browsing, not all history is shown. View entire blame