apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r494103 - in /apr/apr-util/trunk/build: dbm.m4 ssl.m4
Date Mon, 08 Jan 2007 15:55:15 GMT
Author: jorton
Date: Mon Jan  8 07:55:14 2007
New Revision: 494103

URL: http://svn.apache.org/viewvc?view=rev&rev=494103
Log:
* build/ssl.m4, build/dbm.m4, build/dbd.m4: Fix whitespace abuse in
--help output.

Modified:
    apr/apr-util/trunk/build/dbm.m4
    apr/apr-util/trunk/build/ssl.m4

Modified: apr/apr-util/trunk/build/dbm.m4
URL: http://svn.apache.org/viewvc/apr/apr-util/trunk/build/dbm.m4?view=diff&rev=494103&r1=494102&r2=494103
==============================================================================
--- apr/apr-util/trunk/build/dbm.m4 (original)
+++ apr/apr-util/trunk/build/dbm.m4 Mon Jan  8 07:55:14 2007
@@ -621,10 +621,9 @@
   apu_db_header=db.h                # default so apu_select_dbm.h is syntactically correct
   apu_db_version=0
 
-  AC_ARG_WITH(dbm, [
-    --with-dbm=DBM          choose the DBM type to use.
-      DBM={sdbm,gdbm,ndbm,db,db1,db185,db2,db3,db4,db41,db42,db43,db44,db45}
-  ], [
+  AC_ARG_WITH(dbm, [APR_HELP_STRING([--with-dbm=DBM], [choose the DBM type to use.
+      DBM={sdbm,gdbm,ndbm,db,db1,db185,db2,db3,db4,db41,db42,db43,db44,db45}])],
+  [
     if test "$withval" = "yes"; then
       AC_MSG_ERROR([--with-dbm needs to specify a DBM type to use.
         One of: sdbm, gdbm, ndbm, db, db1, db185, db2, db3, db4, db41, db42, db43, db44,
db45])
@@ -635,9 +634,8 @@
   ])
 
   dnl We don't pull in GDBM unless the user asks for it, since it's GPL
-  AC_ARG_WITH([gdbm], [
-    --with-gdbm=DIR          specify GDBM location
-  ], [
+  AC_ARG_WITH([gdbm], [APR_HELP_STRING([--with-gdbm=DIR], [enable GDBM support])],
+  [
     apu_have_gdbm=0
     if test "$withval" = "yes"; then
       AC_CHECK_HEADER(gdbm.h, AC_CHECK_LIB(gdbm, gdbm_open, [apu_have_gdbm=1]))
@@ -656,14 +654,13 @@
     fi
   ])
 
-  AC_ARG_WITH([ndbm], [
-    --with-ndbm=PATH 
-      Find the NDBM header and library in \`PATH/include' and 
-      \`PATH/lib'.  If PATH is of the form \`HEADER:LIB', then search 
+  AC_ARG_WITH([ndbm], [APR_HELP_STRING([--with-ndbm=PATH], [
+      Find the NDBM header and library in `PATH/include' and 
+      `PATH/lib'.  If PATH is of the form `HEADER:LIB', then search 
       for header files in HEADER, and the library in LIB.  If you omit
-      the \`=PATH' part completely, the configure script will search
-      for NDBM in a number of standard places.
-  ], [
+      the `=PATH' part completely, the configure script will search
+      for NDBM in a number of standard places.])],
+  [
     apu_have_ndbm=0
     if test "$withval" = "yes"; then
       AC_MSG_CHECKING(checking for ndbm in the usual places)
@@ -730,14 +727,13 @@
   dnl Note that we only do this if the user requested it, since the Sleepycat
   dnl license is viral and requires distribution of source along with programs
   dnl that use it.
-  AC_ARG_WITH([berkeley-db], [
-    --with-berkeley-db=PATH
-      Find the Berkeley DB header and library in \`PATH/include' and
-      \`PATH/lib'.  If PATH is of the form \`HEADER:LIB', then search
+  AC_ARG_WITH([berkeley-db], [APR_HELP_STRING([--with-berkeley-db=PATH],
+      [Find the Berkeley DB header and library in `PATH/include' and
+      `PATH/lib'.  If PATH is of the form `HEADER:LIB', then search
       for header files in HEADER, and the library in LIB.  If you omit
-      the \`=PATH' part completely, the configure script will search
-      for Berkeley DB in a number of standard places.
-  ], [
+      the `=PATH' part completely, the configure script will search
+      for Berkeley DB in a number of standard places.])],
+  [
     if test "$withval" = "yes"; then
       apu_want_db=1
       user_places=""

Modified: apr/apr-util/trunk/build/ssl.m4
URL: http://svn.apache.org/viewvc/apr/apr-util/trunk/build/ssl.m4?view=diff&rev=494103&r1=494102&r2=494103
==============================================================================
--- apr/apr-util/trunk/build/ssl.m4 (original)
+++ apr/apr-util/trunk/build/ssl.m4 Mon Jan  8 07:55:14 2007
@@ -24,9 +24,8 @@
 AC_DEFUN([APU_FIND_SSL], [
   apu_have_ssl=0
 
-  AC_ARG_WITH([ssl], [
-    --with-ssl
-  ], [
+  AC_ARG_WITH([ssl], [APR_HELP_STRING([--with-ssl], [enable SSL support])],
+  [
     if test "$withval" = "yes"; then
       APU_CHECK_OPENSSL
       dnl add checks for other varieties of ssl here
@@ -47,9 +46,9 @@
   openssl_have_headers=0
   openssl_have_libs=0
 
-  AC_ARG_WITH([openssl], [
-    --with-openssl=DIR 
-  ], [
+  AC_ARG_WITH([openssl], 
+  [APR_HELP_STRING([--with-openssl=DIR], [specify location of OpenSSL])],
+  [
     if test "$withval" = "yes"; then
       AC_CHECK_HEADERS(openssl/x509.h, [openssl_have_headers=1])
       AC_CHECK_LIB(crypto, BN_init, AC_CHECK_LIB(ssl, SSL_accept, [openssl_have_libs=1]))



Mime
View raw message