Changes between Initial Version and Version 1 of Ticket #7972, comment 10
- Timestamp:
- Mar 24, 2016, 4:29:18 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #7972, comment 10
initial v1 5 5 The suggested patch doesn't work because the case statement doesn't have the details needed to match. The "configure.status" file pointed me at why: 6 6 7 {{{ 7 8 s,@target@,i386-apple-darwin8.7.1,;t t 8 9 s,@target_cpu@,i386,;t t 9 10 s,@target_vendor@,apple,;t t 10 11 s,@target_os@,darwin8.7.1,;t t 12 }}} 11 13 12 14 The case is comparing "target_os" which doesn't have CPU type as part of it. … … 14 16 So building off of the "solaris" case later in the original configure.in file from libnet, I added an additional case within the darwin section to check "target". I guess it is debatable if the case check should just check against 'target_cpu'... 15 17 16 -------------------------- 17 18 {{{ 18 19 *darwin*) 19 20 AC_DEFINE(HAVE_SOCKADDR_SA_LEN) … … 36 37 37 38 ;; 38 39 ----------------------------------- 39 }}} 40 40 41 41 Not being really up on the use of case, I wasn't sure I needed the match all at the end but put it in anyways to be safe.