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.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87886
13f79535-47bb-0310-9956-
ffa450edef68
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],