dnl =================================================================== dnl Licensed to the Apache Software Foundation (ASF) under one dnl or more contributor license agreements. See the NOTICE file dnl distributed with this work for additional information dnl regarding copyright ownership. The ASF licenses this file dnl to you under the Apache License, Version 2.0 (the dnl "License"); you may not use this file except in compliance dnl with the License. You may obtain a copy of the License at dnl dnl http://www.apache.org/licenses/LICENSE-2.0 dnl dnl Unless required by applicable law or agreed to in writing, dnl software distributed under the License is distributed on an dnl "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY dnl KIND, either express or implied. See the License for the dnl specific language governing permissions and limitations dnl under the License. dnl =================================================================== dnl # Miscellaneous additional macros for Subversion's own use. # SVN_CONFIG_NICE(FILENAME) # Write a shell script to FILENAME (typically 'config.nice') which reinvokes # configure with all of the arguments. Reserves use of the filename # FILENAME.old for its own use. # This is different from 'config.status --recheck' in that it does add implicit # --no-create --no-recursion options, and stores _just_ the configure # invocation, instead of the entire configured state. AC_DEFUN([SVN_CONFIG_NICE], [ AC_MSG_NOTICE([creating $1]) # This little dance satisfies Cygwin, which cannot overwrite in-use files. if test -f "$1"; then mv "$1" "$1.old" fi cat >"$1" <