Hi Dan,

Gentoo NM plugin has to read dhcp hostname and clientid from
configuration file of dhcpcd or dhclient.

Currently I just test whether the configuration file of dhcpcd or
dhclient exists to determine which one is used. Could I make use of the
switch "--with-dhcpcd=yes" to enable conditional compilation?
for example:
#ifdef DHCPCD_PATH
//handling dhcpcd configuration file
#else
//handling dhclient configuration file
#endif

If this could be achieved, what should follow "#ifdef"? Should I include
any header file?

-- 
Cheers,
Mu Qiao
GnuPG fingerprint: 92B1 B0C4 8D14 F8C4 EFA5 3ACC 30B3 0DE4 17B1 57E9

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
networkmanager-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/networkmanager-list

Reply via email to