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

« back to all changes in this revision

Viewing changes to source/texk/m4/kpse_unset.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
 
# Private macros for the kpathsea library.
2
 
# Copyright (C) 1995 - 2008 Karl Berry <tex-live@tug.org>
3
 
#
4
 
# This file is free software; the copyright holder
5
 
# gives unlimited permission to copy and/or distribute it,
6
 
# with or without modifications, as long as this notice is preserved.
7
 
 
8
 
# serial 2
9
 
 
10
 
# AC_UNSET_CC
11
 
# -----------
12
 
# Unset CC to run configure with cross compiler.
13
 
AC_DEFUN([AC_UNSET_CC], [
14
 
ZZ=
15
 
if test "$cross_compiling" = yes &&
16
 
   (test "x$CC" = "xdos-gcc" || test "x$CC" = "xi386-mingw32-gcc" || test "x$CC" = "xgnuwin32gcc") ; then
17
 
ZZ=$CC
18
 
unset CC
19
 
cross_compiling=no
20
 
fi
21
 
])
22
 
 
23
 
# AC_RESET_CC
24
 
# -----------
25
 
# Restore CC that has been unset by AC_UNSET_CC
26
 
AC_DEFUN([AC_RESET_CC], [
27
 
if test "x$ZZ" = "xdos-gcc" || test "x$ZZ" = "xi386-mingw32-gcc" || test "x$ZZ" = "xgnuwin32gcc" ; then
28
 
CC=$ZZ
29
 
cross_compiling=yes
30
 
fi
31
 
])
32