tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject cvs commit: jakarta-tomcat-4.0/service/support apfunctions.m4
Date Tue, 26 Jun 2001 01:33:01 GMT
pier        01/06/25 18:33:01

  Added:       service/support apfunctions.m4
  Log:
  Full UNIX service implementation checkin
  
  Revision  Changes    Path
  1.1                  jakarta-tomcat-4.0/service/support/apfunctions.m4
  
  Index: apfunctions.m4
  ===================================================================
  dnl =========================================================================
  dnl
  dnl                 The Apache Software License,  Version 1.1
  dnl
  dnl          Copyright (c) 1999-2001 The Apache Software Foundation.
  dnl                           All rights reserved.
  dnl
  dnl =========================================================================
  dnl
  dnl Redistribution and use in source and binary forms,  with or without modi-
  dnl fication, are permitted provided that the following conditions are met:
  dnl
  dnl 1. Redistributions of source code  must retain the above copyright notice
  dnl    notice, this list of conditions and the following disclaimer.
  dnl
  dnl 2. Redistributions  in binary  form  must  reproduce the  above copyright
  dnl    notice,  this list of conditions  and the following  disclaimer in the
  dnl    documentation and/or other materials provided with the distribution.
  dnl
  dnl 3. The end-user documentation  included with the redistribution,  if any,
  dnl    must include the following acknowlegement:
  dnl
  dnl       "This product includes  software developed  by the Apache  Software
  dnl        Foundation <http://www.apache.org/>."
  dnl
  dnl    Alternately, this acknowlegement may appear in the software itself, if
  dnl    and wherever such third-party acknowlegements normally appear.
  dnl
  dnl 4. The names  "The  Jakarta  Project",  "WebApp",  and  "Apache  Software
  dnl    Foundation"  must not be used  to endorse or promote  products derived
  dnl    from this  software without  prior  written  permission.  For  written
  dnl    permission, please contact <apache@apache.org>.
  dnl
  dnl 5. Products derived from this software may not be called "Apache" nor may
  dnl    "Apache" appear in their names without prior written permission of the
  dnl    Apache Software Foundation.
  dnl
  dnl THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES
  dnl INCLUDING, BUT NOT LIMITED TO,  THE IMPLIED WARRANTIES OF MERCHANTABILITY
  dnl AND FITNESS FOR  A PARTICULAR PURPOSE  ARE DISCLAIMED.  IN NO EVENT SHALL
  dnl THE APACHE  SOFTWARE  FOUNDATION OR  ITS CONTRIBUTORS  BE LIABLE  FOR ANY
  dnl DIRECT,  INDIRECT,   INCIDENTAL,  SPECIAL,  EXEMPLARY,  OR  CONSEQUENTIAL
  dnl DAMAGES (INCLUDING,  BUT NOT LIMITED TO,  PROCUREMENT OF SUBSTITUTE GOODS
  dnl OR SERVICES;  LOSS OF USE,  DATA,  OR PROFITS;  OR BUSINESS INTERRUPTION)
  dnl HOWEVER CAUSED AND  ON ANY  THEORY  OF  LIABILITY,  WHETHER IN  CONTRACT,
  dnl STRICT LIABILITY, OR TORT  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
  dnl ANY  WAY  OUT OF  THE  USE OF  THIS  SOFTWARE,  EVEN  IF  ADVISED  OF THE
  dnl POSSIBILITY OF SUCH DAMAGE.
  dnl
  dnl =========================================================================
  dnl
  dnl This software  consists of voluntary  contributions made  by many indivi-
  dnl duals on behalf of the  Apache Software Foundation.  For more information
  dnl on the Apache Software Foundation, please see <http://www.apache.org/>.
  dnl
  dnl =========================================================================
  
  dnl -------------------------------------------------------------------------
  dnl Author  Pier Fumagalli <mailto:pier.fumagalli@eng.sun.com>
  dnl Version $Id: apfunctions.m4,v 1.1 2001/06/26 01:33:00 pier Exp $
  dnl -------------------------------------------------------------------------
  
  AC_DEFUN(AP_MSG_HEADER,[
    printf "\n\033\1331m%s\033\1330m\n" "$1" 1>&2
    AC_PROVIDE([$0])
  ])
  
  AC_DEFUN(AP_CANONICAL_HOST_CHECK,[
    AC_MSG_CHECKING([cached host system type])
    if { test x"${ac_cv_host_system_type+set}" = x"set"  &&
         test x"$ac_cv_host_system_type" != x"$host" ; }
    then
      AC_MSG_RESULT([$ac_cv_host_system_type])
      AC_MSG_ERROR([remove the \"$cache_file\" file and re-run configure])
    else
      AC_MSG_RESULT(ok)
      ac_cv_host_system_type="$host"
    fi
    AC_PROVIDE([$0])
  ])
  
  
  

Mime
View raw message