…red device for tuntap.c
… from BRCT.
…ined, do not try to call hercifc as this will fail. Add exclusive access for dynamically allocated CTCI devices. This prevents a race between two device pairs being defined. (If IFF_TUN_EXCL is defined.) Fix a number of bugs in calling hercifc.
Newer versions of libtool provide LT_MODULE_EXT defines for code to use. We can leverage that in case native dlopen interfaces are available so we don't have to maintain the ext list ourselves. Signed-off-by: Mike Frysinger <email@example.com>
This corrects the problem of: HHC01462E 0:0009 devtype 3215-C not recognized HHC01462E 0:000C devtype 3505 not recognized HHC01462E 0:000D devtype 3525 not recognized HHC01462E 0:000E devtype 1403 not recognized HHC01462E 0:001F devtype 3270 not recognized caused by previous "ltdl/dlopen" commits: d288c24 fefc687 6db2297
Nothing was setting hc_cv_have_dlopen, so initialize that based on the dlopen tests that libtool does for us. With that in place, we can set hc_cv_have_lt_dlopen based on the included ltdl flag. This lets people who have a *nix system with libdl avoid the ltdl code entirely. Signed-off-by: Mike Frysinger <firstname.lastname@example.org>
The current logic tries to expand the path variables at configure time (so that they can be written into config.h) rather than delaying the expansion to make time. Setup CPPFLAGS with the right -D values so that we can let make expand the path vars and not worry about hacking around it inside of autoconf. Signed-off-by: Mike Frysinger <email@example.com>