~ubuntu-branches/ubuntu/wily/luatex/wily

« back to all changes in this revision

Viewing changes to source/texk/aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Preining
  • Date: 2010-04-29 00:47:19 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20100429004719-o42etkqe90n97b9e
Tags: 0.60.1-1
* new upstream release, adapt build-script patch
* disable patch: upstream-epstopdf_cc_no_xpdf_patching, included upstream
* disable patch: libpoppler-0.12, not needed anymore

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# generated automatically by aclocal 1.10.2 -*- Autoconf -*-
 
1
# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
2
2
 
3
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
 
# 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
 
4
# 2005, 2006, 2007, 2008, 2009  Free Software Foundation, Inc.
5
5
# This file is free software; the Free Software Foundation
6
6
# gives unlimited permission to copy and/or distribute it,
7
7
# with or without modifications, as long as this notice is preserved.
13
13
 
14
14
m4_ifndef([AC_AUTOCONF_VERSION],
15
15
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16
 
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],,
17
 
[m4_warning([this file was generated for autoconf 2.63.
 
16
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],,
 
17
[m4_warning([this file was generated for autoconf 2.65.
18
18
You have another version of autoconf.  It may work, but is not guaranteed to.
19
19
If you have problems, you may need to regenerate the build system entirely.
20
20
To do so, use the procedure documented by the package, typically `autoreconf'.])])
31
31
# generated from the m4 files accompanying Automake X.Y.
32
32
# (This private macro should not be called outside this file.)
33
33
AC_DEFUN([AM_AUTOMAKE_VERSION],
34
 
[am__api_version='1.10'
 
34
[am__api_version='1.11'
35
35
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
36
36
dnl require some minimum version.  Point them to the right macro.
37
 
m4_if([$1], [1.10.2], [],
 
37
m4_if([$1], [1.11.1], [],
38
38
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
39
39
])
40
40
 
50
50
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
51
51
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
52
52
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
53
 
[AM_AUTOMAKE_VERSION([1.10.2])dnl
 
53
[AM_AUTOMAKE_VERSION([1.11.1])dnl
54
54
m4_ifndef([AC_AUTOCONF_VERSION],
55
55
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
56
56
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
110
110
 
111
111
# AM_CONDITIONAL                                            -*- Autoconf -*-
112
112
 
113
 
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
 
113
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
114
114
# Free Software Foundation, Inc.
115
115
#
116
116
# This file is free software; the Free Software Foundation
117
117
# gives unlimited permission to copy and/or distribute it,
118
118
# with or without modifications, as long as this notice is preserved.
119
119
 
120
 
# serial 8
 
120
# serial 9
121
121
 
122
122
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
123
123
# -------------------------------------
130
130
AC_SUBST([$1_FALSE])dnl
131
131
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
132
132
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
 
133
m4_define([_AM_COND_VALUE_$1], [$2])dnl
133
134
if $2; then
134
135
  $1_TRUE=
135
136
  $1_FALSE='#'
146
147
# Do all the work for Automake.                             -*- Autoconf -*-
147
148
 
148
149
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
149
 
# 2005, 2006, 2008 Free Software Foundation, Inc.
 
150
# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
150
151
#
151
152
# This file is free software; the Free Software Foundation
152
153
# gives unlimited permission to copy and/or distribute it,
153
154
# with or without modifications, as long as this notice is preserved.
154
155
 
155
 
# serial 13
 
156
# serial 16
156
157
 
157
158
# This macro actually does too much.  Some checks are only needed if
158
159
# your package does certain things.  But this isn't really a big deal.
169
170
# arguments mandatory, and then we can depend on a new Autoconf
170
171
# release and drop the old call support.
171
172
AC_DEFUN([AM_INIT_AUTOMAKE],
172
 
[AC_PREREQ([2.60])dnl
 
173
[AC_PREREQ([2.62])dnl
173
174
dnl Autoconf wants to disallow AM_ names.  We explicitly allow
174
175
dnl the ones we care about.
175
176
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
220
221
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
221
222
AM_MISSING_PROG(AUTOHEADER, autoheader)
222
223
AM_MISSING_PROG(MAKEINFO, makeinfo)
223
 
AM_PROG_INSTALL_SH
224
 
AM_PROG_INSTALL_STRIP
 
224
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
 
225
AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
225
226
AC_REQUIRE([AM_PROG_MKDIR_P])dnl
226
227
# We need awk for the "check" target.  The system "awk" is bad on
227
228
# some platforms.
229
230
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
230
231
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
231
232
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
232
 
              [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
233
 
                             [_AM_PROG_TAR([v7])])])
 
233
              [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
 
234
                             [_AM_PROG_TAR([v7])])])
234
235
_AM_IF_OPTION([no-dependencies],,
235
236
[AC_PROVIDE_IFELSE([AC_PROG_CC],
236
 
                  [_AM_DEPENDENCIES(CC)],
237
 
                  [define([AC_PROG_CC],
238
 
                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
 
237
                  [_AM_DEPENDENCIES(CC)],
 
238
                  [define([AC_PROG_CC],
 
239
                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
239
240
AC_PROVIDE_IFELSE([AC_PROG_CXX],
240
 
                  [_AM_DEPENDENCIES(CXX)],
241
 
                  [define([AC_PROG_CXX],
242
 
                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
 
241
                  [_AM_DEPENDENCIES(CXX)],
 
242
                  [define([AC_PROG_CXX],
 
243
                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
243
244
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
244
 
                  [_AM_DEPENDENCIES(OBJC)],
245
 
                  [define([AC_PROG_OBJC],
246
 
                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
247
 
])
248
 
])
 
245
                  [_AM_DEPENDENCIES(OBJC)],
 
246
                  [define([AC_PROG_OBJC],
 
247
                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
 
248
])
 
249
_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
 
250
dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
 
251
dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This macro
 
252
dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
 
253
AC_CONFIG_COMMANDS_PRE(dnl
 
254
[m4_provide_if([_AM_COMPILER_EXEEXT],
 
255
  [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
 
256
])
 
257
 
 
258
dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
 
259
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
 
260
dnl mangled by Autoconf and run in a shell conditional statement.
 
261
m4_define([_AC_COMPILER_EXEEXT],
 
262
m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
249
263
 
250
264
 
251
265
# When config.status generates a header, we must update the stamp-h file.
269
283
done
270
284
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
271
285
 
272
 
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
286
# Copyright (C) 2001, 2003, 2005, 2008  Free Software Foundation, Inc.
273
287
#
274
288
# This file is free software; the Free Software Foundation
275
289
# gives unlimited permission to copy and/or distribute it,
280
294
# Define $install_sh.
281
295
AC_DEFUN([AM_PROG_INSTALL_SH],
282
296
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
283
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
 
297
if test x"${install_sh}" != xset; then
 
298
  case $am_aux_dir in
 
299
  *\ * | *\     *)
 
300
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
301
  *)
 
302
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
303
  esac
 
304
fi
284
305
AC_SUBST(install_sh)])
285
306
 
286
307
# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
307
328
# Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
308
329
# From Jim Meyering
309
330
 
310
 
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
 
331
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
311
332
# Free Software Foundation, Inc.
312
333
#
313
334
# This file is free software; the Free Software Foundation
314
335
# gives unlimited permission to copy and/or distribute it,
315
336
# with or without modifications, as long as this notice is preserved.
316
337
 
317
 
# serial 4
 
338
# serial 5
318
339
 
 
340
# AM_MAINTAINER_MODE([DEFAULT-MODE])
 
341
# ----------------------------------
 
342
# Control maintainer-specific portions of Makefiles.
 
343
# Default is to disable them, unless `enable' is passed literally.
 
344
# For symmetry, `disable' may be passed as well.  Anyway, the user
 
345
# can override the default with the --enable/--disable switch.
319
346
AC_DEFUN([AM_MAINTAINER_MODE],
320
 
[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
321
 
  dnl maintainer-mode is disabled by default
322
 
  AC_ARG_ENABLE(maintainer-mode,
323
 
[  --enable-maintainer-mode  enable make rules and dependencies not useful
 
347
[m4_case(m4_default([$1], [disable]),
 
348
       [enable], [m4_define([am_maintainer_other], [disable])],
 
349
       [disable], [m4_define([am_maintainer_other], [enable])],
 
350
       [m4_define([am_maintainer_other], [enable])
 
351
        m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
 
352
AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
 
353
  dnl maintainer-mode's default is 'disable' unless 'enable' is passed
 
354
  AC_ARG_ENABLE([maintainer-mode],
 
355
[  --][am_maintainer_other][-maintainer-mode  am_maintainer_other make rules and dependencies not useful
324
356
                          (and sometimes confusing) to the casual installer],
325
 
      USE_MAINTAINER_MODE=$enableval,
326
 
      USE_MAINTAINER_MODE=no)
 
357
      [USE_MAINTAINER_MODE=$enableval],
 
358
      [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
327
359
  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
328
 
  AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
 
360
  AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
329
361
  MAINT=$MAINTAINER_MODE_TRUE
330
 
  AC_SUBST(MAINT)dnl
 
362
  AC_SUBST([MAINT])dnl
331
363
]
332
364
)
333
365
 
335
367
 
336
368
# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
337
369
 
338
 
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
 
370
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
339
371
# Free Software Foundation, Inc.
340
372
#
341
373
# This file is free software; the Free Software Foundation
342
374
# gives unlimited permission to copy and/or distribute it,
343
375
# with or without modifications, as long as this notice is preserved.
344
376
 
345
 
# serial 5
 
377
# serial 6
346
378
 
347
379
# AM_MISSING_PROG(NAME, PROGRAM)
348
380
# ------------------------------
359
391
AC_DEFUN([AM_MISSING_HAS_RUN],
360
392
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
361
393
AC_REQUIRE_AUX_FILE([missing])dnl
362
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
394
if test x"${MISSING+set}" != xset; then
 
395
  case $am_aux_dir in
 
396
  *\ * | *\     *)
 
397
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
398
  *)
 
399
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
400
  esac
 
401
fi
363
402
# Use eval to expand $SHELL
364
403
if eval "$MISSING --run true"; then
365
404
  am_missing_run="$MISSING --run "
430
469
 
431
470
# Check to make sure that the build environment is sane.    -*- Autoconf -*-
432
471
 
433
 
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
 
472
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
434
473
# Free Software Foundation, Inc.
435
474
#
436
475
# This file is free software; the Free Software Foundation
437
476
# gives unlimited permission to copy and/or distribute it,
438
477
# with or without modifications, as long as this notice is preserved.
439
478
 
440
 
# serial 4
 
479
# serial 5
441
480
 
442
481
# AM_SANITY_CHECK
443
482
# ---------------
446
485
# Just in case
447
486
sleep 1
448
487
echo timestamp > conftest.file
 
488
# Reject unsafe characters in $srcdir or the absolute working directory
 
489
# name.  Accept space and tab only in the latter.
 
490
am_lf='
 
491
'
 
492
case `pwd` in
 
493
  *[[\\\"\#\$\&\'\`$am_lf]]*)
 
494
    AC_MSG_ERROR([unsafe absolute working directory name]);;
 
495
esac
 
496
case $srcdir in
 
497
  *[[\\\"\#\$\&\'\`$am_lf\ \    ]]*)
 
498
    AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
 
499
esac
 
500
 
449
501
# Do `set' in a subshell so we don't clobber the current shell's
450
502
# arguments.  Must try -L first in case configure is actually a
451
503
# symlink; some systems play weird games with the mod time of symlinks
452
504
# (eg FreeBSD returns the mod time of the symlink's containing
453
505
# directory).
454
506
if (
455
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
507
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
456
508
   if test "$[*]" = "X"; then
457
509
      # -L didn't work.
458
 
      set X `ls -t $srcdir/configure conftest.file`
 
510
      set X `ls -t "$srcdir/configure" conftest.file`
459
511
   fi
460
512
   rm -f conftest.file
461
513
   if test "$[*]" != "X $srcdir/configure conftest.file" \
508
560
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
509
561
AC_SUBST([INSTALL_STRIP_PROGRAM])])
510
562
 
511
 
# Copyright (C) 2006  Free Software Foundation, Inc.
 
563
# Copyright (C) 2006, 2008  Free Software Foundation, Inc.
512
564
#
513
565
# This file is free software; the Free Software Foundation
514
566
# gives unlimited permission to copy and/or distribute it,
515
567
# with or without modifications, as long as this notice is preserved.
516
568
 
 
569
# serial 2
 
570
 
517
571
# _AM_SUBST_NOTMAKE(VARIABLE)
518
572
# ---------------------------
519
573
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
520
574
# This macro is traced by Automake.
521
575
AC_DEFUN([_AM_SUBST_NOTMAKE])
522
576
 
 
577
# AM_SUBST_NOTMAKE(VARIABLE)
 
578
# ---------------------------
 
579
# Public sister of _AM_SUBST_NOTMAKE.
 
580
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
 
581
 
523
582
# Check how to create a tarball.                            -*- Autoconf -*-
524
583
 
525
584
# Copyright (C) 2004, 2005  Free Software Foundation, Inc.
620
679
m4_include([../m4/kpse-cxx-hack.m4])
621
680
m4_include([../m4/kpse-kpathsea-flags.m4])
622
681
m4_include([../m4/kpse-libpng-flags.m4])
 
682
m4_include([../m4/kpse-lt-hack.m4])
623
683
m4_include([../m4/kpse-options.m4])
624
684
m4_include([../m4/kpse-pkgs.m4])
625
685
m4_include([../m4/kpse-setup.m4])
626
686
m4_include([../m4/kpse-web2c.m4])
627
687
m4_include([../m4/kpse-xpdf-flags.m4])
628
688
m4_include([../m4/kpse-zlib-flags.m4])
 
689
m4_include([../m4/kpse-zziplib-flags.m4])