~ubuntu-branches/ubuntu/utopic/texlive-bin/utopic

« back to all changes in this revision

Viewing changes to libs/configure

  • Committer: Package Import Robot
  • Author(s): Norbert Preining
  • Date: 2012-05-07 10:47:49 UTC
  • mfrom: (1.2.4)
  • Revision ID: package-import@ubuntu.com-20120507104749-p00ot5sajjbkp1hp
Tags: 2011.20120507-1
* new upstream checkout: uptex 1.10
* drop patches for config file inclusion in (x)dvipdfmx, included upstream
* add man page for etex
* include pmpost patches and build it
* adapt/unfuzzify patches for current sources
* disable mtx building, we have prepmx package in Debian

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.68 for TeX Live libs 2010.
 
3
# Generated by GNU Autoconf 2.69 for TeX Live libs 2010.
4
4
#
5
5
# Report bugs to <tex-k@tug.org>.
6
6
#
7
7
#
8
 
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10
 
# Foundation, Inc.
 
8
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11
9
#
12
10
#
13
11
# This configure script is free software; the Free Software Foundation
136
134
# CDPATH.
137
135
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
136
 
 
137
# Use a proper internal environment variable to ensure we don't fall
 
138
  # into an infinite loop, continuously re-executing ourselves.
 
139
  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
 
140
    _as_can_reexec=no; export _as_can_reexec;
 
141
    # We cannot yet assume a decent shell, so we have to provide a
 
142
# neutralization value for shells without unset; and this also
 
143
# works around shells that cannot unset nonexistent variables.
 
144
# Preserve -v and -x to the replacement shell.
 
145
BASH_ENV=/dev/null
 
146
ENV=/dev/null
 
147
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
148
case $- in # ((((
 
149
  *v*x* | *x*v* ) as_opts=-vx ;;
 
150
  *v* ) as_opts=-v ;;
 
151
  *x* ) as_opts=-x ;;
 
152
  * ) as_opts= ;;
 
153
esac
 
154
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
 
155
# Admittedly, this is quite paranoid, since all the known shells bail
 
156
# out after a failed `exec'.
 
157
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
 
158
as_fn_exit 255
 
159
  fi
 
160
  # We don't want this to propagate to other subprocesses.
 
161
          { _as_can_reexec=; unset _as_can_reexec;}
139
162
if test "x$CONFIG_SHELL" = x; then
140
163
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141
164
  emulate sh
169
192
else
170
193
  exitcode=1; echo positional parameters were not saved.
171
194
fi
172
 
test x\$exitcode = x0 || exit 1"
 
195
test x\$exitcode = x0 || exit 1
 
196
test -x / || exit 1"
173
197
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174
198
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175
199
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
213
237
 
214
238
 
215
239
      if test "x$CONFIG_SHELL" != x; then :
216
 
  # We cannot yet assume a decent shell, so we have to provide a
217
 
        # neutralization value for shells without unset; and this also
218
 
        # works around shells that cannot unset nonexistent variables.
219
 
        # Preserve -v and -x to the replacement shell.
220
 
        BASH_ENV=/dev/null
221
 
        ENV=/dev/null
222
 
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223
 
        export CONFIG_SHELL
224
 
        case $- in # ((((
225
 
          *v*x* | *x*v* ) as_opts=-vx ;;
226
 
          *v* ) as_opts=-v ;;
227
 
          *x* ) as_opts=-x ;;
228
 
          * ) as_opts= ;;
229
 
        esac
230
 
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
 
240
  export CONFIG_SHELL
 
241
             # We cannot yet assume a decent shell, so we have to provide a
 
242
# neutralization value for shells without unset; and this also
 
243
# works around shells that cannot unset nonexistent variables.
 
244
# Preserve -v and -x to the replacement shell.
 
245
BASH_ENV=/dev/null
 
246
ENV=/dev/null
 
247
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
248
case $- in # ((((
 
249
  *v*x* | *x*v* ) as_opts=-vx ;;
 
250
  *v* ) as_opts=-v ;;
 
251
  *x* ) as_opts=-x ;;
 
252
  * ) as_opts= ;;
 
253
esac
 
254
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
 
255
# Admittedly, this is quite paranoid, since all the known shells bail
 
256
# out after a failed `exec'.
 
257
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
 
258
exit 255
231
259
fi
232
260
 
233
261
    if test x$as_have_required = xno; then :
330
358
 
331
359
 
332
360
} # as_fn_mkdir_p
 
361
 
 
362
# as_fn_executable_p FILE
 
363
# -----------------------
 
364
# Test if FILE is an executable regular file.
 
365
as_fn_executable_p ()
 
366
{
 
367
  test -f "$1" && test -x "$1"
 
368
} # as_fn_executable_p
333
369
# as_fn_append VAR VALUE
334
370
# ----------------------
335
371
# Append the text in VALUE to the end of the definition contained in VAR. Take
451
487
  chmod +x "$as_me.lineno" ||
452
488
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
453
489
 
 
490
  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
 
491
  # already done that, so ensure we don't try to do so again and fall
 
492
  # in an infinite loop.  This has already happened in practice.
 
493
  _as_can_reexec=no; export _as_can_reexec
454
494
  # Don't try to exec as it changes $[0], causing all sort of problems
455
495
  # (the dirname of $[0] is not the place where we might find the
456
496
  # original and so on.  Autoconf is especially sensitive to this).
485
525
    # ... but there are two gotchas:
486
526
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
487
527
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
488
 
    # In both cases, we have to default to `cp -p'.
 
528
    # In both cases, we have to default to `cp -pR'.
489
529
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
490
 
      as_ln_s='cp -p'
 
530
      as_ln_s='cp -pR'
491
531
  elif ln conf$$.file conf$$ 2>/dev/null; then
492
532
    as_ln_s=ln
493
533
  else
494
 
    as_ln_s='cp -p'
 
534
    as_ln_s='cp -pR'
495
535
  fi
496
536
else
497
 
  as_ln_s='cp -p'
 
537
  as_ln_s='cp -pR'
498
538
fi
499
539
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
500
540
rmdir conf$$.dir 2>/dev/null
506
546
  as_mkdir_p=false
507
547
fi
508
548
 
509
 
if test -x / >/dev/null 2>&1; then
510
 
  as_test_x='test -x'
511
 
else
512
 
  if ls -dL / >/dev/null 2>&1; then
513
 
    as_ls_L_option=L
514
 
  else
515
 
    as_ls_L_option=
516
 
  fi
517
 
  as_test_x='
518
 
    eval sh -c '\''
519
 
      if test -d "$1"; then
520
 
        test -d "$1/.";
521
 
      else
522
 
        case $1 in #(
523
 
        -*)set "./$1";;
524
 
        esac;
525
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
526
 
        ???[sx]*):;;*)false;;esac;fi
527
 
    '\'' sh
528
 
  '
529
 
fi
530
 
as_executable_p=$as_test_x
 
549
as_test_x='test -x'
 
550
as_executable_p=as_fn_executable_p
531
551
 
532
552
# Sed expression to map a string onto a valid CPP name.
533
553
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
673
693
enable_libtool_hack
674
694
enable_biber
675
695
enable_chktex
 
696
enable_mtx
676
697
enable_pmx
677
698
enable_ps2eps
678
699
enable_psutils
1288
1309
if test "x$host_alias" != x; then
1289
1310
  if test "x$build_alias" = x; then
1290
1311
    cross_compiling=maybe
1291
 
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1292
 
    If a cross compiler is detected then cross compile mode will be used" >&2
1293
1312
  elif test "x$build_alias" != "x$host_alias"; then
1294
1313
    cross_compiling=yes
1295
1314
  fi
1464
1483
  --enable-libtool-hack   ignore libtool dependency_libs
1465
1484
  --disable-biber         do not build the biber package
1466
1485
  --disable-chktex        do not build the chktex package
 
1486
  --disable-mtx           do not build the mtx package
1467
1487
  --disable-pmx           do not build the pmx package
1468
1488
  --disable-ps2eps        do not build the ps2eps package
1469
1489
  --disable-psutils       do not build the psutils package
1571
1591
  --disable-mkofm-default     do not run mkofm if OFM file missing
1572
1592
  --disable-mktexfmt-default  do not run mktexfmt if format file missing
1573
1593
  --enable-mktextex-default   run mktextex if TeX source missing
1574
 
  --disable-dependency-tracking  speeds up one-time build
1575
 
  --enable-dependency-tracking   do not reject slow dependency extractors
1576
 
  --enable-maintainer-mode  enable make rules and dependencies not useful
1577
 
                          (and sometimes confusing) to the casual installer
 
1594
  --enable-dependency-tracking
 
1595
                          do not reject slow dependency extractors
 
1596
  --disable-dependency-tracking
 
1597
                          speeds up one-time build
 
1598
  --enable-maintainer-mode
 
1599
                          enable make rules and dependencies not useful (and
 
1600
                          sometimes confusing) to the casual installer
1578
1601
 
1579
1602
Optional Packages:
1580
1603
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1721
1744
if $ac_init_version; then
1722
1745
  cat <<\_ACEOF
1723
1746
TeX Live libs configure 2010
1724
 
generated by GNU Autoconf 2.68
 
1747
generated by GNU Autoconf 2.69
1725
1748
 
1726
 
Copyright (C) 2010 Free Software Foundation, Inc.
 
1749
Copyright (C) 2012 Free Software Foundation, Inc.
1727
1750
This configure script is free software; the Free Software Foundation
1728
1751
gives unlimited permission to copy, distribute and modify it.
1729
1752
_ACEOF
1776
1799
running configure, to aid debugging if configure makes a mistake.
1777
1800
 
1778
1801
It was created by TeX Live libs $as_me 2010, which was
1779
 
generated by GNU Autoconf 2.68.  Invocation command line was
 
1802
generated by GNU Autoconf 2.69.  Invocation command line was
1780
1803
 
1781
1804
  $ $0 $@
1782
1805
 
2254
2277
  IFS=$as_save_IFS
2255
2278
  test -z "$as_dir" && as_dir=.
2256
2279
    for ac_exec_ext in '' $ac_executable_extensions; do
2257
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2280
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2258
2281
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2259
2282
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2260
2283
    break 2
2294
2317
  IFS=$as_save_IFS
2295
2318
  test -z "$as_dir" && as_dir=.
2296
2319
    for ac_exec_ext in '' $ac_executable_extensions; do
2297
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2320
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2298
2321
    ac_cv_prog_ac_ct_CC="gcc"
2299
2322
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2300
2323
    break 2
2347
2370
  IFS=$as_save_IFS
2348
2371
  test -z "$as_dir" && as_dir=.
2349
2372
    for ac_exec_ext in '' $ac_executable_extensions; do
2350
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2373
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2351
2374
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2352
2375
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2353
2376
    break 2
2388
2411
  IFS=$as_save_IFS
2389
2412
  test -z "$as_dir" && as_dir=.
2390
2413
    for ac_exec_ext in '' $ac_executable_extensions; do
2391
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2414
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2392
2415
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2393
2416
       ac_prog_rejected=yes
2394
2417
       continue
2446
2469
  IFS=$as_save_IFS
2447
2470
  test -z "$as_dir" && as_dir=.
2448
2471
    for ac_exec_ext in '' $ac_executable_extensions; do
2449
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2472
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2450
2473
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2451
2474
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2452
2475
    break 2
2490
2513
  IFS=$as_save_IFS
2491
2514
  test -z "$as_dir" && as_dir=.
2492
2515
    for ac_exec_ext in '' $ac_executable_extensions; do
2493
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2516
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2494
2517
    ac_cv_prog_ac_ct_CC="$ac_prog"
2495
2518
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2496
2519
    break 2
2936
2959
/* end confdefs.h.  */
2937
2960
#include <stdarg.h>
2938
2961
#include <stdio.h>
2939
 
#include <sys/types.h>
2940
 
#include <sys/stat.h>
 
2962
struct stat;
2941
2963
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2942
2964
struct buf { int x; };
2943
2965
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3223
3245
esac
3224
3246
 
3225
3247
 
 
3248
## utils/mtx/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory utils/mtx/
 
3249
## configure options and TL libraries required for mtx
 
3250
# Check whether --enable-mtx was given.
 
3251
if test "${enable_mtx+set}" = set; then :
 
3252
  enableval=$enable_mtx;
 
3253
fi
 
3254
case $enable_mtx in #(
 
3255
  yes|no) :
 
3256
     ;; #(
 
3257
  *) :
 
3258
 
 
3259
   enable_mtx=$enable_all_pkgs
 
3260
     { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-mtx=$enable_mtx'" >&5
 
3261
$as_echo "$as_me: Assuming \`--enable-mtx=$enable_mtx'" >&6;}
 
3262
     ac_configure_args="$ac_configure_args '--enable-mtx=$enable_mtx'"
 
3263
    ;;
 
3264
esac
 
3265
 
 
3266
 
3226
3267
## utils/pmx/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory utils/pmx/
3227
3268
## configure options and TL libraries required for pmx
3228
3269
# Check whether --enable-pmx was given.
5112
5153
 
5113
5154
 
5114
5155
 
5115
 
am__api_version='1.11'
 
5156
am__api_version='1.12'
5116
5157
 
5117
5158
# Find a good install program.  We prefer a C program (faster),
5118
5159
# so one script is as good as another.  But avoid the broken or
5151
5192
    # by default.
5152
5193
    for ac_prog in ginstall scoinst install; do
5153
5194
      for ac_exec_ext in '' $ac_executable_extensions; do
5154
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 
5195
        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5155
5196
          if test $ac_prog = install &&
5156
5197
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5157
5198
            # AIX install.  It has an incompatible calling convention.
5209
5250
 
5210
5251
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
5211
5252
$as_echo_n "checking whether build environment is sane... " >&6; }
5212
 
# Just in case
5213
 
sleep 1
5214
 
echo timestamp > conftest.file
5215
5253
# Reject unsafe characters in $srcdir or the absolute working directory
5216
5254
# name.  Accept space and tab only in the latter.
5217
5255
am_lf='
5222
5260
esac
5223
5261
case $srcdir in
5224
5262
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
5225
 
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
5263
    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
5226
5264
esac
5227
5265
 
5228
 
# Do `set' in a subshell so we don't clobber the current shell's
 
5266
# Do 'set' in a subshell so we don't clobber the current shell's
5229
5267
# arguments.  Must try -L first in case configure is actually a
5230
5268
# symlink; some systems play weird games with the mod time of symlinks
5231
5269
# (eg FreeBSD returns the mod time of the symlink's containing
5232
5270
# directory).
5233
5271
if (
5234
 
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
5235
 
   if test "$*" = "X"; then
5236
 
      # -L didn't work.
5237
 
      set X `ls -t "$srcdir/configure" conftest.file`
5238
 
   fi
5239
 
   rm -f conftest.file
5240
 
   if test "$*" != "X $srcdir/configure conftest.file" \
5241
 
      && test "$*" != "X conftest.file $srcdir/configure"; then
5242
 
 
5243
 
      # If neither matched, then we have a broken ls.  This can happen
5244
 
      # if, for instance, CONFIG_SHELL is bash and it inherits a
5245
 
      # broken ls alias from the environment.  This has actually
5246
 
      # happened.  Such a system could not be considered "sane".
5247
 
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
5248
 
alias in your environment" "$LINENO" 5
5249
 
   fi
5250
 
 
 
5272
   am_has_slept=no
 
5273
   for am_try in 1 2; do
 
5274
     echo "timestamp, slept: $am_has_slept" > conftest.file
 
5275
     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 
5276
     if test "$*" = "X"; then
 
5277
        # -L didn't work.
 
5278
        set X `ls -t "$srcdir/configure" conftest.file`
 
5279
     fi
 
5280
     if test "$*" != "X $srcdir/configure conftest.file" \
 
5281
        && test "$*" != "X conftest.file $srcdir/configure"; then
 
5282
 
 
5283
        # If neither matched, then we have a broken ls.  This can happen
 
5284
        # if, for instance, CONFIG_SHELL is bash and it inherits a
 
5285
        # broken ls alias from the environment.  This has actually
 
5286
        # happened.  Such a system could not be considered "sane".
 
5287
        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 
5288
  alias in your environment" "$LINENO" 5
 
5289
     fi
 
5290
     if test "$2" = conftest.file || test $am_try -eq 2; then
 
5291
       break
 
5292
     fi
 
5293
     # Just in case.
 
5294
     sleep 1
 
5295
     am_has_slept=yes
 
5296
   done
5251
5297
   test "$2" = conftest.file
5252
5298
   )
5253
5299
then
5259
5305
fi
5260
5306
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5261
5307
$as_echo "yes" >&6; }
 
5308
# If we didn't sleep, we still need to ensure time stamps of config.status and
 
5309
# generated files are strictly newer.
 
5310
am_sleep_pid=
 
5311
if grep 'slept: no' conftest.file >/dev/null 2>&1; then
 
5312
  ( sleep 1 ) &
 
5313
  am_sleep_pid=$!
 
5314
fi
 
5315
 
 
5316
rm -f conftest.file
 
5317
 
5262
5318
test "$program_prefix" != NONE &&
5263
5319
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
5264
5320
# Use a double $ so make ignores it.
5285
5341
  am_missing_run="$MISSING --run "
5286
5342
else
5287
5343
  am_missing_run=
5288
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
5289
 
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
5344
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
 
5345
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
5290
5346
fi
5291
5347
 
5292
5348
if test x"${install_sh}" != xset; then
5298
5354
  esac
5299
5355
fi
5300
5356
 
5301
 
# Installed binaries are usually stripped using `strip' when the user
5302
 
# run `make install-strip'.  However `strip' might not be the right
 
5357
# Installed binaries are usually stripped using 'strip' when the user
 
5358
# run "make install-strip".  However 'strip' might not be the right
5303
5359
# tool to use in cross-compilation environments, therefore Automake
5304
 
# will honor the `STRIP' environment variable to overrule this program.
 
5360
# will honor the 'STRIP' environment variable to overrule this program.
5305
5361
if test "$cross_compiling" != no; then
5306
5362
  if test -n "$ac_tool_prefix"; then
5307
5363
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5320
5376
  IFS=$as_save_IFS
5321
5377
  test -z "$as_dir" && as_dir=.
5322
5378
    for ac_exec_ext in '' $ac_executable_extensions; do
5323
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5379
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5324
5380
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5325
5381
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5326
5382
    break 2
5360
5416
  IFS=$as_save_IFS
5361
5417
  test -z "$as_dir" && as_dir=.
5362
5418
    for ac_exec_ext in '' $ac_executable_extensions; do
5363
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5419
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5364
5420
    ac_cv_prog_ac_ct_STRIP="strip"
5365
5421
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5366
5422
    break 2
5411
5467
  test -z "$as_dir" && as_dir=.
5412
5468
    for ac_prog in mkdir gmkdir; do
5413
5469
         for ac_exec_ext in '' $ac_executable_extensions; do
5414
 
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
5470
           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
5415
5471
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
5416
5472
             'mkdir (GNU coreutils) '* | \
5417
5473
             'mkdir (coreutils) '* | \
5464
5520
  IFS=$as_save_IFS
5465
5521
  test -z "$as_dir" && as_dir=.
5466
5522
    for ac_exec_ext in '' $ac_executable_extensions; do
5467
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5523
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5468
5524
    ac_cv_prog_AWK="$ac_prog"
5469
5525
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5470
5526
    break 2
5547
5603
_am_result=none
5548
5604
# First try GNU make style include.
5549
5605
echo "include confinc" > confmf
5550
 
# Ignore all kinds of additional output from `make'.
 
5606
# Ignore all kinds of additional output from 'make'.
5551
5607
case `$am_make -s -f confmf 2> /dev/null` in #(
5552
5608
*the\ am__doit\ target*)
5553
5609
  am__include=include
5663
5719
  # We make a subdir and do the tests there.  Otherwise we can end up
5664
5720
  # making bogus files that we don't know about and never remove.  For
5665
5721
  # instance it was reported that on HP-UX the gcc test will end up
5666
 
  # making a dummy file named `D' -- because `-MD' means `put the output
5667
 
  # in D'.
 
5722
  # making a dummy file named 'D' -- because '-MD' means "put the output
 
5723
  # in D".
5668
5724
  rm -rf conftest.dir
5669
5725
  mkdir conftest.dir
5670
5726
  # Copy depcomp to subdir because otherwise we won't find it if we're
5699
5755
    : > sub/conftest.c
5700
5756
    for i in 1 2 3 4 5 6; do
5701
5757
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5702
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5703
 
      # Solaris 8's {/usr,}/bin/sh.
5704
 
      touch sub/conftst$i.h
 
5758
      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
 
5759
      # Solaris 10 /bin/sh.
 
5760
      echo '/* dummy */' > sub/conftst$i.h
5705
5761
    done
5706
5762
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5707
5763
 
5708
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
5764
    # We check with '-c' and '-o' for the sake of the "dashmstdout"
5709
5765
    # mode.  It turns out that the SunPro C++ compiler does not properly
5710
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
5711
 
    # versions had trouble with output in subdirs
 
5766
    # handle '-M -o', and we need to detect this.  Also, some Intel
 
5767
    # versions had trouble with output in subdirs.
5712
5768
    am__obj=sub/conftest.${OBJEXT-o}
5713
5769
    am__minus_obj="-o $am__obj"
5714
5770
    case $depmode in
5717
5773
      test "$am__universal" = false || continue
5718
5774
      ;;
5719
5775
    nosideeffect)
5720
 
      # after this tag, mechanisms are not by side-effect, so they'll
5721
 
      # only be used when explicitly requested
 
5776
      # After this tag, mechanisms are not by side-effect, so they'll
 
5777
      # only be used when explicitly requested.
5722
5778
      if test "x$enable_dependency_tracking" = xyes; then
5723
5779
        continue
5724
5780
      else
5726
5782
      fi
5727
5783
      ;;
5728
5784
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5729
 
      # This compiler won't grok `-c -o', but also, the minuso test has
 
5785
      # This compiler won't grok '-c -o', but also, the minuso test has
5730
5786
      # not run yet.  These depmodes are late enough in the game, and
5731
5787
      # so weak that their functioning should not be impacted.
5732
5788
      am__obj=conftest.${OBJEXT-o}
6137
6193
LTLIBOBJS=$ac_ltlibobjs
6138
6194
 
6139
6195
 
 
6196
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
 
6197
$as_echo_n "checking that generated files are newer than configure... " >&6; }
 
6198
   if test -n "$am_sleep_pid"; then
 
6199
     # Hide warnings about reused PIDs.
 
6200
     wait $am_sleep_pid 2>/dev/null
 
6201
   fi
 
6202
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
 
6203
$as_echo "done" >&6; }
6140
6204
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6141
6205
  as_fn_error $? "conditional \"AMDEP\" was never defined.
6142
6206
Usually this means the macro was only invoked conditionally." "$LINENO" 5
6455
6519
    # ... but there are two gotchas:
6456
6520
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6457
6521
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6458
 
    # In both cases, we have to default to `cp -p'.
 
6522
    # In both cases, we have to default to `cp -pR'.
6459
6523
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6460
 
      as_ln_s='cp -p'
 
6524
      as_ln_s='cp -pR'
6461
6525
  elif ln conf$$.file conf$$ 2>/dev/null; then
6462
6526
    as_ln_s=ln
6463
6527
  else
6464
 
    as_ln_s='cp -p'
 
6528
    as_ln_s='cp -pR'
6465
6529
  fi
6466
6530
else
6467
 
  as_ln_s='cp -p'
 
6531
  as_ln_s='cp -pR'
6468
6532
fi
6469
6533
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6470
6534
rmdir conf$$.dir 2>/dev/null
6524
6588
  as_mkdir_p=false
6525
6589
fi
6526
6590
 
6527
 
if test -x / >/dev/null 2>&1; then
6528
 
  as_test_x='test -x'
6529
 
else
6530
 
  if ls -dL / >/dev/null 2>&1; then
6531
 
    as_ls_L_option=L
6532
 
  else
6533
 
    as_ls_L_option=
6534
 
  fi
6535
 
  as_test_x='
6536
 
    eval sh -c '\''
6537
 
      if test -d "$1"; then
6538
 
        test -d "$1/.";
6539
 
      else
6540
 
        case $1 in #(
6541
 
        -*)set "./$1";;
6542
 
        esac;
6543
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
6544
 
        ???[sx]*):;;*)false;;esac;fi
6545
 
    '\'' sh
6546
 
  '
6547
 
fi
6548
 
as_executable_p=$as_test_x
 
6591
 
 
6592
# as_fn_executable_p FILE
 
6593
# -----------------------
 
6594
# Test if FILE is an executable regular file.
 
6595
as_fn_executable_p ()
 
6596
{
 
6597
  test -f "$1" && test -x "$1"
 
6598
} # as_fn_executable_p
 
6599
as_test_x='test -x'
 
6600
as_executable_p=as_fn_executable_p
6549
6601
 
6550
6602
# Sed expression to map a string onto a valid CPP name.
6551
6603
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6567
6619
# values after options handling.
6568
6620
ac_log="
6569
6621
This file was extended by TeX Live libs $as_me 2010, which was
6570
 
generated by GNU Autoconf 2.68.  Invocation command line was
 
6622
generated by GNU Autoconf 2.69.  Invocation command line was
6571
6623
 
6572
6624
  CONFIG_FILES    = $CONFIG_FILES
6573
6625
  CONFIG_HEADERS  = $CONFIG_HEADERS
6624
6676
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6625
6677
ac_cs_version="\\
6626
6678
TeX Live libs config.status 2010
6627
 
configured by $0, generated by GNU Autoconf 2.68,
 
6679
configured by $0, generated by GNU Autoconf 2.69,
6628
6680
  with options \\"\$ac_cs_config\\"
6629
6681
 
6630
 
Copyright (C) 2010 Free Software Foundation, Inc.
 
6682
Copyright (C) 2012 Free Software Foundation, Inc.
6631
6683
This config.status script is free software; the Free Software Foundation
6632
6684
gives unlimited permission to copy, distribute and modify it."
6633
6685
 
6707
6759
_ACEOF
6708
6760
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6709
6761
if \$ac_cs_recheck; then
6710
 
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
6762
  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6711
6763
  shift
6712
6764
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6713
6765
  CONFIG_SHELL='$SHELL'
7186
7238
    # Strip MF so we end up with the name of the file.
7187
7239
    mf=`echo "$mf" | sed -e 's/:.*$//'`
7188
7240
    # Check whether this is an Automake generated Makefile or not.
7189
 
    # We used to match only the files named `Makefile.in', but
 
7241
    # We used to match only the files named 'Makefile.in', but
7190
7242
    # some people rename them; so instead we look at the file content.
7191
7243
    # Grep'ing the first line is not enough: some people post-process
7192
7244
    # each Makefile.in and add a new line on top of each file to say so.
7220
7272
      continue
7221
7273
    fi
7222
7274
    # Extract the definition of DEPDIR, am__include, and am__quote
7223
 
    # from the Makefile without running `make'.
 
7275
    # from the Makefile without running 'make'.
7224
7276
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7225
7277
    test -z "$DEPDIR" && continue
7226
7278
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
7227
7279
    test -z "am__include" && continue
7228
7280
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7229
 
    # When using ansi2knr, U may be empty or an underscore; expand it
7230
 
    U=`sed -n 's/^U = //p' < "$mf"`
7231
7281
    # Find all dependency output files, they are included files with
7232
7282
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
7233
7283
    # simplest approach to changing $(DEPDIR) to its actual value in the
7234
7284
    # expansion.
7235
7285
    for file in `sed -n "
7236
7286
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7237
 
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
7287
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
7238
7288
      # Make sure the directory exists.
7239
7289
      test -f "$dirpart/$file" && continue
7240
7290
      fdir=`$as_dirname -- "$file" ||