mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-23 16:19:35 -05:00
Cleanup OL_ARG_xx, don't use changequote.
This commit is contained in:
parent
903106a030
commit
7b613bb85b
1 changed files with 2 additions and 2 deletions
|
|
@ -22,7 +22,7 @@ dnl $3 = default value (auto). "--" means do not set it by default
|
||||||
dnl $4 = allowed values (auto yes no)
|
dnl $4 = allowed values (auto yes no)
|
||||||
AC_DEFUN([OL_ARG_ENABLE], [# OpenLDAP --enable-$1
|
AC_DEFUN([OL_ARG_ENABLE], [# OpenLDAP --enable-$1
|
||||||
AC_ARG_ENABLE($1,ifelse($3,--,[$2],
|
AC_ARG_ENABLE($1,ifelse($3,--,[$2],
|
||||||
[changequote(<,>)<$2 [>ifelse($3,,auto,$3)<]>changequote([,])]),[
|
[$2 @<:@]ifelse($3,,auto,$3)@:>@),[
|
||||||
ol_arg=invalid
|
ol_arg=invalid
|
||||||
for ol_val in ifelse($4,,[auto yes no],[$4]) ; do
|
for ol_val in ifelse($4,,[auto yes no],[$4]) ; do
|
||||||
if test "$enableval" = "$ol_val" ; then
|
if test "$enableval" = "$ol_val" ; then
|
||||||
|
|
@ -47,7 +47,7 @@ dnl $2 = help-string
|
||||||
dnl $3 = default value (no)
|
dnl $3 = default value (no)
|
||||||
dnl $4 = allowed values (yes or no)
|
dnl $4 = allowed values (yes or no)
|
||||||
AC_DEFUN([OL_ARG_WITH], [# OpenLDAP --with-$1
|
AC_DEFUN([OL_ARG_WITH], [# OpenLDAP --with-$1
|
||||||
AC_ARG_WITH($1,changequote(<,>)<$2 [>ifelse($3,,yes,$3)<]>changequote([,]),[
|
AC_ARG_WITH($1,[$2 @<:@]ifelse($3,,yes,$3)@:>@,[
|
||||||
ol_arg=invalid
|
ol_arg=invalid
|
||||||
for ol_val in ifelse($4,,[yes no],[$4]) ; do
|
for ol_val in ifelse($4,,[yes no],[$4]) ; do
|
||||||
if test "$withval" = "$ol_val" ; then
|
if test "$withval" = "$ol_val" ; then
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue