• Martijn Pieters's avatar
    Quote macro argument to AC_ARG_WITH() · 5e3f01b0
    Martijn Pieters authored
    On some autoconf versions (e.g. 2.71 on MacOS, installed with `brew 
    install autoconf`), not quoting this argument results in a syntax error
    in `configure`:
    
    ```
    sh configure
    # ...
    checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
    checking whether more special flags are required for pthreads... no
    checking for PTHREAD_PRIO_INHERIT... yes
    configure: line 14927: syntax error near unexpected token `newline'
    configure: line 14927: `    '''
    ```
    
    Adding `[...]` quotes fixes this; see 
    https://gerrit.openafs.org/#/c/9995/ for a similar problem in a
    different OSS project.
    5e3f01b0
Name
Last commit
Last update
m4 Loading commit data...
src Loading commit data...
.dir-locals.el Loading commit data...
.gitignore Loading commit data...
CONTRIBUTING.rst Loading commit data...
COPYING Loading commit data...
INSTALL.rst Loading commit data...
LICENSE Loading commit data...
Makefile.am Loading commit data...
README.rst Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...