~n-muench/ubuntu/oneiric/open-vm-tools/open-vm-tools.fix-836277

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): Devid Antonio Filoni
  • Date: 2008-08-15 21:21:40 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080815212140-05fhxj8wroosysmj
Tags: 2008.08.08-109361-1ubuntu1
* Merge from Debian unstable (LP: #258393), remaining Ubuntu change:
  - add ubuntu_toolchain_FTBFS.dpatch patch, fix FTBFS
* Update ubuntu_toolchain_FTBFS.dpatch patch for the new version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6976
6976
rm -f confinc confmf
6977
6977
])
6978
6978
 
 
6979
# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005
 
6980
# Free Software Foundation, Inc.
 
6981
#
 
6982
# This file is free software; the Free Software Foundation
 
6983
# gives unlimited permission to copy and/or distribute it,
 
6984
# with or without modifications, as long as this notice is preserved.
 
6985
 
 
6986
# serial 5
 
6987
 
 
6988
# AM_PROG_CC_C_O
 
6989
# --------------
 
6990
# Like AC_PROG_CC_C_O, but changed for automake.
 
6991
AC_DEFUN([AM_PROG_CC_C_O],
 
6992
[AC_REQUIRE([AC_PROG_CC_C_O])dnl
 
6993
AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
 
6994
AC_REQUIRE_AUX_FILE([compile])dnl
 
6995
# FIXME: we rely on the cache variable name because
 
6996
# there is no other way.
 
6997
set dummy $CC
 
6998
ac_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
 
6999
if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
 
7000
   # Losing compiler, so override with the script.
 
7001
   # FIXME: It is wrong to rewrite CC.
 
7002
   # But if we don't then we get into trouble of one sort or another.
 
7003
   # A longer-term fix would be to have automake use am__CC in this case,
 
7004
   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
 
7005
   CC="$am_aux_dir/compile $CC"
 
7006
fi
 
7007
dnl Make sure AC_PROG_CC is never called again, or it will override our
 
7008
dnl setting of CC.
 
7009
m4_define([AC_PROG_CC],
 
7010
          [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])])
 
7011
])
 
7012
 
6979
7013
# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
6980
7014
 
6981
7015
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005