compile revision a747113422afaa29ce72d2c5ba7f0b7ea9ec2054
341N/A# Wrapper for compilers which do not understand '-c -o'. 341N/A# Copyright (C) 1999-2012 Free Software Foundation, Inc. 341N/A# Written by Tom Tromey <tromey@cygnus.com>. 919N/A# This program is free software; you can redistribute it and/or modify 919N/A# it under the terms of the GNU General Public License as published by 919N/A# the Free Software Foundation; either version 2, or (at your option) 919N/A# This program is distributed in the hope that it will be useful, 919N/A# but WITHOUT ANY WARRANTY; without even the implied warranty of 919N/A# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 919N/A# GNU General Public License for more details. 919N/A# You should have received a copy of the GNU General Public License 919N/A# As a special exception to the GNU General Public License, if you 919N/A# distribute this file as part of a program that contains a 919N/A# configuration script generated by Autoconf, you may include it under 341N/A# the same distribution terms that you use for the rest of that program. 341N/A# This file is maintained in Automake, please report 341N/A# bugs to <bug-automake@gnu.org> or send patches to 493N/A# <automake-patches@gnu.org>. 911N/A# We need space, tab and new line, in precisely that order. Quoting is 962N/A# there to prevent tools from complaining about whitespace usage. 341N/A# func_file_conv build_file lazy 341N/A# Convert a $build file to $host form and store it in $file 341N/A# Currently only supports Windows hosts. If the determined conversion 341N/A# type is listed in (the comma separated) LAZY, no conversion will 604N/A / | /[!/]*) # absolute file, and not a UNC file 812N/A # lazily determine how to convert abs files 688N/A# Make cl look for libraries in LINKDIR 816N/A# Do a library search-path lookup for cl 341N/A# func_cl_wrapper cl arg... 341N/A# Adjust compile command to suit cl 341N/A # Assume a capable shell 851N/A # configure might choose to run compile as 'compile cc -o foo foo.c'. echo "$0: No command. Try '$0 --help' for more information." 1>&
2 # configure might choose to run compile as 'compile cc -o foo foo.c'. # So we strip '-o arg' only if arg is an object. # If no '-o' option was seen then we might have been invoked from a # pattern rule where we don't need one. That is ok -- this is a # normal compilation that the losing compiler can handle. If no # '.c' file was seen then we are probably linking. That is also # Name of file we expect compiler to create. # Create the lock directory. # Note: use '[/\\:.-]' here to ensure that we don't use the same name # that we are using for the .o file. Also, base the name on the expected # object file name, since that is what matters with a parallel build. # FIXME: race condition here if user kills between mkdir and trap. elif test -f
"${cofile}bj";
then # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC"