On Fri, Oct 02, 2015 at 02:44:17PM +0700, Fajar A. Nugraha wrote:
On Fri, Oct 2, 2015 at 6:18 AM, Matthew Newton <mcn4@leicester.ac.uk> wrote: I haven't tested 3.x, but with 2.1.12 on ubuntu vivid they added patches/freeradius_add_iodbc_include_dirs.diff, which basically change this line
smart_try_dir="$iodbc_include_dir /usr/include/iodbc /usr/local/iodbc/include"
Yeah, it was the /usr/include/iodbc I had to include there to get it to work properly on jessie. I added /usr/include just for completeness as the library search included /usr/lib already.
So if you want to remove redundant code, the "/usr/include" in smart_try_dir line is probably safe to remove as well.
If it's there then configure correctly reports where it found the header. Otherwise, it finds the header but reports it found it in the wrong location. So in my view it's probably better to leave as-is. Cheers, Matthew -- Matthew Newton, Ph.D. <mcn4@le.ac.uk> Systems Specialist, Infrastructure Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk>