apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r155181 - in apr/apr-util/trunk/build: apu-conf.m4 apu-hints.m4 apu-iconv.m4 dbd.m4 dbm.m4 find_apu.m4
Date Thu, 24 Feb 2005 10:23:36 GMT
Author: jorton
Date: Thu Feb 24 02:23:34 2005
New Revision: 155181

URL: http://svn.apache.org/viewcvs?view=rev&rev=155181
Log:
* build/apu-iconv.m4, build/dbm.m4, build/apu-hints.m4,
build/apu-conf.m4, build/dbd.m4, build/find_apu.m4: Add copyright
headers and quote AC_DEFUN arguments correctly.

Modified:
    apr/apr-util/trunk/build/apu-conf.m4
    apr/apr-util/trunk/build/apu-hints.m4
    apr/apr-util/trunk/build/apu-iconv.m4
    apr/apr-util/trunk/build/dbd.m4
    apr/apr-util/trunk/build/dbm.m4
    apr/apr-util/trunk/build/find_apu.m4

Modified: apr/apr-util/trunk/build/apu-conf.m4
URL: http://svn.apache.org/viewcvs/apr/apr-util/trunk/build/apu-conf.m4?view=diff&r1=155180&r2=155181
==============================================================================
--- apr/apr-util/trunk/build/apu-conf.m4 (original)
+++ apr/apr-util/trunk/build/apu-conf.m4 Thu Feb 24 02:23:34 2005
@@ -1,3 +1,20 @@
+dnl -------------------------------------------------------- -*- autoconf -*-
+dnl Copyright 2000-2005 The Apache Software Foundation or its licensors, as
+dnl applicable.
+dnl
+dnl Licensed under the Apache License, Version 2.0 (the "License");
+dnl you may not use this file except in compliance with the License.
+dnl 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, software
+dnl distributed under the License is distributed on an "AS IS" BASIS,
+dnl WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+dnl See the License for the specific language governing permissions and
+dnl limitations under the License.
+
+
 dnl
 dnl custom autoconf rules for APRUTIL
 dnl
@@ -5,7 +22,7 @@
 dnl
 dnl APU_FIND_APR: figure out where APR is located
 dnl
-AC_DEFUN(APU_FIND_APR,[
+AC_DEFUN([APU_FIND_APR], [
 
   dnl use the find_apr.m4 script to locate APR. sets apr_found and apr_config
   APR_FIND_APR(,,,[1])
@@ -35,7 +52,7 @@
 dnl
 dnl if present: sets expat_include_dir, expat_libs, possibly expat_old
 dnl
-AC_DEFUN(APU_TEST_EXPAT,[
+AC_DEFUN([APU_TEST_EXPAT], [
   AC_MSG_CHECKING(for Expat in ifelse($2,,$1,$2))
 
   expat_libtool=""
@@ -122,7 +139,7 @@
 dnl
 dnl APU_FIND_EXPAT: figure out where EXPAT is located (or use bundled)
 dnl
-AC_DEFUN(APU_FIND_EXPAT,[
+AC_DEFUN([APU_FIND_EXPAT], [
 
 AC_ARG_WITH([expat],
 [  --with-expat=DIR        specify Expat location], [
@@ -208,7 +225,7 @@
 dnl 
 dnl Find a particular LDAP library
 dnl
-AC_DEFUN(APU_FIND_LDAPLIB,[
+AC_DEFUN([APU_FIND_LDAPLIB], [
   if test ${apu_has_ldap} != "1"; then
     ldaplib=$1
     extralib=$2
@@ -234,7 +251,7 @@
 dnl
 dnl APU_FIND_LDAP: figure out where LDAP is located
 dnl
-AC_DEFUN(APU_FIND_LDAP,[
+AC_DEFUN([APU_FIND_LDAP],  [
 
 echo $ac_n "${nl}checking for ldap support..."
 

Modified: apr/apr-util/trunk/build/apu-hints.m4
URL: http://svn.apache.org/viewcvs/apr/apr-util/trunk/build/apu-hints.m4?view=diff&r1=155180&r2=155181
==============================================================================
--- apr/apr-util/trunk/build/apu-hints.m4 (original)
+++ apr/apr-util/trunk/build/apu-hints.m4 Thu Feb 24 02:23:34 2005
@@ -1,3 +1,19 @@
+dnl -------------------------------------------------------- -*- autoconf -*-
+dnl Copyright 2003-2005 The Apache Software Foundation or its licensors, as
+dnl applicable.
+dnl
+dnl Licensed under the Apache License, Version 2.0 (the "License");
+dnl you may not use this file except in compliance with the License.
+dnl 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, software
+dnl distributed under the License is distributed on an "AS IS" BASIS,
+dnl WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+dnl See the License for the specific language governing permissions and
+dnl limitations under the License.
+
 dnl -----------------------------------------------------------------
 dnl apu-hints.m4: apr-util's autoconf macros for platform-specific hints
 dnl
@@ -11,7 +27,7 @@
 dnl
 dnl  Preload various build parameters based on outside knowledge.
 dnl
-AC_DEFUN(APU_PRELOAD, [
+AC_DEFUN([APU_PRELOAD], [
 if test "x$apu_preload_done" != "xyes" ; then
     apu_preload_done="yes"
 

Modified: apr/apr-util/trunk/build/apu-iconv.m4
URL: http://svn.apache.org/viewcvs/apr/apr-util/trunk/build/apu-iconv.m4?view=diff&r1=155180&r2=155181
==============================================================================
--- apr/apr-util/trunk/build/apu-iconv.m4 (original)
+++ apr/apr-util/trunk/build/apu-iconv.m4 Thu Feb 24 02:23:34 2005
@@ -1,11 +1,23 @@
-dnl
-dnl custom autoconf rules for APRUTIL
-dnl
+dnl -------------------------------------------------------- -*- autoconf -*-
+dnl Copyright 2002-2005 The Apache Software Foundation, or its licensors, as
+dnl applicable.
+dnl
+dnl Licensed under the Apache License, Version 2.0 (the "License");
+dnl you may not use this file except in compliance with the License.
+dnl 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, software
+dnl distributed under the License is distributed on an "AS IS" BASIS,
+dnl WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+dnl See the License for the specific language governing permissions and
+dnl limitations under the License.
 
 dnl
 dnl APU_TRY_ICONV[ IF-SUCCESS, IF-FAILURE ]: try to compile for iconv.
 dnl
-AC_DEFUN(APU_TRY_ICONV,[
+AC_DEFUN([APU_TRY_ICONV], [
   AC_TRY_LINK([
 #include <stdlib.h>
 #include <iconv.h>
@@ -19,7 +31,7 @@
 dnl
 dnl APU_FIND_ICONV: find an iconv library
 dnl
-AC_DEFUN(APU_FIND_ICONV,[
+AC_DEFUN([APU_FIND_ICONV], [
 
 apu_iconv_dir="unknown"
 have_apr_iconv="0"
@@ -91,7 +103,7 @@
 dnl  be set in hints.m4 to specify whether or not iconv() has const
 dnl  on this parameter.
 dnl
-AC_DEFUN(APU_CHECK_ICONV_INBUF,[
+AC_DEFUN([APU_CHECK_ICONV_INBUF], [
 AC_MSG_CHECKING(for type of inbuf parameter to iconv)
 if test "x$apu_iconv_inbuf_const" = "x"; then
     APR_TRY_COMPILE_NO_WARNING([

Modified: apr/apr-util/trunk/build/dbd.m4
URL: http://svn.apache.org/viewcvs/apr/apr-util/trunk/build/dbd.m4?view=diff&r1=155180&r2=155181
==============================================================================
--- apr/apr-util/trunk/build/dbd.m4 (original)
+++ apr/apr-util/trunk/build/dbd.m4 Thu Feb 24 02:23:34 2005
@@ -1,3 +1,19 @@
+dnl -------------------------------------------------------- -*- autoconf -*-
+dnl Copyright 2005 The Apache Software Foundation or its licensors, as
+dnl applicable.
+dnl
+dnl Licensed under the Apache License, Version 2.0 (the "License");
+dnl you may not use this file except in compliance with the License.
+dnl 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, software
+dnl distributed under the License is distributed on an "AS IS" BASIS,
+dnl WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+dnl See the License for the specific language governing permissions and
+dnl limitations under the License.
+
 dnl
 dnl DBD module
 dnl
@@ -5,7 +21,7 @@
 dnl
 dnl APU_CHECK_DBD: compile backends for apr_dbd.
 dnl
-AC_DEFUN(APU_CHECK_DBD, [
+AC_DEFUN([APU_CHECK_DBD], [
   apu_have_pgsql=0
 
   AC_ARG_WITH([pgsql], [
@@ -53,7 +69,7 @@
   fi
 ])
 dnl
-AC_DEFUN(APU_CHECK_DBD_MYSQL, [
+AC_DEFUN([APU_CHECK_DBD_MYSQL], [
   apu_have_mysql=0
 
   AC_ARG_WITH([mysql], [

Modified: apr/apr-util/trunk/build/dbm.m4
URL: http://svn.apache.org/viewcvs/apr/apr-util/trunk/build/dbm.m4?view=diff&r1=155180&r2=155181
==============================================================================
--- apr/apr-util/trunk/build/dbm.m4 (original)
+++ apr/apr-util/trunk/build/dbm.m4 Thu Feb 24 02:23:34 2005
@@ -1,8 +1,24 @@
+dnl -------------------------------------------------------- -*- autoconf -*-
+dnl Copyright 2002-2005 The Apache Software Foundation or its licensors, as
+dnl applicable.
+dnl
+dnl Licensed under the Apache License, Version 2.0 (the "License");
+dnl you may not use this file except in compliance with the License.
+dnl 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, software
+dnl distributed under the License is distributed on an "AS IS" BASIS,
+dnl WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+dnl See the License for the specific language governing permissions and
+dnl limitations under the License.
+
+
 dnl
 dnl DBM module
 dnl
 
-
 dnl   APU_LIB_BERKELEY_DB(major, minor, patch, places, headers, libnames)
 dnl
 dnl   Search for a useable version of Berkeley DB in a number of
@@ -32,7 +48,7 @@
 dnl   from the cache.
 
 
-AC_DEFUN(APU_CHECK_BERKELEY_DB, [
+AC_DEFUN([APU_CHECK_BERKELEY_DB], [
   bdb_version=$1
   if test "$2" != "-1"; then
     bdb_version="$bdb_version.$2"
@@ -203,7 +219,7 @@
 dnl   in the db.h header with the ones returned by db_version().
 
 
-AC_DEFUN(APU_TRY_BERKELEY_DB,
+AC_DEFUN([APU_TRY_BERKELEY_DB],
   [
     apu_try_berkeley_db_save_libs="$LIBS"
 
@@ -268,7 +284,7 @@
 dnl
 dnl if present: sets apu_db_header, apu_db_lib, and apu_db_version
 dnl
-AC_DEFUN(APU_CHECK_DB1, [
+AC_DEFUN([APU_CHECK_DB1], [
   places=$1
   if test -z "$places"; then
     places="std"
@@ -291,7 +307,7 @@
 dnl
 dnl NB: BerkelyDB v2 and above can be compiled in 1.85 mode
 dnl which has a libdb not libdb1 or libdb185
-AC_DEFUN(APU_CHECK_DB185, [
+AC_DEFUN([APU_CHECK_DB185], [
   places=$1
   if test -z "$places"; then
     places="std"
@@ -312,7 +328,7 @@
 dnl
 dnl if present: sets apu_db_header, apu_db_lib, and apu_db_version
 dnl
-AC_DEFUN(APU_CHECK_DB2, [
+AC_DEFUN([APU_CHECK_DB2], [
   places=$1
   if test -z "$places"; then
     places="std"
@@ -333,7 +349,7 @@
 dnl
 dnl if present: sets apu_db_header, apu_db_lib, and apu_db_version
 dnl
-AC_DEFUN(APU_CHECK_DB3, [
+AC_DEFUN([APU_CHECK_DB3], [
   places=$1
   if test -z "$places"; then
     places="std"
@@ -354,7 +370,7 @@
 dnl
 dnl if present: sets apu_db_header, apu_db_lib, and apu_db_version
 dnl
-AC_DEFUN(APU_CHECK_DB4, [
+AC_DEFUN([APU_CHECK_DB4], [
   places=$1
   if test -z "$places"; then
     places="std /usr/local /usr/local/BerkeleyDB.4.0 /boot/home/config"
@@ -375,7 +391,7 @@
 dnl
 dnl if present: sets apu_db_header, apu_db_lib, and apu_db_version
 dnl
-AC_DEFUN(APU_CHECK_DB41, [
+AC_DEFUN([APU_CHECK_DB41], [
   places=$1
   if test -z "$places"; then
     places="std /usr/local /usr/local/BerkeleyDB.4.1 /boot/home/config"
@@ -396,7 +412,7 @@
 dnl
 dnl if present: sets apu_db_header, apu_db_lib, and apu_db_version
 dnl
-AC_DEFUN(APU_CHECK_DB42, [
+AC_DEFUN([APU_CHECK_DB42], [
   places=$1
   if test -z "$places"; then
     places="std /usr/local /usr/local/BerkeleyDB.4.2 /boot/home/config"
@@ -415,7 +431,7 @@
 dnl
 dnl if present: sets apu_db_header, apu_db_lib, and apu_db_version
 dnl
-AC_DEFUN(APU_CHECK_DB43, [
+AC_DEFUN([APU_CHECK_DB43], [
   places=$1
   if test -z "$places"; then
     places="std /usr/local/BerkeleyDB.4.3 /boot/home/config"
@@ -431,7 +447,7 @@
 ])
 
 
-AC_DEFUN(APU_CHECK_DB, [
+AC_DEFUN([APU_CHECK_DB], [
   requested=$1
   check_places=$2
 
@@ -499,7 +515,7 @@
 dnl
 dnl APU_CHECK_DB_ALL: Try all Berkeley DB versions, from 4.3 to 1.
 dnl
-AC_DEFUN(APU_CHECK_DB_ALL, [
+AC_DEFUN([APU_CHECK_DB_ALL], [
   all_places=$1
  
   APU_CHECK_DB43("$all_places")
@@ -536,7 +552,7 @@
 dnl
 dnl APU_CHECK_DBM: see what kind of DBM backend to use for apr_dbm.
 dnl
-AC_DEFUN(APU_CHECK_DBM, [
+AC_DEFUN([APU_CHECK_DBM], [
   apu_use_sdbm=0
   apu_use_ndbm=0
   apu_use_gdbm=0

Modified: apr/apr-util/trunk/build/find_apu.m4
URL: http://svn.apache.org/viewcvs/apr/apr-util/trunk/build/find_apu.m4?view=diff&r1=155180&r2=155181
==============================================================================
--- apr/apr-util/trunk/build/find_apu.m4 (original)
+++ apr/apr-util/trunk/build/find_apu.m4 Thu Feb 24 02:23:34 2005
@@ -1,3 +1,19 @@
+dnl -------------------------------------------------------- -*- autoconf -*-
+dnl Copyright 2002-2005 The Apache Software Foundation or its licensors, as
+dnl applicable.
+dnl
+dnl Licensed under the Apache License, Version 2.0 (the "License");
+dnl you may not use this file except in compliance with the License.
+dnl 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, software
+dnl distributed under the License is distributed on an "AS IS" BASIS,
+dnl WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+dnl See the License for the specific language governing permissions and
+dnl limitations under the License.
+
 dnl
 dnl find_apu.m4 : locate the APR-util (APU) include files and libraries
 dnl



Mime
View raw message