Hi,

On Sat, Mar 14, 2020 at 02:59:57AM +0200, Lev Stipakov wrote:
> This option can be used in FreedBSD with devel/libinotify
> installed.
> 
> Detect presence of libinotify with pkgconf and use its word
> to compile and link.
> 
> Signed-off-by: Lev Stipakov <lstipa...@gmail.com>
> ---
> 
>  v3: use _CFLAGS from pkgconf to get include dir
> 
>  v2: use _LIBS from pkgcong instead of hardcoded -linotify

We're getting close :-) - but something is still funny.  In the output,
I now have...

checking for OPTIONAL_INOTIFY... yes
../openvpn/configure: ,: not found
checking for CMOCKA... yes


... which is caused by these lines in configure:

------- snip ----------
                                        $as_echo "#define HAVE_SYS_INOTIFY_H 1" 
>>confdefs.h
,

$as_echo "#define ENABLE_ASYNC_PUSH 1" >>confdefs.h
------- snip ----------

so yes, there's a single line with a "," on it...  autoconf 2.69_3


It compiles and links fine, with inotify, but I think we should do a v4
and get rid of the Comma.

thanks,

gert
-- 
"If was one thing all people took for granted, was conviction that if you 
 feed honest figures into a computer, honest figures come out. Never doubted 
 it myself till I met a computer with a sense of humor."
                             Robert A. Heinlein, The Moon is a Harsh Mistress

Gert Doering - Munich, Germany                             g...@greenie.muc.de

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to