Return-Path: Delivered-To: apmail-apache-cvs-archive@apache.org Received: (qmail 82671 invoked by uid 500); 28 Jan 2001 06:46:24 -0000 Mailing-List: contact apache-cvs-help@apache.org; run by ezmlm Precedence: bulk Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list apache-cvs@apache.org Received: (qmail 82660 invoked by uid 500); 28 Jan 2001 06:46:24 -0000 Delivered-To: apmail-httpd-2.0-cvs@apache.org Date: 28 Jan 2001 06:46:23 -0000 Message-ID: <20010128064623.82654.qmail@apache.org> From: fielding@apache.org To: httpd-2.0-cvs@apache.org Subject: cvs commit: httpd-2.0 configure.in fielding 01/01/27 22:46:23 Modified: . configure.in Log: Force --with-optim and --with-port to have argument values, since they result in later compile errors otherwise. I would have removed --with-optim in favor of just setting it with an environment variable, but then it wouldn't be saved in config.nice. A better solution is needed because these arguments can only accept a single value (quotes and spaces are stripped). Perhaps setting OPTIM within config.nice? First things first. Revision Changes Path 1.116 +2 -2 httpd-2.0/configure.in Index: configure.in =================================================================== RCS file: /home/cvs/httpd-2.0/configure.in,v retrieving revision 1.115 retrieving revision 1.116 diff -u -r1.115 -r1.116 --- configure.in 2001/01/10 01:04:52 1.115 +++ configure.in 2001/01/28 06:46:23 1.116 @@ -112,10 +112,10 @@ AC_CHECK_LIB(socket, socket) AC_ARG_WITH(optim,[ --with-optim="FLAGS" compiler optimisation flags], - [OPTIM="$withval"]) + [if test "$withval" = "yes"; then AC_MSG_ERROR('option --with-optim requires a value (the optimisation flags)'); else OPTIM="$withval"; fi]) AC_ARG_WITH(port,[ --with-port=PORT Port on which to listen (default is 80)], - [PORT="$withval"], + [if test "$withval" = "yes"; then AC_MSG_ERROR('option --with-port requires a value (the TCP port number)'); else PORT="$withval"; fi], [PORT=80]) AC_ARG_WITH(debug,[ --with-debug Turn on debugging and compile time warnings],