Ticket #15551: patch-config.h.diff
File patch-config.h.diff, 859 bytes (added by dgilman (David Gilman), 16 years ago) |
---|
-
src/config.h
old new 36 36 #else 37 37 # define RESOLVFILE "/etc/resolv.conf" 38 38 #endif 39 #define RUNFILE "/var/run/dnsmasq.pid" 39 #ifdef __APPLE__ 40 # define RUNFILE "__PREFIX__/var/run/dnsmasq.pid" 41 #else 42 # define RUNFILE "/var/run/dnsmasq.pid" 43 #endif 40 44 #if defined(__FreeBSD__) || defined (__OpenBSD__) || defined(__DragonFly__) 41 45 # define LEASEFILE "/var/db/dnsmasq.leases" 46 #elif __APPLE__ 47 # define LEASEFILE "__PREFIX__/var/db/dnsmasq.leases" 42 48 #elif defined(__sun__) 43 49 # define LEASEFILE "/var/cache/dnsmasq.leases" 44 50 #else … … 46 52 #endif 47 53 #if defined(__FreeBSD__) 48 54 # define CONFFILE "/usr/local/etc/dnsmasq.conf" 55 #elif __APPLE__ 56 # define CONFFILE "__PREFIX__/etc/dnsmasq.conf" 49 57 #else 50 58 # define CONFFILE "/etc/dnsmasq.conf" 51 59 #endif